]> git.sur5r.net Git - u-boot/commitdiff
arm64: mvebu: Armada 3700: Add ethernet device tree nodes
authorStefan Roese <sr@denx.de>
Thu, 19 May 2016 15:45:20 +0000 (17:45 +0200)
committerStefan Roese <sr@denx.de>
Tue, 27 Sep 2016 15:29:53 +0000 (17:29 +0200)
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>
arch/arm/dts/armada-3720-db.dts
arch/arm/dts/armada-37xx.dtsi

index 7bfa840e854e874cc6835280687586e3d59eca62..2cc99bfa1ab8017bf08653b79cf5e78156f622a2 100644 (file)
@@ -57,6 +57,7 @@
        };
 
        aliases {
+               ethernet0 = &eth0;
                spi0 = &spi0;
        };
 
        };
 };
 
+&eth0 {
+       status = "okay";
+       phy-mode = "rgmii";
+};
+
 /* CON3 */
 &sata {
        status = "okay";
index bb14f543b5aac37f6a2399e12d274dc6499e8f86..0c01d4393380620dc24bf86a06a6b9ff78bcea82 100644 (file)
                                      <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>;