brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 9881486 Raw
66 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright (C) 2015, 2024, Intel Corporation3%YAML 1.24---5$id: http://devicetree.org/schemas/altr,msi-controller.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Altera PCIe MSI controller9 10maintainers:11  - Matthew Gerlach <matthew.gerlach@linux.intel.com>12 13properties:14  compatible:15    enum:16      - altr,msi-1.017 18  reg:19    items:20      - description: CSR registers21      - description: Vectors slave port region22 23  reg-names:24    items:25      - const: csr26      - const: vector_slave27 28  interrupts:29    maxItems: 130 31  msi-controller: true32 33  num-vectors:34    description: number of vectors35    $ref: /schemas/types.yaml#/definitions/uint3236    minimum: 137    maximum: 3238 39required:40  - compatible41  - reg42  - reg-names43  - interrupts44  - msi-controller45  - num-vectors46 47allOf:48  - $ref: /schemas/interrupt-controller/msi-controller.yaml#49 50unevaluatedProperties: false51 52examples:53  - |54    #include <dt-bindings/interrupt-controller/arm-gic.h>55    #include <dt-bindings/interrupt-controller/irq.h>56    msi@ff200000 {57        compatible = "altr,msi-1.0";58        reg = <0xff200000 0x00000010>,59              <0xff200010 0x00000080>;60        reg-names = "csr", "vector_slave";61        interrupt-parent = <&hps_0_arm_gic_0>;62        interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;63        msi-controller;64        num-vectors = <32>;65    };66