Qualcomm firmware managed PCIe Endpoint Controller

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)

Edit this page