18c2ecf20Sopenharmony_ciLoongson ls1x Interrupt Controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci- compatible : should be "loongson,ls1x-intc". Valid strings are:
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci- reg : Specifies base physical address and size of the registers.
88c2ecf20Sopenharmony_ci- interrupt-controller : Identifies the node as an interrupt controller
98c2ecf20Sopenharmony_ci- #interrupt-cells : Specifies the number of cells needed to encode an
108c2ecf20Sopenharmony_ci  interrupt source. The value shall be 2.
118c2ecf20Sopenharmony_ci- interrupts : Specifies the CPU interrupt the controller is connected to.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciExample:
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciintc: interrupt-controller@1fd01040 {
168c2ecf20Sopenharmony_ci	compatible = "loongson,ls1x-intc";
178c2ecf20Sopenharmony_ci	reg = <0x1fd01040 0x18>;
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci	interrupt-controller;
208c2ecf20Sopenharmony_ci	#interrupt-cells = <2>;
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci	interrupt-parent = <&cpu_intc>;
238c2ecf20Sopenharmony_ci	interrupts = <2>;
248c2ecf20Sopenharmony_ci};
25