1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*cb7aa33aSEmmanuel Vadot%YAML 1.2 3*cb7aa33aSEmmanuel Vadot--- 4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,snps-eusb2-phy.yaml# 5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*cb7aa33aSEmmanuel Vadot 7*cb7aa33aSEmmanuel Vadottitle: Qualcomm SNPS eUSB2 phy controller 8*cb7aa33aSEmmanuel Vadot 9*cb7aa33aSEmmanuel Vadotmaintainers: 10*cb7aa33aSEmmanuel Vadot - Abel Vesa <abel.vesa@linaro.org> 11*cb7aa33aSEmmanuel Vadot 12*cb7aa33aSEmmanuel Vadotdescription: 13*cb7aa33aSEmmanuel Vadot eUSB2 controller supports LS/FS/HS usb connectivity on Qualcomm chipsets. 14*cb7aa33aSEmmanuel Vadot 15*cb7aa33aSEmmanuel Vadotproperties: 16*cb7aa33aSEmmanuel Vadot compatible: 17*cb7aa33aSEmmanuel Vadot const: qcom,sm8550-snps-eusb2-phy 18*cb7aa33aSEmmanuel Vadot 19*cb7aa33aSEmmanuel Vadot reg: 20*cb7aa33aSEmmanuel Vadot maxItems: 1 21*cb7aa33aSEmmanuel Vadot 22*cb7aa33aSEmmanuel Vadot "#phy-cells": 23*cb7aa33aSEmmanuel Vadot const: 0 24*cb7aa33aSEmmanuel Vadot 25*cb7aa33aSEmmanuel Vadot clocks: 26*cb7aa33aSEmmanuel Vadot items: 27*cb7aa33aSEmmanuel Vadot - description: ref 28*cb7aa33aSEmmanuel Vadot 29*cb7aa33aSEmmanuel Vadot clock-names: 30*cb7aa33aSEmmanuel Vadot items: 31*cb7aa33aSEmmanuel Vadot - const: ref 32*cb7aa33aSEmmanuel Vadot 33*cb7aa33aSEmmanuel Vadot resets: 34*cb7aa33aSEmmanuel Vadot maxItems: 1 35*cb7aa33aSEmmanuel Vadot 36*cb7aa33aSEmmanuel Vadot phys: 37*cb7aa33aSEmmanuel Vadot maxItems: 1 38*cb7aa33aSEmmanuel Vadot description: 39*cb7aa33aSEmmanuel Vadot Phandle to eUSB2 to USB 2.0 repeater 40*cb7aa33aSEmmanuel Vadot 41*cb7aa33aSEmmanuel Vadot vdd-supply: 42*cb7aa33aSEmmanuel Vadot description: 43*cb7aa33aSEmmanuel Vadot Phandle to 0.88V regulator supply to PHY digital circuit. 44*cb7aa33aSEmmanuel Vadot 45*cb7aa33aSEmmanuel Vadot vdda12-supply: 46*cb7aa33aSEmmanuel Vadot description: 47*cb7aa33aSEmmanuel Vadot Phandle to 1.2V regulator supply to PHY refclk pll block. 48*cb7aa33aSEmmanuel Vadot 49*cb7aa33aSEmmanuel Vadotrequired: 50*cb7aa33aSEmmanuel Vadot - compatible 51*cb7aa33aSEmmanuel Vadot - reg 52*cb7aa33aSEmmanuel Vadot - "#phy-cells" 53*cb7aa33aSEmmanuel Vadot - clocks 54*cb7aa33aSEmmanuel Vadot - clock-names 55*cb7aa33aSEmmanuel Vadot - vdd-supply 56*cb7aa33aSEmmanuel Vadot - vdda12-supply 57*cb7aa33aSEmmanuel Vadot - resets 58*cb7aa33aSEmmanuel Vadot 59*cb7aa33aSEmmanuel VadotadditionalProperties: false 60*cb7aa33aSEmmanuel Vadot 61*cb7aa33aSEmmanuel Vadotexamples: 62*cb7aa33aSEmmanuel Vadot - | 63*cb7aa33aSEmmanuel Vadot #include <dt-bindings/clock/qcom,sm8550-gcc.h> 64*cb7aa33aSEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmh.h> 65*cb7aa33aSEmmanuel Vadot #include <dt-bindings/clock/qcom,sm8550-tcsr.h> 66*cb7aa33aSEmmanuel Vadot 67*cb7aa33aSEmmanuel Vadot usb_1_hsphy: phy@88e3000 { 68*cb7aa33aSEmmanuel Vadot compatible = "qcom,sm8550-snps-eusb2-phy"; 69*cb7aa33aSEmmanuel Vadot reg = <0x88e3000 0x154>; 70*cb7aa33aSEmmanuel Vadot #phy-cells = <0>; 71*cb7aa33aSEmmanuel Vadot 72*cb7aa33aSEmmanuel Vadot clocks = <&tcsrcc TCSR_USB2_CLKREF_EN>; 73*cb7aa33aSEmmanuel Vadot clock-names = "ref"; 74*cb7aa33aSEmmanuel Vadot 75*cb7aa33aSEmmanuel Vadot vdd-supply = <&vreg_l1e_0p88>; 76*cb7aa33aSEmmanuel Vadot vdda12-supply = <&vreg_l3e_1p2>; 77*cb7aa33aSEmmanuel Vadot 78*cb7aa33aSEmmanuel Vadot resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 79*cb7aa33aSEmmanuel Vadot }; 80