Debian Codegraph @

Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml

raw
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
7 title: Qualcomm SerDes/SGMII ethernet PHY controller
8
9 maintainers:
10 - Bartosz Golaszewski <[email protected]>
11
12 description:
13 The SerDes PHY sits between the MAC and the external PHY and provides
14 separate Rx Tx lines.
15
16 properties:
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
42 required:
43 - compatible
44 - reg
45 - "#phy-cells"
46 - clocks
47 - clock-names
48
49 additionalProperties: false
50
51 examples:
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 };