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