Qualcomm SC8280XP PCI Express Root Complex
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