ARM: dts: sun7i: cubietruck: Enable the GMAC
authorChen-Yu Tsai <wens@csie.org>
Mon, 10 Feb 2014 10:35:51 +0000 (18:35 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 10 Feb 2014 19:46:21 +0000 (20:46 +0100)
The CubieTruck uses the GMAC with an RGMII phy.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-cubietruck.dts

index f9dcb61a5305b08b8ef1c50352401bc2e9ba9487..025ce5234692532f990a44e925049c3147d65d5e 100644 (file)
                        pinctrl-0 = <&i2c2_pins_a>;
                        status = "okay";
                };
+
+               gmac: ethernet@01c50000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&gmac_pins_rgmii_a>;
+                       phy = <&phy1>;
+                       phy-mode = "rgmii";
+                       status = "okay";
+
+                       phy1: ethernet-phy@1 {
+                               reg = <1>;
+                       };
+               };
        };
 
        leds {