mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
746b4cec06
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
23 lines
426 B
Diff
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 = {
|