aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.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/ar7242_tplink_tl-wr2543-v1.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/ar7242_tplink_tl-wr2543-v1.dts')
-rw-r--r--target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
index d7bb406ab0..0cd90262b3 100644
--- a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
+++ b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
@@ -26,8 +26,6 @@
gpio-keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
@@ -89,6 +87,8 @@
realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
phy0: ethernet-phy@0 {
@@ -107,8 +107,6 @@
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
@@ -143,6 +141,8 @@
};
&usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port: port@1 {
@@ -158,7 +158,7 @@
&pcie {
status = "okay";
- ath9k: wifi@0 {
+ ath9k: wifi@0,0 {
reg = <0x0000 0 0 0 0>;
#gpio-cells = <2>;
gpio-controller;