mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
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 {
|
||||
status = "okay";
|
||||
|
||||
ethphy0: ethernet-phy {
|
||||
ethphy0: ethernet-phy@X {
|
||||
/* overwrite reg property in board file */
|
||||
};
|
||||
};
|
||||
|
@ -217,7 +217,7 @@
|
||||
&mdio {
|
||||
status = "okay";
|
||||
|
||||
ethphy0: ethernet-phy {
|
||||
ethphy0: ethernet-phy@8 {
|
||||
device_type = "ethernet-phy";
|
||||
reg = <8>;
|
||||
};
|
||||
|
@ -94,7 +94,7 @@
|
||||
&mdio {
|
||||
status = "okay";
|
||||
|
||||
ethphy0: ethernet-phy {
|
||||
ethphy0: ethernet-phy@X {
|
||||
/* overwrite reg property in board file */
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user