162306a36Sopenharmony_ci* Xtensa built-in Programmable Interrupt Controller (PIC) 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci- compatible: Should be "cdns,xtensa-pic". 562306a36Sopenharmony_ci- interrupt-controller: Identifies the node as an interrupt controller. 662306a36Sopenharmony_ci- #interrupt-cells: The number of cells to define the interrupts. 762306a36Sopenharmony_ci It may be either 1 or 2. 862306a36Sopenharmony_ci When it's 1, the first cell is the internal IRQ number. 962306a36Sopenharmony_ci When it's 2, the first cell is the IRQ number, and the second cell 1062306a36Sopenharmony_ci specifies whether it's internal (0) or external (1). 1162306a36Sopenharmony_ci Periferals are usually connected to a fixed external IRQ, but for different 1262306a36Sopenharmony_ci core variants it may be mapped to different internal IRQ. 1362306a36Sopenharmony_ci IRQ sensitivity and priority are fixed for each core variant and may not be 1462306a36Sopenharmony_ci changed at runtime. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciExamples: 1762306a36Sopenharmony_ci pic: pic { 1862306a36Sopenharmony_ci compatible = "cdns,xtensa-pic"; 1962306a36Sopenharmony_ci /* one cell: internal irq number, 2062306a36Sopenharmony_ci * two cells: second cell == 0: internal irq number 2162306a36Sopenharmony_ci * second cell == 1: external irq number 2262306a36Sopenharmony_ci */ 2362306a36Sopenharmony_ci #interrupt-cells = <2>; 2462306a36Sopenharmony_ci interrupt-controller; 2562306a36Sopenharmony_ci }; 26