snps,dw-apb-ictl.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. Synopsys DesignWare APB interrupt controller (dw_apb_ictl)
  2. Synopsys DesignWare provides interrupt controller IP for APB known as
  3. dw_apb_ictl. The IP is used as secondary interrupt controller in some SoCs with
  4. APB bus, e.g. Marvell Armada 1500.
  5. Required properties:
  6. - compatible: shall be "snps,dw-apb-ictl"
  7. - reg: physical base address of the controller and length of memory mapped
  8. region starting with ENABLE_LOW register
  9. - interrupt-controller: identifies the node as an interrupt controller
  10. - #interrupt-cells: number of cells to encode an interrupt-specifier, shall be 1
  11. - interrupts: interrupt reference to primary interrupt controller
  12. - interrupt-parent: (optional) reference specific primary interrupt controller
  13. The interrupt sources map to the corresponding bits in the interrupt
  14. registers, i.e.
  15. - 0 maps to bit 0 of low interrupts,
  16. - 1 maps to bit 1 of low interrupts,
  17. - 32 maps to bit 0 of high interrupts,
  18. - 33 maps to bit 1 of high interrupts,
  19. - (optional) fast interrupts start at 64.
  20. Example:
  21. aic: interrupt-controller@3000 {
  22. compatible = "snps,dw-apb-ictl";
  23. reg = <0x3000 0xc00>;
  24. interrupt-controller;
  25. #interrupt-cells = <1>;
  26. interrupt-parent = <&gic>;
  27. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  28. };