mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-28 14:49:17 +00:00
realtek: add reset button for D-Link DGS-1210-28
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>
This commit is contained in:
parent
5c1b1918ab
commit
8121e7dd75
@ -5,6 +5,24 @@
|
|||||||
/ {
|
/ {
|
||||||
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";
|
||||||
|
|
||||||
|
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>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ðernet0 {
|
ðernet0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user