pmu.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. * ARM Performance Monitor Units
  2. ARM cores often have a PMU for counting cpu and cache events like cache misses
  3. and hits. The interface to the PMU is part of the ARM ARM. The ARM PMU
  4. representation in the device tree should be done as under:-
  5. Required properties:
  6. - compatible : should be one of
  7. "arm,armv8-pmuv3"
  8. "arm,cortex-a17-pmu"
  9. "arm,cortex-a15-pmu"
  10. "arm,cortex-a12-pmu"
  11. "arm,cortex-a9-pmu"
  12. "arm,cortex-a8-pmu"
  13. "arm,cortex-a7-pmu"
  14. "arm,cortex-a5-pmu"
  15. "arm,arm11mpcore-pmu"
  16. "arm,arm1176-pmu"
  17. "arm,arm1136-pmu"
  18. "qcom,scorpion-pmu"
  19. "qcom,scorpion-mp-pmu"
  20. "qcom,krait-pmu"
  21. - interrupts : 1 combined interrupt or 1 per core. If the interrupt is a per-cpu
  22. interrupt (PPI) then 1 interrupt should be specified.
  23. Optional properties:
  24. - interrupt-affinity : Valid only when using SPIs, specifies a list of phandles
  25. to CPU nodes corresponding directly to the affinity of
  26. the SPIs listed in the interrupts property.
  27. This property should be present when there is more than
  28. a single SPI.
  29. - qcom,no-pc-write : Indicates that this PMU doesn't support the 0xc and 0xd
  30. events.
  31. Example:
  32. pmu {
  33. compatible = "arm,cortex-a9-pmu";
  34. interrupts = <100 101>;
  35. };