Skip to content

Commit

Permalink
realtek: add gpio-restart for D-Link DGS-1210-28
Browse files Browse the repository at this point in the history
A GPIO assert is required to reset the system. Otherwise, the system
will hang on reboot.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Reviewed-by: Robert Marko <robimarko@gmail.com>
  • Loading branch information
luizluca authored and svanheule committed Jun 7, 2022
1 parent 8121e7d commit f5a87a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-28.dts
Expand Up @@ -6,6 +6,12 @@
compatible = "d-link,dgs-1210-28", "realtek,rtl838x-soc";
model = "D-Link DGS-1210-28";

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

keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
Expand Down

0 comments on commit f5a87a0

Please sign in to comment.