diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-11-04 17:54:54 +0100 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-11-19 09:16:32 +0100 |
commit | 1fc2129553c5a387be786c4b302e3a253a7d01a8 (patch) | |
tree | 7d89f48b3f724c2c68b50af613f8187c2d0bcca7 /arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts | |
parent | ARM: dts: armada-370-xp: Use the node labels (diff) | |
download | linux-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-370-seagate-nas-4bay.dts')
-rw-r--r-- | arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts b/arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts index ae2e1fe50ef6..82ce5ec6467b 100644 --- a/arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts +++ b/arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts @@ -36,12 +36,6 @@ }; internal-regs { - mdio { - phy1: ethernet-phy@1 { - reg = <1>; - }; - }; - ethernet@74000 { status = "okay"; pinctrl-0 = <&ge1_rgmii_pins>; @@ -131,3 +125,10 @@ 1300 0>; }; }; + +&mdio { + phy1: ethernet-phy@1 { + reg = <1>; + }; +}; + |