ARM: cubieboard: Enable ethernet (EMAC) support in dts
authorStefan Roese <sr@denx.de>
Thu, 30 May 2013 03:49:24 +0000 (03:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jun 2013 00:23:07 +0000 (17:23 -0700)
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/sun4i-a10-cubieboard.dts

index b70fe0db6bb7583cd541d25b7573a057caec130d..e752b570b4ecdf9c36f12b183137d9ce70271a05 100644 (file)
        };
 
        soc@01c20000 {
+               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_cubieboard: led_pins@0 {
                                allwinner,pins = "PH20", "PH21";