ARM: dts: sun6i: Add ethernet support to M9 board
authorHans de Goede <hdegoede@redhat.com>
Sun, 16 Nov 2014 19:49:01 +0000 (20:49 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 17 Nov 2014 16:02:54 +0000 (17:02 +0100)
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>
arch/arm/boot/dts/sun6i-a31-m9.dts

index 66bb7c918e2074c161ecce3a3a573ff7a4496c1d..3ab544f3af4a5dc93ff7c6bac66583ff82a5f981 100644 (file)
                        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 {