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