diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2015-03-01 20:45:37 +0100 |
---|---|---|
committer | Carlo Caione <carlo@endlessm.com> | 2015-03-02 11:00:55 +0100 |
commit | 2345d5058344b0dcd02bb602d64e796fcdbc8f34 (patch) | |
tree | 05e137afa863feefce18414d40612f3899e94d00 | |
parent | 03bb95124e100ecccd62604f3261584c6977f1e5 (diff) | |
download | op-kernel-dev-2345d5058344b0dcd02bb602d64e796fcdbc8f34.zip op-kernel-dev-2345d5058344b0dcd02bb602d64e796fcdbc8f34.tar.gz |
ARM: dts: meson: enable Ethernet controller
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>
-rw-r--r-- | arch/arm/boot/dts/meson.dtsi | 11 | ||||
-rw-r--r-- | arch/arm/boot/dts/meson6-atv1200.dts | 4 |
2 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index 43b7896..5484413 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi @@ -159,5 +159,16 @@ 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 / */ diff --git a/arch/arm/boot/dts/meson6-atv1200.dts b/arch/arm/boot/dts/meson6-atv1200.dts index d7d351a..1237faa 100644 --- a/arch/arm/boot/dts/meson6-atv1200.dts +++ b/arch/arm/boot/dts/meson6-atv1200.dts @@ -64,3 +64,7 @@ &uart_AO { status = "okay"; }; + +ðmac { + status = "okay"; +}; |