projects
/
openwrt
/
staging
/
neocturne.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b2804
)
ath79: wdr4300: avoid DTC warnings
author
Karl Palsson
<karlp@etactica.com>
Mon, 28 May 2018 12:49:57 +0000
(12:49 +0000)
committer
John 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
patch
|
blob
|
history
diff --git
a/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi
b/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi
index e7f24bfe3433f4c498761f5c6400b3008d444c95..9ce06ffbebc4cee4bffc87aac4aa5f725c0a90c2 100644
(file)
--- a/
target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi
+++ b/
target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi
@@
-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>;