aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/dts-5.10
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2022-06-01 19:20:22 -0300
committerSander Vanheule <sander@svanheule.net>2022-06-07 17:11:28 +0200
commitf5a87a0a7b8d5aa83435868eb324601df6c4f4dc (patch)
treea0b9e252de79c67decee587653db4a5933adcea3 /target/linux/realtek/dts-5.10
parent8121e7dd75d53bc7fa1f16fc360eda03385a9b05 (diff)
downloadupstream-f5a87a0a7b8d5aa83435868eb324601df6c4f4dc.tar.gz
upstream-f5a87a0a7b8d5aa83435868eb324601df6c4f4dc.tar.bz2
upstream-f5a87a0a7b8d5aa83435868eb324601df6c4f4dc.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>
Diffstat (limited to 'target/linux/realtek/dts-5.10')
-rw-r--r--target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-28.dts6
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>;