ralink: add pinctrl driver
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / WHR-G300N.dts
index bd18f4cdfb610ee96b83b2b855a69cf5e5a09938..8cec31e03399955ed2f6bf7adb8105c73c876c61 100644 (file)
@@ -6,15 +6,12 @@
        compatible = "WHR-G300N", "ralink,rt3052-soc";
        model = "Buffalo WHR-G300N";
 
-       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";
+                       };
                };
        };
 
                #size-cells = <1>;
        };
 
-       ethernet@10100000 {
-               status = "okay";
-       };
-
        esw@10110000 {
-               status = "okay";
                ralink,portmap = <0x2f>;
        };
 
@@ -79,8 +71,4 @@
                        linux,code = <0x103>;
                };
        };
-
-       wmac@10180000 {
-               status = "okay";
-       };
 };