Marvell Armada 7K/8K PCIe interface
Schema identifier ($id): "http://devicetree.org/schemas/pci/marvell,armada8k-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thomas Petazzoni <thomas.petazzoni@bootlin.com>"
This PCIe host controller is based on the Synopsys DesignWare PCIe IP.
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"snps,dw-pcie"
reg — not listed as required here #
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ctrl"
Item 2
Exact value (
const):"config"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"reg"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
msi-parent — required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
phy-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
marvell,reset-gpio — not listed as required here #
Maximum number of items (maxItems): 1
Deprecated (deprecated): true
Required in this object (required): "interrupt-map", "clocks", "msi-parent"
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>
pcie@f2600000 {
compatible = "marvell,armada8k-pcie", "snps,dw-pcie";
reg = <0xf2600000 0x10000>, <0xf6f00000 0x80000>;
reg-names = "ctrl", "config";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
device_type = "pci";
dma-coherent;
msi-parent = <&gic_v2m0>;
ranges = <0x81000000 0 0xf9000000 0xf9000000 0 0x10000>, /* downstream I/O */
<0x82000000 0 0xf6000000 0xf6000000 0 0xf00000>; /* non-prefetchable memory */
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic 0 GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
num-lanes = <1>;
clocks = <&cpm_syscon0 1 13>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0