]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: rtl838x: drop GS1900 MDIO reset GPIO
authorSander Vanheule <sander@svanheule.net>
Sat, 21 Feb 2026 13:44:23 +0000 (14:44 +0100)
committerSander Vanheule <sander@svanheule.net>
Tue, 24 Feb 2026 20:29:26 +0000 (21:29 +0100)
The reset line wired to the RTL8231 on the GS1900 series may also
connect to other external ICs on the board. On the GS1900-24E, the
reset line is wired (via buffers) to the board's RTL8231 expanders and
the RTL8218 phys. As these external devices (phys) are on different
busses, the reset line shouldn't be specified on one bus or the other.

Drop the reset specification from the generic GPIO description, so it
can be added back on a per-device basis after confirming the behavior.

Link: https://github.com/openwrt/openwrt/issues/18620
Fixes: fd978c2e80b4 ("realtek: Enable Zyxel GS1900's RTL8231 reset line")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts/rtl8380_zyxel_gs1900_gpio.dtsi
target/linux/realtek/dts/rtl8380_zyxel_gs1900_gpio_emulated.dtsi

index 93ec7e4a1e645d32a8790bd6b9b7b6481d6270f6..a4733dfec0b0438e34633d80775f78f12e53c115 100644 (file)
@@ -5,10 +5,6 @@
 &mdio_aux {
        status = "okay";
 
-       reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
-       reset-delay-us = <1000>;
-       reset-post-delay-us = <10000>;
-
        gpio1: expander@0 {
                compatible = "realtek,rtl8231";
                reg = <0x0>;
index 70969eb00cadaf130dec63dd1275f354addd747c..f98e404a3b80c6b753c2969e558076cc29fe31ca 100644 (file)
@@ -5,10 +5,6 @@
 &mdio_gpio {
        status = "okay";
 
-       reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
-       reset-delay-us = <1000>;
-       reset-post-delay-us = <10000>;
-
        gpio1: expander@0 {
                compatible = "realtek,rtl8231";
                reg = <0x0>;