realtek: fix network connectivity on GS750E
authorMichael 'ASAP' Weinrich <michael@a5ap.net>
Sun, 1 Oct 2023 07:03:51 +0000 (00:03 -0700)
committerSander Vanheule <sander@svanheule.net>
Fri, 5 Jan 2024 19:21:45 +0000 (20:21 +0100)
Currently OpenWRT does not know how to properly reset the network switch. This would result in
a switch that seemed to come up properly but was unable to handle any traffic. Presumably something
earlier in the boot chain is configuring a part of the switch that gets wiped out when its reset.

For now comment out the reset GPIO entry in the device tree until the driver better supports
bringing up the switch after a reset.

Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>
target/linux/realtek/dts-5.15/rtl8393_netgear_gs750e.dts

index 750af3e94fa6171567f9fe598940abb9cf2a382c..1d1e08db94f35bbc910edb578e87b7231e19c872 100644 (file)
                compatible = "realtek,rtl838x-mdio";
                #address-cells = <1>;
                #size-cells = <0>;
-               reset-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
+               // Switch doesn't come back properly after a reset so don't.
+               // reset-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
 
                /* External phy RTL8218B #1 */
                EXTERNAL_PHY(0)