summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.3/520-bcm63xx-add-support-for-96368MVWG-board.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/520-bcm63xx-add-support-for-96368MVWG-board.patch
parentce1d4d7ee946f64c21964e62c67ca4aa73d671b1 (diff)
downloadmtk-20170518-c69a2cdfbb4f8774e2f7d84084e892bb58b96330.zip
mtk-20170518-c69a2cdfbb4f8774e2f7d84084e892bb58b96330.tar.gz
mtk-20170518-c69a2cdfbb4f8774e2f7d84084e892bb58b96330.tar.bz2
fix leds naming for all bcm63xx boards
SVN-Revision: 32086
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/520-bcm63xx-add-support-for-96368MVWG-board.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.3/520-bcm63xx-add-support-for-96368MVWG-board.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/520-bcm63xx-add-support-for-96368MVWG-board.patch b/target/linux/brcm63xx/patches-3.3/520-bcm63xx-add-support-for-96368MVWG-board.patch
index 94526cc..f408a8c 100644
--- a/target/linux/brcm63xx/patches-3.3/520-bcm63xx-add-support-for-96368MVWG-board.patch
+++ b/target/linux/brcm63xx/patches-3.3/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
-@@ -2018,6 +2018,80 @@ static struct board_info __initdata boar
+@@ -2015,6 +2015,80 @@ static struct board_info __initdata boar
#endif
/*
@@ -57,27 +57,27 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
+
+ .leds = {
+ {
-+ .name = "adsl",
++ .name = "96368MVWG:green:adsl",
+ .gpio = 2,
+ .active_low = 1,
+ },
+ {
-+ .name = "ppp",
++ .name = "96368MVWG:green:ppp",
+ .gpio = 5,
+ },
+ {
-+ .name = "power",
++ .name = "96368MVWG:green:power",
+ .gpio = 22,
+ .active_low = 1,
+ .default_trigger = "default-on",
+ },
+ {
-+ .name = "wps",
++ .name = "96368MVWG:green:wps",
+ .gpio = 23,
+ .active_low = 1,
+ },
+ {
-+ .name = "ppp-fail",
++ .name = "96368MVWG:green:ppp-fail",
+ .gpio = 31,
+ },
+ },
@@ -91,7 +91,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
* all boards
*/
static const struct board_info __initdata *bcm963xx_boards[] = {
-@@ -2066,6 +2140,10 @@ static const struct board_info __initdat
+@@ -2063,6 +2137,10 @@ static const struct board_info __initdat
&board_HW553,
&board_spw303v,
#endif
@@ -102,7 +102,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
};
static void __init nb4_nvram_fixup(void)
-@@ -2243,12 +2321,25 @@ void __init board_prom_init(void)
+@@ -2240,12 +2318,25 @@ void __init board_prom_init(void)
if (board.has_pci) {
if (BCMCPU_IS_6348())
val |= GPIO_MODE_6348_G2_PCI;