Browse Source

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 <[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]>
Sander Vanheule 4 years ago
parent
commit
c88124cfc4
1 changed files with 4 additions and 2 deletions
  1. 4 2
      target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi

+ 4 - 2
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>;
 };
 
 &ethernet0 {