summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/armada-xp-db.dts
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2016-11-04 19:54:54 +0300
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-11-19 11:16:32 +0300
commit1fc2129553c5a387be786c4b302e3a253a7d01a8 (patch)
tree7d89f48b3f724c2c68b50af613f8187c2d0bcca7 /arch/arm/boot/dts/armada-xp-db.dts
parentf60f913986accc9337409331ea0038b028ee17ab (diff)
downloadlinux-1fc2129553c5a387be786c4b302e3a253a7d01a8.tar.xz
ARM: dts: armada-370-xp: Fixup mdio DT warning
MDIO has a reg property so the unit name should contain an address. Take the opportunity to use the node label instead of the full name. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/armada-xp-db.dts')
-rw-r--r--arch/arm/boot/dts/armada-xp-db.dts36
1 files changed, 18 insertions, 18 deletions
diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
index 075120bc3ec4..665c81ff98db 100644
--- a/arch/arm/boot/dts/armada-xp-db.dts
+++ b/arch/arm/boot/dts/armada-xp-db.dts
@@ -160,24 +160,6 @@
status = "okay";
};
- mdio {
- phy0: ethernet-phy@0 {
- reg = <0>;
- };
-
- phy1: ethernet-phy@1 {
- reg = <1>;
- };
-
- phy2: ethernet-phy@2 {
- reg = <25>;
- };
-
- phy3: ethernet-phy@3 {
- reg = <27>;
- };
- };
-
ethernet@70000 {
status = "okay";
phy = <&phy0>;
@@ -266,6 +248,24 @@
};
};
+&mdio {
+ phy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+
+ phy2: ethernet-phy@2 {
+ reg = <25>;
+ };
+
+ phy3: ethernet-phy@3 {
+ reg = <27>;
+ };
+};
+
&spi0 {
status = "okay";