ramips: fix pinctrl regression
[openwrt/openwrt.git] / target / linux / ramips / dts / AR725W.dts
index 6f66c3f85edfa52494afd3406be1eba576ddfa20..3b8cfb3be7117788ac36b2809f5db6cc817d87ae 100644 (file)
@@ -1,50 +1,11 @@
 /dts-v1/;
 
-/include/ "rt2880.dtsi"
+#include "rt2880.dtsi"
 
 / {
        compatible = "AR725W", "ralink,rt2880-soc";
        model = "Airlink101 AR725W";
 
-       palmbus@300000 {
-               gpio0: gpio@600 {
-                       status = "okay";
-               };
-       };
-
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "i2c", "spi", "uartlite";
-                               ralink,function = "gpio";
-                       };
-               };
-       };
-
-       ethernet@400000 {
-               status = "okay";
-               mtd-mac-address = <&factory 0x4>;
-
-               port@0 {
-                       phy-handle = <&phy0>;
-                       phy-mode = "mii";
-               };
-
-               mdio-bus {
-                       status = "okay";
-
-                       phy0: ethernet-phy@0 {
-                               phy-mode = "mii";
-                               reg = <0>;
-                       };
-               };
-       };
-
-       wmac@480000 {
-               status = "okay";
-               ralink,mtd-eeprom = <&factory 0>;
-       };
-
        cfi@bdc00000 {
                compatible = "cfi-flash";
                reg = <0xbc400000 0x800000>;
                };
        };
 };
+
+&gpio0 {
+       status = "okay";
+};
+
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "i2c", "spi", "uartlite";
+                       ralink,function = "gpio";
+               };
+       };
+};
+
+&ethernet {
+       status = "okay";
+       mtd-mac-address = <&factory 0x4>;
+
+       port@0 {
+               phy-handle = <&phy0>;
+               phy-mode = "mii";
+       };
+
+       mdio-bus {
+               status = "okay";
+
+               phy0: ethernet-phy@0 {
+                       phy-mode = "mii";
+                       reg = <0>;
+               };
+       };
+};
+
+&wmac {
+       status = "okay";
+       ralink,mtd-eeprom = <&factory 0>;
+};