Qualcomm UNIPHY PCIe 28LP PHY

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

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

Maintainers (maintainers): "Nitheesh Sekar <quic_nsekar@quicinc.com>", "Varadarajan Narayanan <quic_varada@quicinc.com>"

PCIe and USB combo PHY found in Qualcomm IPQ5018 & IPQ5332 SoCs

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,ipq5018-uniphy-pcie-phy", "qcom,ipq5332-uniphy-pcie-phy"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

resets — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

#phy-cells — required here #

Exact value (const): 0

#clock-cells — required here #

Exact value (const): 0

num-lanes — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2

Required in this object (required): "compatible", "reg", "clocks", "resets", "#phy-cells", "#clock-cells", "num-lanes"

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,ipq5018-uniphy-pcie-phy"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

pcie pipe clock

resets — not listed as required here

Array item rules (items)

Item 1

phy reset

Item 2

cfg reset

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,ipq5332-uniphy-pcie-phy"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

pcie pipe clock

Item 2

pcie ahb clock

resets — not listed as required here

Array item rules (items)

Item 1

phy reset

Item 2

ahb reset

Item 3

cfg reset

Examples (examples) #

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

pcie0_phy: phy@4b0000 {
    compatible = "qcom,ipq5332-uniphy-pcie-phy";
    reg = <0x004b0000 0x800>;

    clocks = <&gcc GCC_PCIE3X1_0_PIPE_CLK>,
             <&gcc GCC_PCIE3X1_PHY_AHB_CLK>;

    resets = <&gcc GCC_PCIE3X1_0_PHY_BCR>,
             <&gcc GCC_PCIE3X1_PHY_AHB_CLK_ARES>,
             <&gcc GCC_PCIE3X1_0_PHY_PHY_BCR>;

    #clock-cells = <0>;

    #phy-cells = <0>;

    num-lanes = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page