Some adm5120-hcd cleanups
[openwrt.git] / target / linux / adm5120-2.6 / files / drivers / leds / leds-adm5120.c
index ba0269d..4f4be35 100644 (file)
@@ -120,6 +120,11 @@ LED_ARRAY(rb100) { /* FIXME: untested */
 };
 #endif
 
+LED_ARRAY(rb133) {
+       LED_STD(ADM5120_GPIO_PIN6, "power",     NULL ),
+       LED_STD(ADM5120_GPIO_PIN5, "user",      NULL ),
+};
+
 /*
  * Compex boards
  */
@@ -163,7 +168,7 @@ LED_ARRAY(wp54g) {
        LED_INV(ADM5120_GPIO_P1L0, "lan2",      NULL ),
 };
 
-LED_ARRAY(unknown) {
+LED_ARRAY(generic) {
 #if defined(CONFIG_LEDS_ADM5120_DIAG)
        LED_STD(ADM5120_GPIO_PIN0, "gpio0",     NULL ),
        LED_STD(ADM5120_GPIO_PIN1, "gpio1",     NULL ),
@@ -198,13 +203,15 @@ LED_ARRAY(unknown) {
 }
 
 static struct mach_data machines[] __initdata = {
-       MACH_DATA(MACH_ADM5120_UNKNOWN, unknown),
+       MACH_DATA(MACH_ADM5120_GENERIC, generic),
        MACH_DATA(MACH_ADM5120_P334WT,  p334wt),
        MACH_DATA(MACH_ADM5120_WP54AG,  wp54g),
        MACH_DATA(MACH_ADM5120_WP54G,   wp54g),
        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),
This page took 0.023953 seconds and 4 git commands to generate.