ARM: dts: NSP: Fix the bulk of W=1 DTC warnings

Fix the bulk of the unit_address_vs_reg warnings and unnecessary
\#address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
Florian Fainelli 2019-05-28 16:01:34 -07:00
parent f6bf17291d
commit 875e2f5fab
9 changed files with 11 additions and 14 deletions

View File

@ -77,7 +77,7 @@
interrupt-affinity = <&cpu0>, <&cpu1>; interrupt-affinity = <&cpu0>, <&cpu1>;
}; };
mpcore { mpcore@19000000 {
compatible = "simple-bus"; compatible = "simple-bus";
ranges = <0x00000000 0x19000000 0x00023000>; ranges = <0x00000000 0x19000000 0x00023000>;
#address-cells = <1>; #address-cells = <1>;
@ -122,7 +122,7 @@
<0x20100 0x100>; <0x20100 0x100>;
}; };
L2: l2-cache { L2: l2-cache@22000 {
compatible = "arm,pl310-cache"; compatible = "arm,pl310-cache";
reg = <0x22000 0x1000>; reg = <0x22000 0x1000>;
cache-unified; cache-unified;
@ -166,7 +166,7 @@
}; };
}; };
axi { axi@18000000 {
compatible = "simple-bus"; compatible = "simple-bus";
ranges = <0x00000000 0x18000000 0x0011c40c>; ranges = <0x00000000 0x18000000 0x0011c40c>;
#address-cells = <1>; #address-cells = <1>;
@ -415,9 +415,6 @@
"imp_sleep_timer_p5", "imp_sleep_timer_p5",
"imp_sleep_timer_p7", "imp_sleep_timer_p7",
"imp_sleep_timer_p8"; "imp_sleep_timer_p8";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled"; status = "disabled";
/* ports are defined in board DTS */ /* ports are defined in board DTS */

View File

@ -43,7 +43,7 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@60000000 {
device_type = "memory"; device_type = "memory";
reg = <0x60000000 0x80000000>; reg = <0x60000000 0x80000000>;
}; };

View File

@ -43,7 +43,7 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@60000000 {
device_type = "memory"; device_type = "memory";
reg = <0x60000000 0x80000000>; reg = <0x60000000 0x80000000>;
}; };

View File

@ -43,7 +43,7 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@60000000 {
device_type = "memory"; device_type = "memory";
reg = <0x60000000 0x40000000>; reg = <0x60000000 0x40000000>;
}; };

View File

@ -43,7 +43,7 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@60000000 {
device_type = "memory"; device_type = "memory";
reg = <0x60000000 0x80000000>; reg = <0x60000000 0x80000000>;
}; };

View File

@ -43,7 +43,7 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@60000000 {
device_type = "memory"; device_type = "memory";
reg = <0x60000000 0x80000000>; reg = <0x60000000 0x80000000>;
}; };

View File

@ -43,7 +43,7 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@60000000 {
device_type = "memory"; device_type = "memory";
reg = <0x60000000 0x20000000>; reg = <0x60000000 0x20000000>;
}; };

View File

@ -42,7 +42,7 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@60000000 {
device_type = "memory"; device_type = "memory";
reg = <0x60000000 0x80000000>; reg = <0x60000000 0x80000000>;
}; };

View File

@ -43,7 +43,7 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@60000000 {
device_type = "memory"; device_type = "memory";
reg = <0x60000000 0x80000000>; reg = <0x60000000 0x80000000>;
}; };