lantiq: dts: fix interrupt provider warnings
authorMathias Kresin <dev@kresin.me>
Tue, 5 Jan 2021 11:57:13 +0000 (12:57 +0100)
committerMathias Kresin <dev@kresin.me>
Mon, 12 Apr 2021 21:50:46 +0000 (23:50 +0200)
dtc has new checks for interrupt provider which revealed that the
address-cells property is missing for all interrupt provider defined in
the lantiq dts files. Add the address-cells property to silence the
warnings.

arch/mips/boot/dts/lantiq/vr9.dtsi:48.19-54.5: Warning (interrupt_provider): /biu@1f800000/icu@80200: Missing #address-cells in interrupt provider
arch/mips/boot/dts/lantiq/vr9.dtsi:71.20-78.5: Warning (interrupt_provider): /sram@1f000000/eiu@101000: Missing #address-cells in interrupt provider

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

index 59f15a3605ccd0afbc995e91ab2895220bca357a..6734f3b4dff13421318e799cac41738386af5d21 100644 (file)
@@ -41,6 +41,7 @@
                ranges = <0x0 0x1f800000 0x7fffff>;
 
                icu0: icu@80200 {
+                       #address-cells = <0>;
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        compatible = "lantiq,icu";
@@ -61,6 +62,7 @@
                ranges = <0x0 0x1f000000 0x7fffff>;
 
                eiu0: eiu@101000 {
+                       #address-cells = <0>;
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        compatible = "lantiq,eiu-xway";
index 927568342f66a0b3dfe6da427c5526c307127997..291c1b9b95ba6c84df6f73ac12c47e7a7b4a0c42 100644 (file)
@@ -41,6 +41,7 @@
                ranges = <0x0 0x1f800000 0x7fffff>;
 
                icu0: icu@80200 {
+                       #address-cells = <0>;
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        compatible = "lantiq,icu";
@@ -64,6 +65,7 @@
                ranges = <0x0 0x1f000000 0x7fffff>;
 
                eiu0: eiu@101000 {
+                       #address-cells = <0>;
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        compatible = "lantiq,eiu-xway";
index b043f67f9f202f626a0adade89fc7eb41f815457..3d1db0b137a23f88bea27def6850f6e059aefb82 100644 (file)
@@ -41,6 +41,7 @@
                ranges = <0x0 0x1f800000 0x7fffff>;
 
                icu0: icu@80200 {
+                       #address-cells = <0>;
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        compatible = "lantiq,icu";
@@ -65,6 +66,7 @@
                ranges = <0x0 0x1f000000 0x7fffff>;
 
                eiu0: eiu@101000 {
+                       #address-cells = <0>;
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        compatible = "lantiq,eiu-xway";
index 2f5557c0c7806e0a9952474b80ed46c7fc35a69a..40de3f55135f53dbe177153072a82d560547c3e6 100644 (file)
@@ -72,6 +72,7 @@
 
                gpio0: gpio@810000 {
                        compatible = "lantiq,falcon-gpio";
+                       #address-cells = <0>;
                        gpio-controller;
                        #gpio-cells = <2>;
                        interrupt-controller;
@@ -84,6 +85,7 @@
 
                gpio2: gpio@810100 {
                        compatible = "lantiq,falcon-gpio";
+                       #address-cells = <0>;
                        gpio-controller;
                        #gpio-cells = <2>;
                        interrupt-controller;
                        compatible = "lantiq,falcon-gpio";
                        gpio-controller;
                        #gpio-cells = <2>;
+                       #address-cells = <0>;
                        interrupt-controller;
                        #interrupt-cells = <2>;
                        interrupt-parent = <&icu0>;
                        compatible = "lantiq,falcon-gpio";
                        gpio-controller;
                        #gpio-cells = <2>;
+                       #address-cells = <0>;
                        interrupt-controller;
                        #interrupt-cells = <2>;
                        interrupt-parent = <&icu0>;
                        compatible = "lantiq,falcon-gpio";
                        gpio-controller;
                        #gpio-cells = <2>;
+                       #address-cells = <0>;
                        interrupt-controller;
                        #interrupt-cells = <2>;
                        interrupt-parent = <&icu0>;
 
                icu0: icu@80200 {
                        #interrupt-cells = <1>;
+                       #address-cells = <0>;
                        interrupt-controller;
                        compatible = "lantiq,icu";
                        /* TODO: Number of ICUs isn't known */
index 01e245dbb0e23ce7526c48ddd50b18970d50ed33..7492947af6d6d525dfe46a6bef09c168bcb4b2f0 100644 (file)
@@ -46,6 +46,7 @@
                ranges = <0x0 0x1f800000 0x7fffff>;
 
                icu0: icu@80200 {
+                       #address-cells = <0>;
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        compatible = "lantiq,icu";
@@ -69,6 +70,7 @@
                ranges = <0x0 0x1f000000 0x7fffff>;
 
                eiu0: eiu@101000 {
+                       #address-cells = <0>;
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        compatible = "lantiq,eiu-xway";