xref: /freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/loongson,ls1x-intc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotLoongson ls1x Interrupt Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible : should be "loongson,ls1x-intc". Valid strings are:
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot- reg : Specifies base physical address and size of the registers.
8*c66ec88fSEmmanuel Vadot- interrupt-controller : Identifies the node as an interrupt controller
9*c66ec88fSEmmanuel Vadot- #interrupt-cells : Specifies the number of cells needed to encode an
10*c66ec88fSEmmanuel Vadot  interrupt source. The value shall be 2.
11*c66ec88fSEmmanuel Vadot- interrupts : Specifies the CPU interrupt the controller is connected to.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadotintc: interrupt-controller@1fd01040 {
16*c66ec88fSEmmanuel Vadot	compatible = "loongson,ls1x-intc";
17*c66ec88fSEmmanuel Vadot	reg = <0x1fd01040 0x18>;
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot	interrupt-controller;
20*c66ec88fSEmmanuel Vadot	#interrupt-cells = <2>;
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot	interrupt-parent = <&cpu_intc>;
23*c66ec88fSEmmanuel Vadot	interrupts = <2>;
24*c66ec88fSEmmanuel Vadot};
25