1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,usb-hs-phy.yaml# 5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Qualcomm's USB HS PHY 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Bjorn Andersson <bjorn.andersson@linaro.org> 11c9ccf3a3SEmmanuel Vadot 12c9ccf3a3SEmmanuel Vadotif: 13c9ccf3a3SEmmanuel Vadot properties: 14c9ccf3a3SEmmanuel Vadot compatible: 15c9ccf3a3SEmmanuel Vadot contains: 16*f126890aSEmmanuel Vadot enum: 17*f126890aSEmmanuel Vadot - qcom,usb-hs-phy-apq8064 18*f126890aSEmmanuel Vadot - qcom,usb-hs-phy-msm8960 19c9ccf3a3SEmmanuel Vadotthen: 20c9ccf3a3SEmmanuel Vadot properties: 21c9ccf3a3SEmmanuel Vadot resets: 22c9ccf3a3SEmmanuel Vadot maxItems: 1 23c9ccf3a3SEmmanuel Vadot 24c9ccf3a3SEmmanuel Vadot reset-names: 25c9ccf3a3SEmmanuel Vadot const: por 26c9ccf3a3SEmmanuel Vadot 27c9ccf3a3SEmmanuel Vadotelse: 28c9ccf3a3SEmmanuel Vadot properties: 29c9ccf3a3SEmmanuel Vadot resets: 30c9ccf3a3SEmmanuel Vadot minItems: 2 31c9ccf3a3SEmmanuel Vadot maxItems: 2 32c9ccf3a3SEmmanuel Vadot 33c9ccf3a3SEmmanuel Vadot reset-names: 34c9ccf3a3SEmmanuel Vadot items: 35c9ccf3a3SEmmanuel Vadot - const: phy 36c9ccf3a3SEmmanuel Vadot - const: por 37c9ccf3a3SEmmanuel Vadot 38c9ccf3a3SEmmanuel Vadotproperties: 39c9ccf3a3SEmmanuel Vadot compatible: 40c9ccf3a3SEmmanuel Vadot items: 41c9ccf3a3SEmmanuel Vadot - enum: 42c9ccf3a3SEmmanuel Vadot - qcom,usb-hs-phy-apq8064 43c9ccf3a3SEmmanuel Vadot - qcom,usb-hs-phy-msm8226 44c9ccf3a3SEmmanuel Vadot - qcom,usb-hs-phy-msm8916 45*f126890aSEmmanuel Vadot - qcom,usb-hs-phy-msm8960 46c9ccf3a3SEmmanuel Vadot - qcom,usb-hs-phy-msm8974 47c9ccf3a3SEmmanuel Vadot - const: qcom,usb-hs-phy 48c9ccf3a3SEmmanuel Vadot 49c9ccf3a3SEmmanuel Vadot clocks: 50c9ccf3a3SEmmanuel Vadot minItems: 2 51c9ccf3a3SEmmanuel Vadot maxItems: 2 52c9ccf3a3SEmmanuel Vadot 53c9ccf3a3SEmmanuel Vadot clock-names: 54c9ccf3a3SEmmanuel Vadot maxItems: 2 55c9ccf3a3SEmmanuel Vadot contains: 56c9ccf3a3SEmmanuel Vadot items: 57c9ccf3a3SEmmanuel Vadot - const: ref 58c9ccf3a3SEmmanuel Vadot - const: sleep 59c9ccf3a3SEmmanuel Vadot 60c9ccf3a3SEmmanuel Vadot resets: true 61c9ccf3a3SEmmanuel Vadot 62c9ccf3a3SEmmanuel Vadot reset-names: true 63c9ccf3a3SEmmanuel Vadot 64c9ccf3a3SEmmanuel Vadot v1p8-supply: true 65c9ccf3a3SEmmanuel Vadot 66c9ccf3a3SEmmanuel Vadot v3p3-supply: true 67c9ccf3a3SEmmanuel Vadot 68c9ccf3a3SEmmanuel Vadot extcon: true 69c9ccf3a3SEmmanuel Vadot 70c9ccf3a3SEmmanuel Vadot "#phy-cells": 71c9ccf3a3SEmmanuel Vadot const: 0 72c9ccf3a3SEmmanuel Vadot 73c9ccf3a3SEmmanuel Vadot qcom,init-seq: 74c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint8-matrix 75c9ccf3a3SEmmanuel Vadot description: > 76c9ccf3a3SEmmanuel Vadot Sequence of ULPI address and value pairs to 77c9ccf3a3SEmmanuel Vadot program into the ULPI_EXT_VENDOR_SPECIFIC area. 78c9ccf3a3SEmmanuel Vadot This is related to Device Mode Eye Diagram test. 79c9ccf3a3SEmmanuel Vadot maxItems: 32 # no hard limit 80c9ccf3a3SEmmanuel Vadot items: 81c9ccf3a3SEmmanuel Vadot items: 82c9ccf3a3SEmmanuel Vadot - description: > 83c9ccf3a3SEmmanuel Vadot the address is offset from the ULPI_EXT_VENDOR_SPECIFIC address 84c9ccf3a3SEmmanuel Vadot - description: value 85c9ccf3a3SEmmanuel Vadot 86c9ccf3a3SEmmanuel Vadotrequired: 87c9ccf3a3SEmmanuel Vadot - clocks 88c9ccf3a3SEmmanuel Vadot - clock-names 89c9ccf3a3SEmmanuel Vadot - resets 90c9ccf3a3SEmmanuel Vadot - reset-names 91c9ccf3a3SEmmanuel Vadot - "#phy-cells" 92c9ccf3a3SEmmanuel Vadot 93c9ccf3a3SEmmanuel VadotadditionalProperties: false 94c9ccf3a3SEmmanuel Vadot 95c9ccf3a3SEmmanuel Vadotexamples: 96c9ccf3a3SEmmanuel Vadot - | 97c9ccf3a3SEmmanuel Vadot otg: usb-controller { 98c9ccf3a3SEmmanuel Vadot #reset-cells = <1>; 99c9ccf3a3SEmmanuel Vadot 100c9ccf3a3SEmmanuel Vadot ulpi { 101c9ccf3a3SEmmanuel Vadot phy { 102c9ccf3a3SEmmanuel Vadot compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy"; 103c9ccf3a3SEmmanuel Vadot #phy-cells = <0>; 104c9ccf3a3SEmmanuel Vadot clocks = <&clk 0>, <&clk 258>; 105c9ccf3a3SEmmanuel Vadot clock-names = "ref", "sleep"; 106c9ccf3a3SEmmanuel Vadot resets = <&gcc 10>, <&otg 0>; 107c9ccf3a3SEmmanuel Vadot reset-names = "phy", "por"; 108c9ccf3a3SEmmanuel Vadot v3p3-supply = <&pm8941_l24>; 109c9ccf3a3SEmmanuel Vadot v1p8-supply = <&pm8941_l6>; 110c9ccf3a3SEmmanuel Vadot extcon = <&smbb>; 111c9ccf3a3SEmmanuel Vadot qcom,init-seq = /bits/ 8 <0x1 0x63>; 112c9ccf3a3SEmmanuel Vadot }; 113c9ccf3a3SEmmanuel Vadot }; 114c9ccf3a3SEmmanuel Vadot }; 115