Back to home page

OSCL-LXR

 
 

    


0001 Qualcomm's APQ8016/MSM8916 USB transceiver controller
0002 
0003 - compatible:
0004     Usage: required
0005     Value type: <string>
0006     Definition: Should contain "qcom,usb-8x16-phy".
0007 
0008 - reg:
0009     Usage: required
0010     Value type: <prop-encoded-array>
0011     Definition: USB PHY base address and length of the register map
0012 
0013 - clocks:
0014     Usage: required
0015     Value type: <prop-encoded-array>
0016     Definition: See clock-bindings.txt section "consumers". List of
0017                 two clock specifiers for interface and core controller
0018                 clocks.
0019 
0020 - clock-names:
0021     Usage: required
0022     Value type: <string>
0023     Definition: Must contain "iface" and "core" strings.
0024 
0025 - vddcx-supply:
0026     Usage: required
0027     Value type: <phandle>
0028     Definition: phandle to the regulator VDCCX supply node.
0029 
0030 - v1p8-supply:
0031     Usage: required
0032     Value type: <phandle>
0033     Definition: phandle to the regulator 1.8V supply node.
0034 
0035 - v3p3-supply:
0036     Usage: required
0037     Value type: <phandle>
0038     Definition: phandle to the regulator 3.3V supply node.
0039 
0040 - resets:
0041     Usage: required
0042     Value type: <prop-encoded-array>
0043     Definition: See reset.txt section "consumers". PHY reset specifier.
0044 
0045 - reset-names:
0046     Usage: required
0047     Value type: <string>
0048     Definition: Must contain "phy" string.
0049 
0050 - switch-gpio:
0051     Usage: optional
0052     Value type: <prop-encoded-array>
0053     Definition: Some boards are using Dual SPDT USB Switch, witch is
0054                 controlled by GPIO to de/multiplex D+/D- USB lines
0055                 between connectors.
0056 
0057 Example:
0058         usb_phy: phy@78d9000 {
0059                 compatible = "qcom,usb-8x16-phy";
0060                 reg = <0x78d9000 0x400>;
0061 
0062                 vddcx-supply = <&pm8916_s1_corner>;
0063                 v1p8-supply = <&pm8916_l7>;
0064                 v3p3-supply = <&pm8916_l13>;
0065 
0066                 clocks = <&gcc GCC_USB_HS_AHB_CLK>,
0067                              <&gcc GCC_USB_HS_SYSTEM_CLK>;
0068                 clock-names = "iface", "core";
0069 
0070                 resets = <&gcc GCC_USB2A_PHY_BCR>;
0071                 reset-names = "phy";
0072 
0073                 // D+/D- lines: 1 - Routed to HUB, 0 - Device connector
0074                 switch-gpio = <&pm8916_gpios 4 GPIO_ACTIVE_HIGH>;
0075         };
0076