Skip to content

Commit 97b7951

Browse files
Bartosz Golaszewskivinodkoul
authored andcommitted
dt-bindings: phy: describe the Qualcomm SGMII PHY
Describe the SGMII/SerDes PHY present on the sa8775p platforms. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230619091336.194914-3-brgl@bgdev.pl Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 37bd215 commit 97b7951

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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 <bartosz.golaszewski@linaro.org>
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+
const: qcom,sa8775p-dwmac-sgmii-phy
19+
20+
reg:
21+
items:
22+
- description: serdes
23+
24+
clocks:
25+
maxItems: 1
26+
27+
clock-names:
28+
const: sgmi_ref
29+
30+
phy-supply:
31+
description:
32+
Phandle to a regulator that provides power to the PHY.
33+
34+
"#phy-cells":
35+
const: 0
36+
37+
required:
38+
- compatible
39+
- reg
40+
- "#phy-cells"
41+
- clocks
42+
- clock-names
43+
44+
additionalProperties: false
45+
46+
examples:
47+
- |
48+
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
49+
serdes_phy: phy@8901000 {
50+
compatible = "qcom,sa8775p-dwmac-sgmii-phy";
51+
reg = <0x08901000 0xe10>;
52+
clocks = <&gcc GCC_SGMI_CLKREF_EN>;
53+
clock-names = "sgmi_ref";
54+
#phy-cells = <0>;
55+
};

0 commit comments

Comments
 (0)