diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-01-15 00:06:08 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-01-15 00:06:08 +0000 |
commit | fc63628a20f425d5ca267101c9151c3b0e92c09c (patch) | |
tree | f426b59203c67e0a6ff7535075d4199dfff9bd19 /target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch | |
parent | 9e22a4f8dabc95ea05dd9d8b08a0c7db36676dea (diff) |
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.patch | 9 |
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; |