xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/csky,apb-intc.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/csky,apb-intc.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: C-SKY APB Interrupt Controller
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Guo Ren <guoren@kernel.org>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription: >
13*ae5de77eSEmmanuel Vadot  C-SKY APB Interrupt Controller is a simple soc interrupt controller on the apb
14*ae5de77eSEmmanuel Vadot  bus and we only use it as root irq controller.
15*ae5de77eSEmmanuel Vadot
16*ae5de77eSEmmanuel Vadot    - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums.
17*ae5de77eSEmmanuel Vadot    - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported.
18*ae5de77eSEmmanuel Vadot    - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums.
19*ae5de77eSEmmanuel Vadot
20*ae5de77eSEmmanuel Vadotproperties:
21*ae5de77eSEmmanuel Vadot  compatible:
22*ae5de77eSEmmanuel Vadot    enum:
23*ae5de77eSEmmanuel Vadot      - csky,apb-intc
24*ae5de77eSEmmanuel Vadot      - csky,dual-apb-intc
25*ae5de77eSEmmanuel Vadot      - csky,gx6605s-intc
26*ae5de77eSEmmanuel Vadot
27*ae5de77eSEmmanuel Vadot  reg:
28*ae5de77eSEmmanuel Vadot    maxItems: 1
29*ae5de77eSEmmanuel Vadot
30*ae5de77eSEmmanuel Vadot  '#interrupt-cells':
31*ae5de77eSEmmanuel Vadot    const: 1
32*ae5de77eSEmmanuel Vadot
33*ae5de77eSEmmanuel Vadot  interrupt-controller: true
34*ae5de77eSEmmanuel Vadot
35*ae5de77eSEmmanuel Vadot  csky,support-pulse-signal:
36*ae5de77eSEmmanuel Vadot    type: boolean
37*ae5de77eSEmmanuel Vadot    description: Support for pulse signal flag.
38*ae5de77eSEmmanuel Vadot
39*ae5de77eSEmmanuel VadotadditionalProperties: false
40*ae5de77eSEmmanuel Vadot
41*ae5de77eSEmmanuel Vadotrequired:
42*ae5de77eSEmmanuel Vadot  - compatible
43*ae5de77eSEmmanuel Vadot  - reg
44*ae5de77eSEmmanuel Vadot  - '#interrupt-cells'
45*ae5de77eSEmmanuel Vadot  - interrupt-controller
46*ae5de77eSEmmanuel Vadot
47*ae5de77eSEmmanuel Vadotexamples:
48*ae5de77eSEmmanuel Vadot  - |
49*ae5de77eSEmmanuel Vadot    intc: interrupt-controller@500000 {
50*ae5de77eSEmmanuel Vadot        compatible = "csky,apb-intc";
51*ae5de77eSEmmanuel Vadot        #interrupt-cells = <1>;
52*ae5de77eSEmmanuel Vadot        reg = <0x00500000 0x400>;
53*ae5de77eSEmmanuel Vadot        interrupt-controller;
54*ae5de77eSEmmanuel Vadot    };
55