aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-06 07:11:13 +0200
committerMathias Kresin <dev@kresin.me>2018-08-08 08:11:11 +0200
commit55ff2951eac8fd86c91b9673395325e393e357ac (patch)
tree6ff065b1d952d52999c97a4fc38f33b30a2cedaf /target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts
parentbf078fcab6f4683d2e8599dce107afee5e3742c3 (diff)
downloadupstream-55ff2951eac8fd86c91b9673395325e393e357ac.tar.gz
upstream-55ff2951eac8fd86c91b9673395325e393e357ac.tar.bz2
upstream-55ff2951eac8fd86c91b9673395325e393e357ac.zip
ath79: fix dts warnings
Fix all issues found by the devicetree compiler like wrong address/size cells as well as wrong/missing/superfluous unit addresses. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts')
-rw-r--r--target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts b/target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts
index 02c15fec17..4159cb2fb0 100644
--- a/target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts
+++ b/target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts
@@ -26,11 +26,9 @@
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <100>;
- button@0 {
+ button0 {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
@@ -65,8 +63,6 @@
/* Winbond 25Q128FVSG SPI flash */
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "winbond,w25q128", "jedec,spi-nor";
spi-max-frequency = <104000000>;
reg = <0>;