aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/patches-5.4/541-board_963268gu_p300.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-21 14:58:36 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-21 19:11:24 +0200
commit6dc3dce65848891468830105a63e36da1c8158bd (patch)
tree2192914c5c12646d564b97f6b048b16077a1a36d /target/linux/bcm63xx/patches-5.4/541-board_963268gu_p300.patch
parent7a817752f67119be746d55dd90f6c43036f0c725 (diff)
downloadupstream-6dc3dce65848891468830105a63e36da1c8158bd.tar.gz
upstream-6dc3dce65848891468830105a63e36da1c8158bd.tar.bz2
upstream-6dc3dce65848891468830105a63e36da1c8158bd.zip
bcm63xx: improve rgmii ctrl overrides
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 <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/541-board_963268gu_p300.patch')
-rw-r--r--target/linux/bcm63xx/patches-5.4/541-board_963268gu_p300.patch14
1 files changed, 11 insertions, 3 deletions
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