PCI bindings
Single-page view · as markdown
Altera PCIe Root Port
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/altr,pcie-root-port.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 #
Each family of socfpga has its own implementation of the PCI controller. The altr,pcie-root-port-1.0 is used for the Cyclone5 family of chips. The Stratix10 family of chips is supported by the altr,pcie-root-port-2.0. The Agilex family of chips has three, non-register compatible, variants of PCIe Hard IP referred to as the F-Tile, P-Tile, and R-Tile, depending on the specific chip instance.
Allowed values (enum): "altr,pcie-root-port-1.0", "altr,pcie-root-port-2.0", "altr,pcie-root-port-3.0-f-tile", "altr,pcie-root-port-3.0-p-tile", "altr,pcie-root-port-3.0-r-tile"
reg — required here #
Array item rules (items) #
Item 1
TX slave port region
Item 2
Control register access region
Item 3
Hard IP region
Minimum number of items (minItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"Txs"
Item 2
Exact value (
const):"Cra"
Item 3
Exact value (
const):"Hip"
Minimum number of items (minItems): 2
interrupts — required here #
Maximum number of items (maxItems): 1
interrupt-controller — required here #
true — No constraints added by this property rule.
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
msi-parent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "#interrupt-cells", "interrupt-controller", "interrupt-map", "interrupt-map-mask"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):2
reg-names— not listed as required hereMaximum number of items (
maxItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):3
reg-names— not listed as required hereMinimum number of items (
minItems):3
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_0: pcie@c00000000 {
compatible = "altr,pcie-root-port-1.0";
reg = <0xc0000000 0x20000000>,
<0xff220000 0x00004000>;
reg-names = "Txs", "Cra";
interrupt-parent = <&hps_0_arm_gic_0>;
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <1>;
bus-range = <0x0 0xff>;
device_type = "pci";
msi-parent = <&msi_to_gic_gen_0>;
#address-cells = <3>;
#size-cells = <2>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_0 0 0 0 1>,
<0 0 0 2 &pcie_0 0 0 0 2>,
<0 0 0 3 &pcie_0 0 0 0 3>,
<0 0 0 4 &pcie_0 0 0 0 4>;
ranges = <0x82000000 0x00000000 0x00000000 0xc0000000 0x00000000 0x10000000>,
<0x82000000 0x00000000 0x10000000 0xd0000000 0x00000000 0x10000000>;
};
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, 2019, 2024, Intel Corporation
Amazon Annapurna Labs Alpine v3 PCIe Host Bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/amazon,al-alpine-v3-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonathan Chocron <jonnyc@amazon.com>"
Amazon's Annapurna Labs PCIe Host Controller is based on the Synopsys DesignWare PCI controller.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amazon,al-alpine-v2-pcie", "amazon,al-alpine-v3-pcie"
reg — required here #
Array item rules (items) #
Item 1
PCIe ECAM space
Item 2
AL proprietary registers
Item 3
Designware PCIe registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"config"
Item 2
Exact value (
const):"controller"
Item 3
Exact value (
const):"dbi"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names"
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@fb600000 {
compatible = "amazon,al-alpine-v3-pcie";
reg = <0x0 0xfb600000 0x0 0x00100000
0x0 0xfd800000 0x0 0x00010000
0x0 0xfd810000 0x0 0x00001000>;
reg-names = "config", "controller", "dbi";
bus-range = <0 255>;
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
interrupt-map-mask = <0x00 0 0 7>;
interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; /* INTa */
ranges = <0x02000000 0x0 0xc0010000 0x0 0xc0010000 0x0 0x07ff0000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
AMD Versal2 MDB(Multimedia DMA Bridge) Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/amd,versal2-mdb-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#
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "amd,versal2-mdb-host"
reg — required here #
Array item rules (items) #
Item 1
MDB System Level Control and Status Register (SLCR) Base
Item 2
configuration region
Item 3
data bus interface
Item 4
address translation unit register
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"slcr"
Item 2
Exact value (
const):"config"
Item 3
Exact value (
const):"dbi"
Item 4
Exact value (
const):"atu"
ranges — not listed as required here #
Maximum number of items (maxItems): 2
msi-map — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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 matching a name pattern (patternProperties) #
^pcie@[0-2],0$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/pci/pci-pci-bridge.yaml#
Properties and child nodes (properties) #
reg — not listed as required here
Maximum number of items (maxItems): 1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "reg", "reg-names", "interrupts", "interrupt-map", "interrupt-map-mask", "msi-map", "#interrupt-cells", "interrupt-controller"
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/gpio/gpio.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@ed931000 {
compatible = "amd,versal2-mdb-host";
reg = <0x0 0xed931000 0x0 0x2000>,
<0x1000 0x100000 0x0 0xff00000>,
<0x1000 0x0 0x0 0x1000>,
<0x0 0xed860000 0x0 0x2000>;
reg-names = "slcr", "config", "dbi", "atu";
ranges = <0x2000000 0x00 0xa0000000 0x00 0xa0000000 0x00 0x10000000>,
<0x43000000 0x1100 0x00 0x1100 0x00 0x00 0x1000000>;
interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
interrupt-map-mask = <0 0 0 7>;
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>;
msi-map = <0x0 &gic_its 0x00 0x10000>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
device_type = "pci";
pcie@0,0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
reset-gpios = <&tca6416_u37 7 GPIO_ACTIVE_LOW>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
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)
Amlogic Meson AXG DWC PCIe SoC controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/amlogic,axg-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core.
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/pci/snps,dw-pcie-common.yaml#
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Allowed values (
enum):"amlogic,axg-pcie","amlogic,g12a-pcie"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"amlogic,axg-pcie","amlogic,g12a-pcie"
Item 2
Exact value (
const):"snps,dw-pcie"
reg — required here #
Array item rules (items) #
Item 1
Data Bus Interface registers
Item 2
Meson designed configuration registers
Item 3
PCIe configuration space
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"cfg"
Item 3
Exact value (
const):"config"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PCIe PHY clock
Item 2
PCIe GEN 100M PLL clock
Item 3
PCIe RC clock gate
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"general"
Item 2
Exact value (
const):"pclk"
Item 3
Exact value (
const):"port"
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Exact value (const): "pcie"
resets — required here #
Array item rules (items) #
Item 1
Port Reset
Item 2
Shared APB reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"port"
Item 2
Exact value (
const):"apb"
num-lanes — required here #
Exact value (const): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names", "#address-cells", "#size-cells", "#interrupt-cells", "interrupt-map", "interrupt-map-mask", "ranges", "bus-range", "device_type", "num-lanes", "phys", "phy-names", "resets", "reset-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie: pcie@f9800000 {
compatible = "amlogic,axg-pcie", "snps,dw-pcie";
reg = <0xf9800000 0x400000>, <0xff646000 0x2000>, <0xf9f00000 0x100000>;
reg-names = "dbi", "cfg", "config";
interrupts = <GIC_SPI 177 IRQ_TYPE_EDGE_RISING>;
clocks = <&clk_phy>, <&pclk>, <&clk_port>;
clock-names = "general", "pclk", "port";
resets = <&reset_pcie_port>, <&reset_pcie_apb>;
reset-names = "port", "apb";
phys = <&pcie_phy>;
phy-names = "pcie";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 179 IRQ_TYPE_EDGE_RISING>;
bus-range = <0x0 0xff>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
num-lanes = <1>;
ranges = <0x82000000 0 0 0xf9c00000 0 0x00300000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 19: We need a select here so we don't match all nodes with 'snps,dw-pcie'
AppliedMicro X-Gene PCIe interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/apm,xgene-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Toan Le <toan@os.amperecomputing.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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"apm,xgene-storm-pcie"Item 2
Exact value (
const):"apm,xgene-pcie"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"apm,xgene-pcie"
reg — required here #
Array item rules (items) #
Item 1
Controller configuration registers
Item 2
PCI configuration space registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csr"
Item 2
Exact value (
const):"cfg"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
msi-parent — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "#interrupt-cells", "interrupt-map-mask", "interrupt-map", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@1f2b0000 {
compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
device_type = "pci";
#interrupt-cells = <1>;
#size-cells = <2>;
#address-cells = <3>;
reg = <0x00 0x1f2b0000 0x0 0x00010000>, /* Controller registers */
<0xe0 0xd0000000 0x0 0x00040000>; /* PCI config space */
reg-names = "csr", "cfg";
ranges = <0x01000000 0x00 0x00000000 0xe0 0x10000000 0x00 0x00010000>, /* io */
<0x02000000 0x00 0x80000000 0xe1 0x80000000 0x00 0x80000000>; /* mem */
dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000>,
<0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x1>,
<0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x1>,
<0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x1>,
<0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x1>;
dma-coherent;
clocks = <&pcie0clk 0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Apple PCIe host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/apple,pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mark Kettenis <kettenis@openbsd.org>"
The Apple PCIe host controller is a PCIe host controller with multiple root ports present in Apple ARM SoC platforms, including various iPhone and iPad devices and the "Apple Silicon" Macs. The controller incorporates Synopsys DesigWare PCIe logic to implements its root ports. But the ATU found on most DesignWare PCIe host bridges is absent.
On systems derived from T602x, the PHY registers are in a region separate from the port registers. In that case, there is one PHY register range per port register range.
All root ports share a single ECAM space, but separate GPIOs are used to take the PCI devices on those ports out of reset. Therefore the standard "reset-gpios" and "max-link-speed" properties appear on the child nodes that represent the PCI bridges that correspond to the individual root ports.
MSIs are handled by the PCIe controller and translated into regular interrupts. A range of 32 MSIs is provided. These 32 MSIs can be distributed over the root ports as the OS sees fit by programming the PCIe controller's port registers.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"apple,t8103-pcie","apple,t8112-pcie","apple,t6000-pcie"Item 2
Exact value (
const):"apple,pcie"
Rule 2
Exact value (
const):"apple,t6020-pcie"
reg — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 10
reg-names — required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
Exact value (
const):"config"
Item 2
Exact value (
const):"rc"
Item 3
Exact value (
const):"port0"
Item 4
Exact value (
const):"port1"
Item 5
Exact value (
const):"port2"
Item 6
Exact value (
const):"port3"
Item 7
Exact value (
const):"phy0"
Item 8
Exact value (
const):"phy1"
Item 9
Exact value (
const):"phy2"
Item 10
Exact value (
const):"phy3"
ranges — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
interrupts — required here #
Interrupt specifiers, one for each root port.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
msi-parent — required here #
true — No constraints added by this property rule.
msi-ranges — required here #
Maximum number of items (maxItems): 1
iommu-map — not listed as required here #
true — No constraints added by this property rule.
iommu-map-mask — not listed as required here #
true — No constraints added by this property rule.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "bus-range", "interrupts", "msi-controller", "msi-parent", "msi-ranges"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
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#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"apple,t8103-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):5
interrupts— not listed as required hereMaximum number of items (
maxItems):3
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"apple,t6020-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
reg-names— not listed as required hereMinimum number of items (
minItems):10
Examples (examples) #
#include <dt-bindings/interrupt-controller/apple-aic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie0: pcie@690000000 {
compatible = "apple,t8103-pcie", "apple,pcie";
device_type = "pci";
reg = <0x6 0x90000000 0x0 0x1000000>,
<0x6 0x80000000 0x0 0x100000>,
<0x6 0x81000000 0x0 0x4000>,
<0x6 0x82000000 0x0 0x4000>,
<0x6 0x83000000 0x0 0x4000>;
reg-names = "config", "rc", "port0", "port1", "port2";
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 695 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 698 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 701 IRQ_TYPE_LEVEL_HIGH>;
msi-controller;
msi-parent = <&pcie0>;
msi-ranges = <&aic AIC_IRQ 704 IRQ_TYPE_EDGE_RISING 32>;
iommu-map = <0x100 &dart0 1 1>,
<0x200 &dart1 1 1>,
<0x300 &dart2 1 1>;
iommu-map-mask = <0xff00>;
bus-range = <0 3>;
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x43000000 0x6 0xa0000000 0x6 0xa0000000 0x0 0x20000000>,
<0x02000000 0x0 0xc0000000 0x6 0xc0000000 0x0 0x40000000>;
power-domains = <&ps_apcie_gp>;
pinctrl-0 = <&pcie_pins>;
pinctrl-names = "default";
pci@0,0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl_ap 152 0>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
pci@1,0 {
device_type = "pci";
reg = <0x800 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl_ap 153 0>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
pci@2,0 {
device_type = "pci";
reg = <0x1000 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl_ap 33 0>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ASPEED PCIe Root Complex Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/aspeed,ast2600-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacky Chou <jacky_chou@aspeedtech.com>"
The ASPEED PCIe Root Complex controller provides PCI Express Root Complex functionality for ASPEED SoCs, such as the AST2600 and AST2700. This controller enables connectivity to PCIe endpoint devices, supporting memory and I/O windows, MSI and INTx interrupts, and integration with the SoC's clock, reset, and pinctrl subsystems. On AST2600, the PCIe Root Port device number is always 8.
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "aspeed,ast2600-pcie", "aspeed,ast2700-pcie"
reg — required here #
Maximum number of items (maxItems): 1
ranges — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
interrupts — required here #
Maximum number of items (maxItems): 1
INTx and MSI interrupt
resets — required here #
Array item rules (items) #
Item 1
PCIe controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"h2x"
aspeed,ahbc — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the ASPEED AHB Controller (AHBC) syscon node. This reference is used by the PCIe controller to access system-level configuration registers related to the AHB bus. To enable AHB access for the PCIe controller.
aspeed,pciecfg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the ASPEED PCIe configuration syscon node. This reference allows the PCIe controller to access SoC-specific PCIe configuration registers. There are the others functions such PCIe RC and PCIe EP will use this common register to configure the SoC interfaces.
interrupt-controller — required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^pcie@[0-9a-f]+,0$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/pci/pci-pci-bridge.yaml#
Properties and child nodes (properties) #
reg — not listed as required here
Maximum number of items (maxItems): 1
resets — required here
Array item rules (items)
Item 1
PERST# signal
reset-names — required here
Array item rules (items)
Item 1
Exact value (
const):"perst"
clocks — required here
Maximum number of items (maxItems): 1
phys — required here
Maximum number of items (maxItems): 1
Required in this object (required): "resets", "reset-names", "clocks", "phys", "ranges"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
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#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"aspeed,ast2600-pcie"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
aspeed,ahbc— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"aspeed,ast2700-pcie"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
aspeed,pciecfg— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "reg", "interrupts", "bus-range", "ranges", "resets", "reset-names", "msi-controller", "interrupt-controller", "interrupt-map-mask", "interrupt-map"
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/clock/ast2600-clock.h>
pcie0: pcie@1e770000 {
compatible = "aspeed,ast2600-pcie";
device_type = "pci";
reg = <0x1e770000 0x100>;
#address-cells = <3>;
#size-cells = <2>;
interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
bus-range = <0x00 0xff>;
ranges = <0x01000000 0x0 0x00018000 0x00018000 0x0 0x00008000
0x02000000 0x0 0x60000000 0x60000000 0x0 0x20000000>;
resets = <&syscon ASPEED_RESET_H2X>;
reset-names = "h2x";
#interrupt-cells = <1>;
msi-controller;
aspeed,ahbc = <&ahbc>;
interrupt-controller;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie0 0>,
<0 0 0 2 &pcie0 1>,
<0 0 0 3 &pcie0 2>,
<0 0 0 4 &pcie0 3>;
pcie@8,0 {
compatible = "pciclass,0604";
reg = <0x00004000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
resets = <&syscon ASPEED_RESET_PCIE_RC_O>;
reset-names = "perst";
clocks = <&syscon ASPEED_CLK_GATE_BCLK>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcierc1_default>;
phys = <&pcie_phy1>;
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Axis ARTPEC-6 PCIe host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/axis,artpec6-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jesper Nilsson <jesper.nilsson@axis.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)Allowed values (
enum):"axis,artpec6-pcie","axis,artpec6-pcie-ep","axis,artpec7-pcie","axis,artpec7-pcie-ep"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"axis,artpec6-pcie","axis,artpec6-pcie-ep","axis,artpec7-pcie","axis,artpec7-pcie-ep"
Item 2
Exact value (
const):"snps,dw-pcie"
reg — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
reg-names — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
interrupts — required here #
Maximum number of items (maxItems): 1
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
axis,syscon-pcie — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
System controller phandle used to enable and control the Synopsys IP.
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "axis,syscon-pcie"
Exactly one of these rules must match (oneOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dw-pcie.yaml#Properties and child nodes (
properties) #
reg— not listed as required hereMaximum number of items (
maxItems):3
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"dbi"Item 2
Exact value (
const):"phy"Item 3
Exact value (
const):"config"
Rule 2 #
Shared schema rule (
$ref):snps,dw-pcie-ep.yaml#Properties and child nodes (
properties) #
reg— not listed as required hereMinimum number of items (
minItems):4
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"dbi"Item 2
Exact value (
const):"dbi2"Item 3
Exact value (
const):"phy"Item 4
Exact value (
const):"addr_space"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie@f8050000 {
compatible = "axis,artpec6-pcie", "snps,dw-pcie";
device_type = "pci";
reg = <0xf8050000 0x2000
0xf8040000 0x1000
0xc0000000 0x2000>;
reg-names = "dbi", "phy", "config";
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x81000000 0 0 0xc0002000 0 0x00010000>,
<0x82000000 0 0xc0012000 0xc0012000 0 0x1ffee000>;
num-lanes = <2>;
bus-range = <0x00 0xff>;
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &intc GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
axis,syscon-pcie = <&syscon>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright 2025 Axis AB
Baikal-T1 PCIe Root Port Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/baikal,bt1-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"
Embedded into Baikal-T1 SoC Root Complex controller with a single port activated. It's based on the DWC RC PCIe v4.60a IP-core, which is configured to have just a single Root Port function and is capable of establishing the link up to Gen.3 speed on x4 lanes. It doesn't have embedded clock and reset control module, so the proper interface initialization is supposed to be performed by software. There four in- and four outbound iATU regions which can be used to emit all required TLP types on the PCIe bus.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "baikal,bt1-pcie"
reg — required here #
DBI, DBI2 and at least 4KB outbound iATU-capable region for the peripheral devices CFG-space access.
Maximum number of items (maxItems): 3
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"dbi2"
Item 3
Exact value (
const):"config"
interrupts — required here #
MSI, AER, PME, Hot-plug, Link Bandwidth Management, Link Equalization request and eight Read/Write eDMA IRQ lines are available.
Maximum number of items (maxItems): 14
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dma0"
Item 2
Exact value (
const):"dma1"
Item 3
Exact value (
const):"dma2"
Item 4
Exact value (
const):"dma3"
Item 5
Exact value (
const):"dma4"
Item 6
Exact value (
const):"dma5"
Item 7
Exact value (
const):"dma6"
Item 8
Exact value (
const):"dma7"
Item 9
Exact value (
const):"msi"
Item 10
Exact value (
const):"aer"
Item 11
Exact value (
const):"pme"
Item 12
Exact value (
const):"hp"
Item 13
Exact value (
const):"bw_mg"
Item 14
Exact value (
const):"l_eq"
clocks — not listed as required here #
DBI (attached to the APB bus), AXI-bus master and slave interfaces are fed up by the dedicated application clocks. A common reference clock signal is supposed to be attached to the corresponding Ref-pad of the SoC. It will be redistributed amongst the controller core sub-modules (pipe, core, aux, etc).
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"mstr"
Item 3
Exact value (
const):"slv"
Item 4
Exact value (
const):"ref"
resets — not listed as required here #
A comprehensive controller reset logic is supposed to be implemented by software, so almost all the possible application and core reset signals are exposed via the system CCU module.
Maximum number of items (maxItems): 9
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"mstr"
Item 2
Exact value (
const):"slv"
Item 3
Exact value (
const):"pwr"
Item 4
Exact value (
const):"hot"
Item 5
Exact value (
const):"phy"
Item 6
Exact value (
const):"core"
Item 7
Exact value (
const):"pipe"
Item 8
Exact value (
const):"sticky"
Item 9
Exact value (
const):"non-sticky"
baikal,bt1-syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the Baikal-T1 System Controller DT node. It's required to access some additional PM, Reset-related and LTSSM signals.
num-lanes — not listed as required here #
Maximum value (maximum): 4
max-link-speed — not listed as required here #
Maximum value (maximum): 3
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/mips-gic.h>
#include <dt-bindings/gpio/gpio.h>
pcie@1f052000 {
compatible = "baikal,bt1-pcie";
device_type = "pci";
reg = <0x1f052000 0x1000>, <0x1f053000 0x1000>, <0x1bdbf000 0x1000>;
reg-names = "dbi", "dbi2", "config";
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x81000000 0 0x00000000 0x1bdb0000 0 0x00008000>,
<0x82000000 0 0x20000000 0x08000000 0 0x13db0000>;
bus-range = <0x0 0xff>;
interrupts = <GIC_SHARED 80 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 81 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 82 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 83 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 84 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 85 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 86 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 87 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 88 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 89 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 90 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 91 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 92 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 93 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "dma0", "dma1", "dma2", "dma3",
"dma4", "dma5", "dma6", "dma7",
"msi", "aer", "pme", "hp", "bw_mg",
"l_eq";
clocks = <&ccu_sys 1>, <&ccu_axi 6>, <&ccu_axi 7>, <&clk_pcie>;
clock-names = "dbi", "mstr", "slv", "ref";
resets = <&ccu_axi 6>, <&ccu_axi 7>, <&ccu_sys 7>, <&ccu_sys 10>,
<&ccu_sys 4>, <&ccu_sys 6>, <&ccu_sys 5>, <&ccu_sys 8>,
<&ccu_sys 9>;
reset-names = "mstr", "slv", "pwr", "hot", "phy", "core", "pipe",
"sticky", "non-sticky";
reset-gpios = <&port0 0 GPIO_ACTIVE_LOW>;
num-lanes = <4>;
max-link-speed = <3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Broadcom iProc PCIe controller with the platform bus interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/brcm,iproc-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ray Jui <ray.jui@broadcom.com>", "Scott Branden <scott.branden@broadcom.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 #
Array item rules (items) #
Item 1
Allowed values (
enum):"brcm,iproc-pcie","brcm,iproc-pcie-paxb-v2","brcm,iproc-pcie-paxc","brcm,iproc-pcie-paxc-v2"
reg — required here #
Maximum number of items (maxItems): 1
Base address and length of the PCIe controller I/O register space
ranges — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Ranges for the PCI memory and I/O regions
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie-phy"
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
brcm,pcie-ob — not listed as required here #
Value type (type): "boolean"
Some iProc SoCs do not have the outbound address mapping done by the ASIC after power on reset. In this case, SW needs to configure it
brcm,pcie-ob-axi-offset — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The offset from the AXI address to the internal address used by the iProc PCIe core (not the PCIe address)
msi — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/interrupt-controller/msi-controller.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"brcm,iproc-msi"
interrupts — not listed as required here
Maximum number of items (maxItems): 4
brcm,pcie-msi-inten — not listed as required here
Value type (type): "boolean"
Needs to be present for some older iProc platforms that require the interrupt enable registers to be set explicitly to enable MSI
msi-parent — not listed as required here #
true — No constraints added by this property rule.
Property dependencies (dependencies) #
brcm,pcie-ob-axi-offset — applies when this property is present #
Also requires: "brcm,pcie-ob"
brcm,pcie-msi-inten — applies when this property is present #
Also requires: "msi-controller"
Required in this object (required): "compatible", "reg", "ranges"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
Required in this object (
required):"interrupt-map","interrupt-map-mask"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
gic: interrupt-controller {
#address-cells = <0>;
interrupt-controller;
#interrupt-cells = <3>;
};
pcie@18012000 {
compatible = "brcm,iproc-pcie";
reg = <0x18012000 0x1000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_NONE>;
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges = <0x81000000 0 0 0x28000000 0 0x00010000>,
<0x82000000 0 0x20000000 0x20000000 0 0x04000000>;
phys = <&phy 0 5>;
phy-names = "pcie-phy";
brcm,pcie-ob;
brcm,pcie-ob-axi-offset = <0x00000000>;
msi-parent = <&msi0>;
/* iProc event queue based MSI */
msi0: msi {
compatible = "brcm,iproc-msi";
msi-controller;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 96 IRQ_TYPE_NONE>,
<GIC_SPI 97 IRQ_TYPE_NONE>,
<GIC_SPI 98 IRQ_TYPE_NONE>,
<GIC_SPI 99 IRQ_TYPE_NONE>;
};
};
pcie@18013000 {
compatible = "brcm,iproc-pcie";
reg = <0x18013000 0x1000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_NONE>;
linux,pci-domain = <1>;
bus-range = <0x00 0xff>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges = <0x81000000 0 0 0x48000000 0 0x00010000>,
<0x82000000 0 0x40000000 0x40000000 0 0x04000000>;
phys = <&phy 1 6>;
phy-names = "pcie-phy";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 20: for the first generation of PAXB based controller, used in SoCs
Line 21: including NSP, Cygnus, NS2, and Pegasus
Line 23: for the second generation of PAXB-based controllers, used in
Line 24: Stingray
Line 26: For the first generation of PAXC based controller, used in NS2
Line 28: For the second generation of PAXC based controller, used in Stingray
Brcmstb PCIe Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/brcm,stb-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jim Quinlan <james.quinlan@broadcom.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"brcm,bcm2711-pcie","brcm,bcm2712-pcie","brcm,bcm4908-pcie","brcm,bcm7211-pcie","brcm,bcm7216-pcie","brcm,bcm7278-pcie","brcm,bcm7425-pcie","brcm,bcm7435-pcie","brcm,bcm7445-pcie","brcm,bcm7712-pcie"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
PCIe host controller
Item 2
builtin MSI controller
interrupt-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
Item 2
Exact value (
const):"msi"
ranges — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
dma-ranges — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"sw_pcie"
msi-controller — required here #
Identifies the node as an MSI controller.
msi-parent — not listed as required here #
MSI controller the device is capable of using.
brcm,enable-ssc — not listed as required here #
Indicates usage of spread-spectrum clocking.
Value type (type): "boolean"
aspm-no-l0s — not listed as required here #
true — No constraints added by this property rule.
brcm,clkreq-mode — not listed as required here #
A string that determines the operating clkreq mode of the PCIe RC HW with respect to controlling the refclk signal. There are three different modes -- "safe", which drives the refclk signal unconditionally and will work for all devices but does not provide any power savings; "no-l1ss" -- which provides Clock Power Management, L0s, and L1, but cannot provide L1 substate (L1SS) power savings. If the downstream device connected to the RC is L1SS capable AND the OS enables L1SS, all PCIe traffic may abruptly halt, potentially hanging the system; "default" -- which provides L0s, L1, and L1SS, but not compliant to provide Clock Power Management; specifically, may not be able to meet the T_CLRon max timing of 400ns as specified in "Dynamic Clock Control", section 3.2.5.2.2 PCI Express Mini CEM 2.1 specification. This situation is atypical and should happen only with older devices.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "safe", "no-l1ss", "default"
brcm,scb-sizes — not listed as required here #
u64 giving the 64bit PCIe memory viewport size of a memory controller. There may be up to three controllers, and each size must be a power of two with a size greater or equal to the amount of memory the controller supports. Note that each memory controller may have two component regions -- base and extended -- so this information cannot be deduced from the dma-ranges.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint64-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
resets — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reset-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"bridge"
Item 3
Exact value (
const):"swinit"
num-lanes — not listed as required here #
Default value (default): 1
Maximum value (maximum): 4
Required in this object (required): "compatible", "reg", "ranges", "dma-ranges", "#interrupt-cells", "interrupts", "interrupt-names", "interrupt-map-mask", "interrupt-map", "msi-controller"
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#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm4908-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
resets— required hereMaximum number of items (
maxItems):1
reset-names— required hereArray item rules (
items)Item 1
Exact value (
const):"perst"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm7216-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
resets— required hereMaximum number of items (
maxItems):1
reset-names— required hereArray item rules (
items)Item 1
Exact value (
const):"rescal"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm7712-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
resets— required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
reset-names— required hereArray item rules (
items)Item 1
Exact value (
const):"rescal"Item 2
Exact value (
const):"bridge"Item 3
Exact value (
const):"swinit"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
scb {
#address-cells = <2>;
#size-cells = <1>;
pcie0: pcie@7d500000 {
compatible = "brcm,bcm2711-pcie";
reg = <0x0 0x7d500000 0x9310>;
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pcie", "msi";
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH
0 0 0 2 &gicv2 GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH
0 0 0 3 &gicv2 GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH
0 0 0 4 &gicv2 GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
msi-parent = <&pcie0>;
msi-controller;
ranges = <0x02000000 0x0 0xf8000000 0x6 0x00000000 0x0 0x04000000>;
dma-ranges = <0x42000000 0x1 0x00000000 0x0 0x40000000 0x0 0x80000000>,
<0x42000000 0x1 0x80000000 0x3 0x00000000 0x0 0x80000000>;
brcm,enable-ssc;
brcm,scb-sizes = <0x0000000080000000 0x0000000080000000>;
/* PCIe bridge, Root Port */
pci@0,0 {
#address-cells = <3>;
#size-cells = <2>;
reg = <0x0 0x0 0x0 0x0 0x0>;
compatible = "pciclass,0604";
device_type = "pci";
vpcie3v3-supply = <&vreg7>;
ranges;
/* PCIe endpoint */
pci-ep@0,0 {
assigned-addresses = <0x82010000 0x0 0xf8000000 0x6 0x00000000 0x0 0x2000>;
reg = <0x0 0x0 0x0 0x0 0x0>;
compatible = "pci14e4,1688";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 16: The Raspberry Pi 4
Line 17: Raspberry Pi 5
Line 19: Broadcom STB version of RPi4
Line 20: Broadcom 7216 Arm
Line 21: Broadcom 7278 Arm
Line 22: Broadcom 7425 MIPs
Line 23: Broadcom 7435 MIPs
Line 24: Broadcom 7445 Arm
Line 25: Broadcom STB sibling of Rpi 5
Cadence PCIe EP Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/cdns,cdns-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tom Joseph <tjoseph@cadence.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cdns-pcie-ep.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "cdns,cdns-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"reg"
Item 2
Exact value (
const):"mem"
Required in this object (required): "reg", "reg-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie-ep@fc000000 {
compatible = "cdns,cdns-pcie-ep";
reg = <0x0 0xfc000000 0x0 0x01000000>,
<0x0 0x80000000 0x0 0x40000000>;
reg-names = "reg", "mem";
cdns,max-outbound-regions = <16>;
max-functions = /bits/ 8 <8>;
phys = <&pcie_phy0>;
phy-names = "pcie-phy";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Cadence PCIe host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/cdns,cdns-pcie-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tom Joseph <tjoseph@cadence.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cdns-pcie-host.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "cdns,cdns-pcie-host"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"reg"
Item 2
Exact value (
const):"cfg"
Required in this object (required): "reg", "reg-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@fb000000 {
compatible = "cdns,cdns-pcie-host";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x0 0xff>;
linux,pci-domain = <0>;
vendor-id = <0x17cd>;
device-id = <0x0200>;
reg = <0x0 0xfb000000 0x0 0x01000000>,
<0x0 0x41000000 0x0 0x00001000>;
reg-names = "reg", "cfg";
ranges = <0x02000000 0x0 0x42000000 0x0 0x42000000 0x0 0x1000000>,
<0x01000000 0x0 0x43000000 0x0 0x43000000 0x0 0x0010000>;
dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x1 0x00000000>;
#interrupt-cells = <0x1>;
interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 14 0x1>,
<0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 15 0x1>,
<0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 16 0x1>,
<0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 17 0x1>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
msi-parent = <&its_pci>;
phys = <&pcie_phy0>;
phy-names = "pcie-phy";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Cadence PCIe Device
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/cdns-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tom Joseph <tjoseph@cadence.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cdns-pcie.yaml#
Rule 2 #
Shared schema rule (
$ref):pci-ep.yaml#
Properties and child nodes (properties) #
cdns,max-outbound-regions — not listed as required here #
maximum number of outbound regions
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 32
Default value (default): 32
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cadence PCIe Host
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/cdns-pcie-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tom Joseph <tjoseph@cadence.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):cdns-pcie.yaml#
Properties and child nodes (properties) #
cdns,max-outbound-regions — not listed as required here #
maximum number of outbound regions
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 32
Default value (default): 32
Deprecated (deprecated): true
cdns,no-bar-match-nbits — not listed as required here #
Set into the no BAR match register to configure the number of least significant bits kept during inbound (PCIe -> AXI) address translations
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 64
Default value (default): 32
Deprecated (deprecated): true
msi-parent — not listed as required here #
true — No constraints added by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cadence PCIe Core
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/cdns-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tom Joseph <tjoseph@cadence.com>"
Properties and child nodes (properties) #
phys — not listed as required here #
One per lane if more than one in the list. If only one PHY listed it must manage all lanes.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie-phy"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 23: FIXME: names when more than 1
CIX Sky1 PCIe Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/cix,sky1-pcie-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hans Zhang <hans.zhang@cixtech.com>"
PCIe root complex controller based on the Cadence PCIe core.
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 #
Exact value (const): "cix,sky1-pcie-host"
reg — not listed as required here #
Array item rules (items) #
Item 1
PCIe controller registers.
Item 2
ECAM registers.
Item 3
Remote CIX System Unit strap registers.
Item 4
Remote CIX System Unit status registers.
Item 5
Region for sending messages registers.
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"reg"
Item 2
Exact value (
const):"cfg"
Item 3
Exact value (
const):"rcsu_strap"
Item 4
Exact value (
const):"rcsu_status"
Item 5
Exact value (
const):"msg"
ranges — required here #
Maximum number of items (maxItems): 3
Required in this object (required): "compatible", "ranges", "bus-range", "device_type", "interrupt-map", "interrupt-map-mask", "msi-map"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@a010000 {
compatible = "cix,sky1-pcie-host";
reg = <0x00 0x0a010000 0x00 0x10000>,
<0x00 0x2c000000 0x00 0x4000000>,
<0x00 0x0a000300 0x00 0x100>,
<0x00 0x0a000400 0x00 0x100>,
<0x00 0x60000000 0x00 0x00100000>;
reg-names = "reg", "cfg", "rcsu_strap", "rcsu_status", "msg";
ranges = <0x01000000 0x00 0x60100000 0x00 0x60100000 0x00 0x00100000>,
<0x02000000 0x00 0x60200000 0x00 0x60200000 0x00 0x1fe00000>,
<0x43000000 0x18 0x00000000 0x18 0x00000000 0x04 0x00000000>;
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0xc0 0xff>;
device_type = "pci";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &gic 0 0 GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH 0>,
<0 0 0 2 &gic 0 0 GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH 0>,
<0 0 0 3 &gic 0 0 GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH 0>,
<0 0 0 4 &gic 0 0 GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH 0>;
msi-map = <0xc000 &gic_its 0xc000 0x4000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Faraday Technology FTPCI100 PCI Host Bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/faraday,ftpci100.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
This PCI bridge is found inside that Cortina Systems Gemini SoC platform and is a generic IP block from Faraday Technology. It exists in two variants: plain and dual PCI. The plain version embeds a cascading interrupt controller into the host bridge. The dual version routes the interrupts to the host chips interrupt controller. The host controller appear on the PCI bus with vendor ID 0x159b (Faraday Technology) and product ID 0x4321. I/O space considerations: The plain variant has 128MiB of non-prefetchable memory space, whereas the "dual" variant has 64MiB. Take this into account when describing the ranges.
Interrupt map considerations:
The "dual" variant will get INT A, B, C, D from the system interrupt controller and should point to respective interrupt in that controller in its interrupt-map.
The code which is the only documentation of how the Faraday PCI (the non-dual variant) interrupts assigns the default interrupt mapping/swizzling has typically been like this, doing the swizzling on the interrupt controller side rather than in the interconnect:
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map =
<0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */
<0x4800 0 0 2 &pci_intc 1>,
<0x4800 0 0 3 &pci_intc 2>,
<0x4800 0 0 4 &pci_intc 3>,
<0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */
<0x5000 0 0 2 &pci_intc 2>,
<0x5000 0 0 3 &pci_intc 3>,
<0x5000 0 0 4 &pci_intc 0>,
<0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */
<0x5800 0 0 2 &pci_intc 3>,
<0x5800 0 0 3 &pci_intc 0>,
<0x5800 0 0 4 &pci_intc 1>,
<0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */
<0x6000 0 0 2 &pci_intc 0>,
<0x6000 0 0 3 &pci_intc 1>,
<0x6000 0 0 4 &pci_intc 2>;
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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"cortina,gemini-pci"Item 2
Exact value (
const):"faraday,ftpci100"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"cortina,gemini-pci-dual"Item 2
Exact value (
const):"faraday,ftpci100-dual"
Rule 3
Exact value (
const):"faraday,ftpci100"
Rule 4
Exact value (
const):"faraday,ftpci100-dual"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 3
#interrupt-cells — required here #
Exact value (const): 1
ranges — not listed as required here #
Minimum number of items (minItems): 2
dma-ranges — required here #
Minimum number of items (minItems): 3
three ranges for the inbound memory region. The ranges must be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as pre-fetchable.
clocks — not listed as required here #
Array item rules (items) #
Item 1
peripheral clock (PCLK)
Item 2
PCI clock (PCICLK).
If these are not present, they are assumed to be hard-wired enabled and always on. The PCI clock will be 33 or 66 MHz.
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"PCLK"
Item 2
Exact value (
const):"PCICLK"
interrupt-controller — not listed as required here #
Value type (type): "object"
Required in this object (required): "reg", "compatible", "#interrupt-cells", "interrupt-map-mask", "interrupt-map", "dma-ranges"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Exact value (
const):"faraday,ftpci100"
When the condition matches (then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
pci@50000000 {
compatible = "cortina,gemini-pci", "faraday,ftpci100";
reg = <0x50000000 0x100>;
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
bus-range = <0x00 0xff>;
ranges = /* 1MiB I/O space 0x50000000-0x500fffff */
<0x01000000 0 0 0x50000000 0 0x00100000>,
/* 128MiB non-prefetchable memory 0x58000000-0x5fffffff */
<0x02000000 0 0x58000000 0x58000000 0 0x08000000>;
/* DMA ranges */
dma-ranges =
/* 128MiB at 0x00000000-0x07ffffff */
<0x02000000 0 0x00000000 0x00000000 0 0x08000000>,
/* 64MiB at 0x00000000-0x03ffffff */
<0x02000000 0 0x00000000 0x00000000 0 0x04000000>,
/* 64MiB at 0x00000000-0x03ffffff */
<0x02000000 0 0x00000000 0x00000000 0 0x04000000>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map =
<0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */
<0x4800 0 0 2 &pci_intc 1>,
<0x4800 0 0 3 &pci_intc 2>,
<0x4800 0 0 4 &pci_intc 3>,
<0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */
<0x5000 0 0 2 &pci_intc 2>,
<0x5000 0 0 3 &pci_intc 3>,
<0x5000 0 0 4 &pci_intc 0>,
<0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */
<0x5800 0 0 2 &pci_intc 3>,
<0x5800 0 0 3 &pci_intc 0>,
<0x5800 0 0 4 &pci_intc 1>,
<0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */
<0x6000 0 0 2 &pci_intc 0>,
<0x6000 0 0 3 &pci_intc 0>,
<0x6000 0 0 4 &pci_intc 0>;
pci_intc: interrupt-controller {
interrupt-parent = <&intcon>;
interrupt-controller;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
#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)
Freescale i.MX6 PCIe RC/EP controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/fsl,imx6q-pcie-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>", "Richard Zhu <hongxing.zhu@nxp.com>"
Generic Freescale i.MX PCIe Root Port and Endpoint controller properties.
Properties and child nodes (properties) #
clocks — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 5
num-lanes — required here #
Exact value (const): 1
fsl,imx7d-pcie-phy — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to an fsl,imx7d-pcie-phy node. Additional required properties for imx7d-pcie, imx7d-pcie-ep, imx8mq-pcie, and imx8mq-pcie-ep.
power-domains — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
The phandle pointing to the DISPLAY domain for imx6sx-pcie, imx6sx-pcie-ep, to PCIE_PHY power domain for imx7d-pcie, imx7d-pcie-ep, imx8mq-pcie and imx8mq-pcie-ep.
Item 2
The phandle pointing to the PCIE_PHY power domains for imx6sx-pcie and imx6sx-pcie-ep.
power-domain-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
Item 2
Exact value (
const):"pcie_phy"
resets — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
Phandles to PCIe-related reset lines exposed by SRC IP block. Additional required by imx7d-pcie, imx7d-pcie-ep, imx8mq-pcie, and imx8mq-pcie-ep.
reset-names — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
fsl,tx-deemph-gen1 — not listed as required here #
Gen1 De-emphasis value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
fsl,tx-deemph-gen2-3p5db — not listed as required here #
Gen2 (3.5db) De-emphasis value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
fsl,tx-deemph-gen2-6db — not listed as required here #
Gen2 (6db) De-emphasis value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 20
fsl,tx-swing-full — not listed as required here #
Gen2 TX SWING FULL value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 127
fsl,tx-swing-low — not listed as required here #
TX launch amplitude swing_low value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 127
fsl,max-link-speed — not listed as required here #
Specify PCI Gen for link capability (optional required). Note that the IMX6 LVDS clock outputs do not meet gen2 jitter requirements and thus for gen2 capability a gen2 compliant clock generator should be used and configured.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3, 4
Default value (default): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Exact value (const): "pcie-phy"
vpcie-supply — not listed as required here #
Should specify the regulator in charge of PCIe port power. The regulator will be enabled when initializing the PCIe host and disabled either as part of the init process or when shutting down the host (optional required).
vph-supply — not listed as required here #
Should specify the regulator in charge of VPH one of the three PCIe PHY powers. This regulator can be supplied by both 1.8v and 3.3v voltage supplies (optional required).
Required in this object (required): "clocks", "clock-names", "num-lanes"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6sx-pcie","fsl,imx6sx-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
This rule adds no constraints.
Item 2
This rule adds no constraints.
Item 3
Exact value (
const):"pcie_phy"Item 4
Exact value (
const):"pcie_inbound_axi"
power-domains— not listed as required hereMinimum number of items (
minItems):2
power-domain-names— not listed as required hereMinimum number of items (
minItems):2
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx8mq-pcie","fsl,imx8mq-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
This rule adds no constraints.
Item 2
This rule adds no constraints.
Item 3
Exact value (
const):"pcie_phy"Item 4
Exact value (
const):"pcie_aux"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6q-pcie","fsl,imx6qp-pcie","fsl,imx7d-pcie","fsl,imx6q-pcie-ep","fsl,imx6qp-pcie-ep","fsl,imx7d-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMaximum number of items (
maxItems):3Rule for matching array elements (
contains)Exact value (
const):"pcie_phy"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx8mm-pcie","fsl,imx8mp-pcie","fsl,imx8mm-pcie-ep","fsl,imx8mp-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMaximum number of items (
maxItems):3Rule for matching array elements (
contains)Exact value (
const):"pcie_aux"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6q-pcie","fsl,imx6qp-pcie","fsl,imx6q-pcie-ep","fsl,imx6qp-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required here
false— Not permitted by this property rule.
power-domain-names— not listed as required here
false— Not permitted by this property rule.
Rule 6 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6sx-pcie","fsl,imx6q-pcie","fsl,imx6qp-pcie","fsl,imx95-pcie","fsl,imx6sx-pcie-ep","fsl,imx6q-pcie-ep","fsl,imx6qp-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereMaximum number of items (
maxItems):1
power-domain-names— not listed as required here
false— Not permitted by this property rule.
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6q-pcie","fsl,imx6sx-pcie","fsl,imx6qp-pcie","fsl,imx7d-pcie","fsl,imx8mq-pcie","fsl,imx6q-pcie-ep","fsl,imx6sx-pcie-ep","fsl,imx6qp-pcie-ep","fsl,imx7d-pcie-ep","fsl,imx8mq-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):3
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pciephy"Item 2
Exact value (
const):"apps"Item 3
Exact value (
const):"turnoff"When the condition does not match (
else) #Properties and child nodes (
properties)
resets— not listed as required hereMaximum number of items (
maxItems):2
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"apps"Item 2
Exact value (
const):"turnoff"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale i.MX6 PCIe Endpoint controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/fsl,imx6q-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>", "Richard Zhu <hongxing.zhu@nxp.com>"
This PCIe controller is based on the Synopsys DesignWare PCIe IP and thus inherits all the common properties defined in snps,dw-pcie-ep.yaml. The controller instances are dual mode where in they can work either in Root Port mode or Endpoint mode but one at a time.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8mm-pcie-ep", "fsl,imx8mq-pcie-ep", "fsl,imx8mp-pcie-ep", "fsl,imx8q-pcie-ep", "fsl,imx95-pcie-ep"
clocks — not listed as required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
PCIe bridge clock.
Item 2
PCIe bus clock.
Item 3
PCIe PHY clock.
Item 4
Additional required clock entry for imx6sx-pcie, imx6sx-pcie-ep, imx8mq-pcie, imx8mq-pcie-ep.
clock-names — not listed as required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
interrupts — required here #
Array item rules (items) #
Item 1
builtin eDMA interrupter.
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dma"
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie-ep.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/fsl,imx6q-pcie-common.yaml#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,imx8mm-pcie-ep","fsl,imx8mq-pcie-ep","fsl,imx8mp-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"dbi"Item 2
Exact value (
const):"addr_space"Item 3
Exact value (
const):"dbi2"Item 4
Exact value (
const):"atu"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):2
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"dbi"Item 2
Exact value (
const):"addr_space"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"dbi"Item 2
Exact value (
const):"atu"Item 3
Exact value (
const):"dbi2"Item 4
Exact value (
const):"app"Item 5
Exact value (
const):"dma"Item 6
Exact value (
const):"addr_space"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,imx8mq-pcie-ep","fsl,imx95-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pcie"Item 2
Exact value (
const):"pcie_bus"Item 3
Exact value (
const):"pcie_phy"Item 4
Exact value (
const):"pcie_aux"
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,imx8mm-pcie-ep","fsl,imx8mp-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pcie"Item 2
Exact value (
const):"pcie_bus"Item 3
Exact value (
const):"pcie_aux"
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"dbi"Item 2
Exact value (
const):"mstr"Item 3
Exact value (
const):"slv"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/power/imx8mp-power.h>
#include <dt-bindings/reset/imx8mp-reset.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie_ep: pcie-ep@33800000 {
compatible = "fsl,imx8mp-pcie-ep";
reg = <0x33800000 0x100000>,
<0x18000000 0x8000000>,
<0x33900000 0x100000>,
<0x33b00000 0x100000>;
reg-names = "dbi", "addr_space", "dbi2", "atu";
clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
<&clk IMX8MP_CLK_HSIO_AXI>,
<&clk IMX8MP_CLK_PCIE_ROOT>;
clock-names = "pcie", "pcie_bus", "pcie_aux";
assigned-clocks = <&clk IMX8MP_CLK_PCIE_AUX>;
assigned-clock-rates = <10000000>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_50M>;
num-lanes = <1>;
interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* eDMA */
interrupt-names = "dma";
fsl,max-link-speed = <3>;
power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_PCIE>;
resets = <&src IMX8MP_RESET_PCIE_CTRL_APPS_EN>,
<&src IMX8MP_RESET_PCIE_CTRL_APPS_TURNOFF>;
reset-names = "apps", "turnoff";
phys = <&pcie_phy>;
phy-names = "pcie-phy";
num-ib-windows = <4>;
num-ob-windows = <4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale i.MX6 PCIe host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/fsl,imx6q-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>", "Richard Zhu <hongxing.zhu@nxp.com>"
This PCIe host controller is based on the Synopsys DesignWare PCIe IP and thus inherits all the common properties defined in snps,dw-pcie.yaml. The controller instances are dual mode where in they can work either in Root Port mode or Endpoint mode but one at a time.
See fsl,imx6q-pcie-ep.yaml for details on the Endpoint mode device tree bindings.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx6q-pcie", "fsl,imx6sx-pcie", "fsl,imx6qp-pcie", "fsl,imx7d-pcie", "fsl,imx8mq-pcie", "fsl,imx8mm-pcie", "fsl,imx8mp-pcie", "fsl,imx95-pcie", "fsl,imx8q-pcie"
clocks — not listed as required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
PCIe bridge clock.
Item 2
PCIe bus clock.
Item 3
PCIe PHY clock.
Item 4
Additional required clock entry for imx6sx-pcie, imx6sx-pcie-ep, imx8mq-pcie, imx8mq-pcie-ep.
Item 5
PCIe reference clock.
clock-names — not listed as required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 6
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
builtin MSI controller.
Item 2
builtin DMA controller.
interrupt-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"msi"
Item 2
Exact value (
const):"dma"
reset-gpio — not listed as required here #
Should specify the GPIO for controlling the PCI bus device reset signal. It's not polarity aware and defaults to active-low reset sequence (L=reset state, H=operation state) (optional required).
reset-gpio-active-high — not listed as required here #
If present then the reset sequence using the GPIO specified in the "reset-gpio" property is reversed (H=reset state, L=operation state) (optional required).
Value type (type): "boolean"
Required in this object (required): "compatible", "reg", "reg-names", "#address-cells", "#size-cells", "device_type", "bus-range", "ranges", "interrupts", "interrupt-names", "#interrupt-cells", "interrupt-map-mask", "interrupt-map"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/fsl,imx6q-pcie-common.yaml#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,imx6q-pcie","fsl,imx6sx-pcie","fsl,imx6qp-pcie","fsl,imx7d-pcie","fsl,imx8mq-pcie","fsl,imx8mm-pcie","fsl,imx8mp-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):2
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"dbi"Item 2
Exact value (
const):"config"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"dbi"Item 2
Exact value (
const):"config"Item 3
Exact value (
const):"atu"Item 4
Exact value (
const):"app"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pcie"Item 2
Exact value (
const):"pcie_bus"Item 3
Exact value (
const):"pcie_phy"Item 4
Exact value (
const):"pcie_inbound_axi"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pcie"Item 2
Exact value (
const):"pcie_bus"Item 3
Exact value (
const):"pcie_phy"Item 4
Exact value (
const):"pcie_aux"
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,imx6q-pcie","fsl,imx6qp-pcie","fsl,imx7d-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pcie"Item 2
Exact value (
const):"pcie_bus"Item 3
Exact value (
const):"pcie_phy"
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pcie"Item 2
Exact value (
const):"pcie_bus"Item 3
Exact value (
const):"pcie_aux"
Rule 9 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"dbi"Item 2
Exact value (
const):"mstr"Item 3
Exact value (
const):"slv"
Rule 10 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):6
clock-names— not listed as required hereMinimum number of items (
minItems):5Array item rules (
items)Item 1
Exact value (
const):"pcie"Item 2
Exact value (
const):"pcie_bus"Item 3
Exact value (
const):"pcie_phy"Item 4
Exact value (
const):"pcie_aux"Item 5
Exact value (
const):"ref"Item 6
Exact value (
const):"extref"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie: pcie@1ffc000 {
compatible = "fsl,imx6q-pcie";
reg = <0x01ffc000 0x04000>,
<0x01f00000 0x80000>;
reg-names = "dbi", "config";
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
bus-range = <0x00 0xff>;
ranges = <0x81000000 0 0 0x01f80000 0 0x00010000>,
<0x82000000 0 0x01000000 0x01000000 0 0x00f00000>;
num-lanes = <1>;
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
<&clks IMX6QDL_CLK_LVDS1_GATE>,
<&clks IMX6QDL_CLK_PCIE_REF_125M>;
clock-names = "pcie", "pcie_bus", "pcie_phy";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 225: Optional
Freescale Layerscape PCIe Endpoint(EP) controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/fsl,layerscape-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
This PCIe EP controller is based on the Synopsys DesignWare PCIe IP. This controller derives its clocks from the Reset Configuration Word (RCW) which is used to describe the PLL settings at the time of chip-reset. Also as per the available Reference Manuals, there is no specific 'version' register available in the Freescale PCIe controller register set, which can allow determining the underlying DesignWare PCIe controller version information.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,ls2088a-pcie-ep", "fsl,ls1088a-pcie-ep", "fsl,ls1046a-pcie-ep", "fsl,ls1028a-pcie-ep", "fsl,lx2160ar2-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"regs"
Item 2
Exact value (
const):"addr_space"
fsl,pcie-scfg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to the SCFG device node. The second entry is the physical PCIe controller index starting from '0'. This is used to get SCFG PEXN registers.
big-endian — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If the PEX_LUT and PF register block is in big-endian, specify this property.
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "reg-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,ls1028a-pcie-ep","fsl,ls1046a-pcie-ep","fsl,ls1088a-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pme"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie_ep1: pcie-ep@3400000 {
compatible = "fsl,ls1028a-pcie-ep";
reg = <0x00 0x03400000 0x0 0x00100000
0x80 0x00000000 0x8 0x00000000>;
reg-names = "regs", "addr_space";
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
interrupt-names = "pme";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale Layerscape PCIe Root Complex(RC) controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
This PCIe RC controller is based on the Synopsys DesignWare PCIe IP This controller derives its clocks from the Reset Configuration Word (RCW) which is used to describe the PLL settings at the time of chip-reset. Also as per the available Reference Manuals, there is no specific 'version' register available in the Freescale PCIe controller register set, which can allow determining the underlying DesignWare PCIe controller version information.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,ls1012a-pcie","fsl,ls1021a-pcie","fsl,ls1028a-pcie","fsl,ls1043a-pcie","fsl,ls1046a-pcie","fsl,ls1088a-pcie","fsl,ls2080a-pcie","fsl,ls2085a-pcie","fsl,ls2088a-pcie"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,lx2160ar2-pcie"Item 2
Exact value (
const):"fsl,ls2088a-pcie"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"regs"
Item 2
Exact value (
const):"config"
fsl,pcie-scfg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
A phandle to the SCFG device node. The second entry is the physical PCIe controller index starting from '0'. This is used to get SCFG PEXN registers.
Array item rules (items) #
Array item rules (
items)Item 1
A phandle to the SCFG device node
Item 2
PCIe controller index starting from '0'
Maximum number of items (maxItems): 1
big-endian — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If the PEX_LUT and PF register block is in big-endian, specify this property.
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
msi-parent — not listed as required here #
true — No constraints added by this property rule.
iommu-map — not listed as required here #
true — No constraints added by this property rule.
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
num-viewport — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Deprecated (deprecated): true
Number of outbound view ports configured in hardware. It's the same as the number of outbound AT windows.
Maximum value (maximum): 256
Required in this object (required): "compatible", "reg", "reg-names", "#address-cells", "#size-cells", "device_type", "bus-range", "ranges", "interrupts", "interrupt-names", "#interrupt-cells", "interrupt-map-mask", "interrupt-map"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-bus.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,ls1028a-pcie","fsl,ls1046a-pcie","fsl,ls1043a-pcie","fsl,ls1012a-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):2
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pme"Item 2
Exact value (
const):"aer"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,ls2080a-pcie","fsl,ls2085a-pcie","fsl,ls2088a-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"intr"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aer"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@3400000 {
compatible = "fsl,ls1088a-pcie";
reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
<0x20 0x00000000 0x0 0x00002000>; /* configuration space */
reg-names = "regs", "config";
interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
interrupt-names = "aer";
#address-cells = <3>;
#size-cells = <2>;
dma-coherent;
device_type = "pci";
bus-range = <0x0 0xff>;
ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000 /* downstream I/O */
0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
msi-parent = <&its>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0000 0 0 1 &gic 0 0 0 109 IRQ_TYPE_LEVEL_HIGH>,
<0000 0 0 2 &gic 0 0 0 110 IRQ_TYPE_LEVEL_HIGH>,
<0000 0 0 3 &gic 0 0 0 111 IRQ_TYPE_LEVEL_HIGH>,
<0000 0 0 4 &gic 0 0 0 112 IRQ_TYPE_LEVEL_HIGH>;
iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale MPC83xx PCI/PCI-X/PCIe controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/fsl,mpc8xxx-pci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Binding for the PCI/PCI-X/PCIe host bridges on MPC8xxx SoCs
Maintainers (maintainers): "J. Neuschäfer <j.neuschaefer@gmx.net>"
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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,mpc8314-pcie","fsl,mpc8349-pci","fsl,mpc8540-pci","fsl,mpc8548-pcie","fsl,mpc8641-pcie"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,mpc8308-pcie","fsl,mpc8315-pcie","fsl,mpc8377-pcie","fsl,mpc8378-pcie"Item 2
Exact value (
const):"fsl,mpc8314-pcie"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"fsl,mpc8360-pci"Item 2
Exact value (
const):"fsl,mpc8349-pci"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"fsl,mpc8540-pcix"Item 2
Exact value (
const):"fsl,mpc8540-pci"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
internal registers
Item 2
config space access registers
clock-frequency — not listed as required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Array item rules (items) #
Item 1
Consolidated PCI interrupt
fsl,pci-agent-force-enum — not listed as required here #
Value type (type): "boolean"
Typically any Freescale PCI-X bridge hardware strapped into Agent mode is prevented from enumerating the bus. The PrPMC form-factor requires all mezzanines to be PCI-X Agents, but one per system may still enumerate the bus. This property allows a PCI-X bridge to be used for bus enumeration despite being strapped into Agent mode.
Required in this object (required): "reg", "compatible"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
pcie@e0009000 {
compatible = "fsl,mpc8315-pcie", "fsl,mpc8314-pcie";
reg = <0xe0009000 0x00001000>;
ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
0x01000000 0 0x00000000 0xb1000000 0 0x00800000>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
device_type = "pci";
bus-range = <0 255>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map = <0 0 0 1 &ipic 1 IRQ_TYPE_LEVEL_LOW
0 0 0 2 &ipic 1 IRQ_TYPE_LEVEL_LOW
0 0 0 3 &ipic 1 IRQ_TYPE_LEVEL_LOW
0 0 0 4 &ipic 1 IRQ_TYPE_LEVEL_LOW>;
clock-frequency = <0>;
};
pci@ef008000 {
compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
reg = <0xef008000 0x1000>;
ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
0x01000000 0 0x00000000 0xd0000000 0 0x01000000>;
#interrupt-cells = <1>;
#size-cells = <2>;
#address-cells = <3>;
device_type = "pci";
clock-frequency = <33333333>;
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
interrupt-map = </* IDSEL */
0xe000 0 0 1 &mpic 2 1
0xe000 0 0 2 &mpic 3 1>;
interrupts-extended = <&mpic 24 2>;
bus-range = <0 0>;
fsl,pci-agent-force-enum;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
HiSilicon Kirin SoCs PCIe host DT description
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/hisilicon,kirin-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Xiaowei Song <songxiaowei@hisilicon.com>", "Binghui Wang <wangbinghui@hisilicon.com>"
Kirin PCIe host controller is based on the Synopsys DesignWare PCI core. It shares common functions with the PCIe DesignWare core driver and inherits common properties defined in Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — required here #
Rule for matching array elements (contains) #
Allowed values (
enum):"hisilicon,kirin960-pcie","hisilicon,kirin970-pcie"
reg — required here #
Should contain dbi, apb, config registers location and length. For hisilicon,kirin960-pcie, it should also contain phy.
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
reg-names — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
clocks — not listed as required here #
Maximum number of items (maxItems): 5
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie_phy_ref"
Item 2
Exact value (
const):"pcie_aux"
Item 3
Exact value (
const):"pcie_apb_phy"
Item 4
Exact value (
const):"pcie_apb_sys"
Item 5
Exact value (
const):"pcie_aclk"
phys — not listed as required here #
Maximum number of items (maxItems): 1
hisilicon,clken-gpios — not listed as required here #
Clock input enablement GPIOs from PCI devices like Ethernet, M.2 and mini-PCIe slots.
Required in this object (required): "compatible", "reg", "reg-names"
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/clock/hi3660-clock.h>
#include <dt-bindings/clock/hi3670-clock.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@f4000000 {
compatible = "hisilicon,kirin960-pcie";
reg = <0x0 0xf4000000 0x0 0x1000>,
<0x0 0xff3fe000 0x0 0x1000>,
<0x0 0xf3f20000 0x0 0x40000>,
<0x0 0xf5000000 0x0 0x2000>;
reg-names = "dbi", "apb", "phy", "config";
bus-range = <0x0 0xff>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges = <0x02000000 0x0 0x00000000
0x0 0xf6000000
0x0 0x02000000>;
num-lanes = <1>;
#interrupt-cells = <1>;
interrupts = <0 283 4>;
interrupt-names = "msi";
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map = <0x0 0 0 1 &gic GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
<0x0 0 0 2 &gic GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
<0x0 0 0 3 &gic GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
<0x0 0 0 4 &gic GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&crg_ctrl HI3660_PCIEPHY_REF>,
<&crg_ctrl HI3660_CLK_GATE_PCIEAUX>,
<&crg_ctrl HI3660_PCLK_GATE_PCIE_PHY>,
<&crg_ctrl HI3660_PCLK_GATE_PCIE_SYS>,
<&crg_ctrl HI3660_ACLK_GATE_PCIE>;
clock-names = "pcie_phy_ref", "pcie_aux", "pcie_apb_phy",
"pcie_apb_sys", "pcie_aclk";
};
pcie@f5000000 {
compatible = "hisilicon,kirin970-pcie";
reg = <0x0 0xf4000000 0x0 0x1000000>,
<0x0 0xfc180000 0x0 0x1000>,
<0x0 0xf5000000 0x0 0x2000>;
reg-names = "dbi", "apb", "config";
bus-range = <0x0 0xff>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
phys = <&pcie_phy>;
ranges = <0x02000000 0x0 0x00000000
0x0 0xf6000000
0x0 0x02000000>;
num-lanes = <1>;
#interrupt-cells = <1>;
interrupts = <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0x0 0 0 1 &gic GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
<0x0 0 0 2 &gic GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
<0x0 0 0 3 &gic GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
<0x0 0 0 4 &gic GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>;
reset-gpios = <&gpio7 0 0>;
hisilicon,clken-gpios = <&gpio27 3 0>, <&gpio17 0 0>, <&gpio20 6 0>;
pcie@0,0 { // Lane 0: PCIe switch: Bus 1, Device 0
reg = <0 0 0 0 0>;
compatible = "pciclass,0604";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
ranges;
pcie@0,0 { // Lane 0: upstream
reg = <0 0 0 0 0>;
compatible = "pciclass,0604";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
ranges;
pcie@1,0 { // Lane 4: M.2
reg = <0x0800 0 0 0 0>;
compatible = "pciclass,0604";
device_type = "pci";
reset-gpios = <&gpio3 1 0>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
pcie@5,0 { // Lane 5: Mini PCIe
reg = <0x2800 0 0 0 0>;
compatible = "pciclass,0604";
device_type = "pci";
reset-gpios = <&gpio27 4 0 >;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
pcie@7,0 { // Lane 6: Ethernet
reg = <0x03800 0 0 0 0>;
compatible = "pciclass,0604";
device_type = "pci";
reset-gpios = <&gpio25 2 0 >;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Generic PCI host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/host-generic-pci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Will Deacon <will@kernel.org>"
Firmware-initialised PCI host controllers and PCI emulations, such as the virtio-pci implementations found in kvmtool and other para-virtualised systems, do not require driver support for complexities such as regulator and clock management. In fact, the controller may not even require the configuration of a control interface by the operating system, instead presenting a set of fixed windows describing a subset of IO, Memory and Configuration Spaces.
Configuration Space is assumed to be memory-mapped (as opposed to being accessed via an ioport) and laid out with a direct correspondence to the geography of a PCI bus address by concatenating the various components to form an offset.
For CAM, this 24-bit offset is:
cfg_offset(bus, device, function, register) =
bus << 16 | device << 11 | function << 8 | register
While ECAM extends this by 4 bits to accommodate 4k of function space:
cfg_offset(bus, device, function, register) =
bus << 20 | device << 15 | function << 12 | register
Properties and child nodes (properties) #
compatible — required here #
Depends on the layout of configuration space (CAM vs ECAM respectively). May also have more specific compatibles.
Exactly one of these rules must match (oneOf) #
Rule 1
PCIe host controller in Arm Juno based on PLDA XpressRICH3-AXI IP
Array item rules (
items)Item 1
Exact value (
const):"arm,juno-r1-pcie"Item 2
Exact value (
const):"plda,xpressrich3-axi"Item 3
Exact value (
const):"pci-host-ecam-generic"
Rule 2
ThunderX PCI host controller for pass-1.x silicon
Firmware-initialized PCI host controller to on-chip devices found on some Cavium ThunderX processors. These devices have ECAM-based config access, but the BARs are all at fixed addresses. We handle the fixed addresses by synthesizing Enhanced Allocation (EA) capabilities for these devices.
Exact value (
const):"cavium,pci-host-thunder-ecam"
Rule 3
Cavium ThunderX PEM firmware-initialized PCIe host controller
Exact value (
const):"cavium,pci-host-thunder-pem"
Rule 4
HiSilicon Hip06/Hip07 PCIe host bridge in almost-ECAM mode. Some firmware places the host controller in a mode where it is ECAM compliant for all devices other than the root complex.
Allowed values (
enum):"hisilicon,hip06-pcie-ecam","hisilicon,hip07-pcie-ecam"
Rule 5
In some cases, firmware may already have configured the Synopsys DesignWare PCIe controller in RC mode with static ATU window mappings that cover all config, MMIO and I/O spaces in a [mostly] ECAM compatible fashion. In this case, there is no need for the OS to perform any low level setup of clocks, PHYs or device registers, nor is there any reason for the driver to reconfigure ATU windows for config and/or IO space accesses at runtime.
In cases where the IP was synthesized with a minimum ATU window size of 64 KB, it cannot be supported by the generic ECAM driver, because it requires special config space accessors that filter accesses to device #1 and beyond on the first bus.
Array item rules (
items)Item 1
Allowed values (
enum):"marvell,armada8k-pcie-ecam","socionext,synquacer-pcie-ecam"Item 2
Exact value (
const):"snps,dw-pcie-ecam"
Rule 6
CAM or ECAM compliant PCI host controllers without any quirks
Allowed values (
enum):"pci-host-cam-generic","pci-host-ecam-generic"
reg — required here #
The Configuration Space base address and size, as accessed from the parent bus. The base address corresponds to the first bus in the "bus-range" property. If no "bus-range" is specified, this will be bus 0 (the default). Some host controllers have a 2nd non-compliant address range, so 2 entries are allowed.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
ranges — required here #
As described in IEEE Std 1275-1994, but must provide at least a definition of non-prefetchable memory. One or both of prefetchable Memory and IO Space may also be provided.
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
iommu-map — not listed as required here #
true — No constraints added by this property rule.
iommu-map-mask — not listed as required here #
true — No constraints added by this property rule.
msi-parent — not listed as required here #
true — No constraints added by this property rule.
ats-supported — not listed as required here #
Indicates that a PCIe host controller supports ATS, and can handle Memory Requests with Address Type (AT).
Value type (type): "boolean"
Required in this object (required): "compatible", "reg", "ranges"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"arm,juno-r1-pcie"When the condition matches (
then) #
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereThis rule must not match (
not)Rule for matching array elements (
contains)Allowed values (
enum):"cavium,pci-host-thunder-pem","hisilicon,hip06-pcie-ecam","hisilicon,hip07-pcie-ecam"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@40000000 {
compatible = "pci-host-cam-generic";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x0 0x1>;
// CPU_PHYSICAL(2) SIZE(2)
reg = <0x0 0x40000000 0x0 0x1000000>;
// BUS_ADDRESS(3) CPU_PHYSICAL(2) SIZE(2)
ranges = <0x01000000 0x0 0x01000000 0x0 0x01000000 0x0 0x00010000>,
<0x02000000 0x0 0x41000000 0x0 0x41000000 0x0 0x3f000000>;
#interrupt-cells = <0x1>;
// PCI_DEVICE(3) INT#(1) CONTROLLER(PHANDLE) CONTROLLER_DATA(3)
interrupt-map = < 0x0 0x0 0x0 0x1 &gic 0x0 0x4 0x1>,
< 0x800 0x0 0x0 0x1 &gic 0x0 0x5 0x1>,
<0x1000 0x0 0x0 0x1 &gic 0x0 0x6 0x1>,
<0x1800 0x0 0x0 0x1 &gic 0x0 0x7 0x1>;
// PCI_DEVICE(3) INT#(1)
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Intel IXP4xx PCI controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/intel,ixp4xx-pci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
PCI host controller found in the Intel IXP4xx SoC series.
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 #
Array item rules (items) #
Item 1
Allowed values (
enum):"intel,ixp42x-pci","intel,ixp43x-pci"
The two supported variants are ixp42x and ixp43x, though more variants may exist.
reg — required here #
Array item rules (items) #
Item 1
IXP4xx-specific registers
interrupts — not listed as required here #
Array item rules (items) #
Item 1
Main PCI interrupt
Item 2
PCI DMA interrupt 1
Item 3
PCI DMA interrupt 2
ranges — not listed as required here #
Maximum number of items (maxItems): 2
Typically one memory range of 64MB and one IO space range of 64KB.
dma-ranges — required here #
Maximum number of items (maxItems): 1
The DMA range tells the PCI host which addresses the RAM is at. It can map only 64MB so if the RAM is bigger than 64MB the DMA access has to be restricted to these addresses.
#interrupt-cells — required here #
true — No constraints added by this property rule.
interrupt-map — required here #
true — No constraints added by this property rule.
interrupt-map-mask — required here #
Array item rules (items) #
Item 1
Exact value (
const):63488
Item 2
Exact value (
const):0
Item 3
Exact value (
const):0
Item 4
Exact value (
const):7
Required in this object (required): "compatible", "reg", "dma-ranges", "#interrupt-cells", "interrupt-map", "interrupt-map-mask"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pci@c0000000 {
compatible = "intel,ixp43x-pci";
reg = <0xc0000000 0x1000>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
bus-range = <0x00 0xff>;
ranges =
<0x02000000 0 0x48000000 0x48000000 0 0x04000000>,
<0x01000000 0 0x00000000 0x4c000000 0 0x00010000>;
dma-ranges =
<0x02000000 0 0x00000000 0x00000000 0 0x04000000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map =
<0x0800 0 0 1 &gpio0 11 3>, /* INT A on slot 1 is irq 11 */
<0x0800 0 0 2 &gpio0 10 3>, /* INT B on slot 1 is irq 10 */
<0x0800 0 0 3 &gpio0 9 3>, /* INT C on slot 1 is irq 9 */
<0x0800 0 0 4 &gpio0 8 3>, /* INT D on slot 1 is irq 8 */
<0x1000 0 0 1 &gpio0 10 3>, /* INT A on slot 2 is irq 10 */
<0x1000 0 0 2 &gpio0 9 3>, /* INT B on slot 2 is irq 9 */
<0x1000 0 0 3 &gpio0 8 3>, /* INT C on slot 2 is irq 8 */
<0x1000 0 0 4 &gpio0 11 3>, /* INT D on slot 2 is irq 11 */
<0x1800 0 0 1 &gpio0 9 3>, /* INT A on slot 3 is irq 9 */
<0x1800 0 0 2 &gpio0 8 3>, /* INT B on slot 3 is irq 8 */
<0x1800 0 0 3 &gpio0 11 3>, /* INT C on slot 3 is irq 11 */
<0x1800 0 0 4 &gpio0 10 3>; /* INT D on slot 3 is irq 10 */
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Intel Keem Bay PCIe controller Endpoint mode
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/intel,keembay-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>", "Srikanth Thokala <srikanth.thokala@intel.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,keembay-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 5
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"dbi2"
Item 3
Exact value (
const):"atu"
Item 4
Exact value (
const):"addr_space"
Item 5
Exact value (
const):"apb"
interrupts — required here #
Maximum number of items (maxItems): 4
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
Item 2
Exact value (
const):"pcie_ev"
Item 3
Exact value (
const):"pcie_err"
Item 4
Exact value (
const):"pcie_mem_access"
num-lanes — not listed as required here #
Number of lanes to use.
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
pcie-ep@37000000 {
compatible = "intel,keembay-pcie-ep";
reg = <0x37000000 0x00001000>,
<0x37100000 0x00001000>,
<0x37300000 0x00001000>,
<0x36000000 0x01000000>,
<0x37800000 0x00000200>;
reg-names = "dbi", "dbi2", "atu", "addr_space", "apb";
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 108 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pcie", "pcie_ev", "pcie_err", "pcie_mem_access";
num-lanes = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Intel Keem Bay PCIe controller Root Complex mode
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/intel,keembay-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>", "Srikanth Thokala <srikanth.thokala@intel.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 #
Exact value (const): "intel,keembay-pcie"
ranges — required here #
Maximum number of items (maxItems): 1
reset-gpios — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 4
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"atu"
Item 3
Exact value (
const):"config"
Item 4
Exact value (
const):"apb"
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"master"
Item 2
Exact value (
const):"aux"
interrupts — required here #
Maximum number of items (maxItems): 3
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
Item 2
Exact value (
const):"pcie_ev"
Item 3
Exact value (
const):"pcie_err"
num-lanes — not listed as required here #
Number of lanes to use.
Required in this object (required): "compatible", "reg", "reg-names", "ranges", "clocks", "clock-names", "interrupts", "interrupt-names", "reset-gpios"
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/gpio/gpio.h>
#define KEEM_BAY_A53_PCIE
#define KEEM_BAY_A53_AUX_PCIE
pcie@37000000 {
compatible = "intel,keembay-pcie";
reg = <0x37000000 0x00001000>,
<0x37300000 0x00001000>,
<0x36e00000 0x00200000>,
<0x37800000 0x00000200>;
reg-names = "dbi", "atu", "config", "apb";
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges = <0x02000000 0 0x36000000 0x36000000 0 0x00e00000>;
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pcie", "pcie_ev", "pcie_err";
clocks = <&scmi_clk KEEM_BAY_A53_PCIE>,
<&scmi_clk KEEM_BAY_A53_AUX_PCIE>;
clock-names = "master", "aux";
reset-gpios = <&pca2 9 GPIO_ACTIVE_LOW>;
num-lanes = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
PCIe RC controller on Intel Gateway SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/intel-gw-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rahul Tanwar <rtanwar@maxlinear.com>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Exact value (
const):"intel,lgm-pcie"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"intel,lgm-pcie"
Item 2
Exact value (
const):"snps,dw-pcie"
reg — required here #
Array item rules (items) #
Item 1
Controller control and status registers.
Item 2
PCIe configuration registers.
Item 3
Controller application registers.
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"config"
Item 3
Exact value (
const):"app"
ranges — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Exact value (const): "pcie"
reset-gpios — required here #
Maximum number of items (maxItems): 1
num-lanes — not listed as required here #
Maximum value (maximum): 2
max-link-speed — not listed as required here #
Allowed values (enum): 1, 2, 3, 4
Default value (default): 1
reset-assert-ms — not listed as required here #
Delay after asserting reset to the PCIe device.
Maximum value (maximum): 500
Default value (default): 100
Required in this object (required): "compatible", "reg", "reg-names", "ranges", "resets", "clocks", "phys", "phy-names", "reset-gpios", "#interrupt-cells", "interrupt-map", "interrupt-map-mask"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
pcie10: pcie@d0e00000 {
compatible = "intel,lgm-pcie", "snps,dw-pcie";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
reg = <0xd0e00000 0x1000>,
<0xd2000000 0x800000>,
<0xd0a41000 0x1000>;
reg-names = "dbi", "config", "app";
linux,pci-domain = <0>;
max-link-speed = <4>;
bus-range = <0x00 0x08>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &ioapic1 27 1>,
<0 0 0 2 &ioapic1 28 1>,
<0 0 0 3 &ioapic1 29 1>,
<0 0 0 4 &ioapic1 30 1>;
ranges = <0x02000000 0 0xd4000000 0xd4000000 0 0x04000000>;
resets = <&rcu0 0x50 0>;
clocks = <&cgu0 120>;
phys = <&cb0phy0>;
phy-names = "pcie";
reset-assert-ms = <500>;
reset-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
num-lanes = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Loongson PCI Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/loongson.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jiaxun Yang <jiaxun.yang@flygoat.com>"
PCI host controller found on Loongson PCHs and SoCs.
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): "loongson,ls2k-pci", "loongson,ls7a-pci", "loongson,rs780e-pci"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
CFG0 standard config space register
Item 2
CFG1 extended config space register
ranges — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
msi-parent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "ranges"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@1a000000 {
compatible = "loongson,rs780e-pci";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
// CPU_PHYSICAL(2) SIZE(2)
reg = <0x0 0x1a000000 0x0 0x2000000>;
// BUS_ADDRESS(3) CPU_PHYSICAL(2) SIZE(2)
ranges = <0x01000000 0x0 0x00004000 0x0 0x00004000 0x0 0x00004000>,
<0x02000000 0x0 0x40000000 0x0 0x40000000 0x0 0x40000000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell Armada 3700 (Aardvark) PCIe Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/marvell,armada-3700-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thomas Petazzoni <thomas.petazzoni@bootlin.com>", "Pali Rohár <pali@kernel.org>"
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 #
Exact value (const): "marvell,armada-3700-pcie"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
msi-controller — not listed as required here #
true — No constraints added by this property rule.
msi-parent — not listed as required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
PCIe reset GPIO signals.
interrupt-controller — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#address-cells — not listed as required here
Exact value (const): 0
interrupt-controller — required here
true — No constraints added by this property rule.
#interrupt-cells — required here
Exact value (const): 1
Required in this object (required): "interrupt-controller", "#interrupt-cells"
Required in this object (required): "compatible", "reg", "interrupts", "#interrupt-cells"
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/gpio/gpio.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@d0070000 {
compatible = "marvell,armada-3700-pcie";
device_type = "pci";
reg = <0 0xd0070000 0 0x20000>;
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
msi-controller;
msi-parent = <&pcie0>;
ranges = <0x82000000 0 0xe8000000 0 0xe8000000 0 0x1000000>,
<0x81000000 0 0xe9000000 0 0xe9000000 0 0x10000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc 0>,
<0 0 0 2 &pcie_intc 1>,
<0 0 0 3 &pcie_intc 2>,
<0 0 0 4 &pcie_intc 3>;
phys = <&comphy1 0>;
max-link-speed = <2>;
reset-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
pcie_intc: interrupt-controller {
#address-cells = <0>;
interrupt-controller;
#interrupt-cells = <1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell Armada 7K/8K PCIe interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
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
Marvell EBU PCIe interfaces
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/marvell,kirkwood-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thomas Petazzoni <thomas.petazzoni@bootlin.com>", "Pali Rohár <pali@kernel.org>"
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 — not listed as required here #
Allowed values (enum): "marvell,armada-370-pcie", "marvell,armada-xp-pcie", "marvell,dove-pcie", "marvell,kirkwood-pcie"
ranges — not listed as required here #
The ranges describing the MMIO registers have the following layout:
0x82000000 0 r MBUS_ID(0xf0, 0x01) r 0 s
where:
* r is a 32-bits value that gives the offset of the MMIO registers of
this PCIe interface, from the base of the internal registers.
* s is a 32-bits value that give the size of this MMIO registers area.
This range entry translates the '0x82000000 0 r' PCI address into the
'MBUS_ID(0xf0, 0x01) r' CPU address, which is part of the internal
register window (as identified by MBUS_ID(0xf0, 0x01)).
The ranges describing the MBus windows have the following layout:
0x8t000000 s 0 MBUS_ID(w, a) 0 1 0
where:
* t is the type of the MBus window (as defined by the standard PCI DT
bindings), 1 for I/O and 2 for memory.
* s is the PCI slot that corresponds to this PCIe interface
* w is the 'target ID' value for the MBus window
* a the 'attribute' value for the MBus window.
Since the location and size of the different MBus windows is not fixed in hardware, and only determined in runtime, those ranges cover the full first 4 GB of the physical address space, and do not translate into a valid CPU address.
msi-parent — not listed as required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^pcie@ — name matches this regular expression #
Value type (type): "object"
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):/schemas/pci/pci-bus-common.yaml#
Rule 2
Shared schema rule (
$ref):/schemas/pci/pci-device.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
clocks — required here
Maximum number of items (maxItems): 1
interrupts — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — not listed as required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):"intx"
Item 2
Exact value (
const):"error"
reset-delay-us — not listed as required here
Default value (default): 100000
todo
marvell,pcie-port — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 3
todo
marvell,pcie-lane — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 3
todo
interrupt-controller — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#address-cells — not listed as required here
Exact value (const): 0
interrupt-controller — not listed as required here
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here
Exact value (const): 1
Required in this object (required): "assigned-addresses", "clocks", "interrupt-map", "marvell,pcie-port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@f001000000000000 {
compatible = "marvell,armada-xp-pcie";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
msi-parent = <&mpic>;
ranges =
<0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 /* Port 0.0 registers */
0x82000000 0 0x42000 MBUS_ID(0xf0, 0x01) 0x42000 0 0x00002000 /* Port 2.0 registers */
0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000 /* Port 0.1 registers */
0x82000000 0 0x48000 MBUS_ID(0xf0, 0x01) 0x48000 0 0x00002000 /* Port 0.2 registers */
0x82000000 0 0x4c000 MBUS_ID(0xf0, 0x01) 0x4c000 0 0x00002000 /* Port 0.3 registers */
0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000 /* Port 1.0 registers */
0x82000000 0 0x82000 MBUS_ID(0xf0, 0x01) 0x82000 0 0x00002000 /* Port 3.0 registers */
0x82000000 0 0x84000 MBUS_ID(0xf0, 0x01) 0x84000 0 0x00002000 /* Port 1.1 registers */
0x82000000 0 0x88000 MBUS_ID(0xf0, 0x01) 0x88000 0 0x00002000 /* Port 1.2 registers */
0x82000000 0 0x8c000 MBUS_ID(0xf0, 0x01) 0x8c000 0 0x00002000 /* Port 1.3 registers */
0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */
0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 0.1 MEM */
0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 0.1 IO */
0x82000000 0x3 0 MBUS_ID(0x04, 0xb8) 0 1 0 /* Port 0.2 MEM */
0x81000000 0x3 0 MBUS_ID(0x04, 0xb0) 0 1 0 /* Port 0.2 IO */
0x82000000 0x4 0 MBUS_ID(0x04, 0x78) 0 1 0 /* Port 0.3 MEM */
0x81000000 0x4 0 MBUS_ID(0x04, 0x70) 0 1 0 /* Port 0.3 IO */
0x82000000 0x5 0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 MEM */
0x81000000 0x5 0 MBUS_ID(0x08, 0xe0) 0 1 0 /* Port 1.0 IO */
0x82000000 0x6 0 MBUS_ID(0x08, 0xd8) 0 1 0 /* Port 1.1 MEM */
0x81000000 0x6 0 MBUS_ID(0x08, 0xd0) 0 1 0 /* Port 1.1 IO */
0x82000000 0x7 0 MBUS_ID(0x08, 0xb8) 0 1 0 /* Port 1.2 MEM */
0x81000000 0x7 0 MBUS_ID(0x08, 0xb0) 0 1 0 /* Port 1.2 IO */
0x82000000 0x8 0 MBUS_ID(0x08, 0x78) 0 1 0 /* Port 1.3 MEM */
0x81000000 0x8 0 MBUS_ID(0x08, 0x70) 0 1 0 /* Port 1.3 IO */
0x82000000 0x9 0 MBUS_ID(0x04, 0xf8) 0 1 0 /* Port 2.0 MEM */
0x81000000 0x9 0 MBUS_ID(0x04, 0xf0) 0 1 0 /* Port 2.0 IO */
0x82000000 0xa 0 MBUS_ID(0x08, 0xf8) 0 1 0 /* Port 3.0 MEM */
0x81000000 0xa 0 MBUS_ID(0x08, 0xf0) 0 1 0 /* Port 3.0 IO */>;
pcie@1,0 {
device_type = "pci";
assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
reg = <0x0800 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
0x81000000 0 0 0x81000000 0x1 0 1 0>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &mpic 58>;
marvell,pcie-port = <0>;
marvell,pcie-lane = <0>;
num-lanes = <1>;
/* low-active PERST# reset on GPIO 25 */
reset-gpios = <&gpio0 25 1>;
/* wait 20ms for device settle after reset deassertion */
reset-delay-us = <20000>;
clocks = <&gateclk 5>;
};
pcie@2,0 {
device_type = "pci";
assigned-addresses = <0x82001000 0 0x44000 0 0x2000>;
reg = <0x1000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
0x81000000 0 0 0x81000000 0x2 0 1 0>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &mpic 59>;
marvell,pcie-port = <0>;
marvell,pcie-lane = <1>;
num-lanes = <1>;
clocks = <&gateclk 6>;
};
pcie@3,0 {
device_type = "pci";
assigned-addresses = <0x82001800 0 0x48000 0 0x2000>;
reg = <0x1800 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges = <0x82000000 0 0 0x82000000 0x3 0 1 0
0x81000000 0 0 0x81000000 0x3 0 1 0>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &mpic 60>;
marvell,pcie-port = <0>;
marvell,pcie-lane = <2>;
num-lanes = <1>;
clocks = <&gateclk 7>;
};
pcie@4,0 {
device_type = "pci";
assigned-addresses = <0x82002000 0 0x4c000 0 0x2000>;
reg = <0x2000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges = <0x82000000 0 0 0x82000000 0x4 0 1 0
0x81000000 0 0 0x81000000 0x4 0 1 0>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &mpic 61>;
marvell,pcie-port = <0>;
marvell,pcie-lane = <3>;
num-lanes = <1>;
clocks = <&gateclk 8>;
};
pcie@5,0 {
device_type = "pci";
assigned-addresses = <0x82002800 0 0x80000 0 0x2000>;
reg = <0x2800 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges = <0x82000000 0 0 0x82000000 0x5 0 1 0
0x81000000 0 0 0x81000000 0x5 0 1 0>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &mpic 62>;
marvell,pcie-port = <1>;
marvell,pcie-lane = <0>;
num-lanes = <1>;
clocks = <&gateclk 9>;
};
pcie@6,0 {
device_type = "pci";
assigned-addresses = <0x82003000 0 0x84000 0 0x2000>;
reg = <0x3000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges = <0x82000000 0 0 0x82000000 0x6 0 1 0
0x81000000 0 0 0x81000000 0x6 0 1 0>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &mpic 63>;
marvell,pcie-port = <1>;
marvell,pcie-lane = <1>;
num-lanes = <1>;
clocks = <&gateclk 10>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Mobiveil AXI PCIe Host Bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/mbvl,gpex40-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Mobiveil's GPEX 4.0 is a PCIe Gen4 host bridge IP. This configurable IP has up to 8 outbound and inbound windows for address translation. NXP Layerscape PCIe Gen4 controller (Deprecated) base on Mobiveil's GPEX 4.0.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,lx2160a-pcie", "mbvl,gpex40-pcie"
reg — required here #
Array item rules (items) #
Item 1
PCIe controller registers
Item 2
Bridge config registers
Item 3
GPIO registers to control slot power
Item 4
MSI registers
Minimum number of items (minItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csr_axi_slave"
Item 2
Exact value (
const):"config_axi_slave"
Item 3
Exact value (
const):"gpio_slave"
Item 4
Exact value (
const):"apb_csr"
Minimum number of items (minItems): 2
apio-wins — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
number of requested APIO outbound windows
1. Config window
2. Memory window
Default value (default): 2
Maximum value (maximum): 256
ppio-wins — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
number of requested PPIO inbound windows
Default value (default): 1
Maximum value (maximum): 256
interrupt-controller — not listed as required here #
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here #
Exact value (const): 1
interrupts — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
msi-parent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "reg-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):2
reg-names— not listed as required hereMaximum number of items (
maxItems):2
interrupts— not listed as required hereMinimum number of items (
minItems):3
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aer"Item 2
Exact value (
const):"pme"Item 3
Exact value (
const):"intr"When the condition does not match (
else) #Properties and child nodes (
properties)
dma-coherent— not listed as required here
false— Not permitted by this property rule.
msi-parent— not listed as required here
false— Not permitted by this property rule.
interrupts— not listed as required hereMaximum number of items (
maxItems):1
interrupt-names— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie@b0000000 {
compatible = "mbvl,gpex40-pcie";
reg = <0xb0000000 0x00010000>,
<0xa0000000 0x00001000>,
<0xff000000 0x00200000>,
<0xb0010000 0x00001000>;
reg-names = "csr_axi_slave",
"config_axi_slave",
"gpio_slave",
"apb_csr";
ranges = <0x83000000 0 0x00000000 0xa8000000 0 0x8000000>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
apio-wins = <2>;
ppio-wins = <1>;
bus-range = <0x00 0xff>;
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 0 &pci_express 0>,
<0 0 0 1 &pci_express 1>,
<0 0 0 2 &pci_express 2>,
<0 0 0 3 &pci_express 3>;
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@3400000 {
compatible = "fsl,lx2160a-pcie";
reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
0x80 0x00000000 0x0 0x00001000>; /* configuration space */
reg-names = "csr_axi_slave", "config_axi_slave";
ranges = <0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
<GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
<GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
interrupt-names = "aer", "pme", "intr";
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
apio-wins = <8>;
ppio-wins = <8>;
dma-coherent;
bus-range = <0x00 0xff>;
msi-parent = <&its>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
<0000 0 0 2 &gic 0 0 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
<0000 0 0 3 &gic 0 0 GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
<0000 0 0 4 &gic 0 0 GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek MT7621 PCIe controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/mediatek,mt7621-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sergio Paracuellos <sergio.paracuellos@gmail.com>"
MediaTek MT7621 PCIe subsys supports a single Root Complex (RC) with 3 Root Ports. Each Root Port supports a Gen1 1-lane Link
MT7621 PCIe HOST Topology
.-------.
| |
| CPU |
| |
'-------'
|
|
|
v
.------------------.
.-----------| HOST/PCI Bridge |------------.
| '------------------' | Type1
BUS0 | | | Access
v v v On Bus0
.-------------. .-------------. .-------------.
| VIRTUAL P2P | | VIRTUAL P2P | | VIRTUAL P2P |
| BUS0 | | BUS0 | | BUS0 |
| DEV0 | | DEV1 | | DEV2 |
'-------------' '-------------' '-------------'
Type0 | Type0 | Type0 |
Access BUS1 | Access BUS2| Access BUS3|
On Bus1 v On Bus2 v On Bus3 v
.----------. .----------. .----------.
| Device 0 | | Device 0 | | Device 0 |
| Func 0 | | Func 0 | | Func 0 |
'----------' '----------' '----------'
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 #
Exact value (const): "mediatek,mt7621-pci"
reg — required here #
Array item rules (items) #
Item 1
host-pci bridge registers
Item 2
pcie port 0 RC control registers
Item 3
pcie port 1 RC control registers
Item 4
pcie port 2 RC control registers
ranges — required here #
Maximum number of items (maxItems): 2
Properties matching a name pattern (patternProperties) #
^pcie@[0-2],0$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/pci/pci-pci-bridge.yaml#
Properties and child nodes (properties) #
reg — not listed as required here
Maximum number of items (maxItems): 1
resets — required here
Maximum number of items (maxItems): 1
clocks — required here
Maximum number of items (maxItems): 1
phys — required here
Maximum number of items (maxItems): 1
phy-names — required here
String pattern (pattern): "^pcie-phy[0-2]$"
Required in this object (required): "#interrupt-cells", "interrupt-map-mask", "interrupt-map", "resets", "clocks", "phys", "phy-names", "ranges"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "ranges", "#interrupt-cells", "interrupt-map-mask", "interrupt-map", "reset-gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/mips-gic.h>
pcie: pcie@1e140000 {
compatible = "mediatek,mt7621-pci";
reg = <0x1e140000 0x100>,
<0x1e142000 0x100>,
<0x1e143000 0x100>,
<0x1e144000 0x100>;
#address-cells = <3>;
#size-cells = <2>;
pinctrl-names = "default";
pinctrl-0 = <&pcie_pins>;
device_type = "pci";
ranges = <0x02000000 0 0x60000000 0x60000000 0 0x10000000>, /* pci memory */
<0x01000000 0 0x1e160000 0x1e160000 0 0x00010000>; /* io space */
#interrupt-cells = <1>;
interrupt-map-mask = <0xF800 0 0 0>;
interrupt-map = <0x0000 0 0 0 &gic GIC_SHARED 4 IRQ_TYPE_LEVEL_HIGH>,
<0x0800 0 0 0 &gic GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH>,
<0x1000 0 0 0 &gic GIC_SHARED 25 IRQ_TYPE_LEVEL_HIGH>;
reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
pcie@0,0 {
reg = <0x0000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SHARED 4 IRQ_TYPE_LEVEL_HIGH>;
resets = <&rstctrl 24>;
clocks = <&clkctrl 24>;
phys = <&pcie0_phy 1>;
phy-names = "pcie-phy0";
ranges;
};
pcie@1,0 {
reg = <0x0800 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH>;
resets = <&rstctrl 25>;
clocks = <&clkctrl 25>;
phys = <&pcie0_phy 1>;
phy-names = "pcie-phy1";
ranges;
};
pcie@2,0 {
reg = <0x1000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SHARED 25 IRQ_TYPE_LEVEL_HIGH>;
resets = <&rstctrl 26>;
clocks = <&clkctrl 26>;
phys = <&pcie2_phy 0>;
phy-names = "pcie-phy2";
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek PCIECFG controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/mediatek-pcie-cfg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chuanjia Liu <chuanjia.liu@mediatek.com>", "Jianjun Wang <jianjun.wang@mediatek.com>"
The MediaTek PCIECFG controller controls some feature about LTSSM, ASPM and so on.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pciecfg: pciecfg@1a140000 {
compatible = "mediatek,generic-pciecfg", "syscon";
reg = <0x1a140000 0x1000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Gen3 PCIe controller on MediaTek SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/mediatek-pcie-gen3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jianjun Wang <jianjun.wang@mediatek.com>"
PCIe Gen3 MAC controller for MediaTek SoCs, it supports Gen3 speed and compatible with Gen2, Gen1 speed.
This PCIe controller supports up to 256 MSI vectors, the MSI hardware block diagram is as follows:
+-----+
| GIC |
+-----+
^
|
port->irq
|
+-+-+-+-+-+-+-+-+
|0|1|2|3|4|5|6|7| (PCIe intc)
+-+-+-+-+-+-+-+-+
^ ^ ^
| | ... |
+-------+ +------+ +-----------+
| | |
+-+-+---+--+--+ +-+-+---+--+--+ +-+-+---+--+--+
|0|1|...|30|31| |0|1|...|30|31| |0|1|...|30|31| (MSI sets)
+-+-+---+--+--+ +-+-+---+--+--+ +-+-+---+--+--+
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| | | | | | | | | | | | (MSI vectors)
| | | | | | | | | | | |
(MSI SET0) (MSI SET1) ... (MSI SET7)
With 256 MSI vectors supported, the MSI vectors are composed of 8 sets, each set has its own address for MSI message, and supports 32 MSI vectors to generate interrupt.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt7981-pcie","mediatek,mt7986-pcie","mediatek,mt8188-pcie","mediatek,mt8195-pcie"Item 2
Exact value (
const):"mediatek,mt8192-pcie"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mediatek,mt8196-pcie"
Rule 3
Exact value (
const):"mediatek,mt8192-pcie"
Rule 4
Exact value (
const):"mediatek,mt8196-pcie"
Rule 5
Exact value (
const):"airoha,en7581-pcie"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie-mac"
interrupts — required here #
Maximum number of items (maxItems): 1
ranges — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
iommu-map — not listed as required here #
Maximum number of items (maxItems): 1
iommu-map-mask — not listed as required here #
Exact value (const): 0
resets — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reset-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
Array item rules (items) #
Allowed values (
enum):"phy","mac","phy-lane0","phy-lane1","phy-lane2"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
assigned-clocks — not listed as required here #
Maximum number of items (maxItems): 1
assigned-clock-parents — not listed as required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie-phy"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
mediatek,pbus-csr — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to pbus-csr syscon
Item 2
offset of pbus-csr base address register
Item 3
offset of pbus-csr base address mask register
Phandle with two arguments to the syscon node used to detect if a given address is accessible on PCIe controller.
#interrupt-cells — required here #
Exact value (const): 1
interrupt-controller — 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", "ranges", "clocks", "clock-names", "#interrupt-cells", "interrupt-controller"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"mediatek,mt8192-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):6
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pl_250m"Item 2
Exact value (
const):"tl_26m"Item 3
Exact value (
const):"tl_96m"Item 4
Exact value (
const):"tl_32k"Item 5
Exact value (
const):"peri_26m"Item 6
Exact value (
const):"top_133m"
resets— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
reset-names— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
mediatek,pbus-csr— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"mediatek,mt8188-pcie","mediatek,mt8195-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):6
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pl_250m"Item 2
Exact value (
const):"tl_26m"Item 3
Exact value (
const):"tl_96m"Item 4
Exact value (
const):"tl_32k"Item 5
Exact value (
const):"peri_26m"Item 6
Exact value (
const):"peri_mem"
resets— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
reset-names— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
mediatek,pbus-csr— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):6
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pl_250m"Item 2
Exact value (
const):"tl_26m"Item 3
Exact value (
const):"bus"Item 4
Exact value (
const):"low_power"Item 5
Exact value (
const):"peri_26m"Item 6
Exact value (
const):"peri_mem"
resets— not listed as required hereMinimum number of items (
minItems):2
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"phy"Item 2
Exact value (
const):"mac"
mediatek,pbus-csr— not listed as required here
false— Not permitted by this property rule.
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pl_250m"Item 2
Exact value (
const):"tl_26m"Item 3
Exact value (
const):"peri_26m"Item 4
Exact value (
const):"top_133m"
resets— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
reset-names— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
mediatek,pbus-csr— not listed as required here
false— Not permitted by this property rule.
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"airoha,en7581-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sys-ck"
resets— not listed as required hereMinimum number of items (
minItems):3
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"phy-lane0"Item 2
Exact value (
const):"phy-lane1"Item 3
Exact value (
const):"phy-lane2"
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>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie: pcie@11230000 {
compatible = "mediatek,mt8192-pcie";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
reg = <0x00 0x11230000 0x00 0x4000>;
reg-names = "pcie-mac";
interrupts = <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH 0>;
bus-range = <0x00 0xff>;
ranges = <0x82000000 0x00 0x12000000 0x00
0x12000000 0x00 0x1000000>;
clocks = <&infracfg 44>,
<&infracfg 40>,
<&infracfg 43>,
<&infracfg 97>,
<&infracfg 99>,
<&infracfg 111>;
clock-names = "pl_250m", "tl_26m", "tl_96m",
"tl_32k", "peri_26m", "top_133m";
assigned-clocks = <&topckgen 50>;
assigned-clock-parents = <&topckgen 91>;
phys = <&pciephy>;
phy-names = "pcie-phy";
resets = <&infracfg_rst 2>,
<&infracfg_rst 3>;
reset-names = "phy", "mac";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &pcie_intc 0>,
<0 0 0 2 &pcie_intc 1>,
<0 0 0 3 &pcie_intc 2>,
<0 0 0 4 &pcie_intc 3>;
pcie_intc: 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 OR BSD-2-Clause)
PCIe controller on MediaTek SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/mediatek-pcie-mt7623.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mediatek,mt2701-pcie", "mediatek,mt7623-pcie"
reg — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 4
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"subsys"
Item 2
Exact value (
const):"port0"
Item 3
Exact value (
const):"port1"
Item 4
Exact value (
const):"port2"
clocks — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 4
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"free_ck"
Item 2
Exact value (
const):"sys_ck0"
Item 3
Exact value (
const):"sys_ck1"
Item 4
Exact value (
const):"sys_ck2"
resets — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie-rst0"
Item 2
Exact value (
const):"pcie-rst1"
Item 3
Exact value (
const):"pcie-rst2"
phys — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
phy-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie-phy0"
Item 2
Exact value (
const):"pcie-phy1"
Item 3
Exact value (
const):"pcie-phy2"
power-domains — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "ranges", "clocks", "clock-names", "#interrupt-cells", "resets", "reset-names", "phys", "phy-names", "power-domains", "pcie@0,0", "pcie@1,0", "pcie@2,0"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.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>
#include <dt-bindings/clock/mt2701-clk.h>
#include <dt-bindings/reset/mt2701-resets.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/power/mt2701-power.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1a140000 {
compatible = "mediatek,mt7623-pcie";
device_type = "pci";
reg = <0 0x1a140000 0 0x1000>, /* PCIe shared registers */
<0 0x1a142000 0 0x1000>, /* Port0 registers */
<0 0x1a143000 0 0x1000>, /* Port1 registers */
<0 0x1a144000 0 0x1000>; /* Port2 registers */
reg-names = "subsys", "port0", "port1", "port2";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
interrupt-map-mask = <0xf800 0 0 0>;
interrupt-map = <0x0000 0 0 0 &sysirq GIC_SPI 193 IRQ_TYPE_LEVEL_LOW>,
<0x0800 0 0 0 &sysirq GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>,
<0x1000 0 0 0 &sysirq GIC_SPI 195 IRQ_TYPE_LEVEL_LOW>;
clocks = <&topckgen CLK_TOP_ETHIF_SEL>,
<&hifsys CLK_HIFSYS_PCIE0>,
<&hifsys CLK_HIFSYS_PCIE1>,
<&hifsys CLK_HIFSYS_PCIE2>;
clock-names = "free_ck", "sys_ck0", "sys_ck1", "sys_ck2";
resets = <&hifsys MT2701_HIFSYS_PCIE0_RST>,
<&hifsys MT2701_HIFSYS_PCIE1_RST>,
<&hifsys MT2701_HIFSYS_PCIE2_RST>;
reset-names = "pcie-rst0", "pcie-rst1", "pcie-rst2";
phys = <&pcie0_phy PHY_TYPE_PCIE>, <&pcie1_phy PHY_TYPE_PCIE>,
<&pcie2_phy PHY_TYPE_PCIE>;
phy-names = "pcie-phy0", "pcie-phy1", "pcie-phy2";
power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>;
bus-range = <0x00 0xff>;
ranges = <0x81000000 0 0x1a160000 0 0x1a160000 0 0x00010000>, /* I/O space */
<0x83000000 0 0x60000000 0 0x60000000 0 0x10000000>; /* memory space */
pcie@0,0 {
device_type = "pci";
reg = <0x0000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &sysirq GIC_SPI 193 IRQ_TYPE_LEVEL_LOW>;
ranges;
};
pcie@1,0 {
device_type = "pci";
reg = <0x0800 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &sysirq GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>;
ranges;
};
pcie@2,0 {
device_type = "pci";
reg = <0x1000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &sysirq GIC_SPI 195 IRQ_TYPE_LEVEL_LOW>;
ranges;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 86: MT7623
PCIe controller on MediaTek SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/mediatek-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"airoha,an7583-pcie","mediatek,mt2712-pcie","mediatek,mt7622-pcie","mediatek,mt7629-pcie"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"airoha,en7523-pcie"Item 2
Exact value (
const):"mediatek,mt7622-pcie"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — required here #
Allowed values (enum): "port0", "port1"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
resets — not listed as required here #
Maximum number of items (maxItems): 1
reset-names — not listed as required here #
Exact value (const): "pcie-rst1"
interrupts — required here #
Maximum number of items (maxItems): 1
interrupt-names — required here #
Exact value (const): "pcie_irq"
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Allowed values (enum): "pcie-phy0", "pcie-phy1"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
mediatek,pbus-csr — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to pbus-csr syscon
Item 2
offset of pbus-csr base address register
Item 3
offset of pbus-csr base address mask register
Phandle with two arguments to the syscon node used to detect if a given address is accessible on PCIe controller.
#interrupt-cells — required here #
Exact value (const): 1
interrupt-controller — 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", "ranges", "clocks", "clock-names", "#interrupt-cells", "interrupts", "interrupt-names", "interrupt-controller"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"airoha,an7583-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
reg-names— not listed as required hereExact value (
const):"port1"
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereExact value (
const):"sys_ck1"
phy-names— required hereExact value (
const):"pcie-phy1"
power-domain— not listed as required here
false— Not permitted by this property rule.Required in this object (
required):"resets","reset-names","phys","phy-names","mediatek,pbus-csr"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"mediatek,mt2712-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
reset— not listed as required here
false— Not permitted by this property rule.
reset-names— not listed as required here
false— Not permitted by this property rule.
power-domains— not listed as required here
false— Not permitted by this property rule.
mediatek,pbus-csr— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"mediatek,mt7622-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):6
reset— not listed as required here
false— Not permitted by this property rule.
reset-names— not listed as required here
false— Not permitted by this property rule.
phys— not listed as required here
false— Not permitted by this property rule.
phy-names— not listed as required here
false— Not permitted by this property rule.
mediatek,pbus-csr— not listed as required here
false— Not permitted by this property rule.
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"mediatek,mt7629-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):6
reset— not listed as required here
false— Not permitted by this property rule.
reset-names— not listed as required here
false— Not permitted by this property rule.
mediatek,pbus-csr— not listed as required here
false— Not permitted by this property rule.
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"airoha,en7523-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
reset— not listed as required here
false— Not permitted by this property rule.
reset-names— not listed as required here
false— Not permitted by this property rule.
phys— not listed as required here
false— Not permitted by this property rule.
phy-names— not listed as required here
false— Not permitted by this property rule.
power-domain— not listed as required here
false— Not permitted by this property rule.
mediatek,pbus-csr— not listed as required here
false— Not permitted by this property rule.
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>
soc_1 {
#address-cells = <2>;
#size-cells = <2>;
pcie@112ff000 {
compatible = "mediatek,mt2712-pcie";
device_type = "pci";
reg = <0 0x112ff000 0 0x1000>;
reg-names = "port1";
linux,pci-domain = <1>;
#address-cells = <3>;
#size-cells = <2>;
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pcie_irq";
clocks = <&topckgen>, /* CLK_TOP_PE2_MAC_P1_SEL */
<&pericfg>; /* CLK_PERI_PCIE1 */
clock-names = "sys_ck1", "ahb_ck1";
phys = <&u3port1 PHY_TYPE_PCIE>;
phy-names = "pcie-phy1";
bus-range = <0x00 0xff>;
ranges = <0x82000000 0 0x11400000 0x0 0x11400000 0 0x300000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc1 0>,
<0 0 0 2 &pcie_intc1 1>,
<0 0 0 3 &pcie_intc1 2>,
<0 0 0 4 &pcie_intc1 3>;
pcie_intc1: interrupt-controller {
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
};
};
pcie@11700000 {
compatible = "mediatek,mt2712-pcie";
device_type = "pci";
reg = <0 0x11700000 0 0x1000>;
reg-names = "port0";
linux,pci-domain = <0>;
#address-cells = <3>;
#size-cells = <2>;
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pcie_irq";
clocks = <&topckgen>, /* CLK_TOP_PE2_MAC_P0_SEL */
<&pericfg>; /* CLK_PERI_PCIE0 */
clock-names = "sys_ck0", "ahb_ck0";
phys = <&u3port0 PHY_TYPE_PCIE>;
phy-names = "pcie-phy0";
bus-range = <0x00 0xff>;
ranges = <0x82000000 0 0x20000000 0x0 0x20000000 0 0x10000000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc0 0>,
<0 0 0 2 &pcie_intc0 1>,
<0 0 0 3 &pcie_intc0 2>,
<0 0 0 4 &pcie_intc0 3>;
pcie_intc0: interrupt-controller {
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
};
};
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/mt7622-power.h>
soc_2 {
#address-cells = <2>;
#size-cells = <2>;
pcie@1a143000 {
compatible = "mediatek,mt7622-pcie";
device_type = "pci";
reg = <0 0x1a143000 0 0x1000>;
reg-names = "port0";
linux,pci-domain = <0>;
#address-cells = <3>;
#size-cells = <2>;
interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "pcie_irq";
clocks = <&pciesys>, /* CLK_PCIE_P0_MAC_EN */
<&pciesys>, /* CLK_PCIE_P0_AHB_EN */
<&pciesys>, /* CLK_PCIE_P0_AUX_EN */
<&pciesys>, /* CLK_PCIE_P0_AXI_EN */
<&pciesys>, /* CLK_PCIE_P0_OBFF_EN */
<&pciesys>; /* CLK_PCIE_P0_PIPE_EN */
clock-names = "sys_ck0", "ahb_ck0", "aux_ck0",
"axi_ck0", "obff_ck0", "pipe_ck0";
power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>;
bus-range = <0x00 0xff>;
ranges = <0x82000000 0 0x20000000 0x0 0x20000000 0 0x8000000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc0_1 0>,
<0 0 0 2 &pcie_intc0_1 1>,
<0 0 0 3 &pcie_intc0_1 2>,
<0 0 0 4 &pcie_intc0_1 3>;
pcie_intc0_1: interrupt-controller {
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
};
};
pcie@1a145000 {
compatible = "mediatek,mt7622-pcie";
device_type = "pci";
reg = <0 0x1a145000 0 0x1000>;
reg-names = "port1";
linux,pci-domain = <1>;
#address-cells = <3>;
#size-cells = <2>;
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "pcie_irq";
clocks = <&pciesys>, /* CLK_PCIE_P1_MAC_EN */
/* designer has connect RC1 with p0_ahb clock */
<&pciesys>, /* CLK_PCIE_P0_AHB_EN */
<&pciesys>, /* CLK_PCIE_P1_AUX_EN */
<&pciesys>, /* CLK_PCIE_P1_AXI_EN */
<&pciesys>, /* CLK_PCIE_P1_OBFF_EN */
<&pciesys>; /* CLK_PCIE_P1_PIPE_EN */
clock-names = "sys_ck1", "ahb_ck1", "aux_ck1",
"axi_ck1", "obff_ck1", "pipe_ck1";
power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>;
bus-range = <0x00 0xff>;
ranges = <0x82000000 0 0x28000000 0x0 0x28000000 0 0x8000000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc1_1 0>,
<0 0 0 2 &pcie_intc1_1 1>,
<0 0 0 3 &pcie_intc1_1 2>,
<0 0 0 4 &pcie_intc1_1 3>;
pcie_intc1_1: interrupt-controller {
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
};
};
};
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/en7523-clk.h>
soc_3 {
#address-cells = <2>;
#size-cells = <2>;
pcie@1fa92000 {
compatible = "airoha,an7583-pcie";
device_type = "pci";
linux,pci-domain = <1>;
#address-cells = <3>;
#size-cells = <2>;
reg = <0x0 0x1fa92000 0x0 0x1670>;
reg-names = "port1";
clocks = <&scuclk EN7523_CLK_PCIE>;
clock-names = "sys_ck1";
phys = <&pciephy>;
phy-names = "pcie-phy1";
ranges = <0x02000000 0 0x24000000 0x0 0x24000000 0 0x4000000>;
resets = <&scuclk>; /* AN7583_PCIE1_RST */
reset-names = "pcie-rst1";
mediatek,pbus-csr = <&pbus_csr 0x8 0xc>;
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pcie_irq";
bus-range = <0x00 0xff>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc1 0>,
<0 0 0 2 &pcie_intc1 1>,
<0 0 0 3 &pcie_intc1 2>,
<0 0 0 4 &pcie_intc1 3>;
pcie_intc1_4: 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 OR BSD-2-Clause)
Line 232: MT2712
Line 305: MT7622
Line 389: AN7583
Microchip PCIe Root Port Bridge Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/microchip,pcie-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daire McNamara <daire.mcnamara@microchip.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):plda,xpressrich3-axi-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/interrupt-controller/msi-controller.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "microchip,pcie-host-1.0"
reg — not listed as required here #
Minimum number of items (minItems): 3
reg-names — not listed as required here #
Minimum number of items (minItems): 3
clocks — not listed as required here #
Fabric Interface Controllers, FICs, are the interface between the FPGA fabric and the core complex on PolarFire SoC. The FICs require two clocks, one from each side of the interface. The "FIC clocks" described by this property are on the core complex side & communication through a FIC is not possible unless it's corresponding clock is enabled. A clock must be enabled for each of the interfaces the root port is connected through. This could in theory be all 4 interfaces, one interface or any combination in between.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
FIC0's clock
Item 2
FIC1's clock
Item 3
FIC2's clock
Item 4
FIC3's clock
clock-names — not listed as required here #
As any FIC connection combination is possible, the names should match the order in the clocks property and take the form "ficN" where N is a number 0-3
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items) #
String pattern (
pattern):"^fic[0-3]$"
dma-noncoherent — not listed as required here #
true — No constraints added by this property rule.
ranges — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
dma-ranges — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie0: pcie@2030000000 {
compatible = "microchip,pcie-host-1.0";
reg = <0x0 0x70000000 0x0 0x08000000>,
<0x0 0x43008000 0x0 0x00002000>,
<0x0 0x4300a000 0x0 0x00002000>;
reg-names = "cfg", "bridge", "ctrl";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
interrupts = <119>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0 0 0 1 &pcie_intc0 0>,
<0 0 0 2 &pcie_intc0 1>,
<0 0 0 3 &pcie_intc0 2>,
<0 0 0 4 &pcie_intc0 3>;
interrupt-parent = <&plic0>;
msi-parent = <&pcie0>;
msi-controller;
bus-range = <0x00 0x7f>;
ranges = <0x03000000 0x0 0x78000000 0x0 0x78000000 0x0 0x04000000>;
pcie_intc0: 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)
Line 18: PolarFire
NVIDIA Tegra194 (and later) PCIe Endpoint controller (Synopsys DesignWare Core based)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/nvidia,tegra194-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>", "Vidya Sagar <vidyas@nvidia.com>"
This PCIe controller is based on the Synopsys DesignWare PCIe IP and thus inherits all the common properties defined in snps,dw-pcie-ep.yaml. Some of the controller instances are dual mode; they can work either in Root Port mode or Endpoint mode but one at a time.
On Tegra194, controllers C0, C4 and C5 support Endpoint mode. On Tegra234, controllers C5, C6, C7 and C10 support Endpoint mode.
Note: On Tegra194's P2972-0000 platform, only C5 controller can be enabled to operate in the Endpoint mode because of the way the platform is designed.
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "nvidia,tegra194-pcie-ep", "nvidia,tegra234-pcie-ep"
reg — not listed as required here #
Array item rules (items) #
Item 1
controller's application logic registers
Item 2
iATU and DMA registers. This is where the iATU (internal Address Translation Unit) registers of the PCIe core are made available for software access.
Item 3
aperture where the Root Port's own configuration registers are available.
Item 4
aperture used to map the remote Root Complex address space
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"appl"
Item 2
Exact value (
const):"atu_dma"
Item 3
Exact value (
const):"dbi"
Item 4
Exact value (
const):"addr_space"
interrupts — required here #
Array item rules (items) #
Item 1
controller interrupt
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"intr"
clocks — required here #
Array item rules (items) #
Item 1
module clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
resets — required here #
Array item rules (items) #
Item 1
APB bus interface reset
Item 2
module reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb"
Item 2
Exact value (
const):"core"
reset-gpios — required here #
Must contain a phandle to a GPIO controller followed by GPIO that is being used as PERST input signal.
phys — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
phy-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"p2u-0"
Item 2
Exact value (
const):"p2u-1"
Item 3
Exact value (
const):"p2u-2"
Item 4
Exact value (
const):"p2u-3"
Item 5
Exact value (
const):"p2u-4"
Item 6
Exact value (
const):"p2u-5"
Item 7
Exact value (
const):"p2u-6"
Item 8
Exact value (
const):"p2u-7"
power-domains — required here #
Maximum number of items (maxItems): 1
A phandle to the node that controls power to the respective PCIe controller and a specifier name for the PCIe controller.
Tegra194 specifiers are defined in "include/dt-bindings/power/tegra194-powergate.h" Tegra234 specifiers are defined in "include/dt-bindings/power/tegra234-powergate.h"
interconnects — not listed as required here #
Array item rules (items) #
Item 1
memory read client
Item 2
memory write client
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dma-mem"
Item 2
Exact value (
const):"write"
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
nvidia,bpmp — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Must contain a pair of phandles to BPMP controller node followed by controller ID. Following are the controller IDs for each controller:
Tegra194
0: C0
1: C1
2: C2
3: C3
4: C4
5: C5
Tegra234
0 : C0
1 : C1
2 : C2
3 : C3
4 : C4
5 : C5
6 : C6
7 : C7
8 : C8
9 : C9
10: C10
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to BPMP controller node
Item 2
PCIe controller ID
Maximum value (
maximum):10
nvidia,aspm-cmrt-us — not listed as required here #
Common Mode Restore Time for proper operation of ASPM to be specified in microseconds
nvidia,aspm-pwr-on-t-us — not listed as required here #
Power On time for proper operation of ASPM to be specified in microseconds
nvidia,aspm-l0s-entrance-latency-us — not listed as required here #
ASPM L0s entrance latency to be specified in microseconds
vddio-pex-ctl-supply — required here #
A phandle to the regulator supply for PCIe side band signals
nvidia,refclk-select-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO used to enable REFCLK to controller from the host
nvidia,enable-ext-refclk — not listed as required here #
This boolean property needs to be present if the controller is configured to receive Reference Clock from the host. NOTE: This is applicable only for Tegra234.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,enable-srns — not listed as required here #
This boolean property needs to be present if the controller is configured to operate in SRNS (Separate Reference Clocks with No Spread-Spectrum Clocking). NOTE: This is applicable only for Tegra234.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie-ep.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "interrupts", "interrupt-names", "clocks", "clock-names", "resets", "reset-names", "power-domains", "reset-gpios", "vddio-pex-ctl-supply", "num-lanes", "phys", "phy-names", "nvidia,bpmp"
Examples (examples) #
#include <dt-bindings/clock/tegra194-clock.h>
#include <dt-bindings/gpio/tegra194-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/tegra194-powergate.h>
#include <dt-bindings/reset/tegra194-reset.h>
bus@0 {
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0x8 0x0>;
pcie-ep@141a0000 {
compatible = "nvidia,tegra194-pcie-ep";
reg = <0x00 0x141a0000 0x0 0x00020000>, /* appl registers (128K) */
<0x00 0x3a040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
<0x00 0x3a080000 0x0 0x00040000>, /* DBI reg space (256K) */
<0x1c 0x00000000 0x4 0x00000000>; /* Address Space (16G) */
reg-names = "appl", "atu_dma", "dbi", "addr_space";
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
interrupt-names = "intr";
clocks = <&bpmp TEGRA194_CLK_PEX1_CORE_5>;
clock-names = "core";
resets = <&bpmp TEGRA194_RESET_PEX1_CORE_5_APB>,
<&bpmp TEGRA194_RESET_PEX1_CORE_5>;
reset-names = "apb", "core";
power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8A>;
pinctrl-names = "default";
pinctrl-0 = <&clkreq_c5_bi_dir_state>;
nvidia,bpmp = <&bpmp 5>;
nvidia,aspm-cmrt-us = <60>;
nvidia,aspm-pwr-on-t-us = <20>;
nvidia,aspm-l0s-entrance-latency-us = <3>;
vddio-pex-ctl-supply = <&vdd_1v8ao>;
reset-gpios = <&gpio TEGRA194_MAIN_GPIO(GG, 1) GPIO_ACTIVE_LOW>;
nvidia,refclk-select-gpios = <&gpio_aon TEGRA194_AON_GPIO(AA, 5)
GPIO_ACTIVE_HIGH>;
num-lanes = <8>;
phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
<&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
<&p2u_nvhs_6>, <&p2u_nvhs_7>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
"p2u-5", "p2u-6", "p2u-7";
};
};
#include <dt-bindings/clock/tegra234-clock.h>
#include <dt-bindings/gpio/tegra234-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/tegra234-powergate.h>
#include <dt-bindings/reset/tegra234-reset.h>
bus@0 {
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0x8 0x0>;
pcie-ep@141a0000 {
compatible = "nvidia,tegra234-pcie-ep";
power-domains = <&bpmp TEGRA234_POWER_DOMAIN_PCIEX8A>;
reg = <0x00 0x141a0000 0x0 0x00020000>, /* appl registers (128K) */
<0x00 0x3a040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
<0x00 0x3a080000 0x0 0x00040000>, /* DBI reg space (256K) */
<0x27 0x40000000 0x4 0x00000000>; /* Address Space (16G) */
reg-names = "appl", "atu_dma", "dbi", "addr_space";
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
interrupt-names = "intr";
clocks = <&bpmp TEGRA234_CLK_PEX1_C5_CORE>;
clock-names = "core";
resets = <&bpmp TEGRA234_RESET_PEX1_CORE_5_APB>,
<&bpmp TEGRA234_RESET_PEX1_CORE_5>;
reset-names = "apb", "core";
nvidia,bpmp = <&bpmp 5>;
nvidia,enable-ext-refclk;
nvidia,aspm-cmrt-us = <60>;
nvidia,aspm-pwr-on-t-us = <20>;
nvidia,aspm-l0s-entrance-latency-us = <3>;
vddio-pex-ctl-supply = <&p3701_vdd_1v8_ls>;
reset-gpios = <&gpio TEGRA234_MAIN_GPIO(AF, 1) GPIO_ACTIVE_LOW>;
nvidia,refclk-select-gpios = <&gpio_aon
TEGRA234_AON_GPIO(AA, 4)
GPIO_ACTIVE_HIGH>;
num-lanes = <8>;
phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
<&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
<&p2u_nvhs_6>, <&p2u_nvhs_7>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
"p2u-5", "p2u-6", "p2u-7";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 111: read
NVIDIA Tegra194 (and later) PCIe controller (Synopsys DesignWare Core based)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/nvidia,tegra194-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>", "Vidya Sagar <vidyas@nvidia.com>"
This PCIe controller is based on the Synopsys DesignWare PCIe IP and thus inherits all the common properties defined in snps,dw-pcie.yaml. Some of the controller instances are dual mode where in they can work either in Root Port mode or Endpoint mode but one at a time.
See nvidia,tegra194-pcie-ep.yaml for details on the Endpoint mode device tree bindings.
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "nvidia,tegra194-pcie", "nvidia,tegra234-pcie"
reg — not listed as required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
controller's application logic registers
Item 2
configuration registers
Item 3
iATU and DMA registers. This is where the iATU (internal Address Translation Unit) registers of the PCIe core are made available for software access.
Item 4
aperture where the Root Port's own configuration registers are available.
Item 5
aperture to access the configuration space through ECAM.
reg-names — not listed as required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"appl"
Item 2
Exact value (
const):"config"
Item 3
Exact value (
const):"atu_dma"
Item 4
Exact value (
const):"dbi"
Item 5
Exact value (
const):"ecam"
interrupts — required here #
Array item rules (items) #
Item 1
controller interrupt
Item 2
MSI interrupt
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"intr"
Item 2
Exact value (
const):"msi"
clocks — required here #
Array item rules (items) #
Item 1
module clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
resets — required here #
Array item rules (items) #
Item 1
APB bus interface reset
Item 2
module reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb"
Item 2
Exact value (
const):"core"
phys — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
phy-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"p2u-0"
Item 2
Exact value (
const):"p2u-1"
Item 3
Exact value (
const):"p2u-2"
Item 4
Exact value (
const):"p2u-3"
Item 5
Exact value (
const):"p2u-4"
Item 6
Exact value (
const):"p2u-5"
Item 7
Exact value (
const):"p2u-6"
Item 8
Exact value (
const):"p2u-7"
power-domains — required here #
Maximum number of items (maxItems): 1
A phandle to the node that controls power to the respective PCIe controller and a specifier name for the PCIe controller.
Tegra194 specifiers defined in "include/dt-bindings/power/tegra194-powergate.h" Tegra234 specifiers defined in "include/dt-bindings/power/tegra234-powergate.h"
interconnects — not listed as required here #
Array item rules (items) #
Item 1
memory read client
Item 2
memory write client
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dma-mem"
Item 2
Exact value (
const):"write"
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
nvidia,bpmp — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Must contain a pair of phandles to BPMP controller node followed by controller ID. Following are the controller IDs for each controller:
Tegra194
0: C0
1: C1
2: C2
3: C3
4: C4
5: C5
Tegra234
0 : C0
1 : C1
2 : C2
3 : C3
4 : C4
5 : C5
6 : C6
7 : C7
8 : C8
9 : C9
10: C10
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to BPMP controller node
Item 2
PCIe controller ID
Maximum value (
maximum):10
nvidia,update-fc-fixup — not listed as required here #
This is a boolean property and needs to be present to improve performance when a platform is designed in such a way that it satisfies at least one of the following conditions thereby enabling Root Port to exchange optimum number of FC (Flow Control) credits with downstream devices:
NOTE: This is applicable only for Tegra194.
1. If C0/C4/C5 run at x1/x2 link widths (irrespective of speed and MPS)
2. If C0/C1/C2/C3/C4/C5 operate at their respective max link widths and
a) speed is Gen-2 and MPS is 256B
b) speed is >= Gen-3 with any MPS
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,aspm-cmrt-us — not listed as required here #
Common Mode Restore Time for proper operation of ASPM to be specified in microseconds
nvidia,aspm-pwr-on-t-us — not listed as required here #
Power On time for proper operation of ASPM to be specified in microseconds
nvidia,aspm-l0s-entrance-latency-us — not listed as required here #
ASPM L0s entrance latency to be specified in microseconds
vddio-pex-ctl-supply — required here #
A phandle to the regulator supply for PCIe side band signals.
vpcie3v3-supply — not listed as required here #
A phandle to the regulator node that supplies 3.3V to the slot if the platform has one such slot, e.g., x16 slot owned by C5 controller in p2972-0000 platform.
vpcie12v-supply — not listed as required here #
A phandle to the regulator node that supplies 12V to the slot if the platform has one such slot, e.g., x16 slot owned by C5 controller in p2972-0000 platform.
nvidia,enable-srns — not listed as required here #
This boolean property needs to be present if the controller is configured to operate in SRNS (Separate Reference Clocks with No Spread-Spectrum Clocking). NOTE: This is applicable only for Tegra234.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,enable-ext-refclk — not listed as required here #
This boolean property needs to be present if the controller is configured to use the reference clocking coming in from an external clock source instead of using the internal clock source.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):4
reg-names— not listed as required hereMaximum number of items (
maxItems):4
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):5
reg-names— not listed as required hereMinimum number of items (
minItems):5
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "interrupts", "interrupt-names", "interrupt-map", "interrupt-map-mask", "clocks", "clock-names", "resets", "reset-names", "power-domains", "vddio-pex-ctl-supply", "num-lanes", "phys", "phy-names", "nvidia,bpmp"
Examples (examples) #
#include <dt-bindings/clock/tegra194-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/tegra194-powergate.h>
#include <dt-bindings/reset/tegra194-reset.h>
bus@0 {
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0x8 0x0>;
pcie@14180000 {
compatible = "nvidia,tegra194-pcie";
power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8B>;
reg = <0x0 0x14180000 0x0 0x00020000>, /* appl registers (128K) */
<0x0 0x38000000 0x0 0x00040000>, /* configuration space (256K) */
<0x0 0x38040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
<0x0 0x38080000 0x0 0x00040000>; /* DBI reg space (256K) */
reg-names = "appl", "config", "atu_dma", "dbi";
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
num-lanes = <8>;
linux,pci-domain = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pex_rst_c5_out_state>, <&clkreq_c5_bi_dir_state>;
clocks = <&bpmp TEGRA194_CLK_PEX0_CORE_0>;
clock-names = "core";
resets = <&bpmp TEGRA194_RESET_PEX0_CORE_0_APB>,
<&bpmp TEGRA194_RESET_PEX0_CORE_0>;
reset-names = "apb", "core";
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
<GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
interrupt-names = "intr", "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
nvidia,bpmp = <&bpmp 0>;
supports-clkreq;
nvidia,aspm-cmrt-us = <60>;
nvidia,aspm-pwr-on-t-us = <20>;
nvidia,aspm-l0s-entrance-latency-us = <3>;
bus-range = <0x0 0xff>;
ranges = <0x81000000 0x0 0x38100000 0x0 0x38100000 0x0 0x00100000>, /* downstream I/O */
<0x82000000 0x0 0x38200000 0x0 0x38200000 0x0 0x01e00000>, /* non-prefetch memory */
<0xc2000000 0x18 0x00000000 0x18 0x00000000 0x4 0x00000000>; /* prefetchable memory */
vddio-pex-ctl-supply = <&vdd_1v8ao>;
vpcie3v3-supply = <&vdd_3v3_pcie>;
vpcie12v-supply = <&vdd_12v_pcie>;
phys = <&p2u_hsio_2>, <&p2u_hsio_3>, <&p2u_hsio_4>,
<&p2u_hsio_5>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
};
};
#include <dt-bindings/clock/tegra234-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/tegra234-powergate.h>
#include <dt-bindings/reset/tegra234-reset.h>
bus@0 {
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0x8 0x0>;
pcie@14160000 {
compatible = "nvidia,tegra234-pcie";
power-domains = <&bpmp TEGRA234_POWER_DOMAIN_PCIEX4BB>;
reg = <0x00 0x14160000 0x0 0x00020000>, /* appl registers (128K) */
<0x00 0x36000000 0x0 0x00040000>, /* configuration space (256K) */
<0x00 0x36040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
<0x00 0x36080000 0x0 0x00040000>, /* DBI reg space (256K) */
<0x24 0x30000000 0x0 0x10000000>; /* ECAM (256MB) */
reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
num-lanes = <4>;
num-viewport = <8>;
linux,pci-domain = <4>;
clocks = <&bpmp TEGRA234_CLK_PEX0_C4_CORE>;
clock-names = "core";
resets = <&bpmp TEGRA234_RESET_PEX0_CORE_4_APB>,
<&bpmp TEGRA234_RESET_PEX0_CORE_4>;
reset-names = "apb", "core";
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
<GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
interrupt-names = "intr", "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
nvidia,bpmp = <&bpmp 4>;
nvidia,aspm-cmrt-us = <60>;
nvidia,aspm-pwr-on-t-us = <20>;
nvidia,aspm-l0s-entrance-latency-us = <3>;
bus-range = <0x0 0xff>;
ranges = <0x43000000 0x21 0x40000000 0x21 0x40000000 0x2 0xe8000000>, /* prefetchable */
<0x02000000 0x0 0x40000000 0x24 0x28000000 0x0 0x08000000>, /* non-prefetchable */
<0x01000000 0x0 0x36100000 0x00 0x36100000 0x0 0x00100000>; /* downstream I/O */
vddio-pex-ctl-supply = <&p3701_vdd_AO_1v8>;
phys = <&p2u_hsio_4>, <&p2u_hsio_5>, <&p2u_hsio_6>,
<&p2u_hsio_7>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 110: read
NXP S32G2xxx/S32G3xxx PCIe Root Complex controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/nxp,s32g-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bogdan Hamciuc <bogdan.hamciuc@nxp.com>", "Ionut Vicovan <ionut.vicovan@nxp.com>"
This PCIe controller is based on the Synopsys DesignWare PCIe IP. The S32G SoC family has two PCIe controllers, which can be configured as either Root Complex or Endpoint.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"nxp,s32g3-pcie"Item 2
Exact value (
const):"nxp,s32g2-pcie"
reg — required here #
Maximum number of items (maxItems): 6
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"dbi2"
Item 3
Exact value (
const):"atu"
Item 4
Exact value (
const):"dma"
Item 5
Exact value (
const):"ctrl"
Item 6
Exact value (
const):"config"
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
Item 2
Exact value (
const):"dma"
Minimum number of items (minItems): 1
pcie@0 — required here #
Describe the S32G Root Port.
Value type (type): "object"
Shared schema rule ($ref): /schemas/pci/pci-pci-bridge.yaml#
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
phys — required here
Maximum number of items (maxItems): 1
Required in this object (required): "reg", "phys"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "ranges", "pcie@0"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.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/phy/phy.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@40400000 {
compatible = "nxp,s32g3-pcie", "nxp,s32g2-pcie";
reg = <0x00 0x40400000 0x0 0x00001000>, /* dbi registers */
<0x00 0x40420000 0x0 0x00001000>, /* dbi2 registers */
<0x00 0x40460000 0x0 0x00001000>, /* atu registers */
<0x00 0x40470000 0x0 0x00001000>, /* dma registers */
<0x00 0x40481000 0x0 0x000000f8>, /* ctrl registers */
<0x5f 0xffffe000 0x0 0x00002000>; /* config space */
reg-names = "dbi", "dbi2", "atu", "dma", "ctrl", "config";
dma-coherent;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges =
<0x01000000 0x0 0x00000000 0x5f 0xfffe0000 0x0 0x00010000>,
<0x02000000 0x0 0x00000000 0x58 0x00000000 0x0 0x80000000>,
<0x02000000 0x1 0x00000000 0x59 0x00000000 0x6 0xfffe0000>;
bus-range = <0x0 0xff>;
interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi", "dma";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &gic 0 0 GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &gic 0 0 GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &gic 0 0 GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &gic 0 0 GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
pcie@0 {
reg = <0x0 0x0 0x0 0x0 0x0>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
device_type = "pci";
phys = <&serdes0 PHY_TYPE_PCIE 0 0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Common Properties for PCI MFD EP with Peripherals Addressable from BARs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/pci-ep-bus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "A. della Porta <andrea.porta@suse.com>"
Define a generic node representing a PCI endpoint which contains several sub- peripherals. The peripherals can be accessed through one or more BARs. This common schema is intended to be referenced from device tree bindings and does not represent a device tree binding by itself.
Properties and child nodes (properties) #
#address-cells — not listed as required here #
Exact value (const): 3
#size-cells — not listed as required here #
Exact value (const): 2
ranges — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
Array item rules (items) #
Maximum number of items (
maxItems):8Array items beyond the listed positions (
additionalItems)
trueAllowed by this rule.
Array item rules (
items)Item 1
Maximum value (
maximum):5Item 2
Exact value (
const):0Item 3
Exact value (
const):0
Properties matching a name pattern (patternProperties) #
^pci-ep-bus@[0-5]$ — name matches this regular expression #
Value type (type): "object"
One node for each BAR used by peripherals contained in the PCI endpoint. Each node represents a bus on which peripherals are connected. This allows for some segmentation, e.g., one peripheral is accessible through BAR0 and another through BAR1, and you don't want the two peripherals to be able to act on the other BAR. Alternatively, when different peripherals need to share BARs, you can define only one node and use a 'ranges' property to map all the used BARs.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "simple-bus"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 32: The BAR number
PCI Endpoint Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/pci-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Common properties for PCI Endpoint Controller Nodes.
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^pcie-ep@"
iommu-map — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Array item rules (items) #
Array item rules (
items)Item 1
Device ID (see msi-map) base
Maximum value (
maximum):524287Item 2
phandle to IOMMU
Item 3
IOMMU specifier base (currently always 1 cell)
Item 4
Number of Device IDs
Maximum value (
maximum):524288
iommu-map-mask — not listed as required here #
A mask to be applied to each Device ID prior to being mapped to an IOMMU specifier per the iommu-map property.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 524287
max-functions — not listed as required here #
Maximum number of functions that can be configured
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Minimum value (minimum): 1
Default value (default): 1
Maximum value (maximum): 255
max-virtual-functions — not listed as required here #
Array representing the number of virtual functions corresponding to each physical function
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 255
max-link-speed — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3, 4, 5, 6
msi-map — not listed as required here #
Maps a Device ID to an MSI and associated MSI specifier data.
A PCI Endpoint (EP) can use MSI as a doorbell function. This is achieved by mapping the MSI controller's address into PCI BAR<n>. The PCI Root Complex can write to this BAR<n>, triggering the EP to generate IRQ. This notifies the EP-side driver of an event, eliminating the need for the driver to continuously poll for status changes.
However, the EP cannot rely on Requester ID (RID) because the RID is determined by the PCI topology of the host system. Since the EP may be connected to different PCI hosts, the RID can vary between systems and is therefore not a reliable identifier.
Each EP can support up to 8 physical functions and up to 65,536 virtual
functions. To uniquely identify each child device, a device ID is defined
as
- Bits [2:0] for the function number (func)
- Bits [18:3] for the virtual function index (vfunc)
The resulting device ID is computed as:
(func & 0x7) | (vfunc << 3)
The property is an arbitrary number of tuples of (device-id-base, msi, msi-base,length).
Any Device ID id in the interval [id-base, id-base + length) is associated with the listed MSI, with the MSI specifier (id - id-base + msi-base).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Array item rules (items) #
Array item rules (
items)Item 1
The Device ID base matched by the entry
Maximum value (
maximum):524287Item 2
phandle to msi-controller node
Item 3
(optional) The msi-specifier produced for the first Device ID matched by the entry. Currently, msi-specifier is 0 or 1 cells.
Item 4
The length of consecutive Device IDs following the Device ID base
Maximum value (
maximum):524288
msi-map-mask — not listed as required here #
A mask to be applied to each Device ID prior to being mapped to an msi-specifier per the msi-map property.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 524287
num-lanes — not listed as required here #
maximum number of lanes
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Default value (default): 1
Maximum value (maximum): 16
linux,pci-domain — not listed as required here #
If present this property assigns a fixed PCI domain number to a PCI Endpoint Controller, otherwise an unstable (across boots) unique number will be assigned. It is required to either not set this property at all or set it for all PCI endpoint controllers in the system, otherwise potentially conflicting domain numbers may be assigned to endpoint controllers. The domain number for each endpoint controller in the system must be unique.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
PLDA XpressRICH PCIe host common properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/plda,xpressrich3-axi-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daire McNamara <daire.mcnamara@microchip.com>", "Kevin Xie <kevin.xie@starfivetech.com>"
Generic PLDA XpressRICH PCIe host common properties.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Properties and child nodes (properties) #
reg — required here #
Maximum number of items (maxItems): 3
Minimum number of items (minItems): 2
reg-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"cfg"Item 2
Exact value (
const):"apb"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"cfg"Item 2
Exact value (
const):"bridge"Item 3
Exact value (
const):"ctrl"
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
PCIe host controller
Item 2
builtin MSI controller
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
Item 2
Exact value (
const):"msi"
msi-controller — required here #
Identifies the node as an MSI controller.
msi-parent — not listed as required here #
MSI controller the device is capable of using.
interrupt-controller — not listed as required here #
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): "reg", "reg-names", "interrupts", "msi-controller", "#interrupt-cells", "interrupt-map-mask", "interrupt-map"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm APQ8064/IPQ8064 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-apq8064.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-apq8064", "qcom,pcie-ipq8064", "qcom,pcie-ipq8064-v2"
reg — not listed as required here #
Maximum number of items (maxItems): 4
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"elbi"
Item 3
Exact value (
const):"parf"
Item 4
Exact value (
const):"config"
clocks — not listed as required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 5
clock-names — not listed as required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
Item 3
Exact value (
const):"phy"
Item 4
Exact value (
const):"aux"
Item 5
Exact value (
const):"ref"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
resets — required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reset-names — required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"ahb"
Item 3
Exact value (
const):"por"
Item 4
Exact value (
const):"pci"
Item 5
Exact value (
const):"phy"
Item 6
Exact value (
const):"ext"
vdda-supply — required here #
A phandle to the core analog power supply
vdda_phy-supply — required here #
A phandle to the core analog power supply for PHY
vdda_refclk-supply — required here #
A phandle to the core analog power supply for IC which generates reference clock
Required in this object (required): "resets", "reset-names", "vdda-supply", "vdda_phy-supply", "vdda_refclk-supply"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereMaximum number of items (
maxItems):3
resets— not listed as required hereMaximum number of items (
maxItems):5
reset-names— not listed as required hereMaximum number of items (
maxItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):5
clock-names— not listed as required hereMinimum number of items (
minItems):5
resets— not listed as required hereMinimum number of items (
minItems):6
reset-names— not listed as required hereMinimum number of items (
minItems):6
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-msm8960.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/qcom,gcc-msm8960.h>
pcie@1b500000 {
compatible = "qcom,pcie-apq8064";
reg = <0x1b500000 0x1000>,
<0x1b502000 0x80>,
<0x1b600000 0x100>,
<0x0ff00000 0x100000>;
reg-names = "dbi", "elbi", "parf", "config";
ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00100000>, /* I/O */
<0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* mem */
device_type = "pci";
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc PCIE_A_CLK>,
<&gcc PCIE_H_CLK>,
<&gcc PCIE_PHY_REF_CLK>;
clock-names = "core", "iface", "phy";
interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
resets = <&gcc PCIE_ACLK_RESET>,
<&gcc PCIE_HCLK_RESET>,
<&gcc PCIE_POR_RESET>,
<&gcc PCIE_PCI_RESET>,
<&gcc PCIE_PHY_RESET>;
reset-names = "axi", "ahb", "por", "pci", "phy";
perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
vdda-supply = <&pm8921_s3>;
vdda_phy-supply = <&pm8921_lvs6>;
vdda_refclk-supply = <&v3p3_fixed>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 37: Clocks the pcie hw block
Line 38: Configuration AHB clock
Qualcomm APQ8084 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-apq8084.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-apq8084"
reg — not listed as required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
reg-names — not listed as required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"config"
Item 5
Exact value (
const):"mhi"
clocks — not listed as required here #
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"master_bus"
Item 3
Exact value (
const):"slave_bus"
Item 4
Exact value (
const):"aux"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
vdda-supply — not listed as required here #
A phandle to the core analog power supply
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.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/gpio/gpio.h>
pcie@fc520000 {
compatible = "qcom,pcie-apq8084";
reg = <0xfc520000 0x2000>,
<0xff000000 0x1000>,
<0xff001000 0x1000>,
<0xff002000 0x2000>;
reg-names = "parf", "dbi", "elbi", "config";
device_type = "pci";
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x81000000 0 0 0xff200000 0 0x00100000>,
<0x82000000 0 0x00300000 0xff300000 0 0x00d00000>;
interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 244 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &intc 0 245 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc 0 247 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc 0 248 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&gcc 324>,
<&gcc 325>,
<&gcc 327>,
<&gcc 323>;
clock-names = "iface", "master_bus", "slave_bus", "aux";
resets = <&gcc 81>;
reset-names = "core";
power-domains = <&gcc 1>;
vdda-supply = <&pma8084_l3>;
phys = <&pciephy0>;
phy-names = "pciephy";
perst-gpios = <&tlmm 70 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&pcie0_pins_default>;
pinctrl-names = "default";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 36: Configuration AHB clock
Line 37: Master AXI clock
Line 38: Slave AXI clock
Qualcomm PCI Express Root Complex Common Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
reg — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 6
reg-names — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 6
interrupts — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 9
iommu-map — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
clocks — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 13
clock-names — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 13
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie-mem"
Item 2
Exact value (
const):"cpu-pcie"
phys — not listed as required here #
Maximum number of items (maxItems): 1
Deprecated (deprecated): true
This property is deprecated, instead of referencing this property from the host bridge node, use the property from the PCIe root port node.
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pciephy"
Deprecated (deprecated): true
Phandle to the register map node. This property is deprecated, and not required to add in the root port also, as the root port has only one phy.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
required-opps — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 12
reset-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 12
perst-gpios — not listed as required here #
GPIO controlled connection to PERST# signal. This property is deprecated, instead of referencing this property from the host bridge node, use the reset-gpios property from the root port node.
Maximum number of items (maxItems): 1
Deprecated (deprecated): true
wake-gpios — not listed as required here #
GPIO controlled connection to WAKE# signal. This property is deprecated, instead of referencing this property from the host bridge node, use the property from the PCIe root port node.
Maximum number of items (maxItems): 1
Deprecated (deprecated): true
vddpe-3v3-supply — not listed as required here #
PCIe endpoint power supply
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
Properties matching a name pattern (patternProperties) #
^pcie@ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/pci/pci-pci-bridge.yaml#
Properties and child nodes (properties) #
reg — not listed as required here
Maximum number of items (maxItems): 1
phys — not listed as required here
Maximum number of items (maxItems): 1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "reg", "reg-names", "interrupt-map-mask", "interrupt-map", "clocks", "clock-names"
At least one of these rules must match (anyOf) #
Rule 1 #
Required in this object (
required):"interrupts","interrupt-names","#interrupt-cells"
Rule 2 #
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm PCIe Endpoint Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,sa8775p-pcie-ep","qcom,sar2130p-pcie-ep","qcom,sdx55-pcie-ep","qcom,sm8450-pcie-ep"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"qcom,sdx65-pcie-ep"Item 2
Exact value (
const):"qcom,sdx55-pcie-ep"
reg — required here #
Minimum number of items (minItems): 6
Array item rules (items) #
Item 1
Qualcomm-specific PARF configuration registers
Item 2
DesignWare PCIe registers
Item 3
External local bus interface registers
Item 4
Address Translation Unit (ATU) registers
Item 5
Memory region used to map remote RC address space
Item 6
BAR memory region
Item 7
DMA register space
reg-names — required here #
Minimum number of items (minItems): 6
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"addr_space"
Item 6
Exact value (
const):"mmio"
Item 7
Exact value (
const):"dma"
clocks — required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 9
clock-names — required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 9
qcom,perst-regs — not listed as required here #
Reference to a syscon representing TCSR followed by the two offsets within syscon for Perst enable and Perst separation enable registers
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Syscon to TCSR system registers
Item 2
Perst enable offset
Item 3
Perst separation enable offset
interrupts — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
PCIe Global interrupt
Item 2
PCIe Doorbell interrupt
Item 3
DMA interrupt
interrupt-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"global"
Item 2
Exact value (
const):"doorbell"
Item 3
Exact value (
const):"dma"
iommus — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — required here #
GPIO used as PERST# input signal
Maximum number of items (maxItems): 1
wake-gpios — not listed as required here #
GPIO used as WAKE# output signal
Maximum number of items (maxItems): 1
interconnects — required here #
Maximum number of items (maxItems): 2
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie-mem"
Item 2
Exact value (
const):"cpu-pcie"
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Exact value (const): "core"
power-domains — required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Exact value (const): "pciephy"
num-lanes — not listed as required here #
Default value (default): 2
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "reset-gpios", "interconnects", "interconnect-names", "resets", "reset-names", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pci-ep.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
PCIe Auxiliary clock
Item 2
PCIe CFG AHB clock
Item 3
PCIe Master AXI clock
Item 4
PCIe Slave AXI clock
Item 5
PCIe Slave Q2A AXI clock
Item 6
PCIe DDRSS SF TBU clock
Item 7
PCIe AGGRE NOC AXI clock
Item 8
PCIe CFG NOC AXI clock
Item 9
PCIe QMIP AHB clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"cfg"Item 3
Exact value (
const):"bus_master"Item 4
Exact value (
const):"bus_slave"Item 5
Exact value (
const):"slave_q2a"Item 6
Exact value (
const):"ddrss_sf_tbu"Item 7
Exact value (
const):"aggre_noc_axi"Item 8
Exact value (
const):"cnoc_sf_axi"Item 9
Exact value (
const):"qmip_pcie_ahb"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
reg-names— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
interrupts— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
interrupt-names— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
iommus— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):7
reg-names— not listed as required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):7
interrupts— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
interrupt-names— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
PCIe Auxiliary clock
Item 2
PCIe CFG AHB clock
Item 3
PCIe Master AXI clock
Item 4
PCIe Slave AXI clock
Item 5
PCIe Slave Q2A AXI clock
Item 6
PCIe Sleep clock
Item 7
PCIe Reference clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"cfg"Item 3
Exact value (
const):"bus_master"Item 4
Exact value (
const):"bus_slave"Item 5
Exact value (
const):"slave_q2a"Item 6
Exact value (
const):"sleep"Item 7
Exact value (
const):"ref"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
PCIe Auxiliary clock
Item 2
PCIe CFG AHB clock
Item 3
PCIe Master AXI clock
Item 4
PCIe Slave AXI clock
Item 5
PCIe Slave Q2A AXI clock
Item 6
PCIe Reference clock
Item 7
PCIe DDRSS SF TBU clock
Item 8
PCIe AGGRE NOC AXI clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"cfg"Item 3
Exact value (
const):"bus_master"Item 4
Exact value (
const):"bus_slave"Item 5
Exact value (
const):"slave_q2a"Item 6
Exact value (
const):"ref"Item 7
Exact value (
const):"ddrss_sf_tbu"Item 8
Exact value (
const):"aggre_noc_axi"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
PCIe Auxiliary clock
Item 2
PCIe CFG AHB clock
Item 3
PCIe Master AXI clock
Item 4
PCIe Slave AXI clock
Item 5
PCIe Slave Q2A AXI clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"cfg"Item 3
Exact value (
const):"bus_master"Item 4
Exact value (
const):"bus_slave"Item 5
Exact value (
const):"slave_q2a"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sdx55.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,sdx55.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie_ep: pcie-ep@1c00000 {
compatible = "qcom,sdx55-pcie-ep";
reg = <0x01c00000 0x3000>,
<0x40000000 0xf1d>,
<0x40000f20 0xc8>,
<0x40001000 0x1000>,
<0x40002000 0x1000>,
<0x01c03000 0x3000>;
reg-names = "parf", "dbi", "elbi", "atu", "addr_space",
"mmio";
clocks = <&gcc GCC_PCIE_AUX_CLK>,
<&gcc GCC_PCIE_CFG_AHB_CLK>,
<&gcc GCC_PCIE_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_SLV_AXI_CLK>,
<&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>,
<&gcc GCC_PCIE_SLEEP_CLK>,
<&gcc GCC_PCIE_0_CLKREF_CLK>;
clock-names = "aux", "cfg", "bus_master", "bus_slave",
"slave_q2a", "sleep", "ref";
qcom,perst-regs = <&tcsr 0xb258 0xb270>;
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "global", "doorbell";
interconnects = <&system_noc MASTER_PCIE &mc_virt SLAVE_EBI_CH0>,
<&mem_noc MASTER_AMPSS_M0 &system_noc SLAVE_PCIE_0>;
interconnect-names = "pcie-mem", "cpu-pcie";
reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>;
resets = <&gcc GCC_PCIE_BCR>;
reset-names = "core";
power-domains = <&gcc PCIE_GDSC>;
phys = <&pcie0_lane>;
phy-names = "pciephy";
max-link-speed = <3>;
num-lanes = <2>;
linux,pci-domain = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm IPQ4019 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-ipq4019.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-ipq4019"
reg — not listed as required here #
Maximum number of items (maxItems): 4
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"elbi"
Item 3
Exact value (
const):"parf"
Item 4
Exact value (
const):"config"
clocks — not listed as required here #
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"master_bus"
Item 3
Exact value (
const):"slave_bus"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
resets — required here #
Maximum number of items (maxItems): 12
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi_m"
Item 2
Exact value (
const):"axi_s"
Item 3
Exact value (
const):"pipe"
Item 4
Exact value (
const):"axi_m_vmid"
Item 5
Exact value (
const):"axi_s_xpu"
Item 6
Exact value (
const):"parf"
Item 7
Exact value (
const):"phy"
Item 8
Exact value (
const):"axi_m_sticky"
Item 9
Exact value (
const):"pipe_sticky"
Item 10
Exact value (
const):"pwr"
Item 11
Exact value (
const):"ahb"
Item 12
Exact value (
const):"phy_ahb"
Required in this object (required): "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-ipq4019.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie@40000000 {
compatible = "qcom,pcie-ipq4019";
reg = <0x40000000 0xf1d>,
<0x40000f20 0xa8>,
<0x80000 0x2000>,
<0x40100000 0x1000>;
reg-names = "dbi", "elbi", "parf", "config";
ranges = <0x81000000 0x0 0x00000000 0x40200000 0x0 0x00100000>,
<0x82000000 0x0 0x40300000 0x40300000 0x0 0x00d00000>;
device_type = "pci";
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE_AHB_CLK>,
<&gcc GCC_PCIE_AXI_M_CLK>,
<&gcc GCC_PCIE_AXI_S_CLK>;
clock-names = "aux",
"master_bus",
"slave_bus";
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
resets = <&gcc PCIE_AXI_M_ARES>,
<&gcc PCIE_AXI_S_ARES>,
<&gcc PCIE_PIPE_ARES>,
<&gcc PCIE_AXI_M_VMIDMT_ARES>,
<&gcc PCIE_AXI_S_XPU_ARES>,
<&gcc PCIE_PARF_XPU_ARES>,
<&gcc PCIE_PHY_ARES>,
<&gcc PCIE_AXI_M_STICKY_ARES>,
<&gcc PCIE_PIPE_STICKY_ARES>,
<&gcc PCIE_PWR_ARES>,
<&gcc PCIE_AHB_ARES>,
<&gcc PCIE_PHY_AHB_ARES>;
reset-names = "axi_m",
"axi_s",
"pipe",
"axi_m_vmid",
"axi_s_xpu",
"parf",
"phy",
"axi_m_sticky",
"pipe_sticky",
"pwr",
"ahb",
"phy_ahb";
perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 34: Master AXI clock
Line 35: Slave AXI clock
Line 49: AXI master reset
Line 50: AXI slave reset
Line 56: AXI master sticky reset
Qualcomm IPQ5018 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-ipq5018.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-ipq5018"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"elbi"
Item 3
Exact value (
const):"atu"
Item 4
Exact value (
const):"parf"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Maximum number of items (maxItems): 6
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"axi_m"
Item 3
Exact value (
const):"axi_s"
Item 4
Exact value (
const):"ahb"
Item 5
Exact value (
const):"aux"
Item 6
Exact value (
const):"axi_bridge"
interrupts — not listed as required here #
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 8
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"sleep"
Item 3
Exact value (
const):"sticky"
Item 4
Exact value (
const):"axi_m"
Item 5
Exact value (
const):"axi_s"
Item 6
Exact value (
const):"ahb"
Item 7
Exact value (
const):"axi_m_sticky"
Item 8
Exact value (
const):"axi_s_sticky"
Required in this object (required): "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-ipq5018.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/qcom,gcc-ipq5018.h>
pcie@a0000000 {
compatible = "qcom,pcie-ipq5018";
reg = <0xa0000000 0xf1d>,
<0xa0000f20 0xa8>,
<0xa0001000 0x1000>,
<0x00080000 0x3000>,
<0xa0100000 0x1000>,
<0x00083000 0x1000>;
reg-names = "dbi",
"elbi",
"atu",
"parf",
"config",
"mhi";
ranges = <0x01000000 0 0x00000000 0xa0200000 0 0x00100000>,
<0x02000000 0 0xa0300000 0xa0300000 0 0x10000000>;
device_type = "pci";
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
num-lanes = <2>;
#address-cells = <3>;
#size-cells = <2>;
/* The controller supports Gen3, but the connected PHY is Gen2-capable */
max-link-speed = <2>;
clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
<&gcc GCC_PCIE0_AXI_M_CLK>,
<&gcc GCC_PCIE0_AXI_S_CLK>,
<&gcc GCC_PCIE0_AHB_CLK>,
<&gcc GCC_PCIE0_AUX_CLK>,
<&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>;
clock-names = "iface",
"axi_m",
"axi_s",
"ahb",
"aux",
"axi_bridge";
msi-map = <0x0 &v2m0 0x0 0xff8>;
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0",
"msi1",
"msi2",
"msi3",
"msi4",
"msi5",
"msi6",
"msi7",
"global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &intc 0 GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc 0 GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc 0 GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
phys = <&pcie0_phy>;
phy-names = "pciephy";
resets = <&gcc GCC_PCIE0_PIPE_ARES>,
<&gcc GCC_PCIE0_SLEEP_ARES>,
<&gcc GCC_PCIE0_CORE_STICKY_ARES>,
<&gcc GCC_PCIE0_AXI_MASTER_ARES>,
<&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
<&gcc GCC_PCIE0_AHB_ARES>,
<&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
<&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
reset-names = "pipe",
"sleep",
"sticky",
"axi_m",
"axi_s",
"ahb",
"axi_m_sticky",
"axi_s_sticky";
perst-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 16 GPIO_ACTIVE_LOW>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 37: PCIe to SysNOC BIU clock
Line 38: AXI Master clock
Line 39: AXI Slave clock
Line 66: Core sticky reset
Line 67: AXI master reset
Line 68: AXI slave reset
Line 70: AXI master sticky reset
Line 71: AXI slave sticky reset
Qualcomm IPQ6018 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-ipq6018.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-ipq6018", "qcom,pcie-ipq8074-gen3"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"elbi"
Item 3
Exact value (
const):"atu"
Item 4
Exact value (
const):"parf"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Maximum number of items (maxItems): 5
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"axi_m"
Item 3
Exact value (
const):"axi_s"
Item 4
Exact value (
const):"axi_bridge"
Item 5
Exact value (
const):"rchng"
interrupts — not listed as required here #
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 8
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"sleep"
Item 3
Exact value (
const):"sticky"
Item 4
Exact value (
const):"axi_m"
Item 5
Exact value (
const):"axi_s"
Item 6
Exact value (
const):"ahb"
Item 7
Exact value (
const):"axi_m_sticky"
Item 8
Exact value (
const):"axi_s_sticky"
Required in this object (required): "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-ipq6018.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/qcom,gcc-ipq6018.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@20000000 {
compatible = "qcom,pcie-ipq6018";
reg = <0x0 0x20000000 0x0 0xf1d>,
<0x0 0x20000f20 0x0 0xa8>,
<0x0 0x20001000 0x0 0x1000>,
<0x0 0x80000 0x0 0x4000>,
<0x0 0x20100000 0x0 0x1000>;
reg-names = "dbi", "elbi", "atu", "parf", "config";
ranges = <0x81000000 0x0 0x00000000 0x0 0x20200000 0x0 0x10000>,
<0x82000000 0x0 0x20220000 0x0 0x20220000 0x0 0xfde0000>;
device_type = "pci";
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
num-lanes = <1>;
max-link-speed = <3>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
<&gcc GCC_PCIE0_AXI_M_CLK>,
<&gcc GCC_PCIE0_AXI_S_CLK>,
<&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
<&gcc PCIE0_RCHNG_CLK>;
clock-names = "iface",
"axi_m",
"axi_s",
"axi_bridge",
"rchng";
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0",
"msi1",
"msi2",
"msi3",
"msi4",
"msi5",
"msi6",
"msi7",
"global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 0 GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc 0 0 GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc 0 0 GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc 0 0 GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
phys = <&pcie_phy>;
phy-names = "pciephy";
resets = <&gcc GCC_PCIE0_PIPE_ARES>,
<&gcc GCC_PCIE0_SLEEP_ARES>,
<&gcc GCC_PCIE0_CORE_STICKY_ARES>,
<&gcc GCC_PCIE0_AXI_MASTER_ARES>,
<&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
<&gcc GCC_PCIE0_AHB_ARES>,
<&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
<&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
reset-names = "pipe",
"sleep",
"sticky",
"axi_m",
"axi_s",
"ahb",
"axi_m_sticky",
"axi_s_sticky";
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 38: PCIe to SysNOC BIU clock
Line 39: AXI Master clock
Line 40: AXI Slave clock
Line 66: Core sticky reset
Line 67: AXI master reset
Line 68: AXI slave reset
Line 70: AXI master sticky reset
Line 71: AXI slave sticky reset
Qualcomm IPQ8074 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-ipq8074.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-ipq8074"
reg — not listed as required here #
Maximum number of items (maxItems): 4
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"elbi"
Item 3
Exact value (
const):"parf"
Item 4
Exact value (
const):"config"
clocks — not listed as required here #
Maximum number of items (maxItems): 5
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"axi_m"
Item 3
Exact value (
const):"axi_s"
Item 4
Exact value (
const):"ahb"
Item 5
Exact value (
const):"aux"
interrupts — not listed as required here #
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 7
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"sleep"
Item 3
Exact value (
const):"sticky"
Item 4
Exact value (
const):"axi_m"
Item 5
Exact value (
const):"axi_s"
Item 6
Exact value (
const):"ahb"
Item 7
Exact value (
const):"axi_m_sticky"
Required in this object (required): "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-ipq8074.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie@10000000 {
compatible = "qcom,pcie-ipq8074";
reg = <0x10000000 0xf1d>,
<0x10000f20 0xa8>,
<0x00088000 0x2000>,
<0x10100000 0x1000>;
reg-names = "dbi", "elbi", "parf", "config";
ranges = <0x81000000 0x0 0x00000000 0x10200000 0x0 0x10000>, /* I/O */
<0x82000000 0x0 0x10220000 0x10220000 0x0 0xfde0000>; /* MEM */
device_type = "pci";
linux,pci-domain = <1>;
bus-range = <0x00 0xff>;
num-lanes = <1>;
max-link-speed = <2>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_SYS_NOC_PCIE1_AXI_CLK>,
<&gcc GCC_PCIE1_AXI_M_CLK>,
<&gcc GCC_PCIE1_AXI_S_CLK>,
<&gcc GCC_PCIE1_AHB_CLK>,
<&gcc GCC_PCIE1_AUX_CLK>;
clock-names = "iface",
"axi_m",
"axi_s",
"ahb",
"aux";
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0",
"msi1",
"msi2",
"msi3",
"msi4",
"msi5",
"msi6",
"msi7",
"global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc 0 GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc 0 GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc 0 GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
phys = <&pcie_qmp1>;
phy-names = "pciephy";
resets = <&gcc GCC_PCIE1_PIPE_ARES>,
<&gcc GCC_PCIE1_SLEEP_ARES>,
<&gcc GCC_PCIE1_CORE_STICKY_ARES>,
<&gcc GCC_PCIE1_AXI_MASTER_ARES>,
<&gcc GCC_PCIE1_AXI_SLAVE_ARES>,
<&gcc GCC_PCIE1_AHB_ARES>,
<&gcc GCC_PCIE1_AXI_MASTER_STICKY_ARES>;
reset-names = "pipe",
"sleep",
"sticky",
"axi_m",
"axi_s",
"ahb",
"axi_m_sticky";
perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 33: PCIe to SysNOC BIU clock
Line 34: AXI Master clock
Line 35: AXI Slave clock
Line 61: Core sticky reset
Line 62: AXI master reset
Line 63: AXI slave reset
Line 65: AXI master sticky reset
Qualcomm IPQ9574 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-ipq9574.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,pcie-ipq5332","qcom,pcie-ipq5424"Item 2
Exact value (
const):"qcom,pcie-ipq9574"
reg — not listed as required here #
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"elbi"
Item 3
Exact value (
const):"atu"
Item 4
Exact value (
const):"parf"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Maximum number of items (maxItems): 6
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi_m"
Item 2
Exact value (
const):"axi_s"
Item 3
Exact value (
const):"axi_bridge"
Item 4
Exact value (
const):"rchng"
Item 5
Exact value (
const):"ahb"
Item 6
Exact value (
const):"aux"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 8
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"sticky"
Item 3
Exact value (
const):"axi_s_sticky"
Item 4
Exact value (
const):"axi_s"
Item 5
Exact value (
const):"axi_m_sticky"
Item 6
Exact value (
const):"axi_m"
Item 7
Exact value (
const):"aux"
Item 8
Exact value (
const):"ahb"
Required in this object (required): "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,ipq9574-gcc.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,ipq9574.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/qcom,ipq9574-gcc.h>
pcie@10000000 {
compatible = "qcom,pcie-ipq9574";
reg = <0x10000000 0xf1d>,
<0x10000f20 0xa8>,
<0x10001000 0x1000>,
<0x000f8000 0x4000>,
<0x10100000 0x1000>,
<0x000fe000 0x1000>;
reg-names = "dbi",
"elbi",
"atu",
"parf",
"config",
"mhi";
ranges = <0x01000000 0x0 0x00000000 0x10200000 0x0 0x100000>,
<0x02000000 0x0 0x10300000 0x10300000 0x0 0x7d00000>;
device_type = "pci";
linux,pci-domain = <1>;
bus-range = <0x00 0xff>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE1_AXI_M_CLK>,
<&gcc GCC_PCIE1_AXI_S_CLK>,
<&gcc GCC_PCIE1_AXI_S_BRIDGE_CLK>,
<&gcc GCC_PCIE1_RCHNG_CLK>,
<&gcc GCC_PCIE1_AHB_CLK>,
<&gcc GCC_PCIE1_AUX_CLK>;
clock-names = "axi_m",
"axi_s",
"axi_bridge",
"rchng",
"ahb",
"aux";
interconnects = <&gcc MASTER_ANOC_PCIE1 &gcc SLAVE_ANOC_PCIE1>,
<&gcc MASTER_SNOC_PCIE1 &gcc SLAVE_SNOC_PCIE1>;
interconnect-names = "pcie-mem", "cpu-pcie";
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0",
"msi1",
"msi2",
"msi3",
"msi4",
"msi5",
"msi6",
"msi7";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &intc 0 GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc 0 GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc 0 GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
resets = <&gcc GCC_PCIE1_PIPE_ARES>,
<&gcc GCC_PCIE1_CORE_STICKY_ARES>,
<&gcc GCC_PCIE1_AXI_S_STICKY_ARES>,
<&gcc GCC_PCIE1_AXI_S_ARES>,
<&gcc GCC_PCIE1_AXI_M_STICKY_ARES>,
<&gcc GCC_PCIE1_AXI_M_ARES>,
<&gcc GCC_PCIE1_AUX_ARES>,
<&gcc GCC_PCIE1_AHB_ARES>;
reset-names = "pipe",
"sticky",
"axi_s_sticky",
"axi_s",
"axi_m_sticky",
"axi_m",
"aux",
"ahb";
phys = <&pcie1_phy>;
phy-names = "pciephy";
perst-gpios = <&tlmm 26 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 27 GPIO_ACTIVE_LOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 41: AXI Master clock
Line 42: AXI Slave clock
Line 71: Core sticky reset
Line 72: AXI Slave Sticky reset
Line 73: AXI slave reset
Line 74: AXI Master Sticky reset
Line 75: AXI master reset
Qualcomm MSM8996 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-msm8996.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"qcom,pcie-msm8998"Item 2
Exact value (
const):"qcom,pcie-msm8996"
reg — not listed as required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
reg-names — not listed as required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"config"
Item 5
Exact value (
const):"mhi"
clocks — not listed as required here #
Maximum number of items (maxItems): 5
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"aux"
Item 3
Exact value (
const):"cfg"
Item 4
Exact value (
const):"bus_master"
Item 5
Exact value (
const):"bus_slave"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
vdda-supply — not listed as required here #
A phandle to the core analog power supply
vddpe-3v3-supply — not listed as required here #
A phandle to the PCIe endpoint power supply
Required in this object (required): "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-msm8996.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie@600000 {
compatible = "qcom,pcie-msm8996";
reg = <0x00600000 0x2000>,
<0x0c000000 0xf1d>,
<0x0c000f20 0xa8>,
<0x0c100000 0x100000>;
reg-names = "parf", "dbi", "elbi", "config";
ranges = <0x01000000 0x0 0x00000000 0x0c200000 0x0 0x100000>,
<0x02000000 0x0 0x0c300000 0x0c300000 0x0 0xd00000>;
device_type = "pci";
bus-range = <0x00 0xff>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
linux,pci-domain = <0>;
clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
<&gcc GCC_PCIE_0_AUX_CLK>,
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_AXI_CLK>;
clock-names = "pipe",
"aux",
"cfg",
"bus_master",
"bus_slave";
interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0",
"msi1",
"msi2",
"msi3",
"msi4",
"msi5",
"msi6",
"msi7";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pcie0_state_on>;
pinctrl-1 = <&pcie0_state_off>;
phys = <&pciephy_0>;
phy-names = "pciephy";
power-domains = <&gcc PCIE0_GDSC>;
perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
vddpe-3v3-supply = <&wlan_en>;
vdda-supply = <&vreg_l28a_0p925>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 40: Pipe Clock driving internal logic
Line 43: Master AXI clock
Line 44: Slave AXI clock
Qualcomm QCS404 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-qcs404.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-qcs404"
reg — not listed as required here #
Maximum number of items (maxItems): 4
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"elbi"
Item 3
Exact value (
const):"parf"
Item 4
Exact value (
const):"config"
clocks — not listed as required here #
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"aux"
Item 3
Exact value (
const):"master_bus"
Item 4
Exact value (
const):"slave_bus"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
resets — required here #
Maximum number of items (maxItems): 6
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi_m"
Item 2
Exact value (
const):"axi_s"
Item 3
Exact value (
const):"axi_m_sticky"
Item 4
Exact value (
const):"pipe_sticky"
Item 5
Exact value (
const):"pwr"
Item 6
Exact value (
const):"ahb"
Required in this object (required): "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-qcs404.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie@10000000 {
compatible = "qcom,pcie-qcs404";
reg = <0x10000000 0xf1d>,
<0x10000f20 0xa8>,
<0x07780000 0x2000>,
<0x10001000 0x2000>;
reg-names = "dbi", "elbi", "parf", "config";
ranges = <0x81000000 0x0 0x00000000 0x10003000 0x0 0x00010000>, /* I/O */
<0x82000000 0x0 0x10013000 0x10013000 0x0 0x007ed000>; /* memory */
device_type = "pci";
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_0_AUX_CLK>,
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_AXI_CLK>;
clock-names = "iface", "aux", "master_bus", "slave_bus";
interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
phys = <&pcie_phy>;
phy-names = "pciephy";
perst-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
resets = <&gcc GCC_PCIE_0_AXI_MASTER_ARES>,
<&gcc GCC_PCIE_0_AXI_SLAVE_ARES>,
<&gcc GCC_PCIE_0_AXI_MASTER_STICKY_ARES>,
<&gcc GCC_PCIE_0_CORE_STICKY_ARES>,
<&gcc GCC_PCIE_0_BCR>,
<&gcc GCC_PCIE_0_AHB_ARES>;
reset-names = "axi_m",
"axi_s",
"axi_m_sticky",
"pipe_sticky",
"pwr",
"ahb";
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 33: AHB clock
Line 35: AXI Master clock
Line 36: AXI Slave clock
Line 50: AXI Master reset
Line 51: AXI Slave reset
Line 52: AXI Master Sticky reset
Qualcomm SA8255p based firmware managed and ECAM compliant PCIe Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sa8255p.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm SA8255p SoC PCIe root complex controller is based on the Synopsys DesignWare PCIe IP which is managed by firmware, and configured in ECAM mode.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,pcie-sa8255p"
reg — required here #
The base address and size of the ECAM area for accessing PCI Configuration Space, as accessed from the parent bus. The base address corresponds to the first bus in the "bus-range" property. If no "bus-range" is specified, this will be bus 0 (the default).
Maximum number of items (maxItems): 1
ranges — required here #
As described in IEEE Std 1275-1994, but must provide at least a definition of non-prefetchable memory. One or both of prefetchable Memory may also be provided.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupts — required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 8
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
power-domains — required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
iommu-map — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "ranges", "power-domains", "interrupts", "interrupt-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pci@1c00000 {
compatible = "qcom,pcie-sa8255p";
reg = <0x4 0x00000000 0 0x10000000>;
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x02000000 0x0 0x40100000 0x0 0x40100000 0x0 0x1ff00000>,
<0x43000000 0x4 0x10100000 0x4 0x10100000 0x0 0x40000000>;
bus-range = <0x00 0xff>;
dma-coherent;
linux,pci-domain = <0>;
power-domains = <&scmi5_pd 0>;
iommu-map = <0x0 &pcie_smmu 0x0000 0x1>,
<0x100 &pcie_smmu 0x0001 0x1>;
interrupt-parent = <&intc>;
interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0", "msi1", "msi2", "msi3",
"msi4", "msi5", "msi6", "msi7";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &intc GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm SA8775p PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sa8775p.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm SA8775p SoC PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"qcom,pcie-sa8775p"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,pcie-sa8775p"
reg — not listed as required here #
Minimum number of items (minItems): 6
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 5
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"cfg"
Item 3
Exact value (
const):"bus_master"
Item 4
Exact value (
const):"bus_slave"
Item 5
Exact value (
const):"slave_q2a"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Array item rules (items) #
Item 1
PCIe controller reset
Item 2
PCIe link down reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Item 2
Exact value (
const):"link_down"
Required in this object (required): "interconnects", "interconnect-names", "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c00000 {
compatible = "qcom,pcie-sa8775p";
reg = <0x0 0x01c00000 0x0 0x3000>,
<0x0 0x40000000 0x0 0xf20>,
<0x0 0x40000f20 0x0 0xa8>,
<0x0 0x40001000 0x0 0x4000>,
<0x0 0x40100000 0x0 0x100000>,
<0x0 0x01c03000 0x0 0x1000>;
reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
<0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
bus-range = <0x00 0xff>;
device_type = "pci";
linux,pci-domain = <0>;
num-lanes = <2>;
#address-cells = <3>;
#size-cells = <2>;
assigned-clocks = <&gcc GCC_PCIE_0_AUX_CLK>;
assigned-clock-rates = <19200000>;
clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>;
clock-names = "aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a";
dma-coherent;
interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0",
"msi1",
"msi2",
"msi3",
"msi4",
"msi5",
"msi6",
"msi7",
"global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc GIC_SPI 434 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &intc GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH>;
interconnects = <&pcie_anoc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>,
<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>;
interconnect-names = "pcie-mem", "cpu-pcie";
iommu-map = <0x0 &pcie_smmu 0x0000 0x1>,
<0x100 &pcie_smmu 0x0001 0x1>;
phys = <&pcie0_phy>;
phy-names = "pciephy";
power-domains = <&gcc PCIE_0_GDSC>;
resets = <&gcc GCC_PCIE_0_BCR>,
<&gcc GCC_PCIE_0_LINK_DOWN_BCR>;
reset-names = "pci",
"link_down";
perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 32: Qualcomm specific registers
Line 33: DesignWare PCIe registers
Line 34: External local bus interface registers
Line 35: ATU address space
Line 36: PCIe configuration space
Line 37: MHI registers
Line 45: Auxiliary clock
Line 46: Configuration clock
Line 47: Master AXI clock
Line 48: Slave AXI clock
Line 49: Slave Q2A clock
Qualcomm SC7280 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sc7280.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm SC7280 SoC PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "qcom,pcie-sc7280"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 13
Maximum number of items (maxItems): 13
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"pipe_mux"
Item 3
Exact value (
const):"phy_pipe"
Item 4
Exact value (
const):"ref"
Item 5
Exact value (
const):"aux"
Item 6
Exact value (
const):"cfg"
Item 7
Exact value (
const):"bus_master"
Item 8
Exact value (
const):"bus_slave"
Item 9
Exact value (
const):"slave_q2a"
Item 10
Exact value (
const):"tbu"
Item 11
Exact value (
const):"ddrss_sf_tbu"
Item 12
Exact value (
const):"aggre0"
Item 13
Exact value (
const):"aggre1"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c08000 {
compatible = "qcom,pcie-sc7280";
reg = <0 0x01c08000 0 0x3000>,
<0 0x40000000 0 0xf1d>,
<0 0x40000f20 0 0xa8>,
<0 0x40001000 0 0x1000>,
<0 0x40100000 0 0x100000>;
reg-names = "parf", "dbi", "elbi", "atu", "config";
ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
<0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
bus-range = <0x00 0xff>;
device_type = "pci";
linux,pci-domain = <1>;
num-lanes = <2>;
#address-cells = <3>;
#size-cells = <2>;
assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
assigned-clock-rates = <19200000>;
clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
<&gcc GCC_PCIE_1_PIPE_CLK_SRC>,
<&pcie1_phy>,
<&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_PCIE_1_AUX_CLK>,
<&gcc GCC_PCIE_1_CFG_AHB_CLK>,
<&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_1_SLV_AXI_CLK>,
<&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>,
<&gcc GCC_DDRSS_PCIE_SF_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_CENTER_SF_AXI_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>;
clock-names = "pipe",
"pipe_mux",
"phy_pipe",
"ref",
"aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a",
"tbu",
"ddrss_sf_tbu",
"aggre0",
"aggre1";
dma-coherent;
interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0", "msi1", "msi2", "msi3",
"msi4", "msi5", "msi6", "msi7", "global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 0 0 434 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &intc 0 0 0 435 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc 0 0 0 438 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc 0 0 0 439 IRQ_TYPE_LEVEL_HIGH>;
iommu-map = <0x0 &apps_smmu 0x1c80 0x1>,
<0x100 &apps_smmu 0x1c81 0x1>;
pinctrl-names = "default";
pinctrl-0 = <&pcie1_clkreq_n>;
power-domains = <&gcc GCC_PCIE_1_GDSC>;
resets = <&gcc GCC_PCIE_1_BCR>;
reset-names = "pci";
vddpe-3v3-supply = <&pp3300_ssd>;
pcie1_port0: pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
phys = <&pcie1_phy>;
reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 28: Qualcomm specific registers
Line 29: DesignWare PCIe registers
Line 30: External local bus interface registers
Line 31: ATU address space
Line 32: PCIe configuration space
Line 33: MHI registers
Line 41: PIPE clock
Line 42: PIPE MUX
Line 43: PIPE output clock
Line 44: REFERENCE clock
Line 45: Auxiliary clock
Line 46: Configuration clock
Line 47: Master AXI clock
Line 48: Slave AXI clock
Line 49: Slave Q2A clock
Line 50: PCIe TBU clock
Line 51: PCIe SF TBU clock
Line 52: Aggre NoC PCIe CENTER SF AXI clock
Line 53: Aggre NoC PCIe1 AXI clock
Qualcomm SC8280XP PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sc8280xp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm SC8280XP SoC PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-sa8540p", "qcom,pcie-sc8280xp"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
clock-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"cfg"
Item 3
Exact value (
const):"bus_master"
Item 4
Exact value (
const):"bus_slave"
Item 5
Exact value (
const):"slave_q2a"
Item 6
Exact value (
const):"ddrss_sf_tbu"
Item 7
Exact value (
const):"noc_aggr_4"
Item 8
Exact value (
const):"noc_aggr_south_sf"
Item 9
Exact value (
const):"cnoc_qx"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Required in this object (required): "interconnects", "interconnect-names", "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"msi0"Item 2
Exact value (
const):"msi1"Item 3
Exact value (
const):"msi2"Item 4
Exact value (
const):"msi3"When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"msi"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,sc8280xp.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c20000 {
compatible = "qcom,pcie-sc8280xp";
reg = <0x0 0x01c20000 0x0 0x3000>,
<0x0 0x3c000000 0x0 0xf1d>,
<0x0 0x3c000f20 0x0 0xa8>,
<0x0 0x3c001000 0x0 0x1000>,
<0x0 0x3c100000 0x0 0x100000>,
<0x0 0x01c23000 0x0 0x1000>;
reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
ranges = <0x01000000 0x0 0x00000000 0x0 0x3c200000 0x0 0x100000>,
<0x02000000 0x0 0x3c300000 0x0 0x3c300000 0x0 0x1d00000>;
bus-range = <0x00 0xff>;
device_type = "pci";
linux,pci-domain = <2>;
num-lanes = <4>;
#address-cells = <3>;
#size-cells = <2>;
assigned-clocks = <&gcc GCC_PCIE_2A_AUX_CLK>;
assigned-clock-rates = <19200000>;
clocks = <&gcc GCC_PCIE_2A_AUX_CLK>,
<&gcc GCC_PCIE_2A_CFG_AHB_CLK>,
<&gcc GCC_PCIE_2A_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_2A_SLV_AXI_CLK>,
<&gcc GCC_PCIE_2A_SLV_Q2A_AXI_CLK>,
<&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_4_AXI_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_SOUTH_SF_AXI_CLK>;
clock-names = "aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a",
"ddrss_sf_tbu",
"noc_aggr_4",
"noc_aggr_south_sf";
dma-coherent;
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 523 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 524 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 525 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0", "msi1", "msi2", "msi3";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 0 GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &intc 0 0 GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc 0 0 GIC_SPI 532 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc 0 0 GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH>;
interconnects = <&aggre2_noc MASTER_PCIE_2A 0 &mc_virt SLAVE_EBI1 0>,
<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_2A 0>;
interconnect-names = "pcie-mem", "cpu-pcie";
phys = <&pcie2a_phy>;
phy-names = "pciephy";
pinctrl-0 = <&pcie2a_default>;
pinctrl-names = "default";
power-domains = <&gcc PCIE_2A_GDSC>;
resets = <&gcc GCC_PCIE_2A_BCR>;
reset-names = "pci";
perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
vddpe-3v3-supply = <&vreg_nvme>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 30: Qualcomm specific registers
Line 31: DesignWare PCIe registers
Line 32: External local bus interface registers
Line 33: ATU address space
Line 34: PCIe configuration space
Line 35: MHI registers
Line 44: Auxiliary clock
Line 45: Configuration clock
Line 46: Master AXI clock
Line 47: Slave AXI clock
Line 48: Slave Q2A clock
Line 49: PCIe SF TBU clock
Line 50: NoC aggregate 4 clock
Line 51: NoC aggregate South SF clock
Line 52: Configuration NoC QX clock
Qualcomm SDM845 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sdm845.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-sdm845"
reg — not listed as required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
reg-names — not listed as required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"config"
Item 5
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 7
Maximum number of items (maxItems): 8
clock-names — not listed as required here #
Minimum number of items (minItems): 7
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"aux"
Item 3
Exact value (
const):"cfg"
Item 4
Exact value (
const):"bus_master"
Item 5
Exact value (
const):"bus_slave"
Item 6
Exact value (
const):"slave_q2a"
Item 7
Item 8
Exact value (
const):"tbu"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c00000 {
compatible = "qcom,pcie-sdm845";
reg = <0x0 0x01c00000 0x0 0x2000>,
<0x0 0x60000000 0x0 0xf1d>,
<0x0 0x60000f20 0x0 0xa8>,
<0x0 0x60100000 0x0 0x100000>,
<0x0 0x01c07000 0x0 0x1000>;
reg-names = "parf", "dbi", "elbi", "config", "mhi";
ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
<0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0xd00000>;
device_type = "pci";
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
<&gcc GCC_PCIE_0_AUX_CLK>,
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
clock-names = "pipe",
"aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a",
"tbu";
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0",
"msi1",
"msi2",
"msi3",
"msi4",
"msi5",
"msi6",
"msi7",
"global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 0 GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc 0 0 GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc 0 0 GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc 0 0 GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
iommu-map = <0x0 &apps_smmu 0x1c10 0x1>,
<0x100 &apps_smmu 0x1c11 0x1>,
<0x200 &apps_smmu 0x1c12 0x1>,
<0x300 &apps_smmu 0x1c13 0x1>,
<0x400 &apps_smmu 0x1c14 0x1>,
<0x500 &apps_smmu 0x1c15 0x1>,
<0x600 &apps_smmu 0x1c16 0x1>,
<0x700 &apps_smmu 0x1c17 0x1>,
<0x800 &apps_smmu 0x1c18 0x1>,
<0x900 &apps_smmu 0x1c19 0x1>,
<0xa00 &apps_smmu 0x1c1a 0x1>,
<0xb00 &apps_smmu 0x1c1b 0x1>,
<0xc00 &apps_smmu 0x1c1c 0x1>,
<0xd00 &apps_smmu 0x1c1d 0x1>,
<0xe00 &apps_smmu 0x1c1e 0x1>,
<0xf00 &apps_smmu 0x1c1f 0x1>;
power-domains = <&gcc PCIE_0_GDSC>;
phys = <&pcie0_phy>;
phy-names = "pciephy";
resets = <&gcc GCC_PCIE_0_BCR>;
reset-names = "pci";
perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 134 GPIO_ACTIVE_HIGH>;
vddpe-3v3-supply = <&pcie0_3p3v_dual>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 41: Master AXI clock
Line 42: Slave AXI clock
Qualcomm SDX55 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sdx55.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-sdx55"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Maximum number of items (maxItems): 7
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"aux"
Item 3
Exact value (
const):"cfg"
Item 4
Exact value (
const):"bus_master"
Item 5
Exact value (
const):"bus_slave"
Item 6
Exact value (
const):"slave_q2a"
Item 7
Exact value (
const):"sleep"
interrupts — not listed as required here #
Maximum number of items (maxItems): 8
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
Item 2
Exact value (
const):"msi2"
Item 3
Exact value (
const):"msi3"
Item 4
Exact value (
const):"msi4"
Item 5
Exact value (
const):"msi5"
Item 6
Exact value (
const):"msi6"
Item 7
Exact value (
const):"msi7"
Item 8
Exact value (
const):"msi8"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sdx55.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pcie@1c00000 {
compatible = "qcom,pcie-sdx55";
reg = <0x01c00000 0x3000>,
<0x40000000 0xf1d>,
<0x40000f20 0xc8>,
<0x40001000 0x1000>,
<0x40100000 0x100000>;
reg-names = "parf",
"dbi",
"elbi",
"atu",
"config";
ranges = <0x01000000 0x0 0x00000000 0x40200000 0x0 0x100000>,
<0x02000000 0x0 0x40300000 0x40300000 0x0 0x3fd00000>;
device_type = "pci";
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi",
"msi2",
"msi3",
"msi4",
"msi5",
"msi6",
"msi7",
"msi8";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
clocks = <&gcc GCC_PCIE_PIPE_CLK>,
<&gcc GCC_PCIE_AUX_CLK>,
<&gcc GCC_PCIE_CFG_AHB_CLK>,
<&gcc GCC_PCIE_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_SLV_AXI_CLK>,
<&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>,
<&gcc GCC_PCIE_SLEEP_CLK>;
clock-names = "pipe",
"aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a",
"sleep";
assigned-clocks = <&gcc GCC_PCIE_AUX_CLK>;
assigned-clock-rates = <19200000>;
iommu-map = <0x0 &apps_smmu 0x0200 0x1>,
<0x100 &apps_smmu 0x0201 0x1>,
<0x200 &apps_smmu 0x0202 0x1>,
<0x300 &apps_smmu 0x0203 0x1>,
<0x400 &apps_smmu 0x0204 0x1>;
power-domains = <&gcc PCIE_GDSC>;
phys = <&pcie_phy>;
phy-names = "pciephy";
resets = <&gcc GCC_PCIE_BCR>;
reset-names = "pci";
perst-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 53 GPIO_ACTIVE_HIGH>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 40: Master AXI clock
Line 41: Slave AXI clock
Qualcomm SM8150 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sm8150.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm SM8150 SoC PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"qcom,pcie-sc8180x"
Rule 2
Exact value (
const):"qcom,pcie-sm8150"
Rule 3
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,pcie-sm8150"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 6
Maximum number of items (maxItems): 6
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"aux"
Item 3
Exact value (
const):"cfg"
Item 4
Exact value (
const):"bus_master"
Item 5
Exact value (
const):"bus_slave"
Item 6
Exact value (
const):"slave_q2a"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,sm8150.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c00000 {
compatible = "qcom,pcie-sm8150";
reg = <0 0x01c00000 0 0x3000>,
<0 0x60000000 0 0xf1d>,
<0 0x60000f20 0 0xa8>,
<0 0x60001000 0 0x1000>,
<0 0x60100000 0 0x100000>;
reg-names = "parf", "dbi", "elbi", "atu", "config";
ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
<0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
bus-range = <0x00 0xff>;
device_type = "pci";
linux,pci-domain = <0>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
<&gcc GCC_PCIE_0_AUX_CLK>,
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>;
clock-names = "pipe",
"aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a";
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0", "msi1", "msi2", "msi3",
"msi4", "msi5", "msi6", "msi7", "global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
iommu-map = <0x0 &apps_smmu 0x1d80 0x1>,
<0x100 &apps_smmu 0x1d81 0x1>;
phys = <&pcie0_phy>;
phy-names = "pciephy";
pinctrl-0 = <&pcie0_default_state>;
pinctrl-names = "default";
power-domains = <&gcc PCIE_0_GDSC>;
resets = <&gcc GCC_PCIE_0_BCR>;
reset-names = "pci";
perst-gpios = <&tlmm 35 GPIO_ACTIVE_HIGH>;
wake-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 34: Qualcomm specific registers
Line 35: DesignWare PCIe registers
Line 36: External local bus interface registers
Line 37: ATU address space
Line 38: PCIe configuration space
Line 39: MHI registers
Line 47: PIPE clock
Line 48: Auxiliary clock
Line 49: Configuration clock
Line 50: Master AXI clock
Line 51: Slave AXI clock
Line 52: Slave Q2A clock
Qualcomm SM8250 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sm8250.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm SM8250 SoC PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "qcom,pcie-sm8250"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
clock-names — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"pipe"Item 2
Exact value (
const):"aux"Item 3
Exact value (
const):"cfg"Item 4
Exact value (
const):"bus_master"Item 5
Exact value (
const):"bus_slave"Item 6
Exact value (
const):"slave_q2a"Item 7
Exact value (
const):"ref"Item 8
Exact value (
const):"tbu"Item 9
Exact value (
const):"ddrss_sf_tbu"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"pipe"Item 2
Exact value (
const):"aux"Item 3
Exact value (
const):"cfg"Item 4
Exact value (
const):"bus_master"Item 5
Exact value (
const):"bus_slave"Item 6
Exact value (
const):"slave_q2a"Item 7
Exact value (
const):"tbu"Item 8
Exact value (
const):"ddrss_sf_tbu"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sm8250.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,sm8250.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c00000 {
compatible = "qcom,pcie-sm8250";
reg = <0 0x01c00000 0 0x3000>,
<0 0x60000000 0 0xf1d>,
<0 0x60000f20 0 0xa8>,
<0 0x60001000 0 0x1000>,
<0 0x60100000 0 0x100000>,
<0 0x01c03000 0 0x1000>;
reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
<0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
bus-range = <0x00 0xff>;
device_type = "pci";
linux,pci-domain = <0>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
<&gcc GCC_PCIE_0_AUX_CLK>,
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>,
<&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>;
clock-names = "pipe",
"aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a",
"tbu",
"ddrss_sf_tbu";
dma-coherent;
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0", "msi1", "msi2", "msi3",
"msi4", "msi5", "msi6", "msi7", "global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
<0x100 &apps_smmu 0x1c01 0x1>;
phys = <&pcie0_phy>;
phy-names = "pciephy";
pinctrl-0 = <&pcie0_default_state>;
pinctrl-names = "default";
power-domains = <&gcc PCIE_0_GDSC>;
resets = <&gcc GCC_PCIE_0_BCR>;
reset-names = "pci";
perst-gpios = <&tlmm 79 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 28: Qualcomm specific registers
Line 29: DesignWare PCIe registers
Line 30: External local bus interface registers
Line 31: ATU address space
Line 32: PCIe configuration space
Line 33: MHI registers
Line 40: Unfortunately the "optional" ref clock is used in the middle of the list
Line 43: PIPE clock
Line 44: Auxiliary clock
Line 45: Configuration clock
Line 46: Master AXI clock
Line 47: Slave AXI clock
Line 48: Slave Q2A clock
Line 49: REFERENCE clock
Line 50: PCIe TBU clock
Line 51: PCIe SF TBU clock
Line 53: PIPE clock
Line 54: Auxiliary clock
Line 55: Configuration clock
Line 56: Master AXI clock
Line 57: Slave AXI clock
Line 58: Slave Q2A clock
Line 59: PCIe TBU clock
Line 60: PCIe SF TBU clock
Qualcomm SM8350 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sm8350.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm SM8350 SoC PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "qcom,pcie-sm8350"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
clock-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"cfg"
Item 3
Exact value (
const):"bus_master"
Item 4
Exact value (
const):"bus_slave"
Item 5
Exact value (
const):"slave_q2a"
Item 6
Exact value (
const):"tbu"
Item 7
Exact value (
const):"ddrss_sf_tbu"
Item 8
Exact value (
const):"aggre1"
Item 9
Exact value (
const):"aggre0"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sm8350.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,sm8350.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c00000 {
compatible = "qcom,pcie-sm8350";
reg = <0 0x01c00000 0 0x3000>,
<0 0x60000000 0 0xf1d>,
<0 0x60000f20 0 0xa8>,
<0 0x60001000 0 0x1000>,
<0 0x60100000 0 0x100000>;
reg-names = "parf", "dbi", "elbi", "atu", "config";
ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
<0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
bus-range = <0x00 0xff>;
device_type = "pci";
linux,pci-domain = <0>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>,
<&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>;
clock-names = "aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a",
"tbu",
"ddrss_sf_tbu",
"aggre1",
"aggre0";
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0", "msi1", "msi2", "msi3",
"msi4", "msi5", "msi6", "msi7", "global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
<0x100 &apps_smmu 0x1c01 0x1>;
phys = <&pcie0_phy>;
phy-names = "pciephy";
pinctrl-0 = <&pcie0_default_state>;
pinctrl-names = "default";
power-domains = <&gcc PCIE_0_GDSC>;
resets = <&gcc GCC_PCIE_0_BCR>;
reset-names = "pci";
perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 28: Qualcomm specific registers
Line 29: DesignWare PCIe registers
Line 30: External local bus interface registers
Line 31: ATU address space
Line 32: PCIe configuration space
Line 33: MHI registers
Line 42: Auxiliary clock
Line 43: Configuration clock
Line 44: Master AXI clock
Line 45: Slave AXI clock
Line 46: Slave Q2A clock
Line 47: PCIe TBU clock
Line 48: PCIe SF TBU clock
Line 49: Aggre NoC PCIe1 AXI clock
Line 50: Aggre NoC PCIe0 AXI clock
Qualcomm SM8450 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sm8450.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm SM8450 SoC PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "qcom,pcie-sm8450-pcie0", "qcom,pcie-sm8450-pcie1"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 11
Maximum number of items (maxItems): 12
clock-names — not listed as required here #
Minimum number of items (minItems): 11
Array item rules (items) #
Item 1
Exact value (
const):"pipe"
Item 2
Exact value (
const):"pipe_mux"
Item 3
Exact value (
const):"phy_pipe"
Item 4
Exact value (
const):"ref"
Item 5
Exact value (
const):"aux"
Item 6
Exact value (
const):"cfg"
Item 7
Exact value (
const):"bus_master"
Item 8
Exact value (
const):"bus_slave"
Item 9
Exact value (
const):"slave_q2a"
Item 10
Exact value (
const):"ddrss_sf_tbu"
Item 11
Item 12
Exact value (
const):"aggre1"
interrupts — not listed as required here #
Minimum number of items (minItems): 9
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sm8450.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,sm8450.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c00000 {
compatible = "qcom,pcie-sm8450-pcie0";
reg = <0 0x01c00000 0 0x3000>,
<0 0x60000000 0 0xf1d>,
<0 0x60000f20 0 0xa8>,
<0 0x60001000 0 0x1000>,
<0 0x60100000 0 0x100000>;
reg-names = "parf", "dbi", "elbi", "atu", "config";
ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
<0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
bus-range = <0x00 0xff>;
device_type = "pci";
linux,pci-domain = <0>;
max-link-speed = <2>;
num-lanes = <1>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
<&gcc GCC_PCIE_0_PIPE_CLK_SRC>,
<&pcie0_phy>,
<&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_PCIE_0_AUX_CLK>,
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
<&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>;
clock-names = "pipe",
"pipe_mux",
"phy_pipe",
"ref",
"aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a",
"ddrss_sf_tbu",
"aggre0",
"aggre1";
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0", "msi1", "msi2", "msi3",
"msi4", "msi5", "msi6", "msi7", "global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
msi-map = <0x0 &gic_its 0x5981 0x1>,
<0x100 &gic_its 0x5980 0x1>;
msi-map-mask = <0xff00>;
iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
<0x100 &apps_smmu 0x1c01 0x1>;
phys = <&pcie0_phy>;
phy-names = "pciephy";
pinctrl-0 = <&pcie0_default_state>;
pinctrl-names = "default";
power-domains = <&gcc PCIE_0_GDSC>;
resets = <&gcc GCC_PCIE_0_BCR>;
reset-names = "pci";
perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 30: Qualcomm specific registers
Line 31: DesignWare PCIe registers
Line 32: External local bus interface registers
Line 33: ATU address space
Line 34: PCIe configuration space
Line 35: MHI registers
Line 44: PIPE clock
Line 45: PIPE MUX
Line 46: PIPE output clock
Line 47: REFERENCE clock
Line 48: Auxiliary clock
Line 49: Configuration clock
Line 50: Master AXI clock
Line 51: Slave AXI clock
Line 52: Slave Q2A clock
Line 53: PCIe SF TBU clock
Line 54: Aggre NoC PCIe0/1 AXI clock
Line 55: Aggre NoC PCIe1 AXI clock
Qualcomm SM8550 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-sm8550.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm SM8550 SoC (and compatible) PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"qcom,pcie-sm8550"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,kaanapali-pcie","qcom,sar2130p-pcie","qcom,pcie-sm8650","qcom,pcie-sm8750"Item 2
Exact value (
const):"qcom,pcie-sm8550"
reg — not listed as required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 7
Maximum number of items (maxItems): 9
clock-names — not listed as required here #
Minimum number of items (minItems): 7
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"cfg"
Item 3
Exact value (
const):"bus_master"
Item 4
Exact value (
const):"bus_slave"
Item 5
Exact value (
const):"slave_q2a"
Item 6
Exact value (
const):"ddrss_sf_tbu"
Item 7
Exact value (
const):"noc_aggr"
Item 8
Exact value (
const):"cnoc_sf_axi"
Item 9
Exact value (
const):"qmip_pcie_ahb"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Item 2
Exact value (
const):"link_down"
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,sm8550-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c00000 {
compatible = "qcom,pcie-sm8550";
reg = <0 0x01c00000 0 0x3000>,
<0 0x60000000 0 0xf1d>,
<0 0x60000f20 0 0xa8>,
<0 0x60001000 0 0x1000>,
<0 0x60100000 0 0x100000>;
reg-names = "parf", "dbi", "elbi", "atu", "config";
ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
<0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
bus-range = <0x00 0xff>;
device_type = "pci";
linux,pci-domain = <0>;
num-lanes = <2>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_AXI_CLK>,
<&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
<&gcc GCC_DDRSS_PCIE_SF_QTB_CLK>,
<&gcc GCC_AGGRE_NOC_PCIE_AXI_CLK>;
clock-names = "aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a",
"ddrss_sf_tbu",
"noc_aggr";
dma-coherent;
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0", "msi1", "msi2", "msi3",
"msi4", "msi5", "msi6", "msi7", "global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
interconnects = <&pcie_noc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>,
<&gem_noc MASTER_APPSS_PROC 0 &cnoc_main SLAVE_PCIE_0 0>;
interconnect-names = "pcie-mem", "cpu-pcie";
iommu-map = <0x0 &apps_smmu 0x1400 0x1>,
<0x100 &apps_smmu 0x1401 0x1>;
phys = <&pcie0_phy>;
phy-names = "pciephy";
pinctrl-0 = <&pcie0_default_state>;
pinctrl-names = "default";
power-domains = <&gcc PCIE_0_GDSC>;
resets = <&gcc GCC_PCIE_0_BCR>;
reset-names = "pci";
perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 36: Qualcomm specific registers
Line 37: DesignWare PCIe registers
Line 38: External local bus interface registers
Line 39: ATU address space
Line 40: PCIe configuration space
Line 41: MHI registers
Line 50: Auxiliary clock
Line 51: Configuration clock
Line 52: Master AXI clock
Line 53: Slave AXI clock
Line 54: Slave Q2A clock
Line 55: PCIe SF TBU clock
Line 56: Aggre NoC PCIe AXI clock
Line 57: Config NoC PCIe1 AXI clock
Line 58: QMIP PCIe AHB clock
Line 84: PCIe core reset
Line 85: PCIe link down reset
Qualcomm X1E80100 PCI Express Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,pcie-x1e80100.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Manivannan Sadhasivam <mani@kernel.org>"
Qualcomm X1E80100 SoC (and compatible) PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"qcom,pcie-x1e80100"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,pcie-x1e80100"
reg — not listed as required here #
Minimum number of items (minItems): 6
Maximum number of items (maxItems): 6
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"config"
Item 6
Exact value (
const):"mhi"
clocks — not listed as required here #
Minimum number of items (minItems): 6
Maximum number of items (maxItems): 7
clock-names — not listed as required here #
Minimum number of items (minItems): 6
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"cfg"
Item 3
Exact value (
const):"bus_master"
Item 4
Exact value (
const):"bus_slave"
Item 5
Exact value (
const):"slave_q2a"
Item 6
Exact value (
const):"noc_aggr"
Item 7
Exact value (
const):"cnoc_sf_axi"
interrupts — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
interrupt-names — not listed as required here #
Minimum number of items (minItems): 8
Array item rules (items) #
Item 1
Exact value (
const):"msi0"
Item 2
Exact value (
const):"msi1"
Item 3
Exact value (
const):"msi2"
Item 4
Exact value (
const):"msi3"
Item 5
Exact value (
const):"msi4"
Item 6
Exact value (
const):"msi5"
Item 7
Exact value (
const):"msi6"
Item 8
Exact value (
const):"msi7"
Item 9
Exact value (
const):"global"
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"pci"
Item 2
Exact value (
const):"link_down"
Required in this object (required): "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,pcie-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,x1e80100-gcc.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@1c08000 {
compatible = "qcom,pcie-x1e80100";
reg = <0 0x01c08000 0 0x3000>,
<0 0x7c000000 0 0xf1d>,
<0 0x7c000f40 0 0xa8>,
<0 0x7c001000 0 0x1000>,
<0 0x7c100000 0 0x100000>,
<0 0x01c0b000 0 0x1000>;
reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
<0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
bus-range = <0x00 0xff>;
device_type = "pci";
linux,pci-domain = <0>;
num-lanes = <2>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&gcc GCC_PCIE_4_AUX_CLK>,
<&gcc GCC_PCIE_4_CFG_AHB_CLK>,
<&gcc GCC_PCIE_4_MSTR_AXI_CLK>,
<&gcc GCC_PCIE_4_SLV_AXI_CLK>,
<&gcc GCC_PCIE_4_SLV_Q2A_AXI_CLK>,
<&gcc GCC_CFG_NOC_PCIE_ANOC_NORTH_AHB_CLK>,
<&gcc GCC_CNOC_PCIE_NORTH_SF_AXI_CLK>;
clock-names = "aux",
"cfg",
"bus_master",
"bus_slave",
"slave_q2a",
"noc_aggr",
"cnoc_sf_axi";
dma-coherent;
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0", "msi1", "msi2", "msi3",
"msi4", "msi5", "msi6", "msi7", "global";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
<0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
<0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
<0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
interconnects = <&pcie_noc MASTER_PCIE_4 0 &mc_virt SLAVE_EBI1 0>,
<&gem_noc MASTER_APPSS_PROC 0 &cnoc_main SLAVE_PCIE_4 0>;
interconnect-names = "pcie-mem", "cpu-pcie";
iommu-map = <0x0 &apps_smmu 0x1400 0x1>,
<0x100 &apps_smmu 0x1401 0x1>;
phys = <&pcie4_phy>;
phy-names = "pciephy";
pinctrl-0 = <&pcie0_default_state>;
pinctrl-names = "default";
power-domains = <&gcc GCC_PCIE_4_GDSC>;
resets = <&gcc GCC_PCIE_4_BCR>;
reset-names = "pci";
perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 32: Qualcomm specific registers
Line 33: DesignWare PCIe registers
Line 34: External local bus interface registers
Line 35: ATU address space
Line 36: PCIe configuration space
Line 37: MHI registers
Line 46: Auxiliary clock
Line 47: Configuration clock
Line 48: Master AXI clock
Line 49: Slave AXI clock
Line 50: Slave Q2A clock
Line 51: Aggre NoC PCIe AXI clock
Line 52: Config NoC PCIe1 AXI clock
Line 78: PCIe core reset
Line 79: PCIe link down reset
Qualcomm firmware managed PCIe Endpoint Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/qcom,sa8255p-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Qualcomm SA8255p SoC PCIe endpoint controller is based on the Synopsys DesignWare PCIe IP which is managed by firmware.
Maintainers (maintainers): "Manivannan Sadhasivam <mani@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sa8255p-pcie-ep"
reg — required here #
Array item rules (items) #
Item 1
Qualcomm-specific PARF configuration registers
Item 2
DesignWare PCIe registers
Item 3
External local bus interface registers
Item 4
Address Translation Unit (ATU) registers
Item 5
Memory region used to map remote RC address space
Item 6
BAR memory region
Item 7
DMA register space
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"parf"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"elbi"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"addr_space"
Item 6
Exact value (
const):"mmio"
Item 7
Exact value (
const):"dma"
interrupts — required here #
Array item rules (items) #
Item 1
PCIe Global interrupt
Item 2
PCIe Doorbell interrupt
Item 3
DMA interrupt
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"global"
Item 2
Exact value (
const):"doorbell"
Item 3
Exact value (
const):"dma"
iommus — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — required here #
GPIO used as PERST# input signal
Maximum number of items (maxItems): 1
wake-gpios — not listed as required here #
GPIO used as WAKE# output signal
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
num-lanes — not listed as required here #
Default value (default): 2
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "reset-gpios", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie1_ep: pcie-ep@1c10000 {
compatible = "qcom,sa8255p-pcie-ep";
reg = <0x0 0x01c10000 0x0 0x3000>,
<0x0 0x60000000 0x0 0xf20>,
<0x0 0x60000f20 0x0 0xa8>,
<0x0 0x60001000 0x0 0x4000>,
<0x0 0x60200000 0x0 0x100000>,
<0x0 0x01c13000 0x0 0x1000>,
<0x0 0x60005000 0x0 0x2000>;
reg-names = "parf", "dbi", "elbi", "atu", "addr_space", "mmio", "dma";
interrupts = <GIC_SPI 518 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "global", "doorbell", "dma";
reset-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
dma-coherent;
iommus = <&pcie_smmu 0x80 0x7f>;
power-domains = <&scmi6_pd 1>;
num-lanes = <4>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Renesas R-Car Gen4 PCIe Endpoint
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rcar-gen4-pci-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dw-pcie-ep.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a779f0-pcie-ep","renesas,r8a779g0-pcie-ep","renesas,r8a779h0-pcie-ep"
Item 2
Exact value (
const):"renesas,rcar-gen4-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 7
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"dbi2"
Item 3
Exact value (
const):"atu"
Item 4
Exact value (
const):"dma"
Item 5
Exact value (
const):"app"
Item 6
Exact value (
const):"phy"
Item 7
Exact value (
const):"addr_space"
interrupts — required here #
Maximum number of items (maxItems): 3
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dma"
Item 2
Exact value (
const):"sft_ce"
Item 3
Exact value (
const):"app"
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"ref"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pwr"
max-link-speed — not listed as required here #
Maximum value (maximum): 4
num-lanes — not listed as required here #
Maximum value (maximum): 4
max-functions — not listed as required here #
Maximum value (maximum): 2
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "resets", "reset-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a779f0-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a779f0-sysc.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie0_ep: pcie-ep@e65d0000 {
compatible = "renesas,r8a779f0-pcie-ep", "renesas,rcar-gen4-pcie-ep";
reg = <0 0xe65d0000 0 0x2000>, <0 0xe65d2000 0 0x1000>,
<0 0xe65d3000 0 0x2000>, <0 0xe65d5000 0 0x1200>,
<0 0xe65d6200 0 0x0e00>, <0 0xe65d7000 0 0x0400>,
<0 0xfe000000 0 0x400000>;
reg-names = "dbi", "dbi2", "atu", "dma", "app", "phy", "addr_space";
interrupts = <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "dma", "sft_ce", "app";
clocks = <&cpg CPG_MOD 624>, <&pcie0_clkref>;
clock-names = "core", "ref";
power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
resets = <&cpg 624>;
reset-names = "pwr";
max-link-speed = <4>;
num-lanes = <2>;
max-functions = /bits/ 8 <2>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2022-2023 Renesas Electronics Corp.
Line 20: R-Car S4-8
Line 21: R-Car V4H
Line 22: R-Car V4M
Line 23: R-Car Gen4
Renesas R-Car Gen4 PCIe Host
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a779f0-pcie","renesas,r8a779g0-pcie","renesas,r8a779h0-pcie"
Item 2
Exact value (
const):"renesas,rcar-gen4-pcie"
reg — required here #
Maximum number of items (maxItems): 7
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"dbi2"
Item 3
Exact value (
const):"atu"
Item 4
Exact value (
const):"dma"
Item 5
Exact value (
const):"app"
Item 6
Exact value (
const):"phy"
Item 7
Exact value (
const):"config"
interrupts — required here #
Maximum number of items (maxItems): 4
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
Item 2
Exact value (
const):"dma"
Item 3
Exact value (
const):"sft_ce"
Item 4
Exact value (
const):"app"
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"ref"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pwr"
max-link-speed — not listed as required here #
Maximum value (maximum): 4
num-lanes — not listed as required here #
Maximum value (maximum): 4
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "resets", "reset-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a779f0-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a779f0-sysc.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie: pcie@e65d0000 {
compatible = "renesas,r8a779f0-pcie", "renesas,rcar-gen4-pcie";
reg = <0 0xe65d0000 0 0x1000>, <0 0xe65d2000 0 0x0800>,
<0 0xe65d3000 0 0x2000>, <0 0xe65d5000 0 0x1200>,
<0 0xe65d6200 0 0x0e00>, <0 0xe65d7000 0 0x0400>,
<0 0xfe000000 0 0x400000>;
reg-names = "dbi", "dbi2", "atu", "dma", "app", "phy", "config";
interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi", "dma", "sft_ce", "app";
clocks = <&cpg CPG_MOD 624>, <&pcie0_clkref>;
clock-names = "core", "ref";
power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
resets = <&cpg 624>;
reset-names = "pwr";
max-link-speed = <4>;
num-lanes = <2>;
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
device_type = "pci";
ranges = <0x01000000 0 0x00000000 0 0xfe000000 0 0x00400000>,
<0x02000000 0 0x30000000 0 0x30000000 0 0x10000000>;
dma-ranges = <0x42000000 0 0x00000000 0 0x00000000 1 0x00000000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &gic GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &gic GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &gic GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &gic GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>;
snps,enable-cdm-check;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2022-2023 Renesas Electronics Corp.
Line 20: R-Car S4-8
Line 21: R-Car V4H
Line 22: R-Car V4M
Line 23: R-Car Gen4
Renesas R-Car PCIe Endpoint
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rcar-pci-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>", "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a774a1-pcie-ep","renesas,r8a774b1-pcie-ep","renesas,r8a774c0-pcie-ep","renesas,r8a774e1-pcie-ep","renesas,r8a7795-pcie-ep"
Item 2
Exact value (
const):"renesas,rcar-gen3-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 5
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb-base"
Item 2
Exact value (
const):"memory0"
Item 3
Exact value (
const):"memory1"
Item 4
Exact value (
const):"memory2"
Item 5
Exact value (
const):"memory3"
interrupts — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
max-functions — required here #
Minimum value (minimum): 1
Maximum value (maximum): 1
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "resets", "power-domains", "clocks", "clock-names", "max-functions"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a774c0-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a774c0-sysc.h>
pcie0_ep: pcie-ep@fe000000 {
compatible = "renesas,r8a774c0-pcie-ep",
"renesas,rcar-gen3-pcie-ep";
reg = <0xfe000000 0x80000>,
<0xfe100000 0x100000>,
<0xfe200000 0x200000>,
<0x30000000 0x8000000>,
<0x38000000 0x8000000>;
reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3";
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
resets = <&cpg 319>;
power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
clocks = <&cpg CPG_MOD 319>;
clock-names = "pcie";
max-functions = /bits/ 8 <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2020 Renesas Electronics Europe GmbH - https://www.renesas.com/eu/en/
Line 18: RZ/G2M
Line 19: RZ/G2N
Line 20: RZ/G2E
Line 21: RZ/G2H
Line 22: R-Car H3
Line 23: R-Car Gen3 and RZ/G2
Renesas R-Car PCIe Host
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rcar-pci-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Vasut <marek.vasut+renesas@gmail.com>", "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"renesas,pcie-r8a7779"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,pcie-r8a7742","renesas,pcie-r8a7743","renesas,pcie-r8a7744","renesas,pcie-r8a7790","renesas,pcie-r8a7791","renesas,pcie-r8a7793"Item 2
Exact value (
const):"renesas,pcie-rcar-gen2"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,pcie-r8a774a1","renesas,pcie-r8a774b1","renesas,pcie-r8a774c0","renesas,pcie-r8a774e1","renesas,pcie-r8a7795","renesas,pcie-r8a7796","renesas,pcie-r8a77961","renesas,pcie-r8a77965","renesas,pcie-r8a77980","renesas,pcie-r8a77990"Item 2
Exact value (
const):"renesas,pcie-rcar-gen3"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
Item 2
Exact value (
const):"pcie_bus"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Exact value (const): "pcie"
vpcie1v5-supply — not listed as required here #
The 1.5v regulator to use for PCIe.
vpcie3v3-supply — not listed as required here #
The 3.3v regulator to use for PCIe.
vpcie12v-supply — not listed as required here #
The 12v regulator to use for PCIe.
iommu-map — not listed as required here #
true — No constraints added by this property rule.
iommu-map-mask — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains"
Condition (if) #
This rule must not match (
not) #Properties and child nodes (
properties) #
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,pcie-r8a7779"
When the condition matches (then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7791-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7791-sysc.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie: pcie@fe000000 {
compatible = "renesas,pcie-r8a7791", "renesas,pcie-rcar-gen2";
reg = <0 0xfe000000 0 0x80000>;
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
device_type = "pci";
ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000>,
<0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000>,
<0x02000000 0 0x30000000 0 0x30000000 0 0x08000000>,
<0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>,
<0x42000000 2 0x00000000 2 0x00000000 0 0x40000000>;
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
clock-names = "pcie", "pcie_bus";
power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
resets = <&cpg 319>;
vpcie3v3-supply = <&pcie_3v3>;
vpcie12v-supply = <&pcie_12v>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2020 Renesas Electronics Corp.
Line 20: R-Car H1
Line 23: RZ/G1H
Line 24: RZ/G1M
Line 25: RZ/G1N
Line 26: R-Car H2
Line 27: R-Car M2-W
Line 28: R-Car M2-N
Line 29: R-Car Gen2 and RZ/G1
Line 32: RZ/G2M
Line 33: RZ/G2N
Line 34: RZ/G2E
Line 35: RZ/G2H
Line 36: R-Car H3
Line 37: R-Car M3-W
Line 38: R-Car M3-W+
Line 39: R-Car M3-N
Line 40: R-Car V3H
Line 41: R-Car E3
Line 42: R-Car Gen3 and RZ/G2
Renesas AHB to PCI bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/renesas,pci-rcar-gen2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Vasut <marek.vasut+renesas@gmail.com>", "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"
This is the bridge used internally to connect the USB controllers to the AHB. There is one bridge instance per USB port connected to the internal OHCI and EHCI controllers.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,pci-r8a7742","renesas,pci-r8a7743","renesas,pci-r8a7744","renesas,pci-r8a7745","renesas,pci-r8a7790","renesas,pci-r8a7791","renesas,pci-r8a7793","renesas,pci-r8a7794"Item 2
Exact value (
const):"renesas,pci-rcar-gen2"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"renesas,pci-rzn1"
reg — required here #
Array item rules (items) #
Item 1
Operational registers for the OHCI/EHCI controllers.
Item 2
Bridge configuration and control registers.
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
resets — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
bus-range — required here #
The PCI bus number range; as this is a single bus, the range should be specified as the same value twice.
dma-ranges — not listed as required here #
A single range for the inbound memory region. If not supplied, defaults to 1GiB at 0x40000000. Note there are hardware restrictions on the allowed combinations of address and size.
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^usb@[0-1],0$ — name matches this regular expression #
Value type (type): "object"
This a USB controller PCI device
Properties and child nodes (properties) #
reg — required here
Identify the correct bus, device and function number in the form <bdf 0 0 0 0>.
Array item rules (items)
Minimum number of items (
minItems):5Maximum number of items (
maxItems):5
phys — required here
Reference to the USB phy
Maximum number of items (maxItems): 1
phy-names — required here
Maximum number of items (maxItems): 1
Required in this object (required): "reg", "phys", "phy-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-map", "interrupt-map-mask", "clocks", "power-domains", "bus-range", "#address-cells", "#size-cells", "#interrupt-cells"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Internal bus clock (AHB) for HOST
Item 2
Internal bus clock (AHB) Power Management
Item 3
PCI clock for USB subsystem
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"hclkh"Item 2
Exact value (
const):"hclkpm"Item 3
Exact value (
const):"pciclk"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Device clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pclk"
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/clock/r8a7790-cpg-mssr.h>
#include <dt-bindings/power/r8a7790-sysc.h>
pci@ee090000 {
compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
device_type = "pci";
reg = <0xee090000 0xc00>,
<0xee080000 0x1100>;
clocks = <&cpg CPG_MOD 703>;
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
resets = <&cpg 703>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
bus-range = <0 0>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges = <0x02000000 0 0xee080000 0xee080000 0 0x00010000>;
dma-ranges = <0x42000000 0 0x40000000 0x40000000 0 0x40000000>;
interrupt-map-mask = <0xf800 0 0 0x7>;
interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
<0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
<0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
usb@1,0 {
reg = <0x800 0 0 0 0>;
phys = <&usb0 0>;
phy-names = "usb";
};
usb@2,0 {
reg = <0x1000 0 0 0 0>;
phys = <&usb0 0>;
phy-names = "usb";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 23: RZ/G1H
Line 24: RZ/G1M
Line 25: RZ/G1N
Line 26: RZ/G1E
Line 27: R-Car H2
Line 28: R-Car M2-W
Line 29: R-Car M2-N
Line 30: R-Car E2
Line 31: R-Car Gen2 and RZ/G1
Line 34: RZ/N1D
Line 35: RZ/N1
Renesas RZ/G3S PCIe host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/renesas,r9a08g045-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>"
Renesas RZ/G3S PCIe host controller complies with PCIe Base Specification 4.0 and supports up to 5 GT/s (Gen2).
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "renesas,r9a08g045-pcie"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
System error interrupt
Item 2
System error on correctable error interrupt
Item 3
System error on non-fatal error interrupt
Item 4
System error on fatal error interrupt
Item 5
AXI error interrupt
Item 6
INTA interrupt
Item 7
INTB interrupt
Item 8
INTC interrupt
Item 9
INTD interrupt
Item 10
MSI interrupt
Item 11
Link bandwidth interrupt
Item 12
PME interrupt
Item 13
DMA interrupt
Item 14
PCIe event interrupt
Item 15
Message interrupt
Item 16
All interrupts
interrupt-names — required here #
Array item rules (items) #
Item 1
serr
Item 2
ser_cor
Item 3
serr_nonfatal
Item 4
serr_fatal
Item 5
axi_err
Item 6
inta
Item 7
intb
Item 8
intc
Item 9
intd
Item 10
msi
Item 11
link_bandwidth
Item 12
pm_pme
Item 13
dma
Item 14
pcie_evt
Item 15
msg
Item 16
all
interrupt-controller — required here #
true — No constraints added by this property rule.
clocks — required here #
Array item rules (items) #
Item 1
System clock
Item 2
PM control clock
clock-names — required here #
Array item rules (items) #
Item 1
aclk
Item 2
pm
resets — required here #
Array item rules (items) #
Item 1
AXI2PCIe Bridge reset
Item 2
Data link layer/transaction layer reset
Item 3
Transaction layer (ACLK domain) reset
Item 4
Transaction layer (PCLK domain) reset
Item 5
Physical layer reset
Item 6
Configuration register reset
Item 7
Configuration register reset
reset-names — required here #
Array item rules (items) #
Item 1
aresetn
Item 2
rst_b
Item 3
rst_gp_b
Item 4
rst_ps_b
Item 5
rst_rsm_b
Item 6
rst_cfg_b
Item 7
rst_load_b
power-domains — required here #
Maximum number of items (maxItems): 1
dma-ranges — not listed as required here #
A single range for the inbound memory region.
Maximum number of items (maxItems): 1
renesas,sysc — required here #
System controller registers control and monitor various PCIe functionalities.
Control: - transition to L1 state - receiver termination settings - RST_RSM_B signal
Monitor: - clkl1pm clock request state - power off information in L2 state - errors (fatal, non-fatal, correctable)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Properties matching a name pattern (patternProperties) #
^pcie@0,[0-0]$ — name matches this regular expression #
Value type (type): "object"
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):/schemas/pci/pci-pci-bridge.yaml#
Properties and child nodes (properties) #
reg — not listed as required here
Maximum number of items (maxItems): 1
vendor-id — required here
Exact value (const): 6418
device-id — required here
Exact value (const): 51
clocks — required here
Array item rules (items)
Item 1
Reference clock
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"ref"
Required in this object (required): "device_type", "vendor-id", "device-id", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "interrupts", "interrupt-names", "interrupt-map", "interrupt-map-mask", "interrupt-controller", "power-domains", "#address-cells", "#size-cells", "#interrupt-cells", "renesas,sysc"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r9a08g045-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@11e40000 {
compatible = "renesas,r9a08g045-pcie";
reg = <0 0x11e40000 0 0x10000>;
ranges = <0x02000000 0 0x30000000 0 0x30000000 0 0x08000000>;
/* Map all possible DRAM ranges (4 GB). */
dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 1 0x00000000>;
bus-range = <0x0 0xff>;
interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "serr", "serr_cor", "serr_nonfatal",
"serr_fatal", "axi_err", "inta",
"intb", "intc", "intd", "msi",
"link_bandwidth", "pm_pme", "dma",
"pcie_evt", "msg", "all";
#interrupt-cells = <1>;
interrupt-controller;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie 0 0 0 0>, /* INTA */
<0 0 0 2 &pcie 0 0 0 1>, /* INTB */
<0 0 0 3 &pcie 0 0 0 2>, /* INTC */
<0 0 0 4 &pcie 0 0 0 3>; /* INTD */
clocks = <&cpg CPG_MOD R9A08G045_PCI_ACLK>,
<&cpg CPG_MOD R9A08G045_PCI_CLKL1PM>;
clock-names = "aclk", "pm";
resets = <&cpg R9A08G045_PCI_ARESETN>,
<&cpg R9A08G045_PCI_RST_B>,
<&cpg R9A08G045_PCI_RST_GP_B>,
<&cpg R9A08G045_PCI_RST_PS_B>,
<&cpg R9A08G045_PCI_RST_RSM_B>,
<&cpg R9A08G045_PCI_RST_CFG_B>,
<&cpg R9A08G045_PCI_RST_LOAD_B>;
reset-names = "aresetn", "rst_b", "rst_gp_b", "rst_ps_b",
"rst_rsm_b", "rst_cfg_b", "rst_load_b";
power-domains = <&cpg>;
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
renesas,sysc = <&sysc>;
pcie@0,0 {
reg = <0x0 0x0 0x0 0x0 0x0>;
ranges;
clocks = <&versa3 5>;
clock-names = "ref";
device_type = "pci";
vendor-id = <0x1912>;
device-id = <0x0033>;
#address-cells = <3>;
#size-cells = <2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 18: RZ/G3S
Rockchip AXI PCIe Bridge Common Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Lin <shawn.lin@rock-chips.com>"
Properties and child nodes (properties) #
reg — required here #
Maximum number of items (maxItems): 2
clocks — required here #
Maximum number of items (maxItems): 4
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"aclk-perf"
Item 3
Exact value (
const):"hclk"
Item 4
Exact value (
const):"pm"
num-lanes — not listed as required here #
Maximum value (maximum): 4
phys — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Maximum number of items (
maxItems):1
Rule 2
Maximum number of items (
maxItems):4
phy-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"pcie-phy"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"pcie-phy-0"Item 2
Exact value (
const):"pcie-phy-1"Item 3
Exact value (
const):"pcie-phy-2"Item 4
Exact value (
const):"pcie-phy-3"
resets — required here #
Maximum number of items (maxItems): 7
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"mgmt"
Item 3
Exact value (
const):"mgmt-sticky"
Item 4
Exact value (
const):"pipe"
Item 5
Exact value (
const):"pm"
Item 6
Exact value (
const):"pclk"
Item 7
Exact value (
const):"aclk"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "phys", "phy-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Rockchip AXI PCIe Endpoint
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Lin <shawn.lin@rock-chips.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-ep.yaml#
Rule 2 #
Shared schema rule (
$ref):rockchip,rk3399-pcie-common.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "rockchip,rk3399-pcie-ep"
reg — not listed as required here #
true — No constraints added by this property rule.
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb-base"
Item 2
Exact value (
const):"mem-base"
rockchip,max-outbound-regions — required here #
Maximum number of outbound regions
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 32
Default value (default): 32
Required in this object (required): "rockchip,max-outbound-regions"
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/gpio/gpio.h>
#include <dt-bindings/clock/rk3399-cru.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie-ep@f8000000 {
compatible = "rockchip,rk3399-pcie-ep";
reg = <0x0 0xfd000000 0x0 0x1000000>, <0x0 0xfa000000 0x0 0x2000000>;
reg-names = "apb-base", "mem-base";
clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>,
<&cru PCLK_PCIE>, <&cru SCLK_PCIE_PM>;
clock-names = "aclk", "aclk-perf",
"hclk", "pm";
max-functions = /bits/ 8 <8>;
num-lanes = <4>;
resets = <&cru SRST_PCIE_CORE>, <&cru SRST_PCIE_MGMT>,
<&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE> ,
<&cru SRST_PCIE_PM>, <&cru SRST_P_PCIE>, <&cru SRST_A_PCIE>;
reset-names = "core", "mgmt", "mgmt-sticky", "pipe",
"pm", "pclk", "aclk";
phys = <&pcie_phy 0>, <&pcie_phy 1>, <&pcie_phy 2>, <&pcie_phy 3>;
phy-names = "pcie-phy-0", "pcie-phy-1", "pcie-phy-2", "pcie-phy-3";
rockchip,max-outbound-regions = <16>;
pinctrl-names = "default";
pinctrl-0 = <&pcie_clkreqnb_cpm>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Rockchip AXI PCIe Root Port Bridge Host
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rockchip,rk3399-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Lin <shawn.lin@rock-chips.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):rockchip,rk3399-pcie-common.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "rockchip,rk3399-pcie"
reg — not listed as required here #
true — No constraints added by this property rule.
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi-base"
Item 2
Exact value (
const):"apb-base"
interrupts — required here #
Maximum number of items (maxItems): 3
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"sys"
Item 2
Exact value (
const):"legacy"
Item 3
Exact value (
const):"client"
aspm-no-l0s — not listed as required here #
This property is needed if using 24MHz OSC for RC's PHY.
ep-gpios — not listed as required here #
Maximum number of items (maxItems): 1
pre-reset GPIO
vpcie12v-supply — not listed as required here #
The 12v regulator to use for PCIe.
vpcie3v3-supply — not listed as required here #
The 3.3v regulator to use for PCIe.
vpcie1v8-supply — not listed as required here #
The 1.8v regulator to use for PCIe.
vpcie0v9-supply — not listed as required here #
The 0.9v regulator to use for PCIe.
interrupt-controller — required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#address-cells — not listed as required here
Exact value (const): 0
#interrupt-cells — not listed as required here
Exact value (const): 1
interrupt-controller — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "ranges", "#interrupt-cells", "interrupts", "interrupt-controller", "interrupt-map", "interrupt-map-mask", "msi-map"
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/gpio/gpio.h>
#include <dt-bindings/clock/rk3399-cru.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@f8000000 {
compatible = "rockchip,rk3399-pcie";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>,
<&cru PCLK_PCIE>, <&cru SCLK_PCIE_PM>;
clock-names = "aclk", "aclk-perf",
"hclk", "pm";
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "sys", "legacy", "client";
ep-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
ranges = <0x83000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x600000
0x81000000 0x0 0xfa600000 0x0 0xfa600000 0x0 0x100000>;
num-lanes = <4>;
msi-map = <0x0 &its 0x0 0x1000>;
reg = <0x0 0xf8000000 0x0 0x2000000>, <0x0 0xfd000000 0x0 0x1000000>;
reg-names = "axi-base", "apb-base";
resets = <&cru SRST_PCIE_CORE>, <&cru SRST_PCIE_MGMT>,
<&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE> ,
<&cru SRST_PCIE_PM>, <&cru SRST_P_PCIE>, <&cru SRST_A_PCIE>;
reset-names = "core", "mgmt", "mgmt-sticky", "pipe",
"pm", "pclk", "aclk";
/* deprecated legacy PHY model */
phys = <&pcie_phy>;
phy-names = "pcie-phy";
pinctrl-names = "default";
pinctrl-0 = <&pcie_clkreq>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie0_intc 0>,
<0 0 0 2 &pcie0_intc 1>,
<0 0 0 3 &pcie0_intc 2>,
<0 0 0 4 &pcie0_intc 3>;
pcie0_intc: 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 OR BSD-2-Clause)
DesignWare based PCIe RC/EP controller on Rockchip SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rockchip-dw-pcie-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Lin <shawn.lin@rock-chips.com>", "Simon Xue <xxm@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"
Generic properties for the DesignWare based PCIe RC/EP controller on Rockchip SoCs.
Properties and child nodes (properties) #
clocks — required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
AHB clock for PCIe master
Item 2
AHB clock for PCIe slave
Item 3
AHB clock for PCIe dbi
Item 4
APB clock for PCIe
Item 5
Auxiliary clock for PCIe
Item 6
PIPE clock
Item 7
Reference clock for PCIe
clock-names — required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"aclk_mst"
Item 2
Exact value (
const):"aclk_slv"
Item 3
Exact value (
const):"aclk_dbi"
Item 4
Exact value (
const):"pclk"
Item 5
Exact value (
const):"aux"
Item 6
Exact value (
const):"pipe"
Item 7
Exact value (
const):"ref"
interrupts — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Combined system interrupt, which is used to signal the following interrupts - phy_link_up, dll_link_up, link_req_rst_not, hp_pme, hp, hp_msi, link_auto_bw, link_auto_bw_msi, bw_mgt, bw_mgt_msi, edma_wr, edma_rd, dpa_sub_upd, rbar_update, link_eq_req, ep_elbi_app
Item 2
Combined PM interrupt, which is used to signal the following interrupts - linkst_in_l1sub, linkst_in_l1, linkst_in_l2, linkst_in_l0s, linkst_out_l1sub, linkst_out_l1, linkst_out_l2, linkst_out_l0s, pm_dstate_update
Item 3
Combined message interrupt, which is used to signal the following interrupts - ven_msg, unlock_msg, ltr_msg, cfg_pme, cfg_pme_msi, pm_pme, pm_to_ack, pm_turnoff, obff_idle, obff_obff, obff_cpu_active
Item 4
Combined legacy interrupt, which is used to signal the following interrupts - inta, intb, intc, intd, tx_inta, tx_intb, tx_intc, tx_intd
Item 5
Combined error interrupt, which is used to signal the following interrupts - aer_rc_err, aer_rc_err_msi, rx_cpl_timeout, tx_cpl_timeout, cor_err_sent, nf_err_sent, f_err_sent, cor_err_rx, nf_err_rx, f_err_rx, radm_qoverflow
Item 6
If the matching interrupt name is "msi", then this is the combined MSI line interrupt, which is to support MSI interrupts output to GIC controller via GIC SPI interrupt instead of GIC ITS interrupt. If the matching interrupt name is "dma0", then this is the eDMA write channel 0 interrupt.
Item 7
eDMA write channel 1 interrupt
Item 8
eDMA read channel 0 interrupt
Item 9
eDMA read channel 1 interrupt
interrupt-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"sys"
Item 2
Exact value (
const):"pmc"
Item 3
Exact value (
const):"msg"
Item 4
Exact value (
const):"legacy"
Item 5
Exact value (
const):"err"
Item 6
Item 7
Exact value (
const):"dma1"
Item 8
Exact value (
const):"dma2"
Item 9
Exact value (
const):"dma3"
num-lanes — required here #
true — No constraints added by this property rule.
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Exact value (const): "pcie-phy"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"pipe"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"pwr"Item 2
Exact value (
const):"pipe"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "num-lanes", "phys", "phy-names", "power-domains", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
DesignWare based PCIe Endpoint controller on Rockchip SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rockchip-dw-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Niklas Cassel <cassel@kernel.org>"
RK3588 SoC PCIe Endpoint controller is based on the Synopsys DesignWare PCIe IP and thus inherits all the common properties defined in snps,dw-pcie-ep.yaml.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie-ep.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/rockchip-dw-pcie-common.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "rockchip,rk3568-pcie-ep", "rockchip,rk3588-pcie-ep"
reg — not listed as required here #
Array item rules (items) #
Item 1
Data Bus Interface (DBI) registers
Item 2
Data Bus Interface (DBI) shadow registers
Item 3
Rockchip designed configuration registers
Item 4
Memory region used to map remote RC address space
Item 5
Internal Address Translation Unit (iATU) registers
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"dbi2"
Item 3
Exact value (
const):"apb"
Item 4
Exact value (
const):"addr_space"
Item 5
Exact value (
const):"atu"
Required in this object (required): "interrupts", "interrupt-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/rk3588-power.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie3x4_ep: pcie-ep@fe150000 {
compatible = "rockchip,rk3588-pcie-ep";
reg = <0xa 0x40000000 0x0 0x00100000>,
<0xa 0x40100000 0x0 0x00100000>,
<0x0 0xfe150000 0x0 0x00010000>,
<0x9 0x00000000 0x0 0x40000000>,
<0xa 0x40300000 0x0 0x00100000>;
reg-names = "dbi", "dbi2", "apb", "addr_space", "atu";
clocks = <&cru ACLK_PCIE_4L_MSTR>, <&cru ACLK_PCIE_4L_SLV>,
<&cru ACLK_PCIE_4L_DBI>, <&cru PCLK_PCIE_4L>,
<&cru CLK_PCIE_AUX0>, <&cru CLK_PCIE4L_PIPE>;
clock-names = "aclk_mst", "aclk_slv",
"aclk_dbi", "pclk",
"aux", "pipe";
interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "sys", "pmc", "msg", "legacy", "err",
"dma0", "dma1", "dma2", "dma3";
max-link-speed = <3>;
num-lanes = <4>;
phys = <&pcie30phy>;
phy-names = "pcie-phy";
power-domains = <&power RK3588_PD_PCIE>;
resets = <&cru SRST_PCIE0_POWER_UP>, <&cru SRST_P_PCIE0>;
reset-names = "pwr", "pipe";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
DesignWare based PCIe Root Complex controller on Rockchip SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Lin <shawn.lin@rock-chips.com>", "Simon Xue <xxm@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"
RK3568 SoC PCIe Root Complex controller is based on the Synopsys DesignWare PCIe IP and thus inherits all the common properties defined in snps,dw-pcie.yaml.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"rockchip,rk3568-pcie"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"rockchip,rk3528-pcie","rockchip,rk3562-pcie","rockchip,rk3576-pcie","rockchip,rk3588-pcie"Item 2
Exact value (
const):"rockchip,rk3568-pcie"
reg — not listed as required here #
Array item rules (items) #
Item 1
Data Bus Interface (DBI) registers
Item 2
Rockchip designed configuration registers
Item 3
Config registers
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"apb"
Item 3
Exact value (
const):"config"
legacy-interrupt-controller — not listed as required here #
Interrupt controller node for handling legacy PCI interrupts.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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.
interrupts — required here
Array item rules (items)
Item 1
combined legacy interrupt
Required in this object (required): "#address-cells", "#interrupt-cells", "interrupt-controller", "interrupts"
msi-map — not listed as required here #
true — No constraints added by this property rule.
ranges — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
vpcie3v3-supply — not listed as required here #
true — No constraints added by this property rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/rockchip-dw-pcie-common.yaml#
Rule 3 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"rockchip,rk3528-pcie","rockchip,rk3562-pcie","rockchip,rk3576-pcie"When the condition matches (
then) #
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"rockchip,rk3528-pcie","rockchip,rk3562-pcie","rockchip,rk3576-pcie"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sys"Item 2
Exact value (
const):"pmc"Item 3
Exact value (
const):"msg"Item 4
Exact value (
const):"legacy"Item 5
Exact value (
const):"err"Item 6
Exact value (
const):"msi"When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):5
interrupt-names— not listed as required hereMinimum number of items (
minItems):5Array item rules (
items)Item 1
Exact value (
const):"sys"Item 2
Exact value (
const):"pmc"Item 3
Exact value (
const):"msg"Item 4
Exact value (
const):"legacy"Item 5
Exact value (
const):"err"Item 6
Exact value (
const):"dma0"Item 7
Exact value (
const):"dma1"Item 8
Exact value (
const):"dma2"Item 9
Exact value (
const):"dma3"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie3x2: pcie@fe280000 {
compatible = "rockchip,rk3568-pcie";
reg = <0x3 0xc0800000 0x0 0x390000>,
<0x0 0xfe280000 0x0 0x10000>,
<0x3 0x80000000 0x0 0x100000>;
reg-names = "dbi", "apb", "config";
bus-range = <0x20 0x2f>;
clocks = <&cru 143>, <&cru 144>,
<&cru 145>, <&cru 146>,
<&cru 147>;
clock-names = "aclk_mst", "aclk_slv",
"aclk_dbi", "pclk",
"aux";
device_type = "pci";
interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "sys", "pmc", "msg", "legacy", "err";
linux,pci-domain = <2>;
max-link-speed = <2>;
msi-map = <0x2000 &its 0x2000 0x1000>;
num-lanes = <2>;
phys = <&pcie30phy>;
phy-names = "pcie-phy";
power-domains = <&power 15>;
ranges = <0x81000000 0x0 0x80800000 0x3 0x80800000 0x0 0x100000>,
<0x83000000 0x0 0x80900000 0x3 0x80900000 0x0 0x3f700000>;
resets = <&cru 193>;
reset-names = "pipe";
#address-cells = <3>;
#size-cells = <2>;
legacy-interrupt-controller {
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Samsung SoC series PCIe Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/samsung,exynos-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Szyprowski <m.szyprowski@samsung.com>", "Jaehoon Chung <jh80.chung@samsung.com>"
Exynos5433 SoC PCIe host controller is based on the Synopsys DesignWare PCIe IP and thus inherits all the common properties defined in snps,dw-pcie.yaml.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "samsung,exynos5433-pcie"
reg — required here #
Array item rules (items) #
Item 1
Data Bus Interface (DBI) registers.
Item 2
External Local Bus interface (ELBI) registers.
Item 3
PCIe configuration space region.
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"elbi"
Item 3
Exact value (
const):"config"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PCIe bridge clock
Item 2
PCIe bus clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
Item 2
Exact value (
const):"pcie_bus"
phys — required here #
Maximum number of items (maxItems): 1
vdd10-supply — required here #
Phandle to a regulator that provides 1.0V power to the PCIe block.
vdd18-supply — required here #
Phandle to a regulator that provides 1.8V power to the PCIe block.
num-lanes — required here #
Exact value (const): 1
num-viewport — required here #
Exact value (const): 3
Required in this object (required): "reg", "reg-names", "interrupts", "#address-cells", "#size-cells", "#interrupt-cells", "interrupt-map", "interrupt-map-mask", "ranges", "bus-range", "device_type", "num-lanes", "num-viewport", "clocks", "clock-names", "phys", "vdd10-supply", "vdd18-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/exynos5433.h>
pcie: pcie@15700000 {
compatible = "samsung,exynos5433-pcie";
reg = <0x15700000 0x1000>, <0x156b0000 0x1000>, <0x0c000000 0x1000>;
reg-names = "dbi", "elbi", "config";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
device_type = "pci";
interrupts = <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cmu_fsys CLK_PCIE>, <&cmu_fsys CLK_PCLK_PCIE_PHY>;
clock-names = "pcie", "pcie_bus";
phys = <&pcie_phy>;
pinctrl-0 = <&pcie_bus &pcie_wlanen>;
pinctrl-names = "default";
num-lanes = <1>;
num-viewport = <3>;
bus-range = <0x00 0xff>;
ranges = <0x81000000 0 0 0x0c001000 0 0x00010000>,
<0x82000000 0 0x0c011000 0x0c011000 0 0x03feefff>;
vdd10-supply = <&ldo6_reg>;
vdd18-supply = <&ldo7_reg>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
SiFive FU740 PCIe host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/sifive,fu740-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
SiFive FU740 PCIe host controller is based on the Synopsys DesignWare PCI core. It shares common features with the PCIe DesignWare core and inherits common properties defined in Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.
Maintainers (maintainers): "Paul Walmsley <paul.walmsley@sifive.com>", "Greentime Hu <greentime.hu@sifive.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "sifive,fu740-pcie"
reg — not listed as required here #
Maximum number of items (maxItems): 3
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"config"
Item 3
Exact value (
const):"mgmt"
dma-coherent — required here #
true — No constraints added by this property rule.
num-lanes — required here #
Exact value (const): 8
msi-parent — not listed as required here #
true — No constraints added by this property rule.
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
Item 2
Exact value (
const):"inta"
Item 3
Exact value (
const):"intb"
Item 4
Exact value (
const):"intc"
Item 5
Exact value (
const):"intd"
resets — required here #
A phandle to the PCIe power up reset line.
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "pcie_aux"
pwren-gpios — required here #
Should specify the GPIO for controlling the PCI bus device power on.
Maximum number of items (maxItems): 1
reset-gpios — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "dma-coherent", "num-lanes", "interrupts", "interrupt-names", "interrupt-map-mask", "interrupt-map", "clocks", "clock-names", "resets", "pwren-gpios", "reset-gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/sifive-fu740-prci.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@e00000000 {
compatible = "sifive,fu740-pcie";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
reg = <0xe 0x00000000 0x0 0x80000000>,
<0xd 0xf0000000 0x0 0x10000000>,
<0x0 0x100d0000 0x0 0x1000>;
reg-names = "dbi", "config", "mgmt";
device_type = "pci";
dma-coherent;
bus-range = <0x0 0xff>;
ranges = <0x81000000 0x0 0x60080000 0x0 0x60080000 0x0 0x10000>, /* I/O */
<0x82000000 0x0 0x60090000 0x0 0x60090000 0x0 0xff70000>, /* mem */
<0x82000000 0x0 0x70000000 0x0 0x70000000 0x0 0x1000000>, /* mem */
<0xc3000000 0x20 0x00000000 0x20 0x00000000 0x20 0x00000000>; /* mem prefetchable */
num-lanes = <0x8>;
interrupts = <56>, <57>, <58>, <59>, <60>, <61>, <62>, <63>, <64>;
interrupt-names = "msi", "inta", "intb", "intc", "intd";
interrupt-parent = <&plic0>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0x0 0x0 0x0 0x1 &plic0 57>,
<0x0 0x0 0x0 0x2 &plic0 58>,
<0x0 0x0 0x0 0x3 &plic0 59>,
<0x0 0x0 0x0 0x4 &plic0 60>;
clock-names = "pcie_aux";
clocks = <&prci FU740_PRCI_CLK_PCIE_AUX>;
resets = <&prci 4>;
pwren-gpios = <&gpio 5 0>;
reset-gpios = <&gpio 8 0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Synopsys DWC PCIe RP/EP controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/snps,dw-pcie-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jingoo Han <jingoohan1@gmail.com>", "Gustavo Pimentel <gustavo.pimentel@synopsys.com>"
Generic Synopsys DesignWare PCIe Root Port and Endpoint controller properties.
Automatic schema selection (select) #
false
Not selected automatically by this rule.
Properties and child nodes (properties) #
reg — not listed as required here #
DWC PCIe CSR space is normally accessed over the dedicated Data Bus Interface - DBI. In accordance with the reference manual the register configuration space belongs to the Configuration-Dependent Module (CDM) and is split up into several sub-parts Standard PCIe configuration space, Port Logic Registers (PL), Shadow Config-space Registers, iATU/eDMA registers. The particular sub-space is selected by the CDM/ELBI (dbi_cs) and CS2 (dbi_cs2) signals (selector bits). Such configuration provides a flexible interface for the system engineers to either map the particular space at a desired MMIO address or just leave them in a contiguous memory space if pure Native or AXI Bridge DBI access is selected. Note the PCIe CFG-space, PL and Shadow registers are specific for each activated function, while the rest of the sub-spaces are common for all of them (if there are more than one).
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 7
reg-names — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 7
interrupts — not listed as required here #
There are two main sub-blocks which are normally capable of generating interrupts. It's System Information Interface and MSI interface. While the former one has some common for the Host and Endpoint controllers IRQ-signals, the later interface is obviously Root Complex specific since it's responsible for the incoming MSI messages signalling. The System Information IRQ signals are mainly responsible for reporting the generic PCIe hierarchy and Root Complex events like VPD IO request, general AER, PME, Hot-plug, link bandwidth change, link equalization request, INTx asserted/deasserted Message detection, embedded DMA Tx/Rx/Error.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 26
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 26
clocks — not listed as required here #
DWC PCIe reference manual explicitly defines a set of the clocks required to get the controller working correctly. In general all of them can be divided into two groups':' application and core clocks. Note the platforms may have some of the clock sources unspecified in case if the corresponding domains are fed up from a common clock source.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 7
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 7
Array item rules (items) #
Exactly one of these rules must match (
oneOf)Rule 1
Data Bus Interface (DBI) clock. Clock signal for the AXI-bus interface of the Configuration-Dependent Module, which is basically the set of the controller CSRs.
Exact value (
const):"dbi"Rule 2
Application AXI-bus Master interface clock. Basically this is a clock for the controller DMA interface (PCI-to-CPU).
Exact value (
const):"mstr"Rule 3
Application AXI-bus Slave interface clock. This is a clock for the CPU-to-PCI memory IO interface.
Exact value (
const):"slv"Rule 4
Controller Core-PCS PIPE interface clock. It's normally supplied by an external PCS-PHY.
Exact value (
const):"pipe"Rule 5
Controller Primary clock. It's assumed that all controller input signals (except resets) are synchronous to this clock.
Exact value (
const):"core"Rule 6
Auxiliary clock for the controller PMC domain. The controller partitioning implies having some parts to operate with this clock in some power management states.
Exact value (
const):"aux"Rule 7
Generic reference clock. In case if there are several interfaces fed up with a common clock source it's advisable to define it with this name (for instance pipe, core and aux can be connected to a single source of the periodic signal).
Exact value (
const):"ref"Rule 8
Some dwc wrappers (like i.MX95 PCIes) have two reference clock inputs, one from an internal PLL, the other from an off-chip crystal oscillator. If present, 'extref' refers to a reference clock from an external oscillator.
Exact value (
const):"extref"Rule 9
Clock for the PHY registers interface. Originally this is a PHY-viewport-based interface, but some platform may have specifically designed one.
Exact value (
const):"phy_reg"Rule 10
Vendor-specific clock names. Consider using the generic names above for new bindings.
Exactly one of these rules must match (
oneOf)Rule 1
See native 'dbi' clock for details
Allowed values (
enum):"pcie","pcie_apb_sys","aclk_dbi","reg","port"Rule 2
See native 'mstr/slv' clock for details
Allowed values (
enum):"pcie_bus","pcie_inbound_axi","pcie_aclk","aclk_mst","aclk_slv"Rule 3
See native 'pipe' clock for details
Allowed values (
enum):"pcie_phy","pcie_phy_ref","link","general"Rule 4
See native 'aux' clock for details
Rule 5
See native 'ref' clock for details.
Rule 6
See nativs 'phy_reg' clock for details
resets — not listed as required here #
DWC PCIe reference manual explicitly defines a set of the reset signals required to be de-asserted to properly activate the controller sub-parts. All of these signals can be divided into two sub-groups':' application and core resets with respect to the main sub-domains they are supposed to reset. Note the platforms may have some of these signals unspecified in case if they are automatically handled or aggregated into a comprehensive control module.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 10
reset-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 10
Array item rules (items) #
Exactly one of these rules must match (
oneOf)Rule 1
Data Bus Interface (DBI) domain reset
Exact value (
const):"dbi"Rule 2
AXI-bus Master interface reset
Exact value (
const):"mstr"Rule 3
AXI-bus Slave interface reset
Exact value (
const):"slv"Rule 4
Application-dependent interface reset
Exact value (
const):"app"Rule 5
Controller Non-sticky CSR flags reset
Exact value (
const):"non-sticky"Rule 6
Controller sticky CSR flags reset
Exact value (
const):"sticky"Rule 7
PIPE-interface (Core-PCS) logic reset
Exact value (
const):"pipe"Rule 8
Controller primary reset (resets everything except PMC module)
Exact value (
const):"core"Rule 9
PCS/PHY block reset
Exact value (
const):"phy"Rule 10
PMC hot reset signal
Exact value (
const):"hot"Rule 11
Cold reset signal
Exact value (
const):"pwr"Rule 12
Vendor-specific reset names. Consider using the generic names above for new bindings.
Exactly one of these rules must match (
oneOf)Rule 1
See native 'app' reset for details
Rule 2
See native 'phy' reset for details
Rule 3
See native 'pwr' reset for details
phys — not listed as required here #
There can be up to the number of possible lanes PHYs specified placed in the phandle array in the line-based order. Obviously each the specified PHYs are supposed to be able to work in the PCIe mode with a speed implied by the DWC PCIe controller they are attached to.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
phy-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
Exactly one of these rules must match (oneOf) #
Rule 1
Generic PHY names
Array item rules (
items)String pattern (
pattern):"^pcie[0-9]+$"
Rule 2
Vendor-specific PHY names. Consider using the generic names above for new bindings.
Array item rules (
items)Exactly one of these rules must match (
oneOf)Rule 1
String pattern (
pattern):"^pcie(-?phy[0-9]*)?$"Rule 2
String pattern (
pattern):"^p2u-[0-7]$"Rule 3
String pattern (
pattern):"^cp[01]-pcie[0-2]-x[124](-lane[0-3])?-phy$"
reset-gpio — not listed as required here #
Deprecated (deprecated): true
Reference to the GPIO-controlled PERST# signal. It is used to reset all the peripheral devices available on the PCIe bus.
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Reference to the GPIO-controlled PERST# signal. It is used to reset all the peripheral devices available on the PCIe bus.
Maximum number of items (maxItems): 1
max-link-speed — not listed as required here #
Maximum value (maximum): 5
num-lanes — not listed as required here #
Number of PCIe link lanes to use. Can be omitted if the already brought up link is supposed to be preserved.
Maximum value (maximum): 16
num-ob-windows — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Deprecated (deprecated): true
Number of outbound address translation windows. This parameter can be auto-detected based on the iATU memory writability. So there is no point in having a dedicated DT-property for it.
Maximum value (maximum): 256
num-ib-windows — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Deprecated (deprecated): true
Number of inbound address translation windows. In the same way as for the outbound AT windows, this parameter can be auto-detected based on the iATU memory writability. There is no point having a dedicated DT-property for it either.
Maximum value (maximum): 256
num-viewport — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Deprecated (deprecated): true
Number of outbound view ports configured in hardware. It's the same as the number of outbound AT windows.
Maximum value (maximum): 256
snps,enable-cdm-check — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Enable automatic checking of CDM (Configuration Dependent Module) registers for data corruption. CDM registers include standard PCIe configuration space registers, Port Logic registers, DMA and iATU registers. This feature has been available since DWC PCIe v4.80a.
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 210: marvell,armada8k-pcie
Synopsys DesignWare PCIe endpoint interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/snps,dw-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jingoo Han <jingoohan1@gmail.com>", "Gustavo Pimentel <gustavo.pimentel@synopsys.com>"
Synopsys DesignWare PCIe host controller endpoint
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Exact value (
const):"snps,dw-pcie-ep"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-ep.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie-common.yaml#
Properties and child nodes (properties) #
reg — required here #
DBI, DBI2 reg-spaces and outbound memory window are required for the normal controller functioning. iATU memory IO region is also required if the space is unrolled (IP-core version >= 4.80a).
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 7
reg-names — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 7
Array item rules (items) #
Exactly one of these rules must match (
oneOf)Rule 1
Basic DWC PCIe controller configuration-space accessible over the DBI interface. This memory space is either activated with CDM/ELBI = 0 and CS2 = 0 or is a contiguous memory region with all spaces. Note iATU/eDMA CSRs are indirectly accessible via the PL viewports on the DWC PCIe controllers older than v4.80a.
Exact value (
const):"dbi"Rule 2
Shadow DWC PCIe config-space registers. This space is selected by setting CDM/ELBI = 0 and CS2 = 1. This is an intermix of the PCI-SIG PCIe CFG-space with the shadow registers for some PCI Header space, PCI Standard and Extended Structures. It's mainly relevant for the end-point controller configuration, but still there are some shadow registers available for the Root Port mode too.
Exact value (
const):"dbi2"Rule 3
External Local Bus registers. It's an application-dependent registers normally defined by the platform engineers. The space can be selected by setting CDM/ELBI = 1 and CS2 = 0 wires or can be accessed over some platform-specific means (for instance as a part of a system controller).
Rule 4
iATU/eDMA registers common for all device functions. It's an unrolled memory space with the internal Address Translation Unit and Enhanced DMA, which is selected by setting CDM/ELBI = 1 and CS2 = 1. For IP-core releases prior v4.80a, these registers have been programmed via an indirect addressing scheme using a set of viewport CSRs mapped into the PL space. Note iATU is normally mapped to the 0x0 address of this region, while eDMA is available at 0x80000 base address.
Exact value (
const):"atu"Rule 5
Platform-specific eDMA registers. Some platforms may have eDMA CSRs mapped in a non-standard base address. The registers offset can be changed or the MS/LS-bits of the address can be attached in an additional RTL block before the MEM-IO transactions reach the DW PCIe slave interface.
Exact value (
const):"dma"Rule 6
PHY/PCS configuration registers. Some platforms can have the PCS and PHY CSRs accessible over a dedicated memory mapped region, but mainly these registers are indirectly accessible either by means of the embedded PHY viewport schema or by some platform-specific method.
Exact value (
const):"phy"Rule 7
Outbound iATU-capable memory-region which will be used to generate various application-specific traffic on the PCIe bus hierarchy. It's usage scenario depends on the endpoint functionality, for instance it can be used to create MSI(X) messages.
Exact value (
const):"addr_space"Rule 8
Vendor-specific CSR names. Consider using the generic names above for new bindings.
Exactly one of these rules must match (
oneOf)Rule 1
See native 'elbi/app' CSR region for details.
Rule 2
See native 'atu' CSR region for details.
All of these rules must match (allOf) #
Rule 1
Rule for matching array elements (
contains)Exact value (
const):"dbi"
Rule 2
Rule for matching array elements (
contains)Exact value (
const):"addr_space"
interrupts — not listed as required here #
There is no mandatory IRQ signals for the normal controller functioning, but in addition to the native set the platforms may have a link- or PM-related IRQs specified.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 20
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 20
Array item rules (items) #
Exactly one of these rules must match (
oneOf)Rule 1
Controller request to read or write virtual product data from/to the VPD capability registers.
Exact value (
const):"vpd"Rule 2
Link Equalization Request flag is set in the Link Status 2 register (applicable if the corresponding IRQ is enabled in the Link Control 3 register).
Exact value (
const):"l_eq"Rule 3
Indicates that the eDMA Tx/Rx transfer is complete or that an error has occurred on the corresponding channel. eDMA can have eight Tx (Write) and Rx (Read) eDMA channels thus supporting up to 16 IRQ signals all together. Write eDMA channels shall go first in the ordered row as per default edma_int[*] bus setup.
String pattern (
pattern):"^dma([0-9]|1[0-5])?$"Rule 4
PCIe protocol correctable error or a Data Path protection correctable error is detected by the automotive/safety feature.
Exact value (
const):"sft_ce"Rule 5
Indicates that the internal safety mechanism has detected an uncorrectable error.
Exact value (
const):"sft_ue"Rule 6
Application-specific IRQ raised depending on the vendor-specific events basis.
Exact value (
const):"app"Rule 7
Interrupts triggered when the controller itself (in Endpoint mode) has sent an Assert_INT{A,B,C,D}/Desassert_INT{A,B,C,D} message to the upstream device.
String pattern (
pattern):"^tx_int(a|b|c|d)$"Rule 8
Combined interrupt signal raised when the controller has sent an Assert_INT{A,B,C,D} message. See "^tx_int(a|b|c|d)$" for details.
Exact value (
const):"legacy"Rule 9
Vendor-specific IRQ names. Consider using the generic names above for new bindings.
Exactly one of these rules must match (
oneOf)Rule 1
See native "app" IRQ for details
max-functions — not listed as required here #
Maximum value (maximum): 32
Required in this object (required): "compatible", "reg", "reg-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Examples (examples) #
pcie-ep@dfd00000 {
compatible = "snps,dw-pcie-ep";
reg = <0xdfc00000 0x0001000>, /* IP registers 1 */
<0xdfc01000 0x0001000>, /* IP registers 2 */
<0xd0000000 0x2000000>; /* Configuration space */
reg-names = "dbi", "dbi2", "addr_space";
interrupts = <23>, <24>;
interrupt-names = "dma0", "dma1";
clocks = <&sys_clk 12>, <&sys_clk 24>;
clock-names = "dbi", "ref";
resets = <&sys_rst 12>, <&sys_rst 24>;
reset-names = "dbi", "phy";
phys = <&pcie_phy0>, <&pcie_phy1>, <&pcie_phy2>, <&pcie_phy3>;
phy-names = "pcie0", "pcie1", "pcie2", "pcie3";
max-link-speed = <3>;
max-functions = /bits/ 8 <4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 16: Please create a separate DT-schema for your DWC PCIe Endpoint controller
Line 17: and make sure it's assigned with the vendor-specific compatible string.
Synopsys DesignWare PCIe interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/snps,dw-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jingoo Han <jingoohan1@gmail.com>", "Gustavo Pimentel <gustavo.pimentel@synopsys.com>"
Synopsys DesignWare PCIe host controller
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Exact value (
const):"snps,dw-pcie"
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/pci/snps,dw-pcie-common.yaml#
Rule 3 #
Condition (
if) #This rule must not match (
not)When the condition matches (
then) #Properties and child nodes (
properties)
interrupt-names— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"msi"
Properties and child nodes (properties) #
reg — required here #
At least DBI reg-space and peripheral devices CFG-space outbound window are required for the normal controller work. iATU memory IO region is also required if the space is unrolled (IP-core version >= 4.80a).
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 7
reg-names — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 7
Array item rules (items) #
Exactly one of these rules must match (
oneOf)Rule 1
Basic DWC PCIe controller configuration-space accessible over the DBI interface. This memory space is either activated with CDM/ELBI = 0 and CS2 = 0 or is a contiguous memory region with all spaces. Note iATU/eDMA CSRs are indirectly accessible via the PL viewports on the DWC PCIe controllers older than v4.80a.
Exact value (
const):"dbi"Rule 2
Shadow DWC PCIe config-space registers. This space is selected by setting CDM/ELBI = 0 and CS2 = 1. This is an intermix of the PCI-SIG PCIe CFG-space with the shadow registers for some PCI Header space, PCI Standard and Extended Structures. It's mainly relevant for the end-point controller configuration, but still there are some shadow registers available for the Root Port mode too.
Exact value (
const):"dbi2"Rule 3
External Local Bus registers. It's an application-dependent registers normally defined by the platform engineers. The space can be selected by setting CDM/ELBI = 1 and CS2 = 0 wires or can be accessed over some platform-specific means (for instance as a part of a system controller).
Rule 4
iATU/eDMA registers common for all device functions. It's an unrolled memory space with the internal Address Translation Unit and Enhanced DMA, which is selected by setting CDM/ELBI = 1 and CS2 = 1. For IP-core releases prior v4.80a, these registers have been programmed via an indirect addressing scheme using a set of viewport CSRs mapped into the PL space. Note iATU is normally mapped to the 0x0 address of this region, while eDMA is available at 0x80000 base address.
Exact value (
const):"atu"Rule 5
Platform-specific eDMA registers. Some platforms may have eDMA CSRs mapped in a non-standard base address. The registers offset can be changed or the MS/LS-bits of the address can be attached in an additional RTL block before the MEM-IO transactions reach the DW PCIe slave interface.
Exact value (
const):"dma"Rule 6
PHY/PCS configuration registers. Some platforms can have the PCS and PHY CSRs accessible over a dedicated memory mapped region, but mainly these registers are indirectly accessible either by means of the embedded PHY viewport schema or by some platform-specific method.
Exact value (
const):"phy"Rule 7
Outbound iATU-capable memory-region which will be used to access the peripheral PCIe devices configuration space.
Exact value (
const):"config"Rule 8
Vendor-specific CSR names. Consider using the generic names above for new bindings.
Exactly one of these rules must match (
oneOf)Rule 1
See native 'dbi' CSR region for details.
Rule 2
See native 'elbi/app' CSR region for details.
Allowed values (
enum):"apb","mgmt","link","ulreg","appl","controller"Rule 3
See native 'atu' CSR region for details.
Rule 4
Syscon-related CSR regions.
Rule 5
Tegra234 aperture
Rule 6
AMD MDB PCIe SLCR region
Exact value (
const):"slcr"
All of these rules must match (allOf) #
Rule 1
Rule for matching array elements (
contains)
Rule 2
Rule for matching array elements (
contains)Exact value (
const):"config"
interrupts — not listed as required here #
DWC PCIe Root Port/Complex specific IRQ signals. At least MSI interrupt signal is supposed to be specified for the host controller.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 26
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 26
Array item rules (items) #
Exactly one of these rules must match (
oneOf)Rule 1
Controller request to read or write virtual product data from/to the VPD capability registers.
Exact value (
const):"vpd"Rule 2
Link Equalization Request flag is set in the Link Status 2 register (applicable if the corresponding IRQ is enabled in the Link Control 3 register).
Exact value (
const):"l_eq"Rule 3
Indicates that the eDMA Tx/Rx transfer is complete or that an error has occurred on the corresponding channel. eDMA can have eight Tx (Write) and Rx (Read) eDMA channels thus supporting up to 16 IRQ signals all together. Write eDMA channels shall go first in the ordered row as per default edma_int[*] bus setup.
String pattern (
pattern):"^dma([0-9]|1[0-5])?$"Rule 4
PCIe protocol correctable error or a Data Path protection correctable error is detected by the automotive/safety feature.
Exact value (
const):"sft_ce"Rule 5
Indicates that the internal safety mechanism has detected an uncorrectable error.
Exact value (
const):"sft_ue"Rule 6
Application-specific IRQ raised depending on the vendor-specific events basis.
Exact value (
const):"app"Rule 7
DSP AXI MSI Interrupt detected. It gets de-asserted when there is no more MSI interrupt pending. The interrupt is relevant to the iMSI-RX - Integrated MSI Receiver (AXI bridge).
Exact value (
const):"msi"Rule 8
Legacy A/B/C/D interrupt signal. Basically it's triggered by receiving a Assert_INT{A,B,C,D}/Desassert_INT{A,B,C,D} message from the downstream device.
String pattern (
pattern):"^int(a|b|c|d)$"Rule 9
Error condition detected and a flag is set in the Root Error Status register of the AER capability. It's asserted when the RC internally generated an error or an error message is received by the RC.
Exact value (
const):"aer"Rule 10
PME message is received by the port. That means having the PME status bit set in the Root Status register (the event is supposed to be unmasked in the Root Control register).
Exact value (
const):"pme"Rule 11
Hot-plug event is detected. That is a bit has been set in the Slot Status register and the corresponding event is enabled in the Slot Control register.
Exact value (
const):"hp"Rule 12
Link Autonomous Bandwidth Status flag has been set in the Link Status register (the event is supposed to be unmasked in the Link Control register).
Exact value (
const):"bw_au"Rule 13
Bandwidth Management Status flag has been set in the Link Status register (the event is supposed to be unmasked in the Link Control register).
Exact value (
const):"bw_mg"Rule 14
Combined Legacy A/B/C/D interrupt signal. See "^int(a|b|c|d)$" for details.
Exact value (
const):"legacy"Rule 15
Vendor-specific IRQ names. Consider using the generic names above for new bindings.
Exactly one of these rules must match (
oneOf)Rule 1
See native "app" IRQ for details
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names"
Examples (examples) #
pcie@dfc00000 {
compatible = "snps,dw-pcie";
device_type = "pci";
reg = <0xdfc00000 0x0001000>, /* IP registers */
<0xd0000000 0x0002000>; /* Configuration space */
reg-names = "dbi", "config";
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x81000000 0 0x00000000 0xde000000 0 0x00010000>,
<0x82000000 0 0xd0400000 0xd0400000 0 0x0d000000>;
bus-range = <0x0 0xff>;
interrupts = <25>, <24>;
interrupt-names = "msi", "hp";
reset-gpios = <&port0 0 1>;
phys = <&pcie_phy>;
phy-names = "pcie";
num-lanes = <1>;
max-link-speed = <3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 16: Please create a separate DT-schema for your DWC PCIe Root Port controller
Line 17: and make sure it's assigned with the vendor-specific compatible string.
Socionext UniPhier PCIe endpoint controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/socionext,uniphier-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
UniPhier PCIe endpoint controller is based on the Synopsys DesignWare PCI core. It shares common features with the PCIe DesignWare core and inherits common properties defined in Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml.
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "socionext,uniphier-pro5-pcie-ep", "socionext,uniphier-nx1-pcie-ep"
reg — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
reg-names — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"dbi2"
Item 3
Exact value (
const):"link"
Item 4
Exact value (
const):"addr_space"
Item 5
Exact value (
const):"atu"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
num-ib-windows — not listed as required here #
Exact value (const): 16
num-ob-windows — not listed as required here #
Exact value (const): 16
num-lanes — not listed as required here #
true — No constraints added by this property rule.
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Exact value (const): "pcie-phy"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie-ep.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"socionext,uniphier-pro5-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):4
reg-names— not listed as required hereMaximum number of items (
maxItems):4
clocks— not listed as required hereMinimum number of items (
minItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gio"Item 2
Exact value (
const):"link"
resets— not listed as required hereMinimum number of items (
minItems):2
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gio"Item 2
Exact value (
const):"link"When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):5
reg-names— not listed as required hereMinimum number of items (
minItems):5
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereExact value (
const):"link"
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereExact value (
const):"link"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "resets", "reset-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pcie_ep: pcie-ep@66000000 {
compatible = "socionext,uniphier-pro5-pcie-ep";
reg-names = "dbi", "dbi2", "link", "addr_space";
reg = <0x66000000 0x1000>, <0x66001000 0x1000>,
<0x66010000 0x10000>, <0x67000000 0x400000>;
clock-names = "gio", "link";
clocks = <&sys_clk 12>, <&sys_clk 24>;
reset-names = "gio", "link";
resets = <&sys_rst 12>, <&sys_rst 24>;
num-ib-windows = <16>;
num-ob-windows = <16>;
num-lanes = <4>;
phy-names = "pcie-phy";
phys = <&pcie_phy>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Socionext UniPhier PCIe host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/socionext,uniphier-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
UniPhier PCIe host controller is based on the Synopsys DesignWare PCI core. It shares common features with the PCIe DesignWare core and inherits common properties defined in Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "socionext,uniphier-pcie"
reg — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
reg-names — required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"link"
Item 3
Exact value (
const):"config"
Item 4
Exact value (
const):"atu"
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
num-viewport — not listed as required here #
true — No constraints added by this property rule.
num-lanes — not listed as required here #
true — No constraints added by this property rule.
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Exact value (const): "pcie-phy"
legacy-interrupt-controller — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#address-cells — not listed as required here
Exact value (const): 0
interrupt-controller — not listed as required here
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here
Exact value (const): 1
interrupts — not listed as required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "resets"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
gic: interrupt-controller {
interrupt-controller;
#interrupt-cells = <3>;
};
};
pcie: pcie@66000000 {
compatible = "socionext,uniphier-pcie";
reg-names = "dbi", "link", "config";
reg = <0x66000000 0x1000>, <0x66010000 0x10000>, <0x2fff0000 0x10000>;
#address-cells = <3>;
#size-cells = <2>;
clocks = <&sys_clk 24>;
resets = <&sys_rst 24>;
num-lanes = <1>;
num-viewport = <1>;
bus-range = <0x0 0xff>;
device_type = "pci";
ranges = <0x81000000 0 0x00000000 0x2ffe0000 0 0x00010000>,
<0x82000000 0 0x00000000 0x20000000 0 0x0ffe0000>;
phy-names = "pcie-phy";
phys = <&pcie_phy>;
#interrupt-cells = <1>;
interrupt-names = "dma", "msi";
interrupt-parent = <&gic>;
interrupts = <0 224 4>, <0 225 4>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc 0>,
<0 0 0 2 &pcie_intc 1>,
<0 0 0 3 &pcie_intc 2>,
<0 0 0 4 &pcie_intc 3>;
pcie_intc: legacy-interrupt-controller {
#address-cells = <0>;
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&gic>;
interrupts = <0 226 4>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Sophgo SG2042 PCIe Host (Cadence PCIe Wrapper)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/sophgo,sg2042-pcie-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Sophgo SG2042 PCIe host controller is based on the Cadence PCIe core.
Maintainers (maintainers): "Chen Wang <unicorn_wang@outlook.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sophgo,sg2042-pcie-host"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"reg"
Item 2
Exact value (
const):"cfg"
vendor-id — not listed as required here #
Exact value (const): 7964
device-id — not listed as required here #
Exact value (const): 8258
msi-parent — not listed as required here #
true — No constraints added by this property rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cdns-pcie-host.yaml#
Required in this object (required): "compatible", "reg", "reg-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
pcie@62000000 {
compatible = "sophgo,sg2042-pcie-host";
device_type = "pci";
reg = <0x62000000 0x00800000>,
<0x48000000 0x00001000>;
reg-names = "reg", "cfg";
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x81000000 0 0x00000000 0xde000000 0 0x00010000>,
<0x82000000 0 0xd0400000 0xd0400000 0 0x0d000000>;
bus-range = <0x00 0xff>;
vendor-id = <0x1f1c>;
device-id = <0x2042>;
cdns,no-bar-match-nbits = <48>;
msi-parent = <&msi>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
DesignWare based PCIe Root Complex controller on Sophgo SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/sophgo,sg2044-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Inochi Amaoto <inochiama@gmail.com>"
SG2044 SoC PCIe Root Complex controller is based on the Synopsys DesignWare PCIe IP and thus inherits all the common properties defined in snps,dw-pcie.yaml.
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/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sophgo,sg2044-pcie"
reg — required here #
Array item rules (items) #
Item 1
Data Bus Interface (DBI) registers
Item 2
iATU registers
Item 3
Config registers
Item 4
Sophgo designed configuration registers
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"atu"
Item 3
Exact value (
const):"config"
Item 4
Exact value (
const):"app"
clocks — required here #
Array item rules (items) #
Item 1
core clk
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
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.
interrupts — required here
Array item rules (items)
Item 1
combined legacy interrupt
Required in this object (required): "#address-cells", "#interrupt-cells", "interrupt-controller", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
msi-parent — not listed as required here #
true — No constraints added by this property rule.
ranges — not listed as required here #
Maximum number of items (maxItems): 5
Required in this object (required): "compatible", "reg", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@6c00400000 {
compatible = "sophgo,sg2044-pcie";
reg = <0x6c 0x00400000 0x0 0x00001000>,
<0x6c 0x00700000 0x0 0x00004000>,
<0x40 0x00000000 0x0 0x00001000>,
<0x6c 0x00780c00 0x0 0x00000400>;
reg-names = "dbi", "atu", "config", "app";
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
clocks = <&clk 0>;
clock-names = "core";
device_type = "pci";
linux,pci-domain = <0>;
msi-parent = <&msi>;
ranges = <0x01000000 0x0 0x00000000 0x40 0x10000000 0x0 0x00200000>,
<0x42000000 0x0 0x00000000 0x0 0x00000000 0x0 0x04000000>,
<0x02000000 0x0 0x04000000 0x0 0x04000000 0x0 0x04000000>,
<0x43000000 0x42 0x00000000 0x42 0x00000000 0x2 0x00000000>,
<0x03000000 0x41 0x00000000 0x41 0x00000000 0x1 0x00000000>;
interrupt-controller {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
interrupt-parent = <&intc>;
interrupts = <64 IRQ_TYPE_LEVEL_HIGH>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
SpacemiT K1 PCI Express Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/spacemit,k1-pcie-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alex Elder <elder@riscstar.com>"
The SpacemiT K1 SoC PCIe host controller is based on the Synopsys DesignWare PCIe IP. The controller uses the DesignWare built-in MSI interrupt controller, and supports 256 MSIs.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "spacemit,k1-pcie"
reg — not listed as required here #
Array item rules (items) #
Item 1
DesignWare PCIe registers
Item 2
ATU address space
Item 3
PCIe configuration space
Item 4
Link control registers
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"atu"
Item 3
Exact value (
const):"config"
Item 4
Exact value (
const):"link"
clocks — required here #
Array item rules (items) #
Item 1
DWC PCIe Data Bus Interface (DBI) clock
Item 2
DWC PCIe application AXI-bus master interface clock
Item 3
DWC PCIe application AXI-bus slave interface clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"mstr"
Item 3
Exact value (
const):"slv"
resets — required here #
Array item rules (items) #
Item 1
DWC PCIe Data Bus Interface (DBI) reset
Item 2
DWC PCIe application AXI-bus master interface reset
Item 3
DWC PCIe application AXI-bus slave interface reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"mstr"
Item 3
Exact value (
const):"slv"
interrupts — required here #
Array item rules (items) #
Item 1
Interrupt used for MSIs
interrupt-names — required here #
Exact value (const): "msi"
spacemit,apmu — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
A phandle that refers to the APMU system controller, whose regmap is used in managing resets and link state, along with and offset of its reset control register.
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to APMU system controller
Item 2
register offset
Properties matching a name pattern (patternProperties) #
^pcie@ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/pci/pci-pci-bridge.yaml#
Properties and child nodes (properties) #
phys — required here
Maximum number of items (maxItems): 1
vpcie3v3-supply — required here
A phandle for 3.3v regulator to use for PCIe
Required in this object (required): "phys", "vpcie3v3-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "clocks", "clock-names", "resets", "reset-names", "interrupts", "interrupt-names", "spacemit,apmu"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/spacemit,k1-syscon.h>
pcie@ca400000 {
device_type = "pci";
compatible = "spacemit,k1-pcie";
reg = <0xca400000 0x00001000>,
<0xca700000 0x0001ff24>,
<0x9f000000 0x00002000>,
<0xc0c20000 0x00001000>;
reg-names = "dbi",
"atu",
"config",
"link";
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x01000000 0x0 0x00000000 0x9f002000 0x0 0x00100000>,
<0x02000000 0x0 0x90000000 0x90000000 0x0 0x0f000000>;
interrupts = <142>;
interrupt-names = "msi";
clocks = <&syscon_apmu CLK_PCIE1_DBI>,
<&syscon_apmu CLK_PCIE1_MASTER>,
<&syscon_apmu CLK_PCIE1_SLAVE>;
clock-names = "dbi",
"mstr",
"slv";
resets = <&syscon_apmu RESET_PCIE1_DBI>,
<&syscon_apmu RESET_PCIE1_MASTER>,
<&syscon_apmu RESET_PCIE1_SLAVE>;
reset-names = "dbi",
"mstr",
"slv";
pinctrl-names = "default";
pinctrl-0 = <&pcie1_3_cfg>;
spacemit,apmu = <&syscon_apmu 0x3d4>;
pcie@0 {
device_type = "pci";
compatible = "pciclass,0604";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
phys = <&pcie1_phy>;
vpcie3v3-supply = <&pcie_vcc_3v3>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ST SPEAr1340 PCIe controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/st,spear1340-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pratyush Anand <pratyush.anand@gmail.com>"
SPEAr13XX uses the Synopsys DesignWare PCIe controller and ST MiPHY as PHY controller.
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Exact value (
const):"st,spear1340-pcie"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"st,spear1340-pcie"
Item 2
Exact value (
const):"snps,dw-pcie"
phys — required here #
Maximum number of items (maxItems): 1
st,pcie-is-gen1 — not listed as required here #
Value type (type): "boolean"
Indicates forced gen1 initialization is needed.
Required in this object (required): "compatible", "phys", "phy-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dw-pcie.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STM32MP25 PCIe RC/EP controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/st,stm32-pcie-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christian Bruel <christian.bruel@foss.st.com>"
STM32MP25 PCIe RC/EP common properties
Properties and child nodes (properties) #
clocks — required here #
Maximum number of items (maxItems): 1
PCIe system clock
resets — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
access-controllers — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "clocks", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
STMicroelectronics STM32MP25 PCIe Endpoint
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/st,stm32-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christian Bruel <christian.bruel@foss.st.com>"
PCIe endpoint controller based on the Synopsys DesignWare PCIe core.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie-ep.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/st,stm32-pcie-common.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "st,stm32mp25-pcie-ep"
reg — not listed as required here #
Array item rules (items) #
Item 1
Data Bus Interface (DBI) registers.
Item 2
Data Bus Interface (DBI) shadow registers.
Item 3
Internal Address Translation Unit (iATU) registers.
Item 4
PCIe configuration registers.
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"dbi2"
Item 3
Exact value (
const):"atu"
Item 4
Exact value (
const):"addr_space"
reset-gpios — required here #
GPIO controlled connection to PERST# signal
Maximum number of items (maxItems): 1
phys — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "phys", "reset-gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/st,stm32mp25-rcc.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset/st,stm32mp25-rcc.h>
pcie-ep@48400000 {
compatible = "st,stm32mp25-pcie-ep";
reg = <0x48400000 0x400000>,
<0x48500000 0x100000>,
<0x48700000 0x80000>,
<0x10000000 0x10000000>;
reg-names = "dbi", "dbi2", "atu", "addr_space";
clocks = <&rcc CK_BUS_PCIE>;
phys = <&combophy PHY_TYPE_PCIE>;
resets = <&rcc PCIE_R>;
pinctrl-names = "default", "init";
pinctrl-0 = <&pcie_pins_a>;
pinctrl-1 = <&pcie_init_pins_a>;
reset-gpios = <&gpioj 8 GPIO_ACTIVE_LOW>;
access-controllers = <&rifsc 68>;
power-domains = <&CLUSTER_PD>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
STMicroelectronics STM32MP25 PCIe Root Complex
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/st,stm32-pcie-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christian Bruel <christian.bruel@foss.st.com>"
PCIe root complex controller based on the Synopsys DesignWare PCIe core.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/st,stm32-pcie-common.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "st,stm32mp25-pcie-rc"
reg — not listed as required here #
Array item rules (items) #
Item 1
Data Bus Interface (DBI) registers.
Item 2
PCIe configuration registers.
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"config"
msi-parent — not listed as required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^pcie@[0-2],0$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/pci/pci-pci-bridge.yaml#
Properties and child nodes (properties) #
reg — not listed as required here
Maximum number of items (maxItems): 1
phys — required here
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here
GPIO controlled connection to PERST# signal
Maximum number of items (maxItems): 1
wake-gpios — not listed as required here
GPIO used as WAKE# input signal
Maximum number of items (maxItems): 1
Required in this object (required): "phys", "ranges"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "interrupt-map", "interrupt-map-mask", "ranges", "dma-ranges"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/st,stm32mp25-rcc.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset/st,stm32mp25-rcc.h>
pcie@48400000 {
compatible = "st,stm32mp25-pcie-rc";
device_type = "pci";
reg = <0x48400000 0x400000>,
<0x10000000 0x10000>;
reg-names = "dbi", "config";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &intc 0 0 GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &intc 0 0 GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc 0 0 GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc 0 0 GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x01000000 0x0 0x00000000 0x10010000 0x0 0x10000>,
<0x02000000 0x0 0x10020000 0x10020000 0x0 0x7fe0000>,
<0x42000000 0x0 0x18000000 0x18000000 0x0 0x8000000>;
dma-ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x80000000>;
clocks = <&rcc CK_BUS_PCIE>;
resets = <&rcc PCIE_R>;
msi-parent = <&v2m0>;
access-controllers = <&rifsc 68>;
power-domains = <&CLUSTER_PD>;
pcie@0,0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
phys = <&combophy PHY_TYPE_PCIE>;
wake-gpios = <&gpioh 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
reset-gpios = <&gpioj 8 GPIO_ACTIVE_LOW>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
StarFive JH7110 PCIe host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/starfive,jh7110-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kevin Xie <kevin.xie@starfivetech.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):plda,xpressrich3-axi-common.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "starfive,jh7110-pcie"
reg — not listed as required here #
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Maximum number of items (maxItems): 2
clocks — required here #
Array item rules (items) #
Item 1
NOC bus clock
Item 2
Transport layer clock
Item 3
AXI MST0 clock
Item 4
APB clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"noc"
Item 2
Exact value (
const):"tl"
Item 3
Exact value (
const):"axi_mst0"
Item 4
Exact value (
const):"apb"
resets — required here #
Array item rules (items) #
Item 1
AXI MST0 reset
Item 2
AXI SLAVE0 reset
Item 3
AXI SLAVE reset
Item 4
PCIE BRIDGE reset
Item 5
PCIE CORE reset
Item 6
PCIE APB reset
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"mst0"
Item 2
Exact value (
const):"slv0"
Item 3
Exact value (
const):"slv"
Item 4
Exact value (
const):"brg"
Item 5
Exact value (
const):"core"
Item 6
Exact value (
const):"apb"
starfive,stg-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
The phandle to System Register Controller syscon node.
perst-gpios — not listed as required here #
GPIO controlled connection to PERST# signal
Maximum number of items (maxItems): 1
phys — not listed as required here #
Specified PHY is attached to PCIe controller.
Maximum number of items (maxItems): 1
Required in this object (required): "clocks", "resets", "starfive,stg-syscon"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@940000000 {
compatible = "starfive,jh7110-pcie";
reg = <0x9 0x40000000 0x0 0x10000000>,
<0x0 0x2b000000 0x0 0x1000000>;
reg-names = "cfg", "apb";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
device_type = "pci";
ranges = <0x82000000 0x0 0x30000000 0x0 0x30000000 0x0 0x08000000>,
<0xc3000000 0x9 0x00000000 0x9 0x00000000 0x0 0x40000000>;
starfive,stg-syscon = <&stg_syscon>;
bus-range = <0x0 0xff>;
interrupt-parent = <&plic>;
interrupts = <56>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc0 0x1>,
<0x0 0x0 0x0 0x2 &pcie_intc0 0x2>,
<0x0 0x0 0x0 0x3 &pcie_intc0 0x3>,
<0x0 0x0 0x0 0x4 &pcie_intc0 0x4>;
msi-controller;
clocks = <&syscrg 86>,
<&stgcrg 10>,
<&stgcrg 8>,
<&stgcrg 9>;
clock-names = "noc", "tl", "axi_mst0", "apb";
resets = <&stgcrg 11>,
<&stgcrg 12>,
<&stgcrg 13>,
<&stgcrg 14>,
<&stgcrg 15>,
<&stgcrg 16>;
perst-gpios = <&gpios 26 GPIO_ACTIVE_LOW>;
phys = <&pciephy0>;
pcie_intc0: 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)
TI AM65 PCI Endpoint
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/ti,am65-pci-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pci-ep.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,am654-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 4
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"app"
Item 2
Exact value (
const):"dbics"
Item 3
Exact value (
const):"addr_space"
Item 4
Exact value (
const):"atu"
power-domains — required here #
Maximum number of items (maxItems): 1
ti,syscon-pcie-mode — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle to the SYSCON entry
Item 2
pcie_ctrl register offset within SYSCON
Phandle to the SYSCON entry required for configuring PCIe in RC or EP mode.
interrupts — not listed as required here #
Minimum number of items (minItems): 1
dma-coherent — required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "reg-names", "max-link-speed", "power-domains", "ti,syscon-pcie-mode", "dma-coherent"
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/soc/ti,sci_pm_domain.h>
pcie0_ep: pcie-ep@5500000 {
compatible = "ti,am654-pcie-ep";
reg = <0x5500000 0x1000>,
<0x5501000 0x1000>,
<0x10000000 0x8000000>,
<0x5506000 0x1000>;
reg-names = "app", "dbics", "addr_space", "atu";
power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
ti,syscon-pcie-mode = <&scm_conf 0x4060>;
max-link-speed = <2>;
dma-coherent;
interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/
TI AM65 PCI Host
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/ti,am65-pci-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.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): "ti,am654-pcie-rc", "ti,keystone-pcie"
reg — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 6
reg-names — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"app"
Item 2
Exact value (
const):"dbics"
Item 3
Exact value (
const):"config"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"vmap_lp"
Item 6
Exact value (
const):"vmap_hp"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
ti,syscon-pcie-id — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle to the SYSCON entry
Item 2
pcie_device_id register offset within SYSCON
Phandle to the SYSCON entry required for getting PCIe device/vendor ID
ti,syscon-pcie-mode — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle to the SYSCON entry
Item 2
pcie_ctrl register offset within SYSCON
Phandle to the SYSCON entry required for configuring PCIe in RC or EP mode.
msi-map — not listed as required here #
true — No constraints added by this property rule.
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
num-viewport — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
phys — not listed as required here #
per-lane PHYs
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
phy-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items) #
String pattern (
pattern):"^pcie-phy[0-1]$"
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
phandle to a restricted DMA pool to be used for all devices behind this controller. The regions should be defined according to reserved-memory/shared-dma-pool.yaml. Note that enforcement via the PVU will only be available to ti,am654-pcie-rc devices.
Required in this object (required): "compatible", "reg", "reg-names", "max-link-speed", "ti,syscon-pcie-id", "ti,syscon-pcie-mode", "ranges"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #
When the condition matches (then) #
Required in this object (
required):"dma-coherent","power-domains","msi-map","num-viewport"
When the condition does not match (else) #
Properties and child nodes (
properties) #
reg— not listed as required here #Maximum number of items (
maxItems):4
reg-names— not listed as required here #Maximum number of items (
maxItems):4
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/soc/ti,sci_pm_domain.h>
pcie0_rc: pcie@5500000 {
compatible = "ti,am654-pcie-rc";
reg = <0x5500000 0x1000>,
<0x5501000 0x1000>,
<0x10000000 0x2000>,
<0x5506000 0x1000>,
<0x2900000 0x1000>,
<0x2908000 0x1000>;
reg-names = "app", "dbics", "config", "atu", "vmap_lp", "vmap_hp";
power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x81000000 0 0 0x10020000 0 0x00010000>,
<0x82000000 0 0x10030000 0x10030000 0 0x07FD0000>;
ti,syscon-pcie-id = <&scm_conf 0x0210>;
ti,syscon-pcie-mode = <&scm_conf 0x4060>;
bus-range = <0x0 0xff>;
num-viewport = <16>;
max-link-speed = <2>;
dma-coherent;
interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
msi-map = <0x0 &gic_its 0x0 0x10000>;
device_type = "pci";
num-lanes = <1>;
phys = <&serdes0 PHY_TYPE_PCIE 0>;
phy-names = "pcie-phy0";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/
TI J721E PCI EP (PCIe Wrapper)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"ti,j721e-pcie-ep"
Rule 2
Exact value (
const):"ti,j784s4-pcie-ep"
Rule 3
PCIe EP controller in AM64
Array item rules (
items)Item 1
Exact value (
const):"ti,am64-pcie-ep"Item 2
Exact value (
const):"ti,j721e-pcie-ep"
Rule 4
PCIe EP controller in J7200
Array item rules (
items)Item 1
Exact value (
const):"ti,j7200-pcie-ep"Item 2
Exact value (
const):"ti,j721e-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 4
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"intd_cfg"
Item 2
Exact value (
const):"user_cfg"
Item 3
Exact value (
const):"reg"
Item 4
Exact value (
const):"mem"
ti,syscon-pcie-ctrl — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle to the SYSCON entry
Item 2
pcie_ctrl register offset within SYSCON
Specifier for configuring PCIe mode and link speed.
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-specifier to represent input to the PCIe
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"fck"
dma-coherent — not listed as required here #
Indicates that the PCIe IP block can ensure the coherency
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"link_state"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cdns-pcie-ep.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
num-lanes— not listed as required hereExact value (
const):1
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"ti,j7200-pcie-ep","ti,j721e-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
num-lanes— not listed as required hereMinimum value (
minimum):1Maximum value (
maximum):2
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
num-lanes— not listed as required hereMinimum value (
minimum):1Maximum value (
maximum):4
Required in this object (required): "compatible", "reg", "reg-names", "ti,syscon-pcie-ctrl", "max-link-speed", "num-lanes", "power-domains", "clocks", "clock-names", "max-functions", "phys", "phy-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/soc/ti,sci_pm_domain.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie0_ep: pcie-ep@d000000 {
compatible = "ti,j721e-pcie-ep";
reg = <0x00 0x02900000 0x00 0x1000>,
<0x00 0x02907000 0x00 0x400>,
<0x00 0x0d000000 0x00 0x00800000>,
<0x00 0x10000000 0x00 0x08000000>;
reg-names = "intd_cfg", "user_cfg", "reg", "mem";
ti,syscon-pcie-ctrl = <&pcie0_ctrl 0x4070>;
max-link-speed = <3>;
num-lanes = <2>;
power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 239 1>;
clock-names = "fck";
max-functions = /bits/ 8 <6>;
dma-coherent;
phys = <&serdes0_pcie_link>;
phy-names = "pcie-phy";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
TI J721E PCI Host (PCIe Wrapper)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/ti,j721e-pci-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"ti,j721e-pcie-host"
Rule 2
Exact value (
const):"ti,j784s4-pcie-host"
Rule 3
PCIe controller in AM64
Array item rules (
items)Item 1
Exact value (
const):"ti,am64-pcie-host"Item 2
Exact value (
const):"ti,j721e-pcie-host"
Rule 4
PCIe controller in J7200
Array item rules (
items)Item 1
Exact value (
const):"ti,j7200-pcie-host"Item 2
Exact value (
const):"ti,j721e-pcie-host"
Rule 5
PCIe controller in J722S
Array item rules (
items)Item 1
Exact value (
const):"ti,j722s-pcie-host"Item 2
Exact value (
const):"ti,j721e-pcie-host"
reg — required here #
Maximum number of items (maxItems): 4
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"intd_cfg"
Item 2
Exact value (
const):"user_cfg"
Item 3
Exact value (
const):"reg"
Item 4
Exact value (
const):"cfg"
ti,syscon-acspcie-proxy-ctrl — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle to the ACSPCIE Proxy Control Register
Item 2
Bitmask corresponding to the PAD IO Buffer output enable fields (Active Low).
Specifier for enabling the ACSPCIE PAD outputs to drive the reference clock to the Endpoint device.
ti,syscon-pcie-ctrl — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle to the SYSCON entry
Item 2
pcie_ctrl register offset within SYSCON
Specifier for configuring PCIe mode and link speed.
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-specifier to represent input to the PCIe for 1 item. 2nd item if present represents reference clock to the connector.
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"fck"
Item 2
Exact value (
const):"pcie_refclk"
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
vendor-id — required here #
Exact value (const): 4172
device-id — required here #
Allowed values (enum): 45069, 45071, 45072, 45074, 45075
msi-map — required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"link_state"
interrupt-controller — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#address-cells — not listed as required here
Exact value (const): 0
interrupt-controller — not listed as required here
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here
Exact value (const): 1
interrupts — not listed as required here
Maximum number of items (maxItems): 1
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cdns-pcie-host.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
num-lanes— not listed as required hereExact value (
const):1
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"ti,j7200-pcie-host","ti,j721e-pcie-host"When the condition matches (
then) #Properties and child nodes (
properties)
num-lanes— not listed as required hereMinimum value (
minimum):1Maximum value (
maximum):2
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
num-lanes— not listed as required hereMinimum value (
minimum):1Maximum value (
maximum):4
Required in this object (required): "compatible", "reg", "reg-names", "ti,syscon-pcie-ctrl", "max-link-speed", "num-lanes", "power-domains", "clocks", "clock-names", "vendor-id", "device-id", "msi-map", "dma-ranges", "ranges", "reset-gpios", "phys", "phy-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/soc/ti,sci_pm_domain.h>
#include <dt-bindings/gpio/gpio.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie0_rc: pcie@2900000 {
compatible = "ti,j721e-pcie-host";
reg = <0x00 0x02900000 0x00 0x1000>,
<0x00 0x02907000 0x00 0x400>,
<0x00 0x0d000000 0x00 0x00800000>,
<0x00 0x10000000 0x00 0x00001000>;
reg-names = "intd_cfg", "user_cfg", "reg", "cfg";
ti,syscon-pcie-ctrl = <&pcie0_ctrl 0x4070>;
max-link-speed = <3>;
num-lanes = <2>;
power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 239 1>;
clock-names = "fck";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x0 0xf>;
vendor-id = <0x104c>;
device-id = <0xb00d>;
msi-map = <0x0 &gic_its 0x0 0x10000>;
dma-coherent;
reset-gpios = <&exp1 6 GPIO_ACTIVE_HIGH>;
phys = <&serdes0_pcie_link>;
phy-names = "pcie-phy";
ranges = <0x01000000 0x0 0x10001000 0x00 0x10001000 0x0 0x0010000>,
<0x02000000 0x0 0x10011000 0x00 0x10011000 0x0 0x7fef000>;
dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
Toshiba TC9563 PCIe switch
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/toshiba,tc9563.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>"
Toshiba TC9563 PCIe switch has one upstream and three downstream ports. The 3rd downstream port has integrated endpoint device of Ethernet MAC. Other two downstream ports are supposed to connect to external device.
The TC9563 PCIe switch can be configured through I2C interface before PCIe link is established to change FTS, ASPM related entry delays, tx amplitude etc for better power efficiency and functionality.
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "pci1179,0623"
reg — not listed as required here #
Maximum number of items (maxItems): 1
resx-gpios — required here #
Maximum number of items (maxItems): 1
GPIO controlling the RESX# pin.
vdd18-supply — required here #
true — No constraints added by this property rule.
vdd09-supply — required here #
true — No constraints added by this property rule.
vddc-supply — required here #
true — No constraints added by this property rule.
vddio1-supply — required here #
true — No constraints added by this property rule.
vddio2-supply — required here #
true — No constraints added by this property rule.
vddio18-supply — required here #
true — No constraints added by this property rule.
i2c-parent — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
A phandle to the parent I2C node and the slave address of the device used to configure tc9563 to change FTS, tx amplitude etc.
Array item rules (items) #
Item 1
Phandle to the I2C controller node
Item 2
I2C slave address
Properties matching a name pattern (patternProperties) #
^pcie@[1-3],0$ — name matches this regular expression #
child nodes describing the internal downstream ports of the tc9563 switch.
Value type (type): "object"
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):#/$defs/tc9563-node
Rule 2
Shared schema rule (
$ref):/schemas/pci/pci-pci-bridge.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Reusable definitions ($defs) #
tc9563-node #
Value type (type): "object"
Properties and child nodes (properties) #
toshiba,tx-amplitude-microvolt — not listed as required here
Change Tx Margin setting for low power consumption.
toshiba,no-dfe-support — not listed as required here
Value type (type): "boolean"
Disable DFE (Decision Feedback Equalizer), which mitigates intersymbol interference and some reflections caused by impedance mismatches.
Required in this object (required): "resx-gpios", "vdd18-supply", "vdd09-supply", "vddc-supply", "vddio1-supply", "vddio2-supply", "vddio18-supply", "i2c-parent"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):#/$defs/tc9563-node
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/pci-bus-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
pcie {
#address-cells = <3>;
#size-cells = <2>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
bus-range = <0x01 0xff>;
pcie@0,0 {
compatible = "pci1179,0623";
reg = <0x10000 0x0 0x0 0x0 0x0>;
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
ranges;
bus-range = <0x02 0xff>;
i2c-parent = <&qup_i2c 0x77>;
vdd18-supply = <&vdd>;
vdd09-supply = <&vdd>;
vddc-supply = <&vdd>;
vddio1-supply = <&vdd>;
vddio2-supply = <&vdd>;
vddio18-supply = <&vdd>;
resx-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
pcie@1,0 {
compatible = "pciclass,0604";
reg = <0x20800 0x0 0x0 0x0 0x0>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges;
bus-range = <0x03 0xff>;
toshiba,no-dfe-support;
};
pcie@2,0 {
compatible = "pciclass,0604";
reg = <0x21000 0x0 0x0 0x0 0x0>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges;
bus-range = <0x04 0xff>;
};
pcie@3,0 {
compatible = "pciclass,0604";
reg = <0x21800 0x0 0x0 0x0 0x0>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges;
bus-range = <0x05 0xff>;
toshiba,tx-amplitude-microvolt = <10>;
ethernet@0,0 {
reg = <0x50000 0x0 0x0 0x0 0x0>;
};
ethernet@0,1 {
reg = <0x50100 0x0 0x0 0x0 0x0>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Toshiba Visconti5 SoC PCIe Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/toshiba,visconti-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>"
Toshiba Visconti5 SoC PCIe host controller is based on the Synopsys DesignWare PCIe IP.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "toshiba,visconti-pcie"
reg — required here #
Array item rules (items) #
Item 1
Data Bus Interface (DBI) registers.
Item 2
PCIe configuration space region.
Item 3
Visconti specific additional registers.
Item 4
Visconti specific SMU registers
Item 5
Visconti specific memory protection unit registers (MPU)
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"config"
Item 3
Exact value (
const):"ulreg"
Item 4
Exact value (
const):"smu"
Item 5
Exact value (
const):"mpu"
interrupts — required here #
Maximum number of items (maxItems): 2
clocks — required here #
Array item rules (items) #
Item 1
PCIe reference clock
Item 2
PCIe system clock
Item 3
Auxiliary clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"core"
Item 3
Exact value (
const):"aux"
num-lanes — required here #
Exact value (const): 2
Required in this object (required): "reg", "reg-names", "interrupts", "#interrupt-cells", "interrupt-map", "interrupt-map-mask", "num-lanes", "clocks", "clock-names", "max-link-speed"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie: pcie@28400000 {
compatible = "toshiba,visconti-pcie";
reg = <0x0 0x28400000 0x0 0x00400000>,
<0x0 0x70000000 0x0 0x10000000>,
<0x0 0x28050000 0x0 0x00010000>,
<0x0 0x24200000 0x0 0x00002000>,
<0x0 0x24162000 0x0 0x00001000>;
reg-names = "dbi", "config", "ulreg", "smu", "mpu";
device_type = "pci";
bus-range = <0x00 0xff>;
num-lanes = <2>;
num-viewport = <8>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges = <0x81000000 0 0x40000000 0 0x40000000 0 0x00010000>,
<0x82000000 0 0x50000000 0 0x50000000 0 0x20000000>;
interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi", "intr";
interrupt-map-mask = <0 0 0 7>;
interrupt-map =
<0 0 0 1 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
0 0 0 2 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
0 0 0 3 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
0 0 0 4 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&extclk100mhz>, <&clk600mhz>, <&clk25mhz>;
clock-names = "ref", "core", "aux";
max-link-speed = <2>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
V3 Semiconductor V360 EPC PCI bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/v3,v360epc-pci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
This bridge is found in the ARM Integrator/AP (Application Platform)
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 #
Array item rules (items) #
Item 1
Exact value (
const):"arm,integrator-ap-pci"
Item 2
Exact value (
const):"v3,v360epc-pci"
reg — required here #
Array item rules (items) #
Item 1
V3 host bridge controller
Item 2
Configuration space
clocks — required here #
Maximum number of items (maxItems): 1
dma-ranges — required here #
Maximum number of items (maxItems): 2
The inbound ranges must be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as pre-fetchable.
interrupts — not listed as required here #
Bus Error IRQ
Maximum number of items (maxItems): 1
ranges — not listed as required here #
The non-prefetchable and prefetchable memory windows must each be exactly 256MB (0x10000000) in size. The prefetchable memory window must be immediately adjacent to the non-prefetchable memory window.
Required in this object (required): "compatible", "reg", "clocks", "dma-ranges", "#interrupt-cells", "interrupt-map", "interrupt-map-mask"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pci@62000000 {
compatible = "arm,integrator-ap-pci", "v3,v360epc-pci";
#interrupt-cells = <1>;
#size-cells = <2>;
#address-cells = <3>;
reg = <0x62000000 0x10000>, <0x61000000 0x01000000>;
device_type = "pci";
interrupt-parent = <&pic>;
interrupts = <17>; /* Bus error IRQ */
clocks = <&pciclk>;
ranges = <0x01000000 0 0x00000000 0x60000000 0 0x01000000>, /* 16 MiB @ LB 60000000 */
<0x02000000 0 0x40000000 0x40000000 0 0x10000000>, /* 256 MiB @ LB 40000000 1:1 */
<0x42000000 0 0x50000000 0x50000000 0 0x10000000>; /* 256 MiB @ LB 50000000 1:1 */
dma-ranges = <0x02000000 0 0x20000000 0x20000000 0 0x20000000>, /* EBI: 512 MB @ LB 20000000 1:1 */
<0x02000000 0 0x80000000 0x80000000 0 0x40000000>; /* CM alias: 1GB @ LB 80000000 */
interrupt-map-mask = <0xf800 0 0 0x7>;
interrupt-map =
/* IDSEL 9 */
<0x4800 0 0 1 &pic 13>, /* INT A on slot 9 is irq 13 */
<0x4800 0 0 2 &pic 14>, /* INT B on slot 9 is irq 14 */
<0x4800 0 0 3 &pic 15>, /* INT C on slot 9 is irq 15 */
<0x4800 0 0 4 &pic 16>, /* INT D on slot 9 is irq 16 */
/* IDSEL 10 */
<0x5000 0 0 1 &pic 14>, /* INT A on slot 10 is irq 14 */
<0x5000 0 0 2 &pic 15>, /* INT B on slot 10 is irq 15 */
<0x5000 0 0 3 &pic 16>, /* INT C on slot 10 is irq 16 */
<0x5000 0 0 4 &pic 13>, /* INT D on slot 10 is irq 13 */
/* IDSEL 11 */
<0x5800 0 0 1 &pic 15>, /* INT A on slot 11 is irq 15 */
<0x5800 0 0 2 &pic 16>, /* INT B on slot 11 is irq 16 */
<0x5800 0 0 3 &pic 13>, /* INT C on slot 11 is irq 13 */
<0x5800 0 0 4 &pic 14>, /* INT D on slot 11 is irq 14 */
/* IDSEL 12 */
<0x6000 0 0 1 &pic 16>, /* INT A on slot 12 is irq 16 */
<0x6000 0 0 2 &pic 13>, /* INT B on slot 12 is irq 13 */
<0x6000 0 0 3 &pic 14>, /* INT C on slot 12 is irq 14 */
<0x6000 0 0 4 &pic 15>; /* INT D on slot 12 is irq 15 */
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
ARM Versatile Platform Baseboard PCI interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/versatile.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
PCI host controller found on the ARM Versatile PB board's FPGA.
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 #
Exact value (const): "arm,versatile-pci"
reg — required here #
Array item rules (items) #
Item 1
Versatile-specific registers
Item 2
Self Config space
Item 3
Config space
ranges — required here #
Maximum number of items (maxItems): 3
#interrupt-cells — required here #
true — No constraints added by this property rule.
interrupt-map — required here #
Maximum number of items (maxItems): 16
interrupt-map-mask — required here #
Array item rules (items) #
Item 1
Exact value (
const):6144
Item 2
Exact value (
const):0
Item 3
Exact value (
const):0
Item 4
Exact value (
const):7
Required in this object (required): "compatible", "reg", "ranges", "#interrupt-cells", "interrupt-map", "interrupt-map-mask"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pci@10001000 {
compatible = "arm,versatile-pci";
device_type = "pci";
reg = <0x10001000 0x1000>,
<0x41000000 0x10000>,
<0x42000000 0x100000>;
bus-range = <0 0xff>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges =
<0x01000000 0 0x00000000 0x43000000 0 0x00010000>, /* downstream I/O */
<0x02000000 0 0x50000000 0x50000000 0 0x10000000>, /* non-prefetchable memory */
<0x42000000 0 0x60000000 0x60000000 0 0x10000000>; /* prefetchable memory */
interrupt-map-mask = <0x1800 0 0 7>;
interrupt-map = <0x1800 0 0 1 &sic 28>,
<0x1800 0 0 2 &sic 29>,
<0x1800 0 0 3 &sic 30>,
<0x1800 0 0 4 &sic 27>,
<0x1000 0 0 1 &sic 27>,
<0x1000 0 0 2 &sic 28>,
<0x1000 0 0 3 &sic 29>,
<0x1000 0 0 4 &sic 30>,
<0x0800 0 0 1 &sic 30>,
<0x0800 0 0 2 &sic 27>,
<0x0800 0 0 3 &sic 28>,
<0x0800 0 0 4 &sic 29>,
<0x0000 0 0 1 &sic 29>,
<0x0000 0 0 2 &sic 30>,
<0x0000 0 0 3 &sic 27>,
<0x0000 0 0 4 &sic 28>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
CPM Host Controller device tree for Xilinx Versal SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/xilinx-versal-cpm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bharat Kumar Gogada <bharat.kumar.gogada@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 — not listed as required here #
Allowed values (enum): "xlnx,versal-cpm-host-1.00", "xlnx,versal-cpm5-host", "xlnx,versal-cpm5-host1", "xlnx,versal-cpm5nc-host"
reg — required here #
Array item rules (items) #
Item 1
CPM system level control and status registers.
Item 2
Configuration space region and bridge registers.
Item 3
CPM5 control and status registers.
Minimum number of items (minItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cpm_slcr"
Item 2
Exact value (
const):"cfg"
Item 3
Exact value (
const):"cpm_csr"
Minimum number of items (minItems): 2
interrupts — required here #
Maximum number of items (maxItems): 1
msi-map — required here #
Maps a Requester ID to an MSI controller and associated MSI sideband data.
ranges — not listed as required here #
Maximum number of items (maxItems): 2
#interrupt-cells — required here #
Exact value (const): 1
interrupt-controller — required here #
Interrupt controller node for handling legacy PCI interrupts.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#address-cells — not listed as required here
Exact value (const): 0
#interrupt-cells — not listed as required here
Exact value (const): 1
interrupt-controller — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "reg", "reg-names", "#interrupt-cells", "interrupts", "interrupt-map", "interrupt-map-mask", "bus-range", "msi-map", "interrupt-controller"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
versal {
#address-cells = <2>;
#size-cells = <2>;
pcie@fca10000 {
compatible = "xlnx,versal-cpm-host-1.00";
device_type = "pci";
#address-cells = <3>;
#interrupt-cells = <1>;
#size-cells = <2>;
interrupts = <0 72 4>;
interrupt-parent = <&gic>;
interrupt-map-mask = <0 0 0 7>;
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>;
bus-range = <0x00 0xff>;
ranges = <0x02000000 0x0 0xe0010000 0x0 0xe0010000 0x0 0x10000000>,
<0x43000000 0x80 0x00000000 0x80 0x00000000 0x0 0x80000000>;
msi-map = <0x0 &its_gic 0x0 0x10000>;
reg = <0x0 0xfca10000 0x0 0x1000>,
<0x6 0x00000000 0x0 0x10000000>;
reg-names = "cpm_slcr", "cfg";
pcie_intc_0: interrupt-controller {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
};
};
pcie@fcdd0000 {
compatible = "xlnx,versal-cpm5-host";
device_type = "pci";
#address-cells = <3>;
#interrupt-cells = <1>;
#size-cells = <2>;
interrupts = <0 72 4>;
interrupt-parent = <&gic>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc_1 0>,
<0 0 0 2 &pcie_intc_1 1>,
<0 0 0 3 &pcie_intc_1 2>,
<0 0 0 4 &pcie_intc_1 3>;
bus-range = <0x00 0xff>;
ranges = <0x02000000 0x0 0xe0000000 0x0 0xe0000000 0x0 0x10000000>,
<0x43000000 0x80 0x00000000 0x80 0x00000000 0x0 0x80000000>;
msi-map = <0x0 &its_gic 0x0 0x10000>;
reg = <0x00 0xfcdd0000 0x00 0x1000>,
<0x06 0x00000000 0x00 0x1000000>,
<0x00 0xfce20000 0x00 0x1000000>;
reg-names = "cpm_slcr", "cfg", "cpm_csr";
pcie_intc_1: 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)
Xilinx AXI PCIe Root Port Bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
Schema identifier ($id): "http://devicetree.org/schemas/pci/xlnx,axi-pcie-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 #
Exact value (const): "xlnx,axi-pcie-host-1.00.a"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
ranges — required here #
Array item rules (items) #
Item 1
ranges for the PCI memory regions (I/O space region is not supported by hardware)
#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-cells", "interrupt-controller"
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@50000000 {
compatible = "xlnx,axi-pcie-host-1.00.a";
reg = <0x50000000 0x1000000>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
device_type = "pci";
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc 1>,
<0 0 0 2 &pcie_intc 2>,
<0 0 0 3 &pcie_intc 3>,
<0 0 0 4 &pcie_intc 4>;
ranges = <0x02000000 0 0x60000000 0x60000000 0 0x10000000>;
pcie_intc: 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)
Xilinx NWL PCIe Root Port Bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
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)
Xilinx XDMA PL PCIe Root Port Bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / PCI bindings
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)
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
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)