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 85b500d8cc4cbd178b3310f85b322a8cf25f1f06..dc31d476ef813985b306242bad50a9daad413506 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>;