aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2018-05-28 12:46:52 +0000
committerJohn Crispin <john@phrozen.org>2018-06-08 09:56:28 +0200
commit29b2804c6bb95271c1fe05aa173929280c762878 (patch)
tree5d3bec26951287ebba1b9412b245166261332a48 /target/linux/ath79/dts
parent97326e5131722b9eb82103eb6496d246b9e578ec (diff)
downloadupstream-29b2804c6bb95271c1fe05aa173929280c762878.tar.gz
upstream-29b2804c6bb95271c1fe05aa173929280c762878.tar.bz2
upstream-29b2804c6bb95271c1fe05aa173929280c762878.zip
ath79: buffalo_wzr-hp-g450h: fix dtc warnings
Just name buttons directly, rather than abstract and then also a label. Likewise for leds. Avoids DTC warnings about unit address with no reg parameter. Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts21
1 files changed, 8 insertions, 13 deletions
diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
index 4e52e30b9d..4d7a545665 100644
--- a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
+++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
@@ -21,36 +21,31 @@
#size-cells = <0>;
poll-interval = <20>;
- button@0 {
- label = "usb";
+ usb {
linux,code = <BTN_2>;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
- button@1 {
- label = "reset";
+ reset {
linux,code = <KEY_RESTART>;
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
- button@2 {
- label = "movie_engine";
+ movie_engine {
linux,code = <KEY_RESTART>;
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
debounce-interval = <60>;
};
- button@3 {
- label = "aoss";
+ aoss {
linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
- button@4 {
- label = "router_off";
+ router_off {
linux,code = <BTN_5>;
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
debounce-interval = <60>;
@@ -60,12 +55,12 @@
leds {
compatible = "gpio-leds";
- led@0 {
+ security {
label = "buffalo:orange:security";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- led@1 {
+ diag {
label = "buffalo:red:diag";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
@@ -120,7 +115,7 @@
&pcie {
status = "okay";
- ath9k@0000 {
+ ath9k@0 {
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
};