aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/interrupt-controller/marvell,orion-bridge-intc.yaml
blob: e1310ec6538284282e8d4bdc5741e0db112bae43 (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
---
$id: http://devicetree.org/schemas/interrupt-controller/marvell,orion-bridge-intc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell Orion SoC Bridge Interrupt Controller

maintainers:
  - Andrew Lunn <andrew@lunn.ch>
  - Gregory Clement <gregory.clement@bootlin.com>

properties:
  compatible:
    const: marvell,orion-bridge-intc

  reg:
    minItems: 1
    maxItems: 2

  interrupt-controller: true

  '#interrupt-cells':
    const: 1

  interrupts:
    description: Bridge interrupt of the main interrupt controller

  marvell,#interrupts:
    description: Number of interrupts provided by bridge interrupt controller.
    $ref: /schemas/types.yaml#/definitions/uint32
    default: 32

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

additionalProperties: false

examples:
  - |
    interrupt-controller@20110 {
        compatible = "marvell,orion-bridge-intc";
        reg = <0x20110 0x8>;
        interrupt-controller;
        #interrupt-cells = <1>;
        interrupts = <0>;
        /* Dove bridge provides 5 interrupts */
        marvell,#interrupts = <5>;
    };