aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.2/442-board-96338W2_E7T.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-01-13 14:59:50 +0000
committerJonas Gorski <jogo@openwrt.org>2012-01-13 14:59:50 +0000
commit3883e71097064c7934ace766d9974f36cbdaecf0 (patch)
tree73b23dcd07a93f87dba4fb594ed637753af29184 /target/linux/brcm63xx/patches-3.2/442-board-96338W2_E7T.patch
parent1bc0abb058e09fd7214507dd4a095658a4b8d122 (diff)
downloadupstream-3883e71097064c7934ace766d9974f36cbdaecf0.tar.gz
upstream-3883e71097064c7934ace766d9974f36cbdaecf0.tar.bz2
upstream-3883e71097064c7934ace766d9974f36cbdaecf0.zip
brcm63xx: add support for linux 3.2
SVN-Revision: 29731
Diffstat (limited to 'target/linux/brcm63xx/patches-3.2/442-board-96338W2_E7T.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.2/442-board-96338W2_E7T.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.2/442-board-96338W2_E7T.patch b/target/linux/brcm63xx/patches-3.2/442-board-96338W2_E7T.patch
new file mode 100644
index 0000000000..a58d93f0dd
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3.2/442-board-96338W2_E7T.patch
@@ -0,0 +1,49 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -147,6 +147,38 @@ static struct board_info __initdata boar
+ },
+ },
+ };
++
++static struct board_info __initdata board_96338w2_e7t = {
++ .name = "96338W2_E7T",
++ .expected_cpu_id = 0x6338,
++
++ .has_enet0 = 1,
++
++ .enet0 = {
++ .force_speed_100 = 1,
++ .force_duplex_full = 1,
++ },
++
++ .leds = {
++ {
++ .name = "ppp",
++ .gpio = 4,
++ .active_low = 1,
++ },
++ {
++ .name = "ppp-fail",
++ .gpio = 5,
++ .active_low = 1,
++ },
++ {
++ .name = "power",
++ .gpio = 0,
++ .active_low = 1,
++ .default_trigger = "default-on",
++
++ },
++ },
++};
+ #endif
+
+ /*
+@@ -1295,6 +1327,7 @@ static const struct board_info __initdat
+ #ifdef CONFIG_BCM63XX_CPU_6338
+ &board_96338gw,
+ &board_96338w,
++ &board_96338w2_e7t,
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6345
+ &board_96345gw2,