summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-05-19 17:45:20 +0200
committerStefan Roese <sr@denx.de>2016-09-27 17:29:53 +0200
commit3f84e2e8906797772d920a770e556c24762ce464 (patch)
tree3c6946afc344d9367b328ff8258780337c5204d9
parentcdccf9c17b4f1d03ce50e89d7cfff6350bb865b1 (diff)
downloadu-boot-3f84e2e8906797772d920a770e556c24762ce464.tar.gz
arm64: mvebu: Armada 3700: Add ethernet device tree nodes
This patch adds the ethernet device tree nodes that are still missing to the Armada 3700 dts files. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Nadav Haklai <nadavh@marvell.com> Cc: Kostya Porotchkin <kostap@marvell.com> Cc: Wilson Ding <dingwei@marvell.com> Cc: Victor Gu <xigu@marvell.com> Cc: Hua Jing <jinghua@marvell.com> Cc: Terry Zhou <bjzhou@marvell.com> Cc: Hanna Hawa <hannah@marvell.com> Cc: Haim Boot <hayim@marvell.com>
-rw-r--r--arch/arm/dts/armada-3720-db.dts6
-rw-r--r--arch/arm/dts/armada-37xx.dtsi12
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-3720-db.dts b/arch/arm/dts/armada-3720-db.dts
index 7bfa840e85..2cc99bfa1a 100644
--- a/arch/arm/dts/armada-3720-db.dts
+++ b/arch/arm/dts/armada-3720-db.dts
@@ -57,6 +57,7 @@
};
aliases {
+ ethernet0 = &eth0;
spi0 = &spi0;
};
@@ -66,6 +67,11 @@
};
};
+&eth0 {
+ 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 bb14f543b5..0c01d43933 100644
--- a/arch/arm/dts/armada-37xx.dtsi
+++ b/arch/arm/dts/armada-37xx.dtsi
@@ -141,6 +141,18 @@
<0x1d40000 0x40000>; /* GICR */
};
+ eth0: neta@30000 {
+ compatible = "marvell,armada-3700-neta";
+ reg = <0x30000 0x20>;
+ status = "disabled";
+ };
+
+ eth1: neta@40000 {
+ compatible = "marvell,armada-3700-neta";
+ reg = <0x40000 0x20>;
+ status = "disabled";
+ };
+
spi0: spi@10600 {
compatible = "marvell,armada-3700-spi";
reg = <0x10600 0x50>;