Revert "ipq806x: fix EA8500 switch control"
authorPetr Štetiar <ynezz@true.cz>
Tue, 18 Jun 2019 13:34:44 +0000 (15:34 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 18 Jun 2019 13:34:44 +0000 (15:34 +0200)
There is a problem with the EA8500, the switch will not work after soft
reboot, the only way to get it working again is to power cycle it
manually.

There are probably several issues in the play, it's quite hard to fix it
without having access to the actual device, so I don't see any other
option now, then revert the offending commit.

Ref: PR#2047
Fixes: FS#2168 ("Switch no longer work after restart on Linksys EA8500")
Reported-by: Adam <424778940z@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts

index 1e82a48dbfb712d7c69506d64bb0107f21919c82..66e7770f9013639d13f0dfbbd12836946fc801ae 100644 (file)
 
        soc {
                pinmux@800000 {
 
        soc {
                pinmux@800000 {
-
-                       pinctrl-0 = <&switch_reset>;
-                       pinctrl-names = "default";
-
                        button_pins: button_pins {
                                mux {
                                        pins = "gpio65", "gpio67", "gpio68";
                        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";
                        mdio0_pins: mdio0_pins {
                                mux {
                                        pins = "gpio0", "gpio1";
                        status = "ok";
                };
 
                        status = "ok";
                };
 
+               pcie2: pci@1b900000 {
+                       status = "ok";
+               };
+
                nand@1ac00000 {
                        status = "ok";
 
                nand@1ac00000 {
                        status = "ok";
 
                };
        };
 };
                };
        };
 };
-
-/delete-node/ &pcie2_pins;
-/delete-node/ &pcie2;