WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / interrupt-controller / loongson,htpic.yaml
blobd1d52d1db2be8c5ef5bc99033381b461837090aa
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,htpic.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Loongson-3 HyperTransport Interrupt Controller
9 maintainers:
10   - Jiaxun Yang <jiaxun.yang@flygoat.com>
12 allOf:
13   - $ref: /schemas/interrupt-controller.yaml#
15 description: |
16   This interrupt controller is found in the Loongson-3 family of chips to transmit
17   interrupts from PCH PIC connected on HyperTransport bus.
19 properties:
20   compatible:
21     const: loongson,htpic-1.0
23   reg:
24     maxItems: 1
26   interrupts:
27     minItems: 1
28     maxItems: 4
29     description: |
30       Four parent interrupts that receive chained interrupts.
32   interrupt-controller: true
34   '#interrupt-cells':
35     const: 1
37 required:
38   - compatible
39   - reg
40   - interrupts
41   - interrupt-controller
42   - '#interrupt-cells'
44 unevaluatedProperties: false
46 examples:
47   - |
48     #include <dt-bindings/interrupt-controller/irq.h>
49     htintc: interrupt-controller@1fb000080 {
50       compatible = "loongson,htintc-1.0";
51       reg = <0xfb000080 0x40>;
52       interrupt-controller;
53       #interrupt-cells = <1>;
55       interrupt-parent = <&liointc>;
56       interrupts = <24 IRQ_TYPE_LEVEL_HIGH>,
57                     <25 IRQ_TYPE_LEVEL_HIGH>,
58                     <26 IRQ_TYPE_LEVEL_HIGH>,
59                     <27 IRQ_TYPE_LEVEL_HIGH>;
60     };
61 ...