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:
parent
29b2804c6b
commit
93ff973c97
1 changed files with 2 additions and 4 deletions
|
@ -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>;
|
||||||
|
|
Loading…
Reference in a new issue