openwrt/target/linux/brcm63xx/patches-3.14/551-96348gw_a_leds.patch
Jonas Gorski de8e3f2f86 brcm63xx: add and enable support for loading an appended dtb
Allow appending a dtb blob to the binary and use it for identifying the
board. Fall back to nvram based identification in case of no dtb passed.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42119
2014-08-11 11:36:48 +00:00

23 lines
393 B
Diff

--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1774,6 +1774,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,
+ }
+ },
};
/* NetGear DG834G v4 */