From c88124cfc4c54ddee7f48ae5339ed1b0dd8d0666 Mon Sep 17 00:00:00 2001 From: Sander Vanheule Date: Thu, 25 Nov 2021 06:50:09 +0100 Subject: [PATCH] realtek: netgear-gigabit: Enable RTL8231 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- 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 72956359d18b..db411def30d7 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 { -- 2.30.2