aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorSander Vanheule <sander@svanheule.net>2021-11-25 06:50:09 +0100
committerChristian Lamparter <chunkeey@gmail.com>2021-12-27 13:51:41 +0100
commitc88124cfc4c54ddee7f48ae5339ed1b0dd8d0666 (patch)
tree13914c31af7ce8aa534aa71fec64bb50e644ddd0 /target/linux
parent5761aa4d9e077af5fbdf58ec4cbcb73a444e7ee2 (diff)
downloadupstream-c88124cfc4c54ddee7f48ae5339ed1b0dd8d0666.tar.gz
upstream-c88124cfc4c54ddee7f48ae5339ed1b0dd8d0666.tar.bz2
upstream-c88124cfc4c54ddee7f48ae5339ed1b0dd8d0666.zip
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 <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>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi6
1 files 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 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>;
};
&ethernet0 {