From: Sander Vanheule Date: Thu, 25 Nov 2021 05:50:09 +0000 (+0100) Subject: realtek: netgear-gigabit: Enable RTL8231 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c88124cfc4c54ddee7f48ae5339ed1b0dd8d0666;p=openwrt%2Fstaging%2Fxback.git realtek: netgear-gigabit: Enable RTL8231 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 Cc: Michael Mohr Cc: Stijn Segers Cc: Stijn Tintel Signed-off-by: Sander Vanheule Tested-by: Bjørn Mork --- 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 72956359d1..db411def30 100644 --- a/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi +++ b/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi @@ -30,8 +30,10 @@ }; }; -&gpio0 { - indirect-access-bus-id = <0>; +&gpio1 { + status = "okay"; + + indirect-access-bus-id = <31>; }; ðernet0 {