ramips: fix pinctrl regression
[openwrt/openwrt.git] / target / linux / ramips / dts / WT1520.dtsi
index b8c4e0a17d0f31ad78306f85a3adeb59bbcb6295..8cbf99fde24da346bedf94e96240cad69f1fbbca 100644 (file)
@@ -1,4 +1,4 @@
-/include/ "rt5350.dtsi"
+#include "rt5350.dtsi"
 
 / {
        compatible = "NEXXWT1520", "ralink,rt5350-soc";
        chosen {
                bootargs = "console=ttyS1,57600";
        };
+};
 
-       palmbus@10000000 {
-               uart@500 {
-                       status = "okay";
-               };
-       };
+&uart {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uartf_pins>;
+       status = "okay";
+};
 
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "jtag";
-                               ralink,function = "gpio";
-                       };
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "jtag";
+                       ralink,function = "gpio";
                };
        };
+};
 
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4>;
-       };
+&ethernet {
+       mtd-mac-address = <&factory 0x4>;
+};
 
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};
 
-       ehci@101c0000 {
-               status = "okay";
-       };
+&ehci {
+       status = "okay";
+};
 
-       ohci@101c1000 {
-               status = "okay";
-       };
+&ohci {
+       status = "okay";
 };