ARM: sunxi: Add EMAC controller node to sun4i DTSI
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 30 May 2013 03:49:23 +0000 (03:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jun 2013 00:23:07 +0000 (17:23 -0700)
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.dtsi

index ff1f41fc6eba0164c4f6b20e0513422e5d14e173..983da33bebaaa0d2914629a01ef03922263de439 100644 (file)
                reg = <0x01c20000 0x300000>;
                ranges;
 
+               emac: ethernet@01c0b000 {
+                       compatible = "allwinner,sun4i-emac";
+                       reg = <0x01c0b000 0x1000>;
+                       interrupts = <55>;
+                       clocks = <&ahb_gates 17>;
+                       status = "disabled";
+               };
+
+               mdio@01c0b080 {
+                       compatible = "allwinner,sun4i-mdio";
+                       reg = <0x01c0b080 0x14>;
+                       status = "disabled";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+               };
+
                intc: interrupt-controller@01c20400 {
                        compatible = "allwinner,sun4i-ic";
                        reg = <0x01c20400 0x400>;