From: Stefan Roese Date: Thu, 19 May 2016 15:45:20 +0000 (+0200) Subject: arm64: mvebu: Armada 3700: Add ethernet device tree nodes X-Git-Tag: v2016.11-rc1~35^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f84e2e8906797772d920a770e556c24762ce464;p=platform%2Fkernel%2Fu-boot.git 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 Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua Jing Cc: Terry Zhou Cc: Hanna Hawa Cc: Haim Boot --- diff --git a/arch/arm/dts/armada-3720-db.dts b/arch/arm/dts/armada-3720-db.dts index 7bfa840..2cc99bf 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@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>;