From: Daniel Golle Date: Tue, 25 Jun 2024 19:40:59 +0000 (+0100) Subject: ramips: yuncore_g720: fix buttons X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=646ebbd32ca4d776c64c31e85c08dc72fec25d7d;p=openwrt%2Fstaging%2Fxback.git ramips: yuncore_g720: fix buttons Turns out the device got two buttons, while the currently listed on is actually WPS, and the other (will hidden) button is intended as RESET. Update DT accordingly. Signed-off-by: Daniel Golle --- diff --git a/target/linux/ramips/dts/mt7621_yuncore_g720.dts b/target/linux/ramips/dts/mt7621_yuncore_g720.dts index 2170bc83ec..e5a484d469 100644 --- a/target/linux/ramips/dts/mt7621_yuncore_g720.dts +++ b/target/linux/ramips/dts/mt7621_yuncore_g720.dts @@ -33,9 +33,15 @@ keys { compatible = "gpio-keys"; + wps { + label = "wps"; + gpios = <&gpio 13 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + reset { label = "reset"; - gpios = <&gpio 13 GPIO_ACTIVE_LOW>; + gpios = <&gpio 12 GPIO_ACTIVE_LOW>; linux,code = ; }; };