From 777c6106ed4e4acdad6f1b094a05a745db8fe396 Mon Sep 17 00:00:00 2001 From: Sander Vanheule Date: Wed, 1 Jan 2025 20:05:20 +0100 Subject: [PATCH] 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 --- target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi | 2 +- target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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>; }; }; -- 2.30.2