ipq806x: fix EA8500 switch control
[openwrt/openwrt.git] / target / linux / ipq806x / files-4.14 / arch / arm / boot / dts / qcom-ipq8064-ea8500.dts
index 2c8fe922f47d9ceb3450ea1cb49e3d98363d6eae..cd8fa633b1965f40c30042b34da4c2c78d3657ee 100644 (file)
 
        soc {
                pinmux@800000 {
+
+                       pinctrl-0 = <&switch_reset>;
+                       pinctrl-names = "default";
+
                        button_pins: button_pins {
                                mux {
                                        pins = "gpio65", "gpio67", "gpio68";
                                };
                        };
 
+                       switch_reset: switch_reset_pins {
+                               mux {
+                                       pins = "gpio63";
+                                       function = "gpio";
+                                       drive-strength = <2>;
+                                       bias-disable;
+                                       output-low;
+                               };
+                       };
+
                        mdio0_pins: mdio0_pins {
                                mux {
                                        pins = "gpio0", "gpio1";
                        status = "ok";
                };
 
-               pcie2: pci@1b900000 {
-                       status = "ok";
-               };
-
                nand@1ac00000 {
                        status = "ok";
 
                };
        };
 };
+
+/delete-node/ &pcie2_pins;
+/delete-node/ &pcie2;