2011-06-22 22:33:55 +08:00
|
|
|
* ARM Performance Monitor Units
|
|
|
|
|
|
|
|
ARM cores often have a PMU for counting cpu and cache events like cache misses
|
|
|
|
and hits. The interface to the PMU is part of the ARM ARM. The ARM PMU
|
|
|
|
representation in the device tree should be done as under:-
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
|
|
|
- compatible : should be one of
|
2013-11-08 10:58:16 +08:00
|
|
|
"arm,armv8-pmuv3"
|
2014-05-10 01:34:19 +08:00
|
|
|
"arm,cortex-a17-pmu"
|
2012-07-28 23:05:55 +08:00
|
|
|
"arm,cortex-a15-pmu"
|
2014-01-29 22:28:57 +08:00
|
|
|
"arm,cortex-a12-pmu"
|
2011-06-22 22:33:55 +08:00
|
|
|
"arm,cortex-a9-pmu"
|
|
|
|
"arm,cortex-a8-pmu"
|
2012-07-28 23:05:55 +08:00
|
|
|
"arm,cortex-a7-pmu"
|
|
|
|
"arm,cortex-a5-pmu"
|
|
|
|
"arm,arm11mpcore-pmu"
|
2011-06-22 22:33:55 +08:00
|
|
|
"arm,arm1176-pmu"
|
|
|
|
"arm,arm1136-pmu"
|
2015-02-28 08:11:35 +08:00
|
|
|
"qcom,scorpion-pmu"
|
|
|
|
"qcom,scorpion-mp-pmu"
|
2014-02-08 05:01:24 +08:00
|
|
|
"qcom,krait-pmu"
|
|
|
|
- interrupts : 1 combined interrupt or 1 per core. If the interrupt is a per-cpu
|
|
|
|
interrupt (PPI) then 1 interrupt should be specified.
|
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
|
2015-03-06 19:54:08 +08:00
|
|
|
- interrupt-affinity : Valid only when using SPIs, specifies a list of phandles
|
|
|
|
to CPU nodes corresponding directly to the affinity of
|
|
|
|
the SPIs listed in the interrupts property.
|
|
|
|
|
|
|
|
This property should be present when there is more than
|
|
|
|
a single SPI.
|
|
|
|
|
2014-02-08 05:01:24 +08:00
|
|
|
- qcom,no-pc-write : Indicates that this PMU doesn't support the 0xc and 0xd
|
|
|
|
events.
|
2011-06-22 22:33:55 +08:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
pmu {
|
|
|
|
compatible = "arm,cortex-a9-pmu";
|
|
|
|
interrupts = <100 101>;
|
|
|
|
};
|