[brcm63xx] add support for USR9108 LEDs (#9372)
authorFlorian Fainelli <florian@openwrt.org>
Fri, 20 May 2011 10:06:04 +0000 (10:06 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 20 May 2011 10:06:04 +0000 (10:06 +0000)
SVN-Revision: 26953

target/linux/brcm63xx/patches-2.6.37/445-96348gw_a_leds.patch [new file with mode: 0644]

diff --git a/target/linux/brcm63xx/patches-2.6.37/445-96348gw_a_leds.patch b/target/linux/brcm63xx/patches-2.6.37/445-96348gw_a_leds.patch
new file mode 100644 (file)
index 0000000..3e80bc4
--- /dev/null
@@ -0,0 +1,22 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -670,6 +670,19 @@
+       },
+       .has_ohci0 = 1,
++
++      .leds = {
++              {
++                      .name           = "adsl",
++                      .gpio           = 3,
++                      .active_low     = 1,
++              },
++              {
++                      .name           = "usb",
++                      .gpio           = 0,
++                      .active_low     = 1,
++              }
++      },
+ };
+ static struct board_info __initdata board_96348_D4PW = {