1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 21:24:04 +02:00
openwrt-xburst/target/linux/brcm63xx/patches-3.3/551-96348gw_a_leds.patch
jogo e14736a8d8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34321 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 = {