1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/phy/qcom,m31-eusb2-phy.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm M31 eUSB2 phy 8 9maintainers: 10 - Wesley Cheng <quic_wcheng@quicinc.com> 11 12description: 13 M31 based eUSB2 controller, which supports LS/FS/HS usb connectivity 14 on Qualcomm chipsets. It is paired with a eUSB2 repeater. 15 16properties: 17 compatible: 18 oneOf: 19 - items: 20 - enum: 21 - qcom,glymur-m31-eusb2-phy 22 - qcom,kaanapali-m31-eusb2-phy 23 - const: qcom,sm8750-m31-eusb2-phy 24 - const: qcom,sm8750-m31-eusb2-phy 25 26 reg: 27 maxItems: 1 28 29 "#phy-cells": 30 const: 0 31 32 clocks: 33 items: 34 - description: reference clock 35 36 clock-names: 37 items: 38 - const: ref 39 40 resets: 41 maxItems: 1 42 43 phys: 44 maxItems: 1 45 description: 46 Phandle to eUSB2 repeater 47 48 vdd-supply: 49 description: 50 Phandle to 0.88V regulator supply to PHY digital circuit. 51 52 vdda12-supply: 53 description: 54 Phandle to 1.2V regulator supply to PHY refclk pll block. 55 56required: 57 - compatible 58 - reg 59 - "#phy-cells" 60 - clocks 61 - clock-names 62 - resets 63 - vdd-supply 64 - vdda12-supply 65 66additionalProperties: false 67 68examples: 69 - | 70 usb_1_hsphy: phy@88e3000 { 71 compatible = "qcom,sm8750-m31-eusb2-phy"; 72 reg = <0x88e3000 0x29c>; 73 74 clocks = <&tcsrcc_usb2_clkref_en>; 75 clock-names = "ref"; 76 77 resets = <&gcc_qusb2phy_prim_bcr>; 78 79 #phy-cells = <0>; 80 81 vdd-supply = <&vreg_l2d_0p88>; 82 vdda12-supply = <&vreg_l3g_1p2>; 83 }; 84