openwrt/target/linux/brcm63xx/patches-3.3/551-96348gw_a_leds.patch
Jonas Gorski 746b4cec06 bcm63xx: Enable LED pin support for ath9k pci fixup.
Some boards need specifying LED pin in order to get it working.
For example, in board HW556 (Huawei HG556a) "led_pin" must be "2".
By default led_pin is "0", so dsl_274xb_rev_f is changed to "-1".

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 34321
2012-11-24 14:19:16 +00:00

23 lines
426 B
Diff

--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1376,6 +1376,19 @@ static struct board_info __initdata boar
},
.has_ohci0 = 1,
+
+ .leds = {
+ {
+ .name = "96348GW-A::adsl",
+ .gpio = 3,
+ .active_low = 1,
+ },
+ {
+ .name = "96348GW-A::usb",
+ .gpio = 0,
+ .active_low = 1,
+ }
+ },
};
static struct board_info __initdata board_96348_D4PW = {