]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "dts: phy: add GPIO number and active state used for phy reset"
authorPalmer Dabbelt <palmerdabbelt@google.com>
Fri, 5 Feb 2021 03:41:12 +0000 (19:41 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 11 Feb 2021 00:06:14 +0000 (16:06 -0800)
VSC8541 phys need a special reset sequence, which the driver doesn't
currentlny support.  As a result enabling the reset via GPIO essentially
guarnteees that the device won't work correctly.  We've been relying on
bootloaders to reset the device for years, with this revert we'll go
back to doing so until we can sort out how to get the reset sequence
into the kernel.

This reverts commit 74cdc533e1b3a0f975011fcee70e9179e4a8b888.

Fixes: 74cdc533e1b3 ("dts: phy: add GPIO number and active state used for phy reset")
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts

index 24d75a146e02d441c167b2b5028e3303eb80f1e3..60846e88ae4b1c3ef5a5c0a3bc3ba36be6f9985b 100644 (file)
@@ -90,7 +90,6 @@
        phy0: ethernet-phy@0 {
                compatible = "ethernet-phy-id0007.0771";
                reg = <0>;
-               reset-gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
        };
 };