realtek: netgear-gigabit: Enable RTL8231
authorSander Vanheule <[email protected]>
Thu, 25 Nov 2021 05:50:09 +0000 (06:50 +0100)
committerChristian Lamparter <[email protected]>
Mon, 27 Dec 2021 12:51:41 +0000 (13:51 +0100)
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]>
Tested-by: Bjørn Mork <[email protected]>
target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi

index 72956359d18b197a6d2e09545e4979fc24deef5a..db411def30d795d04a52f82ceaf9dbef10ef407a 100644 (file)
        };
 };
 
-&gpio0 {
-       indirect-access-bus-id = <0>;
+&gpio1 {
+       status = "okay";
+
+       indirect-access-bus-id = <31>;
 };
 
 &ethernet0 {