ramips: DTS rework
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / IP2202.dts
index d4ac50b01f847af3d61d2d83ce9904104798d505..50d5532a2d6e057099a6eaac1f9eba8f0f3aa863 100644 (file)
@@ -6,15 +6,6 @@
        compatible = "IP2202", "ralink,rt3052-soc";
        model = "Poray IP2202";
 
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
-                               ralink,function = "gpio";
-                       };
-               };
-       };
-
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
                };
        };
 
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x28>;
-       };
-
-       esw@10110000 {
-               mediatek,portmap = <0x2f>;
-       };
-
        gpio-leds {
                compatible = "gpio-leds";
 
                        linux,code = <0x198>;
                };
        };
+};
 
-       otg@101c0000 {
-               status = "okay";
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,function = "gpio";
+               };
        };
 };
+
+&ethernet {
+       mtd-mac-address = <&factory 0x28>;
+};
+
+&esw {
+       mediatek,portmap = <0x2f>;
+};
+
+&otg {
+       status = "okay";
+};