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