ARM: dts: kirkwood: 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 Kirkwood 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.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
Andrew Lunn 2023-04-07 17:17:20 +02:00 committed by Gregory CLEMENT
parent fe15c26ee2
commit 8aea8659a5
5 changed files with 8 additions and 5 deletions

View File

@ -232,7 +232,7 @@ port@4 {
port@6 {
reg = <6>;
label = "cpu";
phy-mode = "rgmii-id";
ethernet = <&eth0port>;
fixed-link {
speed = <1000>;
@ -251,6 +251,7 @@ &eth0 {
ethernet0-port@0 {
speed = <1000>;
duplex = <1>;
phy-mode = "rgmii";
};
};

View File

@ -254,7 +254,6 @@ fixed-link {
port@6 {
reg = <6>;
label = "cpu";
phy-mode = "rgmii-id";
ethernet = <&eth1port>;
fixed-link {
@ -330,6 +329,7 @@ &eth1 {
ethernet1-port@0 {
speed = <1000>;
duplex = <1>;
phy-mode = "rgmii";
};
};

View File

@ -198,7 +198,7 @@ port@4 {
port@5 {
reg = <5>;
label = "cpu";
phy-mode = "rgmii-id";
ethernet = <&eth0port>;
fixed-link {
speed = <1000>;
@ -221,6 +221,7 @@ &eth0 {
ethernet0-port@0 {
speed = <1000>;
duplex = <1>;
phy-mode = "rgmii";
};
};

View File

@ -149,7 +149,7 @@ port@4 {
port@5 {
reg = <5>;
label = "cpu";
phy-mode = "rgmii-id";
ethernet = <&eth0port>;
fixed-link {
speed = <1000>;
@ -166,6 +166,7 @@ &eth0 {
ethernet0-port@0 {
speed = <1000>;
duplex = <1>;
phy-mode = "rgmii";
};
};

View File

@ -105,7 +105,7 @@ port@3 {
port@5 {
reg = <5>;
label = "cpu";
phy-mode = "rgmii-id";
ethernet = <&eth0port>;
fixed-link {
speed = <1000>;