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>;
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>;