xref: /freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/ti,cp-intc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* TI Common Platform Interrupt Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotCommon Platform Interrupt Controller (cp_intc) is used on
4*c66ec88fSEmmanuel VadotOMAP-L1x SoCs and can support several configurable number
5*c66ec88fSEmmanuel Vadotof interrupts.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotMain node required properties:
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot- compatible : should be:
10*c66ec88fSEmmanuel Vadot	"ti,cp-intc"
11*c66ec88fSEmmanuel Vadot- interrupt-controller : Identifies the node as an interrupt controller
12*c66ec88fSEmmanuel Vadot- #interrupt-cells : Specifies the number of cells needed to encode an
13*c66ec88fSEmmanuel Vadot  interrupt source. The type shall be a <u32> and the value shall be 1.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot  The cell contains the interrupt number in the range [0-128].
16*c66ec88fSEmmanuel Vadot- ti,intc-size: Number of interrupts handled by the interrupt controller.
17*c66ec88fSEmmanuel Vadot- reg: physical base address and size of the intc registers map.
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample:
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	intc: interrupt-controller@1 {
22*c66ec88fSEmmanuel Vadot		compatible = "ti,cp-intc";
23*c66ec88fSEmmanuel Vadot		interrupt-controller;
24*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
25*c66ec88fSEmmanuel Vadot		ti,intc-size = <101>;
26*c66ec88fSEmmanuel Vadot		reg = <0xfffee000 0x2000>;
27*c66ec88fSEmmanuel Vadot	};
28