Since the move to 5.10, there are now two GPIO drivers. The gpio0 node refers to the internal GPIOs, so the indirect-access-bus-id is no longer relevant for that node.
Set indirect-access-bus-id to the correct value (31) on the correct node (gpio1) and enable the device. Cc: Raylynn Knight <[email protected]> Cc: Michael Mohr <[email protected]> Cc: Stijn Segers <[email protected]> Cc: Stijn Tintel <[email protected]> Signed-off-by: Sander Vanheule <[email protected]> --- To everyone in CC, could you please verify that the RTL8231 is present in your device(s) at address 31. On my GS110TPP the status LEDs are located on external GPIOs 31, 32, and 34. Other devices configure the same pins as outputs, so it is possible the status LED(s) is (are) also present on these pins on other devices. For the GS310TP, external GPIO functionality can also be tested through the lines for the SFP cages. This applies to the following Netgear devices, see the links for vendor GPIO info: - GS108T v3 (https://biot.com/switches/gs108tv3) - GS110TPP v1 (device status LEDs, tested by myself) - GS308T v1 (https://biot.com/switches/gs308t) - GS310TP v1 (https://biot.com/switches/gs310tp) --- target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi b/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi index 6eb316231b47..06e56032da1d 100644 --- a/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi +++ b/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi @@ -24,8 +24,10 @@ }; }; -&gpio0 { - indirect-access-bus-id = <0>; +&gpio1 { + status = "okay"; + + indirect-access-bus-id = <31>; }; ðernet0 { -- 2.33.1 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
