summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-01-15 00:06:08 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-01-15 00:06:08 +0000
commit3114410a1320307fd50217c608968f53bc56c28a (patch)
treece531d67b600225561ccf687380382bca3d64c04 /target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
parent1f7edcf6379c504c04e359c142f4d3ce6cbeeadd (diff)
downloadmaster-31e0f0ae-3114410a1320307fd50217c608968f53bc56c28a.tar.gz
master-31e0f0ae-3114410a1320307fd50217c608968f53bc56c28a.tar.bz2
master-31e0f0ae-3114410a1320307fd50217c608968f53bc56c28a.zip
brcm63xx: fix BCM96318MVWG LEDs
Power LED is not active low, and ppp-fail is red, not green. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39294
Diffstat (limited to 'target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch b/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
index d01e179f95..067ab3b792 100644
--- a/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
+++ b/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
@@ -10,7 +10,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2225,6 +2225,86 @@ static struct board_info __initdata boar
+@@ -2225,6 +2225,85 @@ static struct board_info __initdata boar
#endif
/*
@@ -74,7 +74,6 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
+ {
+ .name = "96368MVWG:green:power",
+ .gpio = 22,
-+ .active_low = 1,
+ .default_trigger = "default-on",
+ },
+ {
@@ -83,7 +82,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
+ .active_low = 1,
+ },
+ {
-+ .name = "96368MVWG:green:ppp-fail",
++ .name = "96368MVWG:red:ppp-fail",
+ .gpio = 31,
+ },
+ },
@@ -97,7 +96,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
* all boards
*/
static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -2279,6 +2359,10 @@ static const struct board_info __initcon
+@@ -2279,6 +2358,10 @@ static const struct board_info __initcon
&board_HW553,
&board_spw303v,
#endif
@@ -108,7 +107,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
};
/*
-@@ -2460,12 +2544,25 @@ void __init board_prom_init(void)
+@@ -2460,12 +2543,25 @@ void __init board_prom_init(void)
bcm63xx_pci_enabled = 1;
if (BCMCPU_IS_6348())
val |= GPIO_MODE_6348_G2_PCI;