Qualcomm SerDes/SGMII ethernet PHY controller

Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml#"

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

Maintainers (maintainers): "Bartosz Golaszewski <bartosz.golaszewski@linaro.org>"

The SerDes PHY sits between the MAC and the external PHY and provides separate Rx Tx lines.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qcs8300-dwmac-sgmii-phy"

Item 2

Exact value (const): "qcom,sa8775p-dwmac-sgmii-phy"

Rule 2

Exact value (const): "qcom,sa8775p-dwmac-sgmii-phy"

reg — required here #

Array item rules (items) #

Item 1

serdes

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "sgmi_ref"

phy-supply — not listed as required here #

Phandle to a regulator that provides power to the PHY.

#phy-cells — required here #

Exact value (const): 0

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
serdes_phy: phy@8901000 {
    compatible = "qcom,sa8775p-dwmac-sgmii-phy";
    reg = <0x08901000 0xe10>;
    clocks = <&gcc GCC_SGMI_CLKREF_EN>;
    clock-names = "sgmi_ref";
    #phy-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page