ramips: DTS rework
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / PX-4885.dtsi
index 7d846afdb56766b7a8e7b6cc3e243c67a528ec3f..ba862fc0c008cfaa8d4524ea6d8324ee67e7d7c0 100644 (file)
@@ -4,27 +4,6 @@
        compatible = "PX-4885", "ralink,rt5350-soc";
        model = "7Links PX-4885";
 
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "i2c", "jtag", "uartf";
-                               ralink,function = "gpio";
-                       };
-               };
-       };
-
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x28>;
-       };
-
-       esw@10110000 {
-               mediatek,portmap = <0x3f>;
-       };
-
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                };
        };
 };
+
+&pinctrl {
+       state_default {
+               gpio {
+                       ralink,group = "i2c", "jtag", "uartf";
+                       ralink,function = "gpio";
+               };
+       };
+};
+
+&ethernet {
+       mtd-mac-address = <&factory 0x28>;
+};
+
+&esw {
+       mediatek,portmap = <0x3f>;
+};
+
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};