ramips: simplify state_default/pinctrl0 in device DTS files
[openwrt/staging/noltari.git] / target / linux / ramips / dts / mt7620a_tplink_archer-c2-v1.dts
index 2da35936b11481ce4a261ff7fa8295be5ab5d45e..45752c095d4988ad4070b5896f2fd07011ed0ede 100644 (file)
                bootargs = "console=ttyS0,115200";
        };
 
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "i2c", "uartf", "wled", "ephy", "spi refclk";
-                               ralink,function = "gpio";
-                       };
-               };
-       };
-
        leds {
                compatible = "gpio-leds";
 
        status = "okay";
 };
 
+&state_default {
+       gpio {
+               ralink,group = "i2c", "uartf", "wled", "ephy", "spi refclk";
+               ralink,function = "gpio";
+       };
+};
+
 &wmac {
        ralink,mtd-eeprom = <&radio 0>;
        mtd-mac-address = <&rom 0xf100>;