18c2ecf20Sopenharmony_ciQualcomm's USB HS PHY 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciPROPERTIES 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci- compatible: 68c2ecf20Sopenharmony_ci Usage: required 78c2ecf20Sopenharmony_ci Value type: <string> 88c2ecf20Sopenharmony_ci Definition: Should contain "qcom,usb-hs-phy" and more specifically one of the 98c2ecf20Sopenharmony_ci following: 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci "qcom,usb-hs-phy-apq8064" 128c2ecf20Sopenharmony_ci "qcom,usb-hs-phy-msm8916" 138c2ecf20Sopenharmony_ci "qcom,usb-hs-phy-msm8974" 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci- #phy-cells: 168c2ecf20Sopenharmony_ci Usage: required 178c2ecf20Sopenharmony_ci Value type: <u32> 188c2ecf20Sopenharmony_ci Definition: Should contain 0 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci- clocks: 218c2ecf20Sopenharmony_ci Usage: required 228c2ecf20Sopenharmony_ci Value type: <prop-encoded-array> 238c2ecf20Sopenharmony_ci Definition: Should contain clock specifier for the reference and sleep 248c2ecf20Sopenharmony_ci clocks 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci- clock-names: 278c2ecf20Sopenharmony_ci Usage: required 288c2ecf20Sopenharmony_ci Value type: <stringlist> 298c2ecf20Sopenharmony_ci Definition: Should contain "ref" and "sleep" for the reference and sleep 308c2ecf20Sopenharmony_ci clocks respectively 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci- resets: 338c2ecf20Sopenharmony_ci Usage: required 348c2ecf20Sopenharmony_ci Value type: <prop-encoded-array> 358c2ecf20Sopenharmony_ci Definition: Should contain the phy and POR resets 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci- reset-names: 388c2ecf20Sopenharmony_ci Usage: required 398c2ecf20Sopenharmony_ci Value type: <stringlist> 408c2ecf20Sopenharmony_ci Definition: Should contain "phy" and "por" for the phy and POR resets 418c2ecf20Sopenharmony_ci respectively 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci- v3p3-supply: 448c2ecf20Sopenharmony_ci Usage: required 458c2ecf20Sopenharmony_ci Value type: <phandle> 468c2ecf20Sopenharmony_ci Definition: Should contain a reference to the 3.3V supply 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ci- v1p8-supply: 498c2ecf20Sopenharmony_ci Usage: required 508c2ecf20Sopenharmony_ci Value type: <phandle> 518c2ecf20Sopenharmony_ci Definition: Should contain a reference to the 1.8V supply 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ci- extcon: 548c2ecf20Sopenharmony_ci Usage: optional 558c2ecf20Sopenharmony_ci Value type: <prop-encoded-array> 568c2ecf20Sopenharmony_ci Definition: Should contain the vbus extcon 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ci- qcom,init-seq: 598c2ecf20Sopenharmony_ci Usage: optional 608c2ecf20Sopenharmony_ci Value type: <u8 array> 618c2ecf20Sopenharmony_ci Definition: Should contain a sequence of ULPI address and value pairs to 628c2ecf20Sopenharmony_ci program into the ULPI_EXT_VENDOR_SPECIFIC area. This is related 638c2ecf20Sopenharmony_ci to Device Mode Eye Diagram test. The addresses are offsets 648c2ecf20Sopenharmony_ci from the ULPI_EXT_VENDOR_SPECIFIC address, for example, 658c2ecf20Sopenharmony_ci <0x1 0x53> would mean "write the value 0x53 to address 0x81". 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ciEXAMPLE 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ciotg: usb-controller { 708c2ecf20Sopenharmony_ci ulpi { 718c2ecf20Sopenharmony_ci phy { 728c2ecf20Sopenharmony_ci compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy"; 738c2ecf20Sopenharmony_ci #phy-cells = <0>; 748c2ecf20Sopenharmony_ci clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>; 758c2ecf20Sopenharmony_ci clock-names = "ref", "sleep"; 768c2ecf20Sopenharmony_ci resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>; 778c2ecf20Sopenharmony_ci reset-names = "phy", "por"; 788c2ecf20Sopenharmony_ci v3p3-supply = <&pm8941_l24>; 798c2ecf20Sopenharmony_ci v1p8-supply = <&pm8941_l6>; 808c2ecf20Sopenharmony_ci extcon = <&smbb>; 818c2ecf20Sopenharmony_ci qcom,init-seq = /bits/ 8 <0x1 0x63>; 828c2ecf20Sopenharmony_ci }; 838c2ecf20Sopenharmony_ci }; 848c2ecf20Sopenharmony_ci}; 85