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-hs-28nm.yaml#" 5*c66ec88fSEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Qualcomm Synopsys DesignWare Core 28nm High-Speed 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 Low-Speed, Full-Speed, Hi-Speed 28nm USB PHY 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadotproperties: 16*c66ec88fSEmmanuel Vadot compatible: 17*c66ec88fSEmmanuel Vadot enum: 18*c66ec88fSEmmanuel Vadot - qcom,usb-hs-28nm-femtophy 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 ref clock 29*c66ec88fSEmmanuel Vadot - description: PHY AHB clock 30*c66ec88fSEmmanuel Vadot - description: Rentention 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: sleep 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot resets: 39*c66ec88fSEmmanuel Vadot items: 40*c66ec88fSEmmanuel Vadot - description: PHY core reset 41*c66ec88fSEmmanuel Vadot - description: POR reset 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot reset-names: 44*c66ec88fSEmmanuel Vadot items: 45*c66ec88fSEmmanuel Vadot - const: phy 46*c66ec88fSEmmanuel Vadot - const: por 47*c66ec88fSEmmanuel Vadot 48*c66ec88fSEmmanuel Vadot vdd-supply: 49*c66ec88fSEmmanuel Vadot description: phandle to the regulator VDD supply node. 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadot vdda1p8-supply: 52*c66ec88fSEmmanuel Vadot description: phandle to the regulator 1.8V supply node. 53*c66ec88fSEmmanuel Vadot 54*c66ec88fSEmmanuel Vadot vdda3p3-supply: 55*c66ec88fSEmmanuel Vadot description: phandle to the regulator 3.3V supply node. 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel Vadotrequired: 58*c66ec88fSEmmanuel Vadot - compatible 59*c66ec88fSEmmanuel Vadot - reg 60*c66ec88fSEmmanuel Vadot - "#phy-cells" 61*c66ec88fSEmmanuel Vadot - clocks 62*c66ec88fSEmmanuel Vadot - clock-names 63*c66ec88fSEmmanuel Vadot - resets 64*c66ec88fSEmmanuel Vadot - reset-names 65*c66ec88fSEmmanuel Vadot - vdd-supply 66*c66ec88fSEmmanuel Vadot - vdda1p8-supply 67*c66ec88fSEmmanuel Vadot - vdda3p3-supply 68*c66ec88fSEmmanuel Vadot 69*c66ec88fSEmmanuel VadotadditionalProperties: false 70*c66ec88fSEmmanuel Vadot 71*c66ec88fSEmmanuel Vadotexamples: 72*c66ec88fSEmmanuel Vadot - | 73*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-qcs404.h> 74*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmcc.h> 75*c66ec88fSEmmanuel Vadot usb2_phy_prim: phy@7a000 { 76*c66ec88fSEmmanuel Vadot compatible = "qcom,usb-hs-28nm-femtophy"; 77*c66ec88fSEmmanuel Vadot reg = <0x0007a000 0x200>; 78*c66ec88fSEmmanuel Vadot #phy-cells = <0>; 79*c66ec88fSEmmanuel Vadot clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, 80*c66ec88fSEmmanuel Vadot <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, 81*c66ec88fSEmmanuel Vadot <&gcc GCC_USB2A_PHY_SLEEP_CLK>; 82*c66ec88fSEmmanuel Vadot clock-names = "ref", "ahb", "sleep"; 83*c66ec88fSEmmanuel Vadot resets = <&gcc GCC_USB_HS_PHY_CFG_AHB_BCR>, 84*c66ec88fSEmmanuel Vadot <&gcc GCC_USB2A_PHY_BCR>; 85*c66ec88fSEmmanuel Vadot reset-names = "phy", "por"; 86*c66ec88fSEmmanuel Vadot vdd-supply = <&vreg_l4_1p2>; 87*c66ec88fSEmmanuel Vadot vdda1p8-supply = <&vreg_l5_1p8>; 88*c66ec88fSEmmanuel Vadot vdda3p3-supply = <&vreg_l12_3p3>; 89*c66ec88fSEmmanuel Vadot }; 90*c66ec88fSEmmanuel Vadot... 91