aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/interrupt-controller/abilis,tb10x-ictl.yaml
blob: cd2c49670e7b47ccf6360885fed9bb47960aea36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/abilis,tb10x-ictl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TB10x Top Level Interrupt Controller

maintainers:
  - Christian Ruppert <christian.ruppert@abilis.com>

description:
  The Abilis TB10x SOC contains a custom interrupt controller. It performs
  one-to-one mapping of external interrupt sources to CPU interrupts and
  provides support for reconfigurable trigger modes.

properties:
  compatible:
    const: abilis,tb10x-ictl

  reg:
    maxItems: 1

  interrupt-controller: true

  '#interrupt-cells':
    const: 2

  interrupts:
    description: A one-to-one mapping of external interrupt sources to parent
      interrupts.
    minItems: 1
    maxItems: 32

required:
  - compatible
  - reg
  - interrupt-controller
  - '#interrupt-cells'
  - interrupts

additionalProperties: false

examples:
  - |
    interrupt-controller@2000 {
        compatible = "abilis,tb10x-ictl";
        reg = <0x2000 0x20>;
        interrupt-controller;
        #interrupt-cells = <2>;
        interrupts = <5>, <6>, <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>,
                     <15>, <16>, <17>, <18>, <19>, <20>, <21>, <22>, <23>,
                     <24>, <25>, <26>, <27>, <28>, <29>, <30>, <31>;
    };