ramips: fix pinctrl regression
[openwrt/openwrt.git] / target / linux / ramips / dts / ESR-9753.dts
index 67d8539f9d397e1e72a02078901e2c7920ca10af..6869166787460b28cd88141ae2ceca81707a794d 100644 (file)
@@ -1,20 +1,11 @@
 /dts-v1/;
 
-/include/ "rt3050.dtsi"
+#include "rt3050.dtsi"
 
 / {
        compatible = "ESR-9753", "ralink,rt3052-soc";
        model = "Senao / EnGenius ESR-9753";
 
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
-                               ralink,function = "gpio";
-                       };
-               };
-       };
-
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
                        linux,code = <0x211>;
                };
        };
+};
 
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4>;
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,function = "gpio";
+               };
        };
+};
 
-       esw@10110000 {
-               mediatek,portmap = <0x3e>;
-       };
+&ethernet {
+       mtd-mac-address = <&factory 0x4>;
+};
 
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
+&esw {
+       mediatek,portmap = <0x3e>;
+};
+
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
 };