realtek: netgear-gigabit: Enable RTL8231
authorSander Vanheule <sander@svanheule.net>
Thu, 25 Nov 2021 05:50:09 +0000 (06:50 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
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 <rayknight@me.com>
Cc: Michael Mohr <akihana@gmail.com>
Cc: Stijn Segers <foss@volatilesystems.org>
Cc: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Bjørn Mork <bjorn@mork.no>
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 {