summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-388-clearfog.dtsi
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-01-02 16:27:26 +0100
committerGregory CLEMENT <gregory.clement@free-electrons.com>2017-01-05 13:59:16 +0100
commita14c2338948d8a076a57b709ea7a32fbf16ab367 (patch)
treedeab8c517fa8196449d91d0d3edcd55413827213 /arch/arm/boot/dts/armada-388-clearfog.dtsi
parentARM: dts: armada388-clearfog: move I2C nodes (diff)
downloadlinux-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.dtsi44
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 @@
};
};
+&eth1 {
+ /* ethernet@30000 */
+ bm,pool-long = <2>;
+ bm,pool-short = <1>;
+ buffer-manager = <&bm>;
+ phy-mode = "sgmii";
+ status = "okay";
+};
+
+&eth2 {
+ /* 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>;