ARM: dts: meson: enable Ethernet controller
authorBeniamino Galvani <b.galvani@gmail.com>
Sun, 1 Mar 2015 19:45:37 +0000 (20:45 +0100)
committerCarlo Caione <carlo@endlessm.com>
Mon, 2 Mar 2015 10:00:55 +0000 (11:00 +0100)
Add a node for the Ethernet controller to Meson DTS file and
enable it on the Geniatech ATV1200 board.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Signed-off-by: Carlo Caione <carlo@endlessm.com>
arch/arm/boot/dts/meson.dtsi
arch/arm/boot/dts/meson6-atv1200.dts

index 43b7896..5484413 100644 (file)
                        clocks = <&clk81>;
                        status = "disabled";
                };
+
+               ethmac: ethernet@c9410000 {
+                       compatible = "amlogic,meson6-dwmac", "snps,dwmac";
+                       reg = <0xc9410000 0x10000
+                              0xc1108108 0x4>;
+                       interrupts = <0 8 1>;
+                       interrupt-names = "macirq";
+                       clocks = <&clk81>;
+                       clock-names = "stmmaceth";
+                       status = "disabled";
+               };
        };
 }; /* end of / */
index d7d351a..1237faa 100644 (file)
@@ -64,3 +64,7 @@
 &uart_AO {
        status = "okay";
 };
+
+&ethmac {
+       status = "okay";
+};