aboutsummaryrefslogtreecommitdiffstats
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
commit55ee2d58542fe1e8b0cdc5566b141be4f894fc05 (patch)
treef426b59203c67e0a6ff7535075d4199dfff9bd19 /target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
parent3a7d2c894eca092f17d42aebda9cf518af02b013 (diff)
downloadmaster-187ad058-55ee2d58542fe1e8b0cdc5566b141be4f894fc05.tar.gz
master-187ad058-55ee2d58542fe1e8b0cdc5566b141be4f894fc05.tar.bz2
master-187ad058-55ee2d58542fe1e8b0cdc5566b141be4f894fc05.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39294 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;