summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-05-13 11:30:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-24 17:50:14 +0200
commit492c50fe65a9a50eac0968442ca0e3b9253e7a78 (patch)
treec72a6d4bbe9fade3178c5d5d5e071161370921f8 /arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi
parent376ef9d7ee4c0886cdf624727415048e10295c00 (diff)
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>
Diffstat (limited to 'arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi')
-rw-r--r--arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi b/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi
index 15fe81738e94..dfb23dfc0b0f 100644
--- a/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi
+++ b/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi
@@ -8,7 +8,7 @@
gic: interrupt-controller@2c001000 {
compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
#interrupt-cells = <3>;
- #address-cells = <2>;
+ #address-cells = <1>;
interrupt-controller;
reg = <0x0 0x2c001000 0 0x1000>,
<0x0 0x2c002000 0 0x2000>,