]> git.baikalelectronics.ru Git - kernel.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)
committerSudeep Holla <sudeep.holla@arm.com>
Sun, 17 May 2020 17:57:10 +0000 (18:57 +0100)
commit962249dd5dc9e6dd5c4bcdacad732bb68ad589ff
treea5c59bbef2436fa0f18b98a2fec795e3f573f7dd
parent715f3ff06c2e2960e3232eed9283503780fce4f9
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