Debian Codegraph @

Documentation/devicetree/bindings/interrupt-controller/loongson,eiointc.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,eiointc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Loongson Extended I/O Interrupt Controller
8
9 maintainers:
10 - Binbin Zhou <[email protected]>
11
12 description: |
13 This interrupt controller is found on the Loongson-3 family chips and
14 Loongson-2K series chips and is used to distribute interrupts directly to
15 individual cores without forwarding them through the HT's interrupt line.
16
17 allOf:
18 - $ref: /schemas/interrupt-controller.yaml#
19
20 properties:
21 compatible:
22 enum:
23 - loongson,ls2k0500-eiointc
24 - loongson,ls2k2000-eiointc
25
26 reg:
27 maxItems: 1
28
29 interrupts:
30 maxItems: 1
31
32 '#address-cells':
33 const: 0
34
35 interrupt-controller: true
36
37 '#interrupt-cells':
38 const: 1
39
40 required:
41 - compatible
42 - reg
43 - interrupts
44 - interrupt-controller
45 - '#interrupt-cells'
46
47 unevaluatedProperties: false
48
49 examples:
50 - |
51 eiointc: interrupt-controller@1fe11600 {
52 compatible = "loongson,ls2k0500-eiointc";
53 reg = <0x1fe10000 0x10000>;
54
55 interrupt-controller;
56 #interrupt-cells = <1>;
57
58 interrupt-parent = <&cpuintc>;
59 interrupts = <3>;
60 };
61
62 ...