blob: ff7b03d9c77681161c4606005f273bc9af2c9e18 [file] [log] [blame]
Ido Shayevitzef72ddd2012-03-28 18:55:55 +02001MSM SuperSpeed USB3.0 SoC controller
2
3Required properties :
4- compatible : should be "qcom,dwc-usb3-msm"
5- reg : offset and length of the register set in the memory map
Ido Shayevitz7ad8ded2012-08-28 04:30:58 +03006 offset and length of the TCSR register for routing USB
7 signals to either picoPHY0 or picoPHY1.
Manu Gautam17206c22012-06-21 10:17:53 +05308- interrupts: IRQ lines used by this controller
Manu Gautam17206c22012-06-21 10:17:53 +05309- <supply-name>-supply: phandle to the regulator device tree node
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053010 Required "supply-name" examples are:
11 "SSUSB_lp8" : 1.8v supply for SSPHY
12 "HSUSB_1p8" : 1.8v supply for HSPHY
13 "HSUSB_3p3" : 3.3v supply for HSPHY
14 "vbus_dwc3" : vbus supply for host mode
15 "ssusb_vdd_dig" : vdd supply for SSPHY digital circuit operation
16 "hsusb_vdd_dig" : vdd supply for HSPHY digital circuit operation
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020017- qcom,dwc-usb3-msm-dbm-eps: Number of endpoints avaliable for
18 the DBM (Device Bus Manager). The DBM is HW unit which is part of
19 the MSM USB3.0 core (which also includes the Synopsys DesignWare
20 USB3.0 controller)
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053021- qcom,vdd-voltage-level: This property must be a list of three integer
22 values (no, min, max) where each value represents either a voltage in
23 microvolts or a value corresponding to voltage corner
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020024
Manu Gautam2617deb2012-08-31 17:50:06 -070025Optional properties :
26- Refer to "Documentation/devicetree/bindings/arm/msm/msm_bus.txt" for
27 below optional properties:
28 - qcom,msm_bus,name
29 - qcom,msm_bus,num_cases
30 - qcom,msm_bus,active_only
31 - qcom,msm_bus,num_paths
32 - qcom,msm_bus,vectors
Manu Gautam377821c2012-09-28 16:53:24 +053033- interrupt-names : Optional interrupt resource entries are:
34 "hs_phy_irq" : Interrupt from HSPHY for asynchronous events in LPM.
35 This is not used if wakeup events are received externally (e.g. PMIC)
Jack Pham0cca9412013-03-08 13:22:42 -080036 "pmic_id_irq" : Interrupt from PMIC for external ID pin notification.
Manu Gautam6c0ff032012-11-02 14:55:35 +053037- qcom,otg-capability: If present then depend on PMIC for VBUS notifications,
38 otherwise depend on PHY.
39- qcom,charging-disabled: If present then battery charging using USB
40 is disabled.
Vijayavardhan Vennapusa26a49602012-12-18 13:51:45 +053041- qcom,dwc-hsphy-init: This property if present represents phy init
Vijayavardhan Vennapusa22f5d442013-01-01 12:28:02 +053042 value to be used for overriding HSPHY parameters into QSCRATCH register.
43 This 32 bit value represents parameters as follows:
44 bits 0-5 PARAMETER_OVERRIDE_A
45 bits 6-12 PARAMETER_OVERRIDE_B
46 bits 13-19 PARAMETER_OVERRIDE_C
47 bits 20-25 PARAMETER_OVERRIDE_D
Hemant Kumar6d7b7242013-04-18 16:44:38 -070048- qcom,skip-charger-detection: If present then charger detection using BC1.2
49 is not supported and attached host should always be assumed as SDP.
Hemant Kumar086bf6b2013-06-10 19:29:27 -070050- USB3_GDSC-supply : phandle to the globally distributed switch controller
51 regulator node to the USB controller.
Manu Gautam2617deb2012-08-31 17:50:06 -070052
Vijayavardhan Vennapusa8eb68732013-03-26 13:05:38 +053053Sub nodes:
54- Sub node for "DWC3- USB3 controller".
55 This sub node is required property for device node. The properties of this subnode
56 are specified in dwc3.txt.
57
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020058Example MSM USB3.0 controller device node :
59 usb@f9200000 {
60 compatible = "qcom,dwc-usb3-msm";
Vijayavardhan Vennapusa8eb68732013-03-26 13:05:38 +053061 reg = <0xf9200000 0xfc000>,
62 <0xfd4ab000 0x4>;
63 interrupts = <0 133 0>;
64 interrupt-names = "hs_phy_irq";
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053065 ssusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam17206c22012-06-21 10:17:53 +053066 SSUSB_1p8-supply = <&pm8941_l6>;
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053067 hsusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam17206c22012-06-21 10:17:53 +053068 HSUSB_1p8-supply = <&pm8941_l6>;
69 HSUSB_3p3-supply = <&pm8941_l24>;
Manu Gautamf1fceddf2012-10-12 14:02:50 +053070 vbus_dwc3-supply = <&pm8941_mvs1>;
Hemant Kumar086bf6b2013-06-10 19:29:27 -070071 USB3_GDSC-supply = <&gdsc_usb30>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020072 qcom,dwc-usb3-msm-dbm-eps = <4>
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053073 qcom,vdd-voltage-level = <1 5 7>;
Vijayavardhan Vennapusa26a49602012-12-18 13:51:45 +053074 qcom,dwc-hsphy-init = <0x00D195A4>;
Manu Gautam2617deb2012-08-31 17:50:06 -070075
76 qcom,msm_bus,name = "usb3";
77 qcom,msm_bus,num_cases = <2>;
78 qcom,msm_bus,active_only = <0>;
79 qcom,msm_bus,num_paths = <1>;
80 qcom,msm_bus,vectors =
81 <61 512 0 0>,
82 <61 512 240000000 960000000>;
Vijayavardhan Vennapusa8eb68732013-03-26 13:05:38 +053083 dwc3@f9200000 {
84 compatible = "synopsys,dwc3";
85 reg = <0xf9200000 0xfc000>;
86 interrupts = <0 131 0>, <0 179 0>;
87 interrupt-names = "irq", "otg_irq";
88 tx-fifo-resize;
89};
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020090 };