From: Sander Vanheule Date: Wed, 1 Jan 2025 19:05:20 +0000 (+0100) Subject: realtek: move debounce-interval to correct node X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=777c6106ed4e4acdad6f1b094a05a745db8fe396;p=openwrt%2Fopenwrt.git realtek: move debounce-interval to correct node The debounce-interval of a gpio-keys node should be placed in the key node itself, not in the main node. Move the properties added earlier and fix the key node name while we're here. Fixes: 4357f32d41eb ("realtek: debounce reset key for Zyxel GS1900") Signed-off-by: Sander Vanheule --- diff --git a/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi b/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi index 59b44ad161..3889fe8859 100644 --- a/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi +++ b/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi @@ -20,13 +20,13 @@ keys { compatible = "gpio-keys-polled"; - debounce-interval = <100>; poll-interval = <20>; reset { label = "reset"; gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <100>; }; }; diff --git a/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts b/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts index ad3245fc27..a1e0a6d06d 100644 --- a/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts +++ b/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts @@ -41,13 +41,13 @@ keys { compatible = "gpio-keys-polled"; - debounce-interval = <100>; poll-interval = <20>; - mode { + reset { label = "reset"; gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <100>; }; };