aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/interrupt-controller/via,vt8500-intc.yaml
blob: bc14c74bf7d57d6da75135cbb4ae27ed59c6b9e6 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/via,vt8500-intc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: VIA and WonderMedia SoCs Interrupt Controller

description:
  This is the interrupt controller used in single-core ARM SoCs made by
  VIA and WonderMedia (up to and including WM8950). Each block handles
  up to 64 interrupt sources (level or edge triggered) and can generate
  up to 8 interrupts to its parent when used in a chained configuration.

maintainers:
  - Alexey Charkov <alchark@gmail.com>

allOf:
  - $ref: /schemas/interrupt-controller.yaml#

properties:
  compatible:
    const: via,vt8500-intc

  reg:
    maxItems: 1

  interrupts:
    items:
      - description:
          Interrupt number raised by the IRQ0 output of this controller
          Only used if this controller is chained
      - description:
          Interrupt number raised by the IRQ1 output of this controller
          Only used if this controller is chained
      - description:
          Interrupt number raised by the IRQ2 output of this controller
          Only used if this controller is chained
      - description:
          Interrupt number raised by the IRQ3 output of this controller
          Only used if this controller is chained
      - description:
          Interrupt number raised by the IRQ4 output of this controller
          Only used if this controller is chained
      - description:
          Interrupt number raised by the IRQ5 output of this controller
          Only used if this controller is chained
      - description:
          Interrupt number raised by the IRQ6 output of this controller
          Only used if this controller is chained
      - description:
          Interrupt number raised by the IRQ7 output of this controller
          Only used if this controller is chained

  interrupt-controller: true

  '#interrupt-cells':
    const: 1

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

additionalProperties: false

examples:
  - |
    interrupt-controller@d8140000 {
        compatible = "via,vt8500-intc";
        interrupt-controller;
        reg = <0xd8140000 0x10000>;
        #interrupt-cells = <1>;
    };
...