mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
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
@ -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 New Issue
Block a user