From b7d8aef0acc256e15dd1fcbf9da84d177118b7e8 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 30 Jun 2014 13:34:28 +0000 Subject: 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 [jogo: also fix 3.14, refresh patches] Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41420 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../brcm63xx/patches-3.14/519_board_CPVA502plus.patch | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch') 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, -- cgit v1.2.3