Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e804d03 authored by Maxime Ripard's avatar Maxime Ripard Committed by Olof Johansson
Browse files

ARM: dts: sun7i: Enable the Ethernet in the A20



The Allwinner A20 SoC also have the EMAC found on the A10 and A10s.
Enable the support for it in the DTSI.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 364e7517
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -167,6 +167,22 @@
		#size-cells = <1>;
		ranges;

		emac: ethernet@01c0b000 {
			compatible = "allwinner,sun4i-emac";
			reg = <0x01c0b000 0x1000>;
			interrupts = <0 55 1>;
			clocks = <&ahb_gates 17>;
			status = "disabled";
		};

		mdio@01c0b080 {
			compatible = "allwinner,sun4i-mdio";
			reg = <0x01c0b080 0x14>;
			status = "disabled";
			#address-cells = <1>;
			#size-cells = <0>;
		};

		pio: pinctrl@01c20800 {
			compatible = "allwinner,sun7i-a20-pinctrl";
			reg = <0x01c20800 0x400>;