Altera PCIe MSI controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/altr,msi-controller.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthew Gerlach <matthew.gerlach@linux.intel.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "altr,msi-1.0"
reg — required here #
Array item rules (items) #
Item 1
CSR registers
Item 2
Vectors slave port region
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csr"
Item 2
Exact value (
const):"vector_slave"
interrupts — required here #
Maximum number of items (maxItems): 1
msi-controller — required here #
true — No constraints added by this property rule.
num-vectors — required here #
number of vectors
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 32
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "msi-controller", "num-vectors"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/interrupt-controller/msi-controller.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
msi@ff200000 {
compatible = "altr,msi-1.0";
reg = <0xff200000 0x00000010>,
<0xff200010 0x00000080>;
reg-names = "csr", "vector_slave";
interrupt-parent = <&hps_0_arm_gic_0>;
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
msi-controller;
num-vectors = <32>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (C) 2015, 2024, Intel Corporation