summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/armada-388-clearfog.dts
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2023-05-13 11:21:24 +0100
committerGregory CLEMENT <gregory.clement@bootlin.com>2023-05-15 09:49:26 +0200
commite5cfa586d5131979feed2820dee18689a4075e64 (patch)
tree0f3e1b0f9c0654a8358ed8a08ba5cfc8588f937c /arch/arm/boot/dts/armada-388-clearfog.dts
parent5668d088ee4ea05db9daaae0645d1d1f579b20f9 (diff)
ARM: dts: armada388-clearfog: add missing phy-modes
The DSA framework has got more picky about always having a phy-mode, particularly for the CPU port. Add the missing phy-mode properties for every port which does not have an integrated PHY. Add a phy-mode property to the ethernet interface facing the switch as this was configured using SGMII - as the switch is actually using 1000base-x, let's have some consistency between the two link partners. Additionally, the cpu label has never actually been used in the binding, so remove it. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/armada-388-clearfog.dts')
-rw-r--r--arch/arm/boot/dts/armada-388-clearfog.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/armada-388-clearfog.dts b/arch/arm/boot/dts/armada-388-clearfog.dts
index 95299167dcf5..32c569df142f 100644
--- a/arch/arm/boot/dts/armada-388-clearfog.dts
+++ b/arch/arm/boot/dts/armada-388-clearfog.dts
@@ -47,6 +47,8 @@
&eth1 {
/* ethernet@30000 */
+ phy-mode = "1000base-x";
+
fixed-link {
speed = <1000>;
full-duplex;
@@ -129,8 +131,9 @@
port@5 {
reg = <5>;
- label = "cpu";
ethernet = <&eth1>;
+ phy-mode = "1000base-x";
+
fixed-link {
speed = <1000>;
full-duplex;
@@ -141,6 +144,8 @@
/* 88E1512 external phy */
reg = <6>;
label = "lan6";
+ phy-mode = "rgmii-id";
+
fixed-link {
speed = <1000>;
full-duplex;