arm,nvic.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. * ARM Nested Vector Interrupt Controller (NVIC)
  2. The NVIC provides an interrupt controller that is tightly coupled to
  3. Cortex-M based processor cores. The NVIC implemented on different SoCs
  4. vary in the number of interrupts and priority bits per interrupt.
  5. Main node required properties:
  6. - compatible : should be one of:
  7. "arm,v6m-nvic"
  8. "arm,v7m-nvic"
  9. "arm,v8m-nvic"
  10. - interrupt-controller : Identifies the node as an interrupt controller
  11. - #interrupt-cells : Specifies the number of cells needed to encode an
  12. interrupt source. The type shall be a <u32> and the value shall be 2.
  13. The 1st cell contains the interrupt number for the interrupt type.
  14. The 2nd cell is the priority of the interrupt.
  15. - reg : Specifies base physical address(s) and size of the NVIC registers.
  16. This is at a fixed address (0xe000e100) and size (0xc00).
  17. - arm,num-irq-priority-bits: The number of priority bits implemented by the
  18. given SoC
  19. Example:
  20. intc: interrupt-controller@e000e100 {
  21. compatible = "arm,v7m-nvic";
  22. #interrupt-cells = <2>;
  23. #address-cells = <1>;
  24. interrupt-controller;
  25. reg = <0xe000e100 0xc00>;
  26. arm,num-irq-priority-bits = <4>;
  27. };