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: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
This commit is contained in:
parent
689168aae9
commit
8b1750de6a
|
@ -83,7 +83,7 @@
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
ethphy0: ethernet-phy {
|
ethphy0: ethernet-phy@X {
|
||||||
/* overwrite reg property in board file */
|
/* overwrite reg property in board file */
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -217,7 +217,7 @@
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
ethphy0: ethernet-phy {
|
ethphy0: ethernet-phy@8 {
|
||||||
device_type = "ethernet-phy";
|
device_type = "ethernet-phy";
|
||||||
reg = <8>;
|
reg = <8>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
ethphy0: ethernet-phy {
|
ethphy0: ethernet-phy@X {
|
||||||
/* overwrite reg property in board file */
|
/* overwrite reg property in board file */
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue