ath79: fix button types for WZR-HP-AG300H and WZR-600DHP
[openwrt/staging/ynezz.git] / target / linux / ath79 / dts / ar7161_buffalo_wzr-hp-ag300h.dtsi
index c0040b4bbe38881d2c8903c5658a5aec88e288fb..d369a4d93775c60f6bd8220e6c2b6d85265d41da 100644 (file)
 
                router_auto {
                        linux,code = <BTN_6>;
+                       linux,input-type = <EV_SW>;
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                };
 
                router_off {
                        linux,code = <BTN_5>;
+                       linux,input-type = <EV_SW>;
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                };
 
                movie_engine {
                        linux,code = <BTN_7>;
+                       linux,input-type = <EV_SW>;
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                };