ARM: dts: sun6i: Turn on gmac on Colombus
authorHans de Goede <hdegoede@redhat.com>
Tue, 13 Oct 2015 12:37:45 +0000 (14:37 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 13 Oct 2015 18:41:49 +0000 (20:41 +0200)
We've everything we need to support the gmac on Colombus, turn it on.

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-colombus.dts

index 813f715..f9cf368 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>;