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)
This commit is contained in:
parent
e2ca166479
commit
de0a9b0eab
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,12 @@
|
||||||
compatible = "d-link,dgs-1210-28", "realtek,rtl838x-soc";
|
compatible = "d-link,dgs-1210-28", "realtek,rtl838x-soc";
|
||||||
model = "D-Link DGS-1210-28";
|
model = "D-Link DGS-1210-28";
|
||||||
|
|
||||||
|
gpio-restart {
|
||||||
|
compatible = "gpio-restart";
|
||||||
|
gpios = <&gpio1 34 GPIO_ACTIVE_LOW>;
|
||||||
|
open-source;
|
||||||
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
Loading…
Reference in a new issue