ARM: dts: sun7i: Enable gmac on Wits Pro A20 DKT
authorHans de Goede <hdegoede@redhat.com>
Sun, 20 Dec 2015 11:43:02 +0000 (12:43 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 21 Dec 2015 16:08:36 +0000 (17:08 +0100)
The Wits Pro A20 DKT has a gbit ethernet port, enable it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts

index 85b500d..dc31d47 100644 (file)
        status = "okay";
 };
 
+&gmac {
+       pinctrl-names = "default";
+       pinctrl-0 = <&gmac_pins_rgmii_a>;
+       phy = <&phy1>;
+       phy-mode = "rgmii";
+       status = "okay";
+
+       phy1: ethernet-phy@1 {
+               reg = <1>;
+       };
+};
+
 &i2c0 {
        pinctrl-names = "default";
        pinctrl-0 = <&i2c0_pins_a>;