pmu.txt 904 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ===============================
  2. C-SKY Performance Monitor Units
  3. ===============================
  4. C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and
  5. it could count cpu's events for helping analysis performance issues.
  6. ============================
  7. PMU node bindings definition
  8. ============================
  9. Description: Describes PMU
  10. PROPERTIES
  11. - compatible
  12. Usage: required
  13. Value type: <string>
  14. Definition: must be "csky,csky-pmu"
  15. - interrupts
  16. Usage: required
  17. Value type: <u32 IRQ_TYPE_XXX>
  18. Definition: must be pmu irq num defined by soc
  19. - count-width
  20. Usage: optional
  21. Value type: <u32>
  22. Definition: the width of pmu counter
  23. Examples:
  24. ---------
  25. #include <dt-bindings/interrupt-controller/irq.h>
  26. pmu: performace-monitor {
  27. compatible = "csky,csky-pmu";
  28. interrupts = <23 IRQ_TYPE_EDGE_RISING>;
  29. interrupt-parent = <&intc>;
  30. count-width = <48>;
  31. };