OSDN Git Service

arm64: dts: fvp: Fix GIC child nodes
authorAndre Przywara <andre.przywara@arm.com>
Wed, 13 May 2020 10:30:06 +0000 (11:30 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Sun, 17 May 2020 17:57:10 +0000 (18:57 +0100)
commit78631aecc52c4b2adcf611769df2ff9c67ac16d0
treea5c59bbef2436fa0f18b98a2fec795e3f573f7dd
parenta78aee9e434932a500db36cc6d88daeff3745e9f
arm64: dts: fvp: Fix GIC child nodes

The GIC DT nodes for the fastmodels were not fully compliant with the
DT binding, which has certain expectations about child nodes and their
size and address cells values.

Use smaller #address-cells and #size-cells values, as the binding
requests, and adjust the reg properties accordingly.
This requires adjusting the interrupt nexus nodes as well, as one
field of the interrupt-map property depends on the GIC's address-size.

Since the .dts files share interrupt nexus nodes across different
interrupt controllers (GICv2 vs. GICv3), we need to use the only
commonly allowed #address-size value of <1> for both.

Link: https://lore.kernel.org/r/20200513103016.130417-11-andre.przywara@arm.com
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi
arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi
arch/arm64/boot/dts/arm/foundation-v8.dtsi