xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/technologic,ts4800-irqc.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/technologic,ts4800-irqc.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: TS-4800 FPGA Interrupt Controller
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Damien Riegel <damien.riegel@savoirfairelinux.com>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription:
13*ae5de77eSEmmanuel Vadot  TS-4800 FPGA has an internal interrupt controller. When one of the interrupts
14*ae5de77eSEmmanuel Vadot  is triggered, the SoC is notified, usually using a GPIO as parent interrupt
15*ae5de77eSEmmanuel Vadot  source.
16*ae5de77eSEmmanuel Vadot
17*ae5de77eSEmmanuel Vadotproperties:
18*ae5de77eSEmmanuel Vadot  compatible:
19*ae5de77eSEmmanuel Vadot    const: technologic,ts4800-irqc
20*ae5de77eSEmmanuel Vadot
21*ae5de77eSEmmanuel Vadot  reg:
22*ae5de77eSEmmanuel Vadot    maxItems: 1
23*ae5de77eSEmmanuel Vadot
24*ae5de77eSEmmanuel Vadot  '#interrupt-cells':
25*ae5de77eSEmmanuel Vadot    const: 1
26*ae5de77eSEmmanuel Vadot
27*ae5de77eSEmmanuel Vadot  interrupt-controller: true
28*ae5de77eSEmmanuel Vadot
29*ae5de77eSEmmanuel Vadot  interrupts:
30*ae5de77eSEmmanuel Vadot    maxItems: 1
31*ae5de77eSEmmanuel Vadot
32*ae5de77eSEmmanuel Vadotrequired:
33*ae5de77eSEmmanuel Vadot  - compatible
34*ae5de77eSEmmanuel Vadot  - reg
35*ae5de77eSEmmanuel Vadot  - interrupt-controller
36*ae5de77eSEmmanuel Vadot  - '#interrupt-cells'
37*ae5de77eSEmmanuel Vadot  - interrupts
38*ae5de77eSEmmanuel Vadot
39*ae5de77eSEmmanuel VadotadditionalProperties: false
40*ae5de77eSEmmanuel Vadot
41*ae5de77eSEmmanuel Vadotexamples:
42*ae5de77eSEmmanuel Vadot  - |
43*ae5de77eSEmmanuel Vadot    interrupt-controller@1000 {
44*ae5de77eSEmmanuel Vadot        compatible = "technologic,ts4800-irqc";
45*ae5de77eSEmmanuel Vadot        reg = <0x1000 0x80>;
46*ae5de77eSEmmanuel Vadot        interrupt-controller;
47*ae5de77eSEmmanuel Vadot        #interrupt-cells = <1>;
48*ae5de77eSEmmanuel Vadot        interrupts = <10>;
49*ae5de77eSEmmanuel Vadot    };
50