summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-xp-synology-ds414.dts
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2016-11-04 17:54:54 +0100
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-11-19 09:16:32 +0100
commit1fc2129553c5a387be786c4b302e3a253a7d01a8 (patch)
tree7d89f48b3f724c2c68b50af613f8187c2d0bcca7 /arch/arm/boot/dts/armada-xp-synology-ds414.dts
parentARM: dts: armada-370-xp: Use the node labels (diff)
downloadlinux-1fc2129553c5a387be786c4b302e3a253a7d01a8.tar.xz
linux-1fc2129553c5a387be786c4b302e3a253a7d01a8.zip
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-synology-ds414.dts')
-rw-r--r--arch/arm/boot/dts/armada-xp-synology-ds414.dts20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/armada-xp-synology-ds414.dts b/arch/arm/boot/dts/armada-xp-synology-ds414.dts
index ae286736b90a..189ec7f4667c 100644
--- a/arch/arm/boot/dts/armada-xp-synology-ds414.dts
+++ b/arch/arm/boot/dts/armada-xp-synology-ds414.dts
@@ -150,16 +150,6 @@
status = "okay";
};
- mdio {
- phy0: ethernet-phy@0 { /* Marvell 88E1512 */
- reg = <0>;
- };
-
- phy1: ethernet-phy@1 { /* Marvell 88E1512 */
- reg = <1>;
- };
- };
-
ethernet@70000 {
status = "okay";
pinctrl-0 = <&ge0_rgmii_pins>;
@@ -240,6 +230,16 @@
};
};
+&mdio {
+ phy0: ethernet-phy@0 { /* Marvell 88E1512 */
+ reg = <0>;
+ };
+
+ phy1: ethernet-phy@1 { /* Marvell 88E1512 */
+ reg = <1>;
+ };
+};
+
&pinctrl {
sata1_pwr_pin: sata1-pwr-pin {
marvell,pins = "mpp42";