mediatek,cirq.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. * Mediatek 27xx cirq
  2. In Mediatek SOCs, the CIRQ is a low power interrupt controller designed to
  3. work outside MCUSYS which comprises with Cortex-Ax cores,CCI and GIC.
  4. The external interrupts (outside MCUSYS) will feed through CIRQ and connect
  5. to GIC in MCUSYS. When CIRQ is enabled, it will record the edge-sensitive
  6. interrupts and generate a pulse signal to parent interrupt controller when
  7. flush command is executed. With CIRQ, MCUSYS can be completely turned off
  8. to improve the system power consumption without losing interrupts.
  9. Required properties:
  10. - compatible: should be one of
  11. - "mediatek,mt2701-cirq" for mt2701 CIRQ
  12. - "mediatek,mt8135-cirq" for mt8135 CIRQ
  13. - "mediatek,mt8173-cirq" for mt8173 CIRQ
  14. and "mediatek,cirq" as a fallback.
  15. - interrupt-controller : Identifies the node as an interrupt controller.
  16. - #interrupt-cells : Use the same format as specified by GIC in arm,gic.txt.
  17. - reg: Physical base address of the cirq registers and length of memory
  18. mapped region.
  19. - mediatek,ext-irq-range: Identifies external irq number range in different
  20. SOCs.
  21. Example:
  22. cirq: interrupt-controller@10204000 {
  23. compatible = "mediatek,mt2701-cirq",
  24. "mediatek,mtk-cirq";
  25. interrupt-controller;
  26. #interrupt-cells = <3>;
  27. interrupt-parent = <&sysirq>;
  28. reg = <0 0x10204000 0 0x400>;
  29. mediatek,ext-irq-start = <32 200>;
  30. };