Xilinx NWL PCIe Root Port Bridge
Schema identifier ($id): "http://devicetree.org/schemas/pci/xlnx,nwl-pcie.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#
Rule 2 #
Shared schema rule (
$ref):/schemas/interrupt-controller/msi-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "xlnx,nwl-pcie-2.11"
reg — required here #
Array item rules (items) #
Item 1
PCIe bridge registers location.
Item 2
PCIe Controller registers location.
Item 3
PCIe Configuration space region.
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"breg"
Item 2
Exact value (
const):"pcireg"
Item 3
Exact value (
const):"cfg"
interrupts — required here #
Array item rules (items) #
Item 1
interrupt asserted when miscellaneous interrupt is received
Item 2
unused interrupt(dummy)
Item 3
interrupt asserted when a legacy interrupt is received
Item 4
msi1 interrupt asserted when an MSI is received
Item 5
msi0 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):"dummy"
Item 3
Exact value (
const):"intx"
Item 4
Exact value (
const):"msi1"
Item 5
Exact value (
const):"msi0"
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-cells — required here #
Exact value (const): 1
msi-parent — not listed as required here #
MSI controller the device is capable of using.
interrupt-map — required here #
Maximum number of items (maxItems): 4
phys — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
One phy per logical lane, in order
power-domains — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
optional, only needed if DMA operations are coherent.
clocks — not listed as required here #
Maximum number of items (maxItems): 1
optional, input clock specifier.
legacy-interrupt-controller — not listed as required here #
Interrupt controller node for handling legacy PCI interrupts.
Value type (type): "object"
Properties and child nodes (properties) #
#address-cells — required here
Exact value (const): 0
#interrupt-cells — required here
Exact value (const): 1
interrupt-controller — required here
true — No constraints added by this property rule.
Required in this object (required): "#address-cells", "#interrupt-cells", "interrupt-controller"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "#interrupt-cells", "interrupt-map", "interrupt-map-mask", "msi-controller", "power-domains"
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>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/power/xlnx-zynqmp-power.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
nwl_pcie: pcie@fd0e0000 {
compatible = "xlnx,nwl-pcie-2.11";
reg = <0x0 0xfd0e0000 0x0 0x1000>,
<0x0 0xfd480000 0x0 0x1000>,
<0x80 0x00000000 0x0 0x10000000>;
reg-names = "breg", "pcireg", "cfg";
ranges = <0x02000000 0x0 0xe0000000 0x0 0xe0000000 0x0 0x10000000>,
<0x43000000 0x00000006 0x0 0x00000006 0x0 0x00000002 0x0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
msi-controller;
device_type = "pci";
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 116 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 115 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "misc", "dummy", "intx", "msi1", "msi0";
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,
<0x0 0x0 0x0 0x2 &pcie_intc 0x2>,
<0x0 0x0 0x0 0x3 &pcie_intc 0x3>,
<0x0 0x0 0x0 0x4 &pcie_intc 0x4>;
msi-parent = <&nwl_pcie>;
phys = <&psgtr 0 PHY_TYPE_PCIE 0 0>;
power-domains = <&zynqmp_firmware PD_PCIE>;
iommus = <&smmu 0x4d0>;
pcie_intc: legacy-interrupt-controller {
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)