X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bde926c100f12a233e2b06c19c45e6fbe19ab41b..43aa5af0f09532e7782f34f8438a39a6c5f4b3a1:/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c?ds=sidebyside diff --git a/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c b/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c index ba0269d12..4f4be3506 100644 --- a/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c +++ b/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c @@ -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),