[openwrt/openwrt] ath79: fix button labels for WZR-HP-AG300H and WZR-600DHP

LEDE Commits lede-commits at lists.infradead.org
Tue Mar 8 09:35:33 PST 2022


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/62125c3ad51478c1bb9c237471ac04ea971bda6a

commit 62125c3ad51478c1bb9c237471ac04ea971bda6a
Author: Jeffery To <jeffery.to at gmail.com>
AuthorDate: Sun Mar 6 22:47:20 2022 +0800

    ath79: fix button labels for WZR-HP-AG300H and WZR-600DHP
    
    These were present in ar71xx but overlooked when porting to ath79.
    
    Fixes: 480bf2827392 ("ath79: add support for Buffalo WZR-HP-AG300H")
    
    Signed-off-by: Jeffery To <jeffery.to at gmail.com>
---
 target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi b/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi
index 006755e418..35e083bc61 100644
--- a/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi
+++ b/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi
@@ -75,24 +75,28 @@
 		compatible = "gpio-keys";
 
 		reset {
+			label = "reset";
 			linux,code = <KEY_RESTART>;
 			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
 			debounce-interval = <60>;
 		};
 
 		usb {
+			label = "usb";
 			linux,code = <BTN_2>;
 			gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
 			debounce-interval = <60>;
 		};
 
 		aoss {
+			label = "aoss";
 			linux,code = <KEY_WPS_BUTTON>;
 			gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
 			debounce-interval = <60>;
 		};
 
 		router_auto {
+			label = "router_auto";
 			linux,code = <BTN_6>;
 			linux,input-type = <EV_SW>;
 			gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
@@ -100,6 +104,7 @@
 		};
 
 		router_off {
+			label = "router_off";
 			linux,code = <BTN_5>;
 			linux,input-type = <EV_SW>;
 			gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
@@ -107,6 +112,7 @@
 		};
 
 		movie_engine {
+			label = "movie_engine";
 			linux,code = <BTN_7>;
 			linux,input-type = <EV_SW>;
 			gpios = <&gpio 8 GPIO_ACTIVE_LOW>;




More information about the lede-commits mailing list