diff --git a/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3568-t68m.dts b/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3568-t68m.dts index 3ea27095b..50e14f0a3 100644 --- a/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3568-t68m.dts +++ b/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3568-t68m.dts @@ -2,6 +2,7 @@ /dts-v1/; #include +#include #include #include #include @@ -40,6 +41,19 @@ }; #endif + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&reset_button_pin>; + + reset { + label = "reset"; + gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <50>; + }; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -574,6 +588,12 @@ rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; }; }; + + rockchip-key { + reset_button_pin: reset-button-pin { + rockchip,pins = <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; usb { vcc5v0_usb_host_en: vcc5v0_usb_host_en {