Qualcomm QMP PHY controller (PCIe, IPQ8074)

Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,ipq8074-qmp-pcie-phy.yaml#"

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

Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"

QMP PHY controller supports physical layer functionality for a number of controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,ipq6018-qmp-pcie-phy", "qcom,ipq8074-qmp-gen3-pcie-phy", "qcom,ipq8074-qmp-pcie-phy", "qcom,ipq9574-qmp-gen3x1-pcie-phy", "qcom,ipq9574-qmp-gen3x2-pcie-phy"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,ipq5424-qmp-gen3x1-pcie-phy"

Item 2

Exact value (const): "qcom,ipq9574-qmp-gen3x1-pcie-phy"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "qcom,ipq5424-qmp-gen3x2-pcie-phy"

Item 2

Exact value (const): "qcom,ipq9574-qmp-gen3x2-pcie-phy"

reg — required here #

Array item rules (items) #

Item 1

serdes

clocks — required here #

Maximum number of items (maxItems): 3

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "aux"

Item 2

Exact value (const): "cfg_ahb"

Item 3

Exact value (const): "pipe"

resets — required here #

Maximum number of items (maxItems): 2

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "phy"

Item 2

Exact value (const): "common"

#clock-cells — required here #

Exact value (const): 0

clock-output-names — required here #

Maximum number of items (maxItems): 1

#phy-cells — required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "#clock-cells", "clock-output-names", "#phy-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-ipq6018.h>
#include <dt-bindings/reset/qcom,gcc-ipq6018.h>

phy@84000 {
    compatible = "qcom,ipq6018-qmp-pcie-phy";
    reg = <0x00084000 0x1000>;

    clocks = <&gcc GCC_PCIE0_AUX_CLK>,
             <&gcc GCC_PCIE0_AHB_CLK>,
             <&gcc GCC_PCIE0_PIPE_CLK>;
    clock-names = "aux",
                  "cfg_ahb",
                  "pipe";

    clock-output-names = "gcc_pcie0_pipe_clk_src";
    #clock-cells = <0>;

    #phy-cells = <0>;

    resets = <&gcc GCC_PCIE0_PHY_BCR>,
             <&gcc GCC_PCIE0PHY_PHY_BCR>;
    reset-names = "phy",
                  "common";
};

Source notes #

Annotations retained from the schema source

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

Edit this page