aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-06-06 15:44:52 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-06-06 15:44:52 +0000
commitc69a2cdfbb4f8774e2f7d84084e892bb58b96330 (patch)
tree201a519d3d00023c6427f2b28c7e02bd9cfa2d81 /target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
parentce1d4d7ee946f64c21964e62c67ca4aa73d671b1 (diff)
downloadupstream-c69a2cdfbb4f8774e2f7d84084e892bb58b96330.tar.gz
upstream-c69a2cdfbb4f8774e2f7d84084e892bb58b96330.tar.bz2
upstream-c69a2cdfbb4f8774e2f7d84084e892bb58b96330.zip
fix leds naming for all bcm63xx boards
SVN-Revision: 32086
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch26
1 files changed, 12 insertions, 14 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch b/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
index a9cca53a14..2edadfdcc1 100644
--- a/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
+++ b/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -663,6 +663,98 @@ static struct board_info __initdata boar
+@@ -663,6 +663,96 @@ static struct board_info __initdata boar
},
};
@@ -21,56 +21,54 @@
+ .has_ehci0 = 1,
+
+ .leds = {
-+ /* bi-color */
+ {
-+ .name = "power:red",
++ .name = "CPVA642:red:power",
+ .gpio = 14,
+ .active_low = 1,
+ },
+ {
-+ .name = "power:green",
++ .name = "CPVA642:green:power",
+ .gpio = 11,
+ .active_low = 1,
+ .default_trigger = "default-on",
+ },
+ {
-+ .name = "wifi:red",
++ .name = "CPVA642:red:wifi",
+ .gpio = 6,
+ .active_low = 1,
+ },
+ {
-+ .name = "wifi:green",
++ .name = "CPVA642:green:wifi",
+ .gpio = 28,
+ .active_low = 0,
+ },
+ {
-+ .name = "link:red",
++ .name = "CPVA642:red:link",
+ .gpio = 9,
+ .active_low = 1,
+ },
+ {
-+ .name = "link:green",
++ .name = "CPVA642:green:link",
+ .gpio = 10,
+ .active_low = 1,
+ },
-+ /* green only */
+ {
-+ .name = "ether",
++ .name = "CPVA642:green:ether",
+ .gpio = 1,
+ .active_low = 1,
+ },
+ {
-+ .name = "phone1",
++ .name = "CPVA642:green:phone1",
+ .gpio = 4,
+ .active_low = 1,
+ },
+ {
-+ .name = "phone2",
++ .name = "CPVA642:green:phone2",
+ .gpio = 2,
+ .active_low = 1,
+ },
+ {
-+ .name = "usb",
++ .name = "CPVA642:green:usb",
+ .gpio = 3,
+ .active_low = 1,
+ },
@@ -99,7 +97,7 @@
static struct board_info __initdata board_AGPFS0 = {
.name = "AGPF-S0",
.expected_cpu_id = 0x6358,
-@@ -1226,6 +1318,7 @@ static const struct board_info __initdat
+@@ -1226,6 +1316,7 @@ static const struct board_info __initdat
&board_96358vw,
&board_96358vw2,
&board_AGPFS0,