1
0
Fork 0

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>
hifive-unleashed-5.1
Andrew Lunn 2016-04-03 04:03:46 +02:00 committed by Gregory CLEMENT
parent 689168aae9
commit 8b1750de6a
3 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@
&mdio {
status = "okay";
ethphy0: ethernet-phy {
ethphy0: ethernet-phy@X {
/* overwrite reg property in board file */
};
};

View File

@ -217,7 +217,7 @@
&mdio {
status = "okay";
ethphy0: ethernet-phy {
ethphy0: ethernet-phy@8 {
device_type = "ethernet-phy";
reg = <8>;
};

View File

@ -94,7 +94,7 @@
&mdio {
status = "okay";
ethphy0: ethernet-phy {
ethphy0: ethernet-phy@X {
/* overwrite reg property in board file */
};
};