1*4882a593Smuzhiyun* Xtensa built-in Programmable Interrupt Controller (PIC) 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: Should be "cdns,xtensa-pic". 5*4882a593Smuzhiyun- interrupt-controller: Identifies the node as an interrupt controller. 6*4882a593Smuzhiyun- #interrupt-cells: The number of cells to define the interrupts. 7*4882a593Smuzhiyun It may be either 1 or 2. 8*4882a593Smuzhiyun When it's 1, the first cell is the internal IRQ number. 9*4882a593Smuzhiyun When it's 2, the first cell is the IRQ number, and the second cell 10*4882a593Smuzhiyun specifies whether it's internal (0) or external (1). 11*4882a593Smuzhiyun Periferals are usually connected to a fixed external IRQ, but for different 12*4882a593Smuzhiyun core variants it may be mapped to different internal IRQ. 13*4882a593Smuzhiyun IRQ sensitivity and priority are fixed for each core variant and may not be 14*4882a593Smuzhiyun changed at runtime. 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunExamples: 17*4882a593Smuzhiyun pic: pic { 18*4882a593Smuzhiyun compatible = "cdns,xtensa-pic"; 19*4882a593Smuzhiyun /* one cell: internal irq number, 20*4882a593Smuzhiyun * two cells: second cell == 0: internal irq number 21*4882a593Smuzhiyun * second cell == 1: external irq number 22*4882a593Smuzhiyun */ 23*4882a593Smuzhiyun #interrupt-cells = <2>; 24*4882a593Smuzhiyun interrupt-controller; 25*4882a593Smuzhiyun }; 26