arm64: dts: fvp: Add SPE to Foundation FVP
authorJames Clark <james.clark@arm.com>
Thu, 17 Nov 2022 10:25:36 +0000 (10:25 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 18 Nov 2022 11:56:22 +0000 (11:56 +0000)
Add SPE DT node to FVP model. If the model doesn't support SPE (e.g.,
turned off via parameter), the driver will skip the initialisation
accordingly and thus is safe.

Signed-off-by: James Clark <james.clark@arm.com>
Link: https://lore.kernel.org/r/20221117102536.237515-1-james.clark@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm64/boot/dts/arm/foundation-v8.dtsi

index c8bd23b..0295780 100644 (file)
                             <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
        };
 
+       spe-pmu {
+               compatible = "arm,statistical-profiling-extension-v1";
+               interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
        watchdog@2a440000 {
                compatible = "arm,sbsa-gwdt";
                reg = <0x0 0x2a440000 0 0x1000>,