Skip to contentSkip to conversation

ARM: dts: sun6i: Add ethernet support to M9 board

PATCH New Hans de Goede 2 participants 2 messages Nov 16, 2014 – Nov 17, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: sun6i: Add ethernet support to M9 board

The Mele M9 has an ethernet board, enable it.

---
 arch/arm/boot/dts/sun6i-a31-m9.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/sun6i-a31-m9.dts +12 -0
index 43f8f18..4202c64 100644
@@ -71,6 +71,18 @@
 			pinctrl-0 = <&uart0_pins_a>;
 			status = "okay";
 		};
+
+		gmac: ethernet at 01c30000 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&gmac_pins_mii_a>;
+			phy = <&phy1>;
+			phy-mode = "mii";
+			status = "okay";
+
+			phy1: ethernet-phy at 1 {
+				reg = <1>;
+			};
+		};
 	};
 
 	leds {
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/1 ARM: dts: sun6i: Add ethernet support to M9 board

Quoted 3 lines · Hans de Goede

The Mele M9 has an ethernet board, enable it.

Applied, thanks!

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141117/9c5d45af/attachment-0001.sig>