summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-06-30 13:34:28 +0000
committerJonas Gorski <jogo@openwrt.org>2014-06-30 13:34:28 +0000
commit439fe41813e5bf898a9c3a5343f62ba02f889006 (patch)
tree4f918742ad427491b74d3e98e0b6c8dfd222469c /target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch
parentb1c4a0aed5cc6c519d8b19ed7fea5c134d137774 (diff)
downloadmtk-20170518-439fe41813e5bf898a9c3a5343f62ba02f889006.zip
mtk-20170518-439fe41813e5bf898a9c3a5343f62ba02f889006.tar.gz
mtk-20170518-439fe41813e5bf898a9c3a5343f62ba02f889006.tar.bz2
brcm63xx: CPVA502+ board fixes
Some fixes for Telsey CPVA502+ bcm6348 routers: - reset the external PHY (eth1) with proper platform code, not using a led definiton - eth1 is an external phy, not a switch, deleted forced link speed - fixed led color Patch made for 3.14 kernel patches. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> [jogo: also fix 3.14, refresh patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41420
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch16
1 files changed, 6 insertions, 10 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch b/target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch
index e11c613..4887fb2 100644
--- a/target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch
+++ b/target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1139,6 +1139,46 @@ static struct board_info __initdata boar
+@@ -1139,6 +1139,42 @@ static struct board_info __initdata boar
},
},
};
@@ -21,8 +21,6 @@
+ .enet1 = {
+ .has_phy = 1,
+ .phy_id = 0,
-+ .force_speed_100 = 1,
-+ .force_duplex_full = 1,
+ },
+
+ .leds = {
@@ -32,22 +30,20 @@
+ .active_low = 1,
+ },
+ {
-+ .name = "CPVA502+:green:link",
++ .name = "CPVA502+:amber:link",
+ .gpio = 5,
+ .active_low = 1,
+ },
-+ {
-+ .name = "CPVA502+:green:feth1", /* FIXME:does gpio4 enable eth1 phy? */
-+ .gpio = 4,
-+ .active_low = 1,
-+ },
+ },
++
++ .ephy_reset_gpio = 4,
++ .ephy_reset_gpio_flags = GPIOF_INIT_HIGH,
+};
+
#endif
/*
-@@ -2220,6 +2260,7 @@ static const struct board_info __initcon
+@@ -2220,6 +2256,7 @@ static const struct board_info __initcon
&board_V2110,
&board_ct536_ct5621,
&board_96348A_122,