Commit 3bdd7f74 authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Marc Zyngier
Browse files

dt-bindings: interrupt-controller: loongson ls1x intc



Dt-bindings doc about Loongson-1 interrupt controller.

Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 9e543e22
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
Loongson ls1x Interrupt Controller

Required properties:

- compatible : should be "loongson,ls1x-intc". Valid strings are:

- reg : Specifies base physical address and size of the registers.
- interrupt-controller : Identifies the node as an interrupt controller
- #interrupt-cells : Specifies the number of cells needed to encode an
  interrupt source. The value shall be 2.
- interrupts : Specifies the CPU interrupt the controller is connected to.

Example:

intc: interrupt-controller@1fd01040 {
	compatible = "loongson,ls1x-intc";
	reg = <0x1fd01040 0x18>;

	interrupt-controller;
	#interrupt-cells = <2>;

	interrupt-parent = <&cpu_intc>;
	interrupts = <2>;
};