snps,dw-apb-ictl.txt 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. The interrupt sources map to the corresponding bits in the interrupt
  13. registers, i.e.
  14. - 0 maps to bit 0 of low interrupts,
  15. - 1 maps to bit 1 of low interrupts,
  16. - 32 maps to bit 0 of high interrupts,
  17. - 33 maps to bit 1 of high interrupts,
  18. - (optional) fast interrupts start at 64.
  19. Example:
  20. aic: interrupt-controller@3000 {
  21. compatible = "snps,dw-apb-ictl";
  22. reg = <0x3000 0xc00>;
  23. interrupt-controller;
  24. #interrupt-cells = <1>;
  25. interrupt-parent = <&gic>;
  26. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  27. };