Skip to content

Commit

Permalink
realtek: add reset button for D-Link DGS-1210-28
Browse files Browse the repository at this point in the history
Tested in a DGS-1210-28 F3, both triggering failsafe and 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 5c1b191 commit 8121e7d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-28.dts
Expand Up @@ -5,6 +5,24 @@
/ {
compatible = "d-link,dgs-1210-28", "realtek,rtl838x-soc";
model = "D-Link DGS-1210-28";

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

reset {
label = "reset";
gpios = <&gpio1 33 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};

gpio1: rtl8231-gpio {
compatible = "realtek,rtl8231-gpio";
#gpio-cells = <2>;
gpio-controller;
indirect-access-bus-id = <0>;
};
};

&ethernet0 {
Expand Down

0 comments on commit 8121e7d

Please sign in to comment.