diff options
author | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2022-06-01 19:20:22 -0300 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-06-07 17:07:58 +0200 |
commit | de0a9b0eab4ad50ec0b359af5bf41a8ea852e423 (patch) | |
tree | 62bbb944cdc94f9b3782843bb5ca7b7e7a4b3658 /target/linux/realtek | |
parent | e2ca1664795d46677077f51f2a593bfe5b69e082 (diff) | |
download | upstream-de0a9b0eab4ad50ec0b359af5bf41a8ea852e423.tar.gz upstream-de0a9b0eab4ad50ec0b359af5bf41a8ea852e423.tar.bz2 upstream-de0a9b0eab4ad50ec0b359af5bf41a8ea852e423.zip |
realtek: add gpio-restart for D-Link DGS-1210-28
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>
(cherry picked from commit a2817ce96f17db3a5af77837ae5733b47182ae0d)
Diffstat (limited to 'target/linux/realtek')
-rw-r--r-- | target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-28.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-28.dts b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-28.dts index bf25140e97..a73e19e16f 100644 --- a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-28.dts +++ b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-28.dts @@ -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>; |