ralink: add pinctrl driver
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / X8.dts
index e7b13ca63d9a4bf949013e64fb86c79e5903f9c3..b7591dec2017b9104ba2c58d8513bf08f6543c81 100644 (file)
@@ -7,17 +7,6 @@
        model = "Poray X8";
 
        palmbus@10000000 {
-               sysc@0 {
-                       ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
-                       ralink,gpiomux = "jtag";
-                       ralink,uartmux = "gpio";
-                       ralink,wdtmux = <1>;
-               };
-
-               gpio0: gpio@600 {
-                       status = "okay";
-               };
-
                spi@b00 {
                        status = "okay";
                        m25p80@0 {
                };
        };
 
-       ethernet@10100000 {
-               status = "okay";
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "i2c", "jtag", "uartf";
+                               ralink,function = "gpio";
+                       };
+               };
        };
 
        esw@10110000 {
-               status = "okay";
                ralink,portmap = <0x2f>;
                ralink,led_polarity = <1>;
        };
@@ -85,7 +78,6 @@
        };
 
        wmac@10180000 {
-               status = "okay";
                ralink,mtd-eeprom = <&factory 0>;
                ralink,led-polarity = <1>;
        };