ipq806x: reorganize nand_pins mux definition
[openwrt/openwrt.git] / target / linux / ipq806x / files-4.19 / arch / arm / boot / dts / qcom-ipq8064-ap148.dts
index 8ef5b92b527e8a3e91998d052e5f70bd71b54bf5..02f60c90eeee718c763051ae789b3698c5db68ae 100644 (file)
        };
 
        nand_pins: nand_pins {
-               mux {
+               disable {
                        pins = "gpio34", "gpio35", "gpio36",
-                              "gpio37", "gpio38", "gpio39",
-                              "gpio40", "gpio41", "gpio42",
-                              "gpio43", "gpio44", "gpio45",
-                              "gpio46", "gpio47";
+                              "gpio37", "gpio38";
                        function = "nand";
                        drive-strength = <10>;
                        bias-disable;
                };
+
                pullups {
                        pins = "gpio39";
+                       function = "nand";
+                       drive-strength = <10>;
                        bias-pull-up;
                };
+
                hold {
                        pins = "gpio40", "gpio41", "gpio42",
                               "gpio43", "gpio44", "gpio45",
                               "gpio46", "gpio47";
+                       function = "nand";
+                       drive-strength = <10>;
                        bias-bus-hold;
                };
        };