summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun6i-a31-m9.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-11-16 20:49:01 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-11-17 17:02:54 +0100
commit2f28e337651173680c6f045c3d598eaf17b764bb (patch)
tree72100b62c43dc0e25a0eaba09525630ee733f5ee /arch/arm/boot/dts/sun6i-a31-m9.dts
parentc30c619da3994dce5c274428c41b48f4ecf1c9ab (diff)
ARM: dts: sun6i: Add ethernet support to M9 board
The Mele M9 has an ethernet board, enable it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-m9.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31-m9.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts
index 66bb7c918e20..3ab544f3af4a 100644
--- a/arch/arm/boot/dts/sun6i-a31-m9.dts
+++ b/arch/arm/boot/dts/sun6i-a31-m9.dts
@@ -109,6 +109,18 @@
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};
+
+ gmac: ethernet@01c30000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&gmac_pins_mii_a>;
+ phy = <&phy1>;
+ phy-mode = "mii";
+ status = "okay";
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+ };
};
leds {