1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: "http://devicetree.org/schemas/phy/qcom,usb-ss.yaml#" 5*c66ec88fSEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotdescription: | 13*c66ec88fSEmmanuel Vadot Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadotproperties: 16*c66ec88fSEmmanuel Vadot compatible: 17*c66ec88fSEmmanuel Vadot enum: 18*c66ec88fSEmmanuel Vadot - qcom,usb-ss-28nm-phy 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot reg: 21*c66ec88fSEmmanuel Vadot maxItems: 1 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot "#phy-cells": 24*c66ec88fSEmmanuel Vadot const: 0 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel Vadot clocks: 27*c66ec88fSEmmanuel Vadot items: 28*c66ec88fSEmmanuel Vadot - description: rpmcc clock 29*c66ec88fSEmmanuel Vadot - description: PHY AHB clock 30*c66ec88fSEmmanuel Vadot - description: SuperSpeed pipe clock 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot clock-names: 33*c66ec88fSEmmanuel Vadot items: 34*c66ec88fSEmmanuel Vadot - const: ref 35*c66ec88fSEmmanuel Vadot - const: ahb 36*c66ec88fSEmmanuel Vadot - const: pipe 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot vdd-supply: 39*c66ec88fSEmmanuel Vadot description: phandle to the regulator VDD supply node. 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot vdda1p8-supply: 42*c66ec88fSEmmanuel Vadot description: phandle to the regulator 1.8V supply node. 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel Vadot resets: 45*c66ec88fSEmmanuel Vadot items: 46*c66ec88fSEmmanuel Vadot - description: COM reset 47*c66ec88fSEmmanuel Vadot - description: PHY reset line 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel Vadot reset-names: 50*c66ec88fSEmmanuel Vadot items: 51*c66ec88fSEmmanuel Vadot - const: com 52*c66ec88fSEmmanuel Vadot - const: phy 53*c66ec88fSEmmanuel Vadot 54*c66ec88fSEmmanuel Vadotrequired: 55*c66ec88fSEmmanuel Vadot - compatible 56*c66ec88fSEmmanuel Vadot - reg 57*c66ec88fSEmmanuel Vadot - "#phy-cells" 58*c66ec88fSEmmanuel Vadot - clocks 59*c66ec88fSEmmanuel Vadot - clock-names 60*c66ec88fSEmmanuel Vadot - vdd-supply 61*c66ec88fSEmmanuel Vadot - vdda1p8-supply 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel VadotadditionalProperties: false 64*c66ec88fSEmmanuel Vadot 65*c66ec88fSEmmanuel Vadotexamples: 66*c66ec88fSEmmanuel Vadot - | 67*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-qcs404.h> 68*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmcc.h> 69*c66ec88fSEmmanuel Vadot usb3_phy: usb3-phy@78000 { 70*c66ec88fSEmmanuel Vadot compatible = "qcom,usb-ss-28nm-phy"; 71*c66ec88fSEmmanuel Vadot reg = <0x78000 0x400>; 72*c66ec88fSEmmanuel Vadot #phy-cells = <0>; 73*c66ec88fSEmmanuel Vadot clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, 74*c66ec88fSEmmanuel Vadot <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, 75*c66ec88fSEmmanuel Vadot <&gcc GCC_USB3_PHY_PIPE_CLK>; 76*c66ec88fSEmmanuel Vadot clock-names = "ref", "ahb", "pipe"; 77*c66ec88fSEmmanuel Vadot resets = <&gcc GCC_USB3_PHY_BCR>, 78*c66ec88fSEmmanuel Vadot <&gcc GCC_USB3PHY_PHY_BCR>; 79*c66ec88fSEmmanuel Vadot reset-names = "com", "phy"; 80*c66ec88fSEmmanuel Vadot vdd-supply = <&vreg_l3_1p05>; 81*c66ec88fSEmmanuel Vadot vdda1p8-supply = <&vreg_l5_1p8>; 82*c66ec88fSEmmanuel Vadot }; 83*c66ec88fSEmmanuel Vadot... 84