From 6dc3dce65848891468830105a63e36da1c8158bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Thu, 21 May 2020 14:58:36 +0200 Subject: bcm63xx: improve rgmii ctrl overrides MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are older devices which require overriding the RGMII ports, so this shouldn't be limited and forced to BCM63268. Signed-off-by: Álvaro Fernández Rojas --- .../bcm63xx/patches-5.4/541-board_963268gu_p300.patch | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'target/linux/bcm63xx/patches-5.4/541-board_963268gu_p300.patch') diff --git a/target/linux/bcm63xx/patches-5.4/541-board_963268gu_p300.patch b/target/linux/bcm63xx/patches-5.4/541-board_963268gu_p300.patch index b8a2af4319..2cd09b69e2 100644 --- a/target/linux/bcm63xx/patches-5.4/541-board_963268gu_p300.patch +++ b/target/linux/bcm63xx/patches-5.4/541-board_963268gu_p300.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1572,6 +1572,64 @@ static struct board_info __initdata boar +@@ -1572,6 +1572,72 @@ static struct board_info __initdata boar * known 63268/63269 boards */ #ifdef CONFIG_BCM63XX_CPU_63268 @@ -39,24 +39,32 @@ + .used = 1, + .phy_id = 0, + .name = "GbE3", ++ .mii_override = 1, ++ .timing_sel = 1, + }, + + [5] = { + .used = 1, + .phy_id = 1, + .name = "GbE1", ++ .mii_override = 1, ++ .timing_sel = 1, + }, + + [6] = { + .used = 1, + .phy_id = 24, + .name = "GbE4", ++ .mii_override = 1, ++ .timing_sel = 1, + }, + + [7] = { + .used = 1, + .phy_id = 25, + .name = "GbE5", ++ .mii_override = 1, ++ .timing_sel = 1, + }, + }, + }, @@ -65,7 +73,7 @@ static struct board_info __initdata board_963269bhr = { .name = "963269BHR", .expected_cpu_id = 0x63268, -@@ -1740,6 +1798,7 @@ static const struct board_info __initcon +@@ -1742,6 +1808,7 @@ static const struct board_info __initcon &board_96368mvngr, #endif #ifdef CONFIG_BCM63XX_CPU_63268 @@ -73,7 +81,7 @@ &board_963269bhr, &board_vw6339gu, #endif -@@ -1831,6 +1890,7 @@ static struct of_device_id const bcm963x +@@ -1833,6 +1900,7 @@ static struct of_device_id const bcm963x { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, }, #endif #ifdef CONFIG_BCM63XX_CPU_63268 -- cgit v1.2.3