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

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

ARM: dts: sun7i: cubieboard2: Enable the EMAC



The Cubieboard2, just like its A10 counterpart, has the Ethernet wired
in. Enable it in the DT.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 756084c5
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -19,6 +19,21 @@
	compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20";

	soc@01c00000 {
		emac: ethernet@01c0b000 {
			pinctrl-names = "default";
			pinctrl-0 = <&emac_pins_a>;
			phy = <&phy1>;
			status = "okay";
		};

		mdio@01c0b080 {
			status = "okay";

			phy1: ethernet-phy@1 {
				reg = <1>;
			};
		};

		pinctrl@01c20800 {
			led_pins_cubieboard2: led_pins@0 {
				allwinner,pins = "PH20", "PH21";