xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/via,vt8500-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/interrupt-controller/via,vt8500-intc.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: VIA and WonderMedia SoCs Interrupt Controller
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotdescription:
10*ae5de77eSEmmanuel Vadot  This is the interrupt controller used in single-core ARM SoCs made by
11*ae5de77eSEmmanuel Vadot  VIA and WonderMedia (up to and including WM8950). Each block handles
12*ae5de77eSEmmanuel Vadot  up to 64 interrupt sources (level or edge triggered) and can generate
13*ae5de77eSEmmanuel Vadot  up to 8 interrupts to its parent when used in a chained configuration.
14*ae5de77eSEmmanuel Vadot
15*ae5de77eSEmmanuel Vadotmaintainers:
16*ae5de77eSEmmanuel Vadot  - Alexey Charkov <alchark@gmail.com>
17*ae5de77eSEmmanuel Vadot
18*ae5de77eSEmmanuel VadotallOf:
19*ae5de77eSEmmanuel Vadot  - $ref: /schemas/interrupt-controller.yaml#
20*ae5de77eSEmmanuel Vadot
21*ae5de77eSEmmanuel Vadotproperties:
22*ae5de77eSEmmanuel Vadot  compatible:
23*ae5de77eSEmmanuel Vadot    const: via,vt8500-intc
24*ae5de77eSEmmanuel Vadot
25*ae5de77eSEmmanuel Vadot  reg:
26*ae5de77eSEmmanuel Vadot    maxItems: 1
27*ae5de77eSEmmanuel Vadot
28*ae5de77eSEmmanuel Vadot  interrupts:
29*ae5de77eSEmmanuel Vadot    items:
30*ae5de77eSEmmanuel Vadot      - description:
31*ae5de77eSEmmanuel Vadot          Interrupt number raised by the IRQ0 output of this controller
32*ae5de77eSEmmanuel Vadot          Only used if this controller is chained
33*ae5de77eSEmmanuel Vadot      - description:
34*ae5de77eSEmmanuel Vadot          Interrupt number raised by the IRQ1 output of this controller
35*ae5de77eSEmmanuel Vadot          Only used if this controller is chained
36*ae5de77eSEmmanuel Vadot      - description:
37*ae5de77eSEmmanuel Vadot          Interrupt number raised by the IRQ2 output of this controller
38*ae5de77eSEmmanuel Vadot          Only used if this controller is chained
39*ae5de77eSEmmanuel Vadot      - description:
40*ae5de77eSEmmanuel Vadot          Interrupt number raised by the IRQ3 output of this controller
41*ae5de77eSEmmanuel Vadot          Only used if this controller is chained
42*ae5de77eSEmmanuel Vadot      - description:
43*ae5de77eSEmmanuel Vadot          Interrupt number raised by the IRQ4 output of this controller
44*ae5de77eSEmmanuel Vadot          Only used if this controller is chained
45*ae5de77eSEmmanuel Vadot      - description:
46*ae5de77eSEmmanuel Vadot          Interrupt number raised by the IRQ5 output of this controller
47*ae5de77eSEmmanuel Vadot          Only used if this controller is chained
48*ae5de77eSEmmanuel Vadot      - description:
49*ae5de77eSEmmanuel Vadot          Interrupt number raised by the IRQ6 output of this controller
50*ae5de77eSEmmanuel Vadot          Only used if this controller is chained
51*ae5de77eSEmmanuel Vadot      - description:
52*ae5de77eSEmmanuel Vadot          Interrupt number raised by the IRQ7 output of this controller
53*ae5de77eSEmmanuel Vadot          Only used if this controller is chained
54*ae5de77eSEmmanuel Vadot
55*ae5de77eSEmmanuel Vadot  interrupt-controller: true
56*ae5de77eSEmmanuel Vadot
57*ae5de77eSEmmanuel Vadot  '#interrupt-cells':
58*ae5de77eSEmmanuel Vadot    const: 1
59*ae5de77eSEmmanuel Vadot
60*ae5de77eSEmmanuel Vadotrequired:
61*ae5de77eSEmmanuel Vadot  - compatible
62*ae5de77eSEmmanuel Vadot  - reg
63*ae5de77eSEmmanuel Vadot  - interrupt-controller
64*ae5de77eSEmmanuel Vadot  - '#interrupt-cells'
65*ae5de77eSEmmanuel Vadot
66*ae5de77eSEmmanuel VadotadditionalProperties: false
67*ae5de77eSEmmanuel Vadot
68*ae5de77eSEmmanuel Vadotexamples:
69*ae5de77eSEmmanuel Vadot  - |
70*ae5de77eSEmmanuel Vadot    interrupt-controller@d8140000 {
71*ae5de77eSEmmanuel Vadot        compatible = "via,vt8500-intc";
72*ae5de77eSEmmanuel Vadot        interrupt-controller;
73*ae5de77eSEmmanuel Vadot        reg = <0xd8140000 0x10000>;
74*ae5de77eSEmmanuel Vadot        #interrupt-cells = <1>;
75*ae5de77eSEmmanuel Vadot    };
76*ae5de77eSEmmanuel Vadot...
77