diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-01-02 16:27:26 +0100 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2017-01-05 13:59:16 +0100 |
commit | a14c2338948d8a076a57b709ea7a32fbf16ab367 (patch) | |
tree | deab8c517fa8196449d91d0d3edcd55413827213 /arch/arm/boot/dts/armada-388-clearfog.dtsi | |
parent | ARM: dts: armada388-clearfog: move I2C nodes (diff) | |
download | linux-a14c2338948d8a076a57b709ea7a32fbf16ab367.tar.xz linux-a14c2338948d8a076a57b709ea7a32fbf16ab367.zip |
ARM: dts: armada388-clearfog: move ethernet related nodes
Move the ethernet, buffer manager, and mdio nodes over to use label form
to reference the devices rather than replicating the device path.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/armada-388-clearfog.dtsi')
-rw-r--r-- | arch/arm/boot/dts/armada-388-clearfog.dtsi | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/arch/arm/boot/dts/armada-388-clearfog.dtsi b/arch/arm/boot/dts/armada-388-clearfog.dtsi index eeb845bbe3f3..6149699eefc2 100644 --- a/arch/arm/boot/dts/armada-388-clearfog.dtsi +++ b/arch/arm/boot/dts/armada-388-clearfog.dtsi @@ -71,27 +71,6 @@ soc { internal-regs { - ethernet@30000 { - phy-mode = "sgmii"; - buffer-manager = <&bm>; - bm,pool-long = <2>; - bm,pool-short = <1>; - status = "okay"; - }; - - ethernet@34000 { - phy-mode = "sgmii"; - buffer-manager = <&bm>; - bm,pool-long = <3>; - bm,pool-short = <1>; - status = "okay"; - - fixed-link { - speed = <1000>; - full-duplex; - }; - }; - sata@a8000 { /* pinctrl? */ status = "okay"; @@ -147,6 +126,29 @@ }; }; +ð1 { + /* ethernet@30000 */ + bm,pool-long = <2>; + bm,pool-short = <1>; + buffer-manager = <&bm>; + phy-mode = "sgmii"; + status = "okay"; +}; + +ð2 { + /* ethernet@34000 */ + bm,pool-long = <3>; + bm,pool-short = <1>; + buffer-manager = <&bm>; + phy-mode = "sgmii"; + status = "okay"; + + fixed-link { + speed = <1000>; + full-duplex; + }; +}; + &i2c0 { /* Is there anything on this? */ clock-frequency = <100000>; |