diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-06-30 13:34:28 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-06-30 13:34:28 +0000 |
commit | b7d8aef0acc256e15dd1fcbf9da84d177118b7e8 (patch) | |
tree | 9dfe0e7433a24bece5f527b8afaa8745976c7bbc /target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch | |
parent | 5e1d1625d0b9eb6bd6126e59e08d339c3911cb5c (diff) | |
download | upstream-b7d8aef0acc256e15dd1fcbf9da84d177118b7e8.tar.gz upstream-b7d8aef0acc256e15dd1fcbf9da84d177118b7e8.tar.bz2 upstream-b7d8aef0acc256e15dd1fcbf9da84d177118b7e8.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41420 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 16 |
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 e11c613577..4887fb24a7 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, |