Xilinx XDMA PL PCIe Root Port Bridge

Schema identifier ($id): "http://devicetree.org/schemas/pci/xlnx,xdma-host.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Thippeswamy Havalige <thippeswamy.havalige@amd.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/pci/pci-host-bridge.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "xlnx,xdma-host-3.00", "xlnx,qdma-host-3.00"

reg — required here #

Array item rules (items) #

Item 1

configuration region and XDMA bridge register.

Item 2

QDMA bridge register.

Minimum number of items (minItems): 1

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "cfg"

Item 2

Exact value (const): "breg"

Minimum number of items (minItems): 1

ranges — required here #

Maximum number of items (maxItems): 2

interrupts — required here #

Array item rules (items) #

Item 1

interrupt asserted when miscellaneous interrupt is received.

Item 2

msi0 interrupt asserted when an MSI is received.

Item 3

msi1 interrupt asserted when an MSI is received.

interrupt-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "misc"

Item 2

Exact value (const): "msi0"

Item 3

Exact value (const): "msi1"

interrupt-map-mask — required here #

Array item rules (items) #

Item 1

Exact value (const): 0

Item 2

Exact value (const): 0

Item 3

Exact value (const): 0

Item 4

Exact value (const): 7

interrupt-map — required here #

Maximum number of items (maxItems): 4

#interrupt-cells — required here #

Exact value (const): 1

interrupt-controller — required here #

identifies the node as an interrupt controller

Value type (type): "object"

Properties and child nodes (properties) #

interrupt-controller — required here

true — No constraints added by this property rule.

#address-cells — required here

Exact value (const): 0

#interrupt-cells — required here

Exact value (const): 1

Required in this object (required): "interrupt-controller", "#address-cells", "#interrupt-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "ranges", "interrupts", "interrupt-map", "interrupt-map-mask", "#interrupt-cells", "interrupt-controller"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "xlnx,qdma-host-3.00"

When the condition matches (then) #

Properties and child nodes (properties) #

reg — not listed as required here #

Minimum number of items (minItems): 2

reg-names — required here #

Minimum number of items (minItems): 2

Required in this object (required): "reg-names"

When the condition does not match (else) #

Properties and child nodes (properties) #

reg — not listed as required here #

Maximum number of items (maxItems): 1

reg-names — not listed as required here #

Maximum number of items (maxItems): 1

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>

soc {
    #address-cells = <2>;
    #size-cells = <2>;
    pcie@a0000000 {
        compatible = "xlnx,xdma-host-3.00";
        reg = <0x0 0xa0000000 0x0 0x10000000>;
        ranges = <0x2000000 0x0 0xb0000000 0x0 0xb0000000 0x0 0x1000000>,
                 <0x43000000 0x5 0x0 0x5 0x0 0x0 0x1000000>;
        #address-cells = <3>;
        #size-cells = <2>;
        #interrupt-cells = <1>;
        device_type = "pci";
        interrupt-parent = <&gic>;
        interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = "misc", "msi0", "msi1";
        interrupt-map-mask = <0x0 0x0 0x0 0x7>;
        interrupt-map = <0 0 0 1 &pcie_intc_0 0>,
                        <0 0 0 2 &pcie_intc_0 1>,
                        <0 0 0 3 &pcie_intc_0 2>,
                        <0 0 0 4 &pcie_intc_0 3>;
        pcie_intc_0: interrupt-controller {
            #address-cells = <0>;
            #interrupt-cells = <1>;
            interrupt-controller;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page