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