ipq806x: reorganize nand_pins mux definition
[openwrt/openwrt.git] / target / linux / ipq806x / files-4.19 / arch / arm / boot / dts / qcom-ipq8064-r7500.dts
index 8130b583d36828538330f157260c666f4fadb477..dd596f52b440a2aa4d57fd166686ad9aa87f2e6e 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;
                                };
                        };