[adm5120] add LED definitions for the RB133/133C boards, thanks to Christophe Lucas
[adm5120] add LED definitions for the RB133/133C boards, thanks to Christophe Lucas

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8199 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c
+++ b/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c
@@ -119,6 +119,11 @@
 	LED_STD(ADM5120_GPIO_PIN3, "user",	NULL ),
 };
 #endif
+
+LED_ARRAY(rb133) {
+	LED_STD(ADM5120_GPIO_PIN6, "power",	NULL ),
+	LED_STD(ADM5120_GPIO_PIN5, "user",	NULL ),
+};
 
 /*
  * Compex boards
@@ -205,6 +210,8 @@
 	MACH_DATA(MACH_ADM5120_WP54G_WRT, wp54g),
 	MACH_DATA(MACH_ADM5120_WPP54AG,	wp54g),
 	MACH_DATA(MACH_ADM5120_WPP54G,	wp54g),
+	MACH_DATA(MACH_ADM5120_RB_133,	rb133),
+	MACH_DATA(MACH_ADM5120_RB_133C,	rb133),
 #if defined(CONFIG_LEDS_ADM5120_EXPERIMENTAL)
 	MACH_DATA(MACH_ADM5120_P334,	p334),
 	MACH_DATA(MACH_ADM5120_P335,	p335),

comments