xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/starfive,jh8100-intc.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*01950c46SEmmanuel Vadot%YAML 1.2
3*01950c46SEmmanuel Vadot---
4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/starfive,jh8100-intc.yaml#
5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*01950c46SEmmanuel Vadot
7*01950c46SEmmanuel Vadottitle: StarFive External Interrupt Controller
8*01950c46SEmmanuel Vadot
9*01950c46SEmmanuel Vadotdescription:
10*01950c46SEmmanuel Vadot  StarFive SoC JH8100 contain a external interrupt controller. It can be used
11*01950c46SEmmanuel Vadot  to handle high-level input interrupt signals. It also send the output
12*01950c46SEmmanuel Vadot  interrupt signal to RISC-V PLIC.
13*01950c46SEmmanuel Vadot
14*01950c46SEmmanuel Vadotmaintainers:
15*01950c46SEmmanuel Vadot  - Changhuang Liang <changhuang.liang@starfivetech.com>
16*01950c46SEmmanuel Vadot
17*01950c46SEmmanuel Vadotproperties:
18*01950c46SEmmanuel Vadot  compatible:
19*01950c46SEmmanuel Vadot    const: starfive,jh8100-intc
20*01950c46SEmmanuel Vadot
21*01950c46SEmmanuel Vadot  reg:
22*01950c46SEmmanuel Vadot    maxItems: 1
23*01950c46SEmmanuel Vadot
24*01950c46SEmmanuel Vadot  clocks:
25*01950c46SEmmanuel Vadot    description: APB clock for the interrupt controller
26*01950c46SEmmanuel Vadot    maxItems: 1
27*01950c46SEmmanuel Vadot
28*01950c46SEmmanuel Vadot  resets:
29*01950c46SEmmanuel Vadot    description: APB reset for the interrupt controller
30*01950c46SEmmanuel Vadot    maxItems: 1
31*01950c46SEmmanuel Vadot
32*01950c46SEmmanuel Vadot  interrupts:
33*01950c46SEmmanuel Vadot    maxItems: 1
34*01950c46SEmmanuel Vadot
35*01950c46SEmmanuel Vadot  interrupt-controller: true
36*01950c46SEmmanuel Vadot
37*01950c46SEmmanuel Vadot  "#interrupt-cells":
38*01950c46SEmmanuel Vadot    const: 1
39*01950c46SEmmanuel Vadot
40*01950c46SEmmanuel Vadotrequired:
41*01950c46SEmmanuel Vadot  - compatible
42*01950c46SEmmanuel Vadot  - reg
43*01950c46SEmmanuel Vadot  - clocks
44*01950c46SEmmanuel Vadot  - resets
45*01950c46SEmmanuel Vadot  - interrupts
46*01950c46SEmmanuel Vadot  - interrupt-controller
47*01950c46SEmmanuel Vadot  - "#interrupt-cells"
48*01950c46SEmmanuel Vadot
49*01950c46SEmmanuel VadotadditionalProperties: false
50*01950c46SEmmanuel Vadot
51*01950c46SEmmanuel Vadotexamples:
52*01950c46SEmmanuel Vadot  - |
53*01950c46SEmmanuel Vadot    interrupt-controller@12260000 {
54*01950c46SEmmanuel Vadot      compatible = "starfive,jh8100-intc";
55*01950c46SEmmanuel Vadot      reg = <0x12260000 0x10000>;
56*01950c46SEmmanuel Vadot      clocks = <&syscrg_ne 76>;
57*01950c46SEmmanuel Vadot      resets = <&syscrg_ne 13>;
58*01950c46SEmmanuel Vadot      interrupts = <45>;
59*01950c46SEmmanuel Vadot      interrupt-controller;
60*01950c46SEmmanuel Vadot      #interrupt-cells = <1>;
61*01950c46SEmmanuel Vadot    };
62