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 --- target/linux/bcm63xx/patches-5.4/540-board_vw6339gu.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'target/linux/bcm63xx/patches-5.4/540-board_vw6339gu.patch') diff --git a/target/linux/bcm63xx/patches-5.4/540-board_vw6339gu.patch b/target/linux/bcm63xx/patches-5.4/540-board_vw6339gu.patch index 355bdb2767..da9000ac3e 100644 --- a/target/linux/bcm63xx/patches-5.4/540-board_vw6339gu.patch +++ b/target/linux/bcm63xx/patches-5.4/540-board_vw6339gu.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1610,6 +1610,51 @@ static struct board_info __initdata boar +@@ -1610,6 +1610,53 @@ static struct board_info __initdata boar }, }, }; @@ -45,6 +45,8 @@ + .used = 1, + .phy_id = 7, + .name = "WAN", ++ .mii_override = 1, ++ .timing_sel = 1, + }, + }, + }, @@ -52,7 +54,7 @@ #endif /* CONFIG_BCM63XX_CPU_63268 */ /* -@@ -1696,6 +1741,7 @@ static const struct board_info __initcon +@@ -1696,6 +1743,7 @@ static const struct board_info __initcon #endif #ifdef CONFIG_BCM63XX_CPU_63268 &board_963269bhr, @@ -60,7 +62,7 @@ #endif }; -@@ -1786,6 +1832,7 @@ static struct of_device_id const bcm963x +@@ -1786,6 +1834,7 @@ static struct of_device_id const bcm963x #endif #ifdef CONFIG_BCM63XX_CPU_63268 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, }, -- cgit v1.2.3