arm64: dts: zynqmp: Add address-cells property to interrupt controllers
authorMichal Simek <michal.simek@xilinx.com>
Wed, 2 Dec 2020 14:14:57 +0000 (15:14 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 21 Jan 2021 10:17:16 +0000 (11:17 +0100)
The commit 3eb619b2f7d8 ("scripts/dtc: Update to upstream version
v1.6.0-11-g9d7888cbf19c") updated dtc version which also contained DTC
commit
"81e0919a3e21 checks: Add interrupt provider test"
where reasons for this checking are mentioned as
"A missing #address-cells property is less critical, but creates
ambiguities when used in interrupt-map properties, so warn about this as
well now."

That's why add address-cells property to gic and gpio nodes to get rid of
this warning.

CC: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/e4f54ddce33b79a783aa7c76e0dc6e9787933610.1606918493.git.michal.simek@xilinx.com
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index 68923fbd0e898299d30f513095c24215bca442a7..cdc1a0ddfa01956c203d37596ee4a018aab913c3 100644 (file)
 
                gic: interrupt-controller@f9010000 {
                        compatible = "arm,gic-400";
+                       #address-cells = <0>;
                        #interrupt-cells = <3>;
                        reg = <0x0 0xf9010000 0x0 0x10000>,
                              <0x0 0xf9020000 0x0 0x20000>,
                gpio: gpio@ff0a0000 {
                        compatible = "xlnx,zynqmp-gpio-1.0";
                        status = "disabled";
+                       #address-cells = <0>;
                        #gpio-cells = <0x2>;
                        gpio-controller;
                        interrupt-parent = <&gic>;