0001 * Xtensa built-in Programmable Interrupt Controller (PIC)
0002
0003 Required properties:
0004 - compatible: Should be "cdns,xtensa-pic".
0005 - interrupt-controller: Identifies the node as an interrupt controller.
0006 - #interrupt-cells: The number of cells to define the interrupts.
0007 It may be either 1 or 2.
0008 When it's 1, the first cell is the internal IRQ number.
0009 When it's 2, the first cell is the IRQ number, and the second cell
0010 specifies whether it's internal (0) or external (1).
0011 Periferals are usually connected to a fixed external IRQ, but for different
0012 core variants it may be mapped to different internal IRQ.
0013 IRQ sensitivity and priority are fixed for each core variant and may not be
0014 changed at runtime.
0015
0016 Examples:
0017 pic: pic {
0018 compatible = "cdns,xtensa-pic";
0019 /* one cell: internal irq number,
0020 * two cells: second cell == 0: internal irq number
0021 * second cell == 1: external irq number
0022 */
0023 #interrupt-cells = <2>;
0024 interrupt-controller;
0025 };