xref: /freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/jcore,aic.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotJ-Core Advanced Interrupt Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible: Should be "jcore,aic1" for the (obsolete) first-generation aic
6*c66ec88fSEmmanuel Vadot  with 8 interrupt lines with programmable priorities, or "jcore,aic2" for
7*c66ec88fSEmmanuel Vadot  the "aic2" core with 64 interrupts.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot- reg: Memory region(s) for configuration. For SMP, there should be one
10*c66ec88fSEmmanuel Vadot  region per cpu, indexed by the sequential, zero-based hardware cpu
11*c66ec88fSEmmanuel Vadot  number.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot- interrupt-controller: Identifies the node as an interrupt controller
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot- #interrupt-cells: Specifies the number of cells needed to encode an
16*c66ec88fSEmmanuel Vadot  interrupt source. The value shall be 1.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample:
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadotaic: interrupt-controller@200 {
22*c66ec88fSEmmanuel Vadot	compatible = "jcore,aic2";
23*c66ec88fSEmmanuel Vadot	reg = < 0x200 0x30 0x500 0x30 >;
24*c66ec88fSEmmanuel Vadot	interrupt-controller;
25*c66ec88fSEmmanuel Vadot	#interrupt-cells = <1>;
26*c66ec88fSEmmanuel Vadot};
27