ralink: add pinctrl driver
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / NBG-419N.dts
index 6948120058954e0aa5363ea171fdbc6841045665..c7d66c410ef4d537bfed8d46060347153a743a16 100644 (file)
@@ -6,15 +6,12 @@
        compatible = "NBG-419N", "ralink,rt3052-soc";
        model = "ZyXEL NBG-419N";
 
-       palmbus@10000000 {
-               sysc@0 {
-                       ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
-                       ralink,uartmux = "gpio";
-                       ralink,wdtmux = <1>;
-               };
-
-               gpio0: gpio@600 {
-                       status = "okay";
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                               ralink,function = "gpio";
+                       };
                };
        };
 
                };
        };
 
-       ethernet@10100000 {
-               status = "okay";
-       };
-
        esw@10110000 {
-               status = "okay";
                ralink,portmap = <0x2f>;
        };
 
@@ -88,8 +80,4 @@
                        linux,code = <0x211>;
                };
        };
-
-       wmac@10180000 {
-               status = "okay";
-       };
 };