ARM: dts: sun7i: olinuxino-micro: Enable the EMAC
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 11 Sep 2013 09:10:09 +0000 (11:10 +0200)
committerOlof Johansson <olof@lixom.net>
Thu, 12 Sep 2013 19:22:48 +0000 (12:22 -0700)
The A20-olinuxino-micro has the EMAC wired in. Enable it in the DT so
that we can use it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts

index 34a6c02..9e77855 100644 (file)
        compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
 
        soc@01c00000 {
+               emac: ethernet@01c0b000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&emac_pins_a>;
+                       phy = <&phy1>;
+                       status = "okay";
+               };
+
+               mdio@01c0b080 {
+                       status = "okay";
+
+                       phy1: ethernet-phy@1 {
+                               reg = <1>;
+                       };
+               };
+
                pinctrl@01c20800 {
                        led_pins_olinuxino: led_pins@0 {
                                allwinner,pins = "PH2";