aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/interrupt-controller/al,alpine-msix.yaml
blob: 9f1ff8ec686faea9ffe13c6c0b29cd7651c75c11 (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/al,alpine-msix.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Alpine MSIX controller

maintainers:
  - Antoine Tenart <atenart@kernel.org>

properties:
  compatible:
    const: al,alpine-msix

  reg:
    maxItems: 1

  interrupt-parent: true

  msi-controller: true

  al,msi-base-spi:
    description: SPI base of the MSI frame
    $ref: /schemas/types.yaml#/definitions/uint32

  al,msi-num-spis:
    description: number of SPIs assigned to the MSI frame, relative to SPI0
    $ref: /schemas/types.yaml#/definitions/uint32

required:
  - compatible
  - reg
  - msi-controller
  - al,msi-base-spi
  - al,msi-num-spis

additionalProperties: false

examples:
  - |
    msi-controller@fbe00000 {
        compatible = "al,alpine-msix";
        reg = <0xfbe00000 0x100000>;
        interrupt-parent = <&gic>;
        msi-controller;
        al,msi-base-spi = <160>;
        al,msi-num-spis = <160>;
    };