xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,usb-hsic-phy.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotQualcomm's USB HSIC PHY
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotPROPERTIES
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible:
6*c66ec88fSEmmanuel Vadot    Usage: required
7*c66ec88fSEmmanuel Vadot    Value type: <string>
8*c66ec88fSEmmanuel Vadot    Definition: Should contain "qcom,usb-hsic-phy" and more specifically one of the
9*c66ec88fSEmmanuel Vadot		following:
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot			"qcom,usb-hsic-phy-mdm9615"
12*c66ec88fSEmmanuel Vadot			"qcom,usb-hsic-phy-msm8974"
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot- #phy-cells:
15*c66ec88fSEmmanuel Vadot    Usage: required
16*c66ec88fSEmmanuel Vadot    Value type: <u32>
17*c66ec88fSEmmanuel Vadot    Definition: Should contain 0
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot- clocks:
20*c66ec88fSEmmanuel Vadot    Usage: required
21*c66ec88fSEmmanuel Vadot    Value type: <prop-encoded-array>
22*c66ec88fSEmmanuel Vadot    Definition: Should contain clock specifier for phy, calibration and
23*c66ec88fSEmmanuel Vadot                a calibration sleep clock
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel Vadot- clock-names:
26*c66ec88fSEmmanuel Vadot    Usage: required
27*c66ec88fSEmmanuel Vadot    Value type: <stringlist>
28*c66ec88fSEmmanuel Vadot    Definition: Should contain "phy, "cal" and "cal_sleep"
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot- pinctrl-names:
31*c66ec88fSEmmanuel Vadot    Usage: required
32*c66ec88fSEmmanuel Vadot    Value type: <stringlist>
33*c66ec88fSEmmanuel Vadot    Definition: Should contain "init" and "default" in that order
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot- pinctrl-0:
36*c66ec88fSEmmanuel Vadot    Usage: required
37*c66ec88fSEmmanuel Vadot    Value type: <prop-encoded-array>
38*c66ec88fSEmmanuel Vadot    Definition: List of pinctrl settings to apply to keep HSIC pins in a glitch
39*c66ec88fSEmmanuel Vadot                free state
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot- pinctrl-1:
42*c66ec88fSEmmanuel Vadot    Usage: required
43*c66ec88fSEmmanuel Vadot    Value type: <prop-encoded-array>
44*c66ec88fSEmmanuel Vadot    Definition: List of pinctrl settings to apply to mux out the HSIC pins
45*c66ec88fSEmmanuel Vadot
46*c66ec88fSEmmanuel VadotEXAMPLE
47*c66ec88fSEmmanuel Vadot
48*c66ec88fSEmmanuel Vadotusb-controller {
49*c66ec88fSEmmanuel Vadot	ulpi {
50*c66ec88fSEmmanuel Vadot		phy {
51*c66ec88fSEmmanuel Vadot			compatible = "qcom,usb-hsic-phy-msm8974",
52*c66ec88fSEmmanuel Vadot				     "qcom,usb-hsic-phy";
53*c66ec88fSEmmanuel Vadot			#phy-cells = <0>;
54*c66ec88fSEmmanuel Vadot			pinctrl-names = "init", "default";
55*c66ec88fSEmmanuel Vadot			pinctrl-0 = <&hsic_sleep>;
56*c66ec88fSEmmanuel Vadot			pinctrl-1 = <&hsic_default>;
57*c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_USB_HSIC_CLK>,
58*c66ec88fSEmmanuel Vadot				 <&gcc GCC_USB_HSIC_IO_CAL_CLK>,
59*c66ec88fSEmmanuel Vadot				 <&gcc GCC_USB_HSIC_IO_CAL_SLEEP_CLK>;
60*c66ec88fSEmmanuel Vadot			clock-names = "phy", "cal", "cal_sleep";
61*c66ec88fSEmmanuel Vadot			assigned-clocks = <&gcc GCC_USB_HSIC_IO_CAL_CLK>;
62*c66ec88fSEmmanuel Vadot			assigned-clock-rates = <960000>;
63*c66ec88fSEmmanuel Vadot		};
64*c66ec88fSEmmanuel Vadot	};
65*c66ec88fSEmmanuel Vadot};
66