[U-Boot] [PATCH 10/15] arm64: mvebu: Armada 3700: Add ethernet device tree nodes
Stefan Roese
sr at denx.de
Fri Sep 16 15:09:42 CEST 2016
This patch adds the ethernet device tree nodes that are still missing to
the Armada 3700 dts files.
Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Nadav Haklai <nadavh at marvell.com>
Cc: Kostya Porotchkin <kostap at marvell.com>
Cc: Wilson Ding <dingwei at marvell.com>
Cc: Victor Gu <xigu at marvell.com>
Cc: Hua Jing <jinghua at marvell.com>
Cc: Terry Zhou <bjzhou at marvell.com>
Cc: Hanna Hawa <hannah at marvell.com>
Cc: Haim Boot <hayim at marvell.com>
---
arch/arm/dts/armada-3720-db.dts | 6 ++++++
arch/arm/dts/armada-37xx.dtsi | 12 ++++++++++++
2 files changed, 18 insertions(+)
diff --git a/arch/arm/dts/armada-3720-db.dts b/arch/arm/dts/armada-3720-db.dts
index 52c90c2..87fde2a 100644
--- a/arch/arm/dts/armada-3720-db.dts
+++ b/arch/arm/dts/armada-3720-db.dts
@@ -57,6 +57,7 @@
};
aliases {
+ ethernet0 = ð0;
spi0 = &spi0;
};
@@ -66,6 +67,11 @@
};
};
+ð0 {
+ status = "okay";
+ phy-mode = "rgmii";
+};
+
/* CON3 */
&sata {
status = "okay";
diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi
index bb14f54..0c01d43 100644
--- a/arch/arm/dts/armada-37xx.dtsi
+++ b/arch/arm/dts/armada-37xx.dtsi
@@ -141,6 +141,18 @@
<0x1d40000 0x40000>; /* GICR */
};
+ eth0: neta at 30000 {
+ compatible = "marvell,armada-3700-neta";
+ reg = <0x30000 0x20>;
+ status = "disabled";
+ };
+
+ eth1: neta at 40000 {
+ compatible = "marvell,armada-3700-neta";
+ reg = <0x40000 0x20>;
+ status = "disabled";
+ };
+
spi0: spi at 10600 {
compatible = "marvell,armada-3700-spi";
reg = <0x10600 0x50>;
--
2.9.3
More information about the U-Boot
mailing list