From: Jonas Jelonek Date: Sun, 17 May 2026 22:07:52 +0000 (+0000) Subject: realtek: free restore button of XS1930 switches X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d750f5f454e13046ebbeccb23aa75966deb33e01;p=thirdparty%2Fopenwrt.git realtek: free restore button of XS1930 switches The support addition for those switches defined the restore button as a button to trigger a restart. However, those switches also have a reset button which is wired to the SoC's reset line, causing a reset upon pressing. Thus, using the restore button for basically the same purpose doesn't make sense. Change the 'linux,code' property to 'BTN_0' to assign no real function to that button, allowing it to be used for different purposes. Signed-off-by: Jonas Jelonek Link: https://github.com/openwrt/openwrt/pull/23428 Signed-off-by: Robert Marko --- diff --git a/target/linux/realtek/dts/rtl9313_zyxel_xs1930.dtsi b/target/linux/realtek/dts/rtl9313_zyxel_xs1930.dtsi index ef8c70f26d2..2523740f632 100644 --- a/target/linux/realtek/dts/rtl9313_zyxel_xs1930.dtsi +++ b/target/linux/realtek/dts/rtl9313_zyxel_xs1930.dtsi @@ -32,7 +32,7 @@ key-restore { label = "restore"; gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; - linux,code = ; + linux,code = ; }; };