STMicroelectronics STM32MP25 PCIe Endpoint

Schema identifier ($id): "http://devicetree.org/schemas/pci/st,stm32-pcie-ep.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Christian Bruel <christian.bruel@foss.st.com>"

PCIe endpoint controller based on the Synopsys DesignWare PCIe core.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/pci/snps,dw-pcie-ep.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/pci/st,stm32-pcie-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "st,stm32mp25-pcie-ep"

reg — not listed as required here #

Array item rules (items) #

Item 1

Data Bus Interface (DBI) registers.

Item 2

Data Bus Interface (DBI) shadow registers.

Item 3

Internal Address Translation Unit (iATU) registers.

Item 4

PCIe configuration registers.

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "dbi"

Item 2

Exact value (const): "dbi2"

Item 3

Exact value (const): "atu"

Item 4

Exact value (const): "addr_space"

reset-gpios — required here #

GPIO controlled connection to PERST# signal

Maximum number of items (maxItems): 1

phys — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "phys", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/st,stm32mp25-rcc.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset/st,stm32mp25-rcc.h>

pcie-ep@48400000 {
    compatible = "st,stm32mp25-pcie-ep";
    reg = <0x48400000 0x400000>,
          <0x48500000 0x100000>,
          <0x48700000 0x80000>,
          <0x10000000 0x10000000>;
    reg-names = "dbi", "dbi2", "atu", "addr_space";
    clocks = <&rcc CK_BUS_PCIE>;
    phys = <&combophy PHY_TYPE_PCIE>;
    resets = <&rcc PCIE_R>;
    pinctrl-names = "default", "init";
    pinctrl-0 = <&pcie_pins_a>;
    pinctrl-1 = <&pcie_init_pins_a>;
    reset-gpios = <&gpioj 8 GPIO_ACTIVE_LOW>;
    access-controllers = <&rifsc 68>;
    power-domains = <&CLUSTER_PD>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page