]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm64: dts: fvp: Fix GIC child nodes
authorAndre Przywara <andre.przywara@arm.com>
Wed, 13 May 2020 10:30:06 +0000 (11:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:48:24 +0000 (17:48 +0200)
commita51b921b072d0160260e7721e8b93c4eea672272
tree29754b86bb143abaf6c68d6c7da2364f01c35b2e
parent9092cf0711eb90aae08f2ad62a98c7e2303c11bd
arm64: dts: fvp: Fix GIC child nodes

[ Upstream commit 78631aecc52c4b2adcf611769df2ff9c67ac16d0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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