ramips: simplify state_default/pinctrl0 in device DTS files
[openwrt/staging/rmilecki.git] / target / linux / ramips / dts / mt7620a_sanlinking_d240.dts
index c2b94eebb38c7503e182cf6657be40aa3127ce78..35617c088005925d0ca4209f5b11680d730b14c3 100644 (file)
        ralink,mtd-eeprom = <&factory 0>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               default {
-                       ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       default {
+               ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
+               ralink,function = "gpio";
+       };
 
-               /*
-                * The sd function of the nd_sd group configures two of the
-                * groups pins as gpios. The pins are used as PCIe reset/power.
-                * Due to the driver load order, the pins are configured way to
-                * late if triggered by the sd-card driver.
-                * To not introduce another kind of driver load order
-                * dependency and configure the pins as early as possible,
-                * means during pinmux driver load.
-                */
-               gpio_sd {
-                       ralink,group = "nd_sd";
-                       ralink,function = "sd";
-               };
+       /*
+        * The sd function of the nd_sd group configures two of the
+        * groups pins as gpios. The pins are used as PCIe reset/power.
+        * Due to the driver load order, the pins are configured way to
+        * late if triggered by the sd-card driver.
+        * To not introduce another kind of driver load order
+        * dependency and configure the pins as early as possible,
+        * means during pinmux driver load.
+        */
+       gpio_sd {
+               ralink,group = "nd_sd";
+               ralink,function = "sd";
        };
 };