Documentation / devicetree / bindings / pci / qcom,sa8255p-pcie-ep.yaml


Based on kernel version 7.0. Page generated on 2026-04-23 09:48 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pci/qcom,sa8255p-pcie-ep.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm firmware managed PCIe Endpoint Controller

description:
  Qualcomm SA8255p SoC PCIe endpoint controller is based on the Synopsys
  DesignWare PCIe IP which is managed by firmware.

maintainers:
  - Manivannan Sadhasivam <mani@kernel.org>

properties:
  compatible:
    const: qcom,sa8255p-pcie-ep

  reg:
    items:
      - description: Qualcomm-specific PARF configuration registers
      - description: DesignWare PCIe registers
      - description: External local bus interface registers
      - description: Address Translation Unit (ATU) registers
      - description: Memory region used to map remote RC address space
      - description: BAR memory region
      - description: DMA register space

  reg-names:
    items:
      - const: parf
      - const: dbi
      - const: elbi
      - const: atu
      - const: addr_space
      - const: mmio
      - const: dma

  interrupts:
    items:
      - description: PCIe Global interrupt
      - description: PCIe Doorbell interrupt
      - description: DMA interrupt

  interrupt-names:
    items:
      - const: global
      - const: doorbell
      - const: dma

  iommus:
    maxItems: 1

  reset-gpios:
    description: GPIO used as PERST# input signal
    maxItems: 1

  wake-gpios:
    description: GPIO used as WAKE# output signal
    maxItems: 1

  power-domains:
    maxItems: 1

  dma-coherent: true

  num-lanes:
    default: 2

required:
  - compatible
  - reg
  - reg-names
  - interrupts
  - interrupt-names
  - reset-gpios
  - power-domains

additionalProperties: false

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>;
        };
    };