1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,usb-hs-28nm.yaml# 5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Qualcomm Synopsys DesignWare Core 28nm High-Speed PHY 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot Qualcomm Low-Speed, Full-Speed, Hi-Speed 28nm USB PHY 14c66ec88fSEmmanuel Vadot 15c66ec88fSEmmanuel Vadotproperties: 16c66ec88fSEmmanuel Vadot compatible: 17c66ec88fSEmmanuel Vadot enum: 18c66ec88fSEmmanuel Vadot - qcom,usb-hs-28nm-femtophy 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadot reg: 21c66ec88fSEmmanuel Vadot maxItems: 1 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot "#phy-cells": 24c66ec88fSEmmanuel Vadot const: 0 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadot clocks: 27c66ec88fSEmmanuel Vadot items: 28c66ec88fSEmmanuel Vadot - description: rpmcc ref clock 29c66ec88fSEmmanuel Vadot - description: PHY AHB clock 30c66ec88fSEmmanuel Vadot - description: Rentention clock 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot clock-names: 33c66ec88fSEmmanuel Vadot items: 34c66ec88fSEmmanuel Vadot - const: ref 35c66ec88fSEmmanuel Vadot - const: ahb 36c66ec88fSEmmanuel Vadot - const: sleep 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot resets: 39c66ec88fSEmmanuel Vadot items: 40c66ec88fSEmmanuel Vadot - description: PHY core reset 41c66ec88fSEmmanuel Vadot - description: POR reset 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot reset-names: 44c66ec88fSEmmanuel Vadot items: 45c66ec88fSEmmanuel Vadot - const: phy 46c66ec88fSEmmanuel Vadot - const: por 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadot vdd-supply: 49c66ec88fSEmmanuel Vadot description: phandle to the regulator VDD supply node. 50c66ec88fSEmmanuel Vadot 51c66ec88fSEmmanuel Vadot vdda1p8-supply: 52c66ec88fSEmmanuel Vadot description: phandle to the regulator 1.8V supply node. 53c66ec88fSEmmanuel Vadot 54c66ec88fSEmmanuel Vadot vdda3p3-supply: 55c66ec88fSEmmanuel Vadot description: phandle to the regulator 3.3V supply node. 56c66ec88fSEmmanuel Vadot 57c66ec88fSEmmanuel Vadotrequired: 58c66ec88fSEmmanuel Vadot - compatible 59c66ec88fSEmmanuel Vadot - reg 60c66ec88fSEmmanuel Vadot - "#phy-cells" 61c66ec88fSEmmanuel Vadot - clocks 62c66ec88fSEmmanuel Vadot - clock-names 63c66ec88fSEmmanuel Vadot - resets 64c66ec88fSEmmanuel Vadot - reset-names 65c66ec88fSEmmanuel Vadot - vdd-supply 66c66ec88fSEmmanuel Vadot - vdda1p8-supply 67c66ec88fSEmmanuel Vadot - vdda3p3-supply 68c66ec88fSEmmanuel Vadot 69c66ec88fSEmmanuel VadotadditionalProperties: false 70c66ec88fSEmmanuel Vadot 71c66ec88fSEmmanuel Vadotexamples: 72c66ec88fSEmmanuel Vadot - | 73c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-qcs404.h> 74c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmcc.h> 75c66ec88fSEmmanuel Vadot usb2_phy_prim: phy@7a000 { 76c66ec88fSEmmanuel Vadot compatible = "qcom,usb-hs-28nm-femtophy"; 77c66ec88fSEmmanuel Vadot reg = <0x0007a000 0x200>; 78c66ec88fSEmmanuel Vadot #phy-cells = <0>; 79c66ec88fSEmmanuel Vadot clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, 80c66ec88fSEmmanuel Vadot <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, 81c66ec88fSEmmanuel Vadot <&gcc GCC_USB2A_PHY_SLEEP_CLK>; 82c66ec88fSEmmanuel Vadot clock-names = "ref", "ahb", "sleep"; 83c66ec88fSEmmanuel Vadot resets = <&gcc GCC_USB_HS_PHY_CFG_AHB_BCR>, 84c66ec88fSEmmanuel Vadot <&gcc GCC_USB2A_PHY_BCR>; 85c66ec88fSEmmanuel Vadot reset-names = "phy", "por"; 86c66ec88fSEmmanuel Vadot vdd-supply = <&vreg_l4_1p2>; 87c66ec88fSEmmanuel Vadot vdda1p8-supply = <&vreg_l5_1p8>; 88c66ec88fSEmmanuel Vadot vdda3p3-supply = <&vreg_l12_3p3>; 89c66ec88fSEmmanuel Vadot }; 90c66ec88fSEmmanuel Vadot... 91