summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2023-04-07 18:17:21 +0300
committerGregory CLEMENT <gregory.clement@bootlin.com>2023-04-07 18:28:24 +0300
commite2e1bcb19b7522a582026460bf5d49fd2ac15e62 (patch)
treed8dcde20367ac574c100339113367f99a9fe56f9 /arch/arm/boot/dts
parent8aea8659a5f3ae8dc63c9f632ce1f676a1483556 (diff)
downloadlinux-e2e1bcb19b7522a582026460bf5d49fd2ac15e62.tar.xz
ARM: dts: orion5: Add missing phy-mode and fixed links
The DSA framework has got more picky about always having a phy-mode for the CPU port. The Orion5x Ethernet is an RGMII port. Set the switch to impose the RGMII delays. Additionally, the cpu label has never actually been used in the binding, so remove it. Lastly, add a fixed-link node indicating the expected speed/duplex of the link to the SoC. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/orion5x-netgear-wnr854t.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts b/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
index 4f4888ec9138..fb203e7d37f5 100644
--- a/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
+++ b/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
@@ -137,8 +137,12 @@
port@3 {
reg = <3>;
- label = "cpu";
ethernet = <&ethport>;
+ phy-mode = "rgmii-id";
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
};
port@5 {
@@ -208,6 +212,7 @@
/* Hardwired to DSA switch */
speed = <1000>;
duplex = <1>;
+ phy-mode = "rgmii";
};
};