lantiq: dts: add missing size and address cells
authorMathias Kresin <dev@kresin.me>
Sun, 27 Jan 2019 12:48:03 +0000 (13:48 +0100)
committerMathias Kresin <dev@kresin.me>
Sun, 7 Jul 2019 09:17:27 +0000 (11:17 +0200)
Add size and address cells where missing to fix the following devicetree
compiler warning:

  Warning (avoid_default_addr_size): Relying on default #address-cells value
  Warning (avoid_default_addr_size): Relying on default #size-cells value

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi

index 8bea97bcb8f581858a7e936efb20cb0266fdb353..feb4cd529a05ac8259af00caf661811563311a49 100644 (file)
@@ -83,6 +83,8 @@
                };
 
                rcu0: rcu@203000 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "lantiq,ase-rcu", "simple-mfd", "syscon";
                        reg = <0x203000 0x1000>;
                        ranges = <0x0 0x203000 0x100>;
index aac5eeadf6969c63df1b5da2a8e313c566df611c..37b44aecdd041c6841584e72ba7b52eef7998919 100644 (file)
@@ -85,6 +85,8 @@
                };
 
                rcu0: rcu@203000 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "lantiq,xrx100-rcu", "simple-mfd", "syscon";
                        reg = <0x203000 0x1000>;
                        ranges = <0x0 0x203000 0x100>;
index bcb4cc2d4b65afcfa8b2a60405662a6add7e59b5..a91ee9590f24db9661035df4750e28d47ab58fb7 100644 (file)
@@ -91,6 +91,8 @@
                };
 
                rcu0: rcu@203000 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "lantiq,danube-rcu", "simple-mfd", "syscon";
                        reg = <0x203000 0x1000>;
                        ranges = <0x0 0x203000 0x100>;
index aa719b5026c6f5619bc4357d13382f97b03d50b5..cbb86e6a365b2c016ca81f232b2eaa82606aac31 100644 (file)
                };
 
                rcu0: rcu@203000 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
                        reg = <0x203000 0x100>;
                        ranges = <0x0 0x203000 0x100>;