aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.18/507-board-MAGIC.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-03-25 15:36:05 +0000
committerJonas Gorski <jogo@openwrt.org>2015-03-25 15:36:05 +0000
commit0e4c1ba284d3b387b007d53f6ec2aeec3363b8df (patch)
tree9ee6f64dcc43bbfcb9f3c45b729c5eeb461ee575 /target/linux/brcm63xx/patches-3.18/507-board-MAGIC.patch
parent582dfc52f592b24669c61bfc57ad75b7370c833b (diff)
downloadupstream-0e4c1ba284d3b387b007d53f6ec2aeec3363b8df.tar.gz
upstream-0e4c1ba284d3b387b007d53f6ec2aeec3363b8df.tar.bz2
upstream-0e4c1ba284d3b387b007d53f6ec2aeec3363b8df.zip
brcm63xx: move MAGIC to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44991
Diffstat (limited to 'target/linux/brcm63xx/patches-3.18/507-board-MAGIC.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.18/507-board-MAGIC.patch50
1 files changed, 10 insertions, 40 deletions
diff --git a/target/linux/brcm63xx/patches-3.18/507-board-MAGIC.patch b/target/linux/brcm63xx/patches-3.18/507-board-MAGIC.patch
index 627ffc92e2..1d513ab3e4 100644
--- a/target/linux/brcm63xx/patches-3.18/507-board-MAGIC.patch
+++ b/target/linux/brcm63xx/patches-3.18/507-board-MAGIC.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -653,6 +653,78 @@ static struct board_info __initdata boar
+@@ -653,6 +653,40 @@ static struct board_info __initdata boar
.num_board_fixups = ARRAY_SIZE(spw500v_fixups),
},
};
@@ -37,49 +37,11 @@
+ .cs = 2,
+ .ext_irq = 2,
+ },
-+
-+ .leds = {
-+ {
-+ .name = "MAGIC:green:voip",
-+ .gpio = 22,
-+ .active_low = 1,
-+ },
-+ {
-+ .name = "MAGIC:green:adsl",
-+ .gpio = 5,
-+ .active_low = 1,
-+ },
-+ {
-+ .name = "MAGIC:green:wifi",
-+ .gpio = 28,
-+ },
-+ {
-+ .name = "MAGIC:green:usb",
-+ .gpio = 35,
-+ .active_low = 1,
-+ },
-+ {
-+ .name = "MAGIC:green:hpna",
-+ .gpio = 4,
-+ .active_low = 1,
-+ },
-+ {
-+ .name = "MAGIC:green:power",
-+ .gpio = 0,
-+ .active_low = 1,
-+ .default_trigger = "default-on",
-+ },
-+ {
-+ .name = "MAGIC:green:stop",
-+ .gpio = 1,
-+ .active_low = 1,
-+ },
-+ },
+};
#endif /* CONFIG_BCM63XX_CPU_6348 */
/*
-@@ -932,6 +1004,7 @@ static const struct board_info __initcon
+@@ -932,6 +966,7 @@ static const struct board_info __initcon
&board_rta1025w_16,
&board_96348_D4PW,
&board_spw500v,
@@ -87,3 +49,11 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6358
+@@ -976,6 +1011,7 @@ static struct of_device_id const bcm963x
+ { .compatible = "t-com,spw500v", .data = &board_spw500v, },
+ { .compatible = "tecom,gw6000", .data = &board_gw6000, },
+ { .compatible = "tecom,gw6200", .data = &board_gw6200, },
++ { .compatible = "telsey,magic", .data = &board_96348sv, },
+ { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
+ { .compatible = "usr,9108", .data = &board_96348gw_a, },
+ #endif