ARM: dts: rockchip: restyle emac nodes
[linux-2.6-microblaze.git] / arch / arm / boot / dts / rk3066a-marsboard.dts
index a66d915..8beecd6 100644 (file)
 #include "tps65910.dtsi"
 
 &emac {
-       status = "okay";
-
        phy = <&phy0>;
        phy-supply = <&vcc_rmii>;
-
        pinctrl-names = "default";
        pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>;
+       status = "okay";
+
+       mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
 
-       phy0: ethernet-phy@0 {
-               reg = <0>;
-               interrupt-parent = <&gpio1>;
-               interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
+               phy0: ethernet-phy@0 {
+                       reg = <0>;
+                       interrupt-parent = <&gpio1>;
+                       interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
+               };
        };
 };