sigma,smp8642-intc.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Sigma Designs SMP86xx/SMP87xx secondary interrupt controller
  2. Required properties:
  3. - compatible: should be "sigma,smp8642-intc"
  4. - reg: physical address of MMIO region
  5. - ranges: address space mapping of child nodes
  6. - interrupt-controller: boolean
  7. - #address-cells: should be <1>
  8. - #size-cells: should be <1>
  9. One child node per control block with properties:
  10. - reg: address of registers for this control block
  11. - interrupt-controller: boolean
  12. - #interrupt-cells: should be <2>, interrupt index and flags per interrupts.txt
  13. - interrupts: interrupt spec of primary interrupt controller
  14. Example:
  15. interrupt-controller@6e000 {
  16. compatible = "sigma,smp8642-intc";
  17. reg = <0x6e000 0x400>;
  18. ranges = <0x0 0x6e000 0x400>;
  19. interrupt-parent = <&gic>;
  20. interrupt-controller;
  21. #address-cells = <1>;
  22. #size-cells = <1>;
  23. irq0: interrupt-controller@0 {
  24. reg = <0x000 0x100>;
  25. interrupt-controller;
  26. #interrupt-cells = <2>;
  27. interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
  28. };
  29. irq1: interrupt-controller@100 {
  30. reg = <0x100 0x100>;
  31. interrupt-controller;
  32. #interrupt-cells = <2>;
  33. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  34. };
  35. irq2: interrupt-controller@300 {
  36. reg = <0x300 0x100>;
  37. interrupt-controller;
  38. #interrupt-cells = <2>;
  39. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  40. };
  41. };