Skip to content

Commit

Permalink
realtek: netgear-gigabit: Add gpio-restart node
Browse files Browse the repository at this point in the history
The Netgear GS110TPP v1 switch cannot reliably perform cold reboots
using the system's internal reset controller.

On this device, and the other supported Netgear switches, internal GPIO
line 13 is connected to the system's hard reset logic. Expose this GPIO
on all systems to ensure restarts work properly.

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>
  • Loading branch information
svanheule authored and hauke committed Nov 28, 2021
1 parent 3f4d6da commit 22f85d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
Expand Up @@ -22,6 +22,12 @@
linux,code = <KEY_RESTART>;
};
};

gpio-restart {
compatible = "gpio-restart";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
open-source;
};
};

&gpio0 {
Expand Down

0 comments on commit 22f85d6

Please sign in to comment.