aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2018-05-28 12:49:57 +0000
committerJohn Crispin <john@phrozen.org>2018-06-08 09:56:28 +0200
commit93ff973c978db1aed3b98fb76bfa4603e4a4c8ea (patch)
tree27e3d6a3a796237de5f1cc05cef7d46adffded5b /target
parent29b2804c6bb95271c1fe05aa173929280c762878 (diff)
downloadupstream-93ff973c978db1aed3b98fb76bfa4603e4a4c8ea.tar.gz
upstream-93ff973c978db1aed3b98fb76bfa4603e4a4c8ea.tar.bz2
upstream-93ff973c978db1aed3b98fb76bfa4603e4a4c8ea.zip
ath79: wdr4300: avoid DTC warnings
Use direct button labels to avoid dtc warnings Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi b/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi
index e7f24bfe34..9ce06ffbeb 100644
--- 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>;