ath79: wdr4300: avoid DTC warnings
authorKarl Palsson <karlp@etactica.com>
Mon, 28 May 2018 12:49:57 +0000 (12:49 +0000)
committerJohn Crispin <john@phrozen.org>
Fri, 8 Jun 2018 07:56:28 +0000 (09:56 +0200)
Use direct button labels to avoid dtc warnings

Signed-off-by: Karl Palsson <karlp@etactica.com>
target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi

index e7f24bf..9ce06ff 100644 (file)
                #size-cells = <0>;
                poll-interval = <20>;
 
-               button@0 {
-                       label = "reset";
+               reset {
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                };
 
-               button@1 {
-                       label = "wifi";
+               wifi {
                        linux,code = <KEY_RFKILL>;
                        linux,input-type = <EV_SW>;
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;