mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
668 B
24 lines
668 B
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>; |
|
};
|
|
|