xref: /linux/Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml (revision 2eff01ee2881becc9daaa0d53477ec202136b1f4)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm SerDes/SGMII ethernet PHY controller
8
9maintainers:
10  - Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
11
12description:
13  The SerDes PHY sits between the MAC and the external PHY and provides
14  separate Rx Tx lines.
15
16properties:
17  compatible:
18    oneOf:
19      - items:
20          - enum:
21              - qcom,qcs8300-dwmac-sgmii-phy
22          - const: qcom,sa8775p-dwmac-sgmii-phy
23      - const: qcom,sa8775p-dwmac-sgmii-phy
24
25  reg:
26    items:
27      - description: serdes
28
29  clocks:
30    maxItems: 1
31
32  clock-names:
33    const: sgmi_ref
34
35  phy-supply:
36    description:
37      Phandle to a regulator that provides power to the PHY.
38
39  "#phy-cells":
40    const: 0
41
42required:
43  - compatible
44  - reg
45  - "#phy-cells"
46  - clocks
47  - clock-names
48
49additionalProperties: false
50
51examples:
52  - |
53    #include <dt-bindings/clock/qcom,sa8775p-gcc.h>
54    serdes_phy: phy@8901000 {
55        compatible = "qcom,sa8775p-dwmac-sgmii-phy";
56        reg = <0x08901000 0xe10>;
57        clocks = <&gcc GCC_SGMI_CLKREF_EN>;
58        clock-names = "sgmi_ref";
59        #phy-cells = <0>;
60    };
61