From 2ea3f2ffe25d7bcfd5837af7056493da1f30f0d1 Mon Sep 17 00:00:00 2001 From: Shine <4c.fce2@proton.me> Date: Thu, 19 Mar 2026 08:53:44 +0100 Subject: [PATCH] mpc85xx: p1010: TL-WDR4900v1: DTS update for RFKILL switch The TL-WDR4900v1, like many other similarly-aged TP-Link devices, is using a flipswitch for toggling WiFi, not a pushbutton. Update the DTS to reflect that. The debounce time used here has been chosen based on other supported (but different target) TP-Link devices that are using such a flipswitch. Requires usage of the gpio-button-hotplug driver to work. Fixes: #13552 Signed-off-by: Shine <4c.fce2@proton.me> Tested-by: Edward Chow Link: https://github.com/openwrt/openwrt/pull/22494 Signed-off-by: Robert Marko --- .../linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts index 5bfb12c1198..8b714445600 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts @@ -460,6 +460,8 @@ label = "RFKILL switch"; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; linux,code = ; + linux,input-type = ; + debounce-interval = <60>; }; }; }; -- 2.47.3