feat(tc): add device tree binding for SPE

Add node for Statistical Profiling Extension, which provides
periodic sampling of operations in the CPU pipeline and reports
this via the perf AUX interface.

Change-Id: Ic7a9d9ce927edbce02c7c09470a009dc56247240
Signed-off-by: Jagdish Gediya <jagdish.gediya@arm.com>
Signed-off-by: Leo Yan <leo.yan@arm.com>
This commit is contained in:
Jagdish Gediya 2024-04-23 13:46:41 +01:00 committed by Leo Yan
parent ebc991b3a1
commit 77080f6aaf
3 changed files with 24 additions and 0 deletions

View file

@ -349,6 +349,18 @@
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>;
};
spe-pmu-mid {
compatible = "arm,statistical-profiling-extension-v1";
interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_HIGH &ppi_partition_mid>;
status = "disabled";
};
spe-pmu-big {
compatible = "arm,statistical-profiling-extension-v1";
interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_HIGH &ppi_partition_big>;
status = "disabled";
};
soc_refclk: refclk {
compatible = "fixed-clock";
#clock-cells = <0>;

View file

@ -263,6 +263,10 @@
};
};
spe-pmu-big {
status = "okay";
};
smmu_700: iommu@3f000000 {
status = "okay";
};

View file

@ -92,6 +92,14 @@
reg = <0x0 MCN_PMU_ADDR(3) 0x0 0xffc>;
};
spe-pmu-mid {
status = "okay";
};
spe-pmu-big {
status = "okay";
};
dsu-pmu {
compatible = "arm,dsu-pmu";
cpus = <&CPU0>, <&CPU1>, <&CPU2>, <&CPU3>, <&CPU4>, <&CPU5>, <&CPU6>, <&CPU7>;