ath79: wdr4300: avoid DTC warnings

Use direct button labels to avoid dtc warnings

Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
Karl Palsson 2018-05-28 12:49:57 +00:00 committed by John Crispin
parent 29b2804c6b
commit 93ff973c97

View file

@ -74,15 +74,13 @@
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
button@0 { reset {
label = "reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpio 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
}; };
button@1 { wifi {
label = "wifi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
gpios = <&gpio 17 GPIO_ACTIVE_LOW>; gpios = <&gpio 17 GPIO_ACTIVE_LOW>;