Commit 8b1750de authored by Andrew Lunn's avatar Andrew Lunn Committed by Gregory CLEMENT

ARM: dts: kirkwood: Add address to ethernet-phy unit name

PHYs have an address on the mdio bus. So the unit name should contain
an address. This is complicated in that some .dtsi files contain the
node, but the reg is set in the .dts file. In this case, use the
abstract address X.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 689168aa
......@@ -83,7 +83,7 @@ gpio_poweroff {
&mdio {
status = "okay";
ethphy0: ethernet-phy {
ethphy0: ethernet-phy@X {
/* overwrite reg property in board file */
};
};
......
......@@ -217,7 +217,7 @@ simple-audio-card,codec {
&mdio {
status = "okay";
ethphy0: ethernet-phy {
ethphy0: ethernet-phy@8 {
device_type = "ethernet-phy";
reg = <8>;
};
......
......@@ -94,7 +94,7 @@ sata@80000 {
&mdio {
status = "okay";
ethphy0: ethernet-phy {
ethphy0: ethernet-phy@X {
/* overwrite reg property in board file */
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment