blob: 5391734f61d711c81fefe31ba1683553fcdb742c [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
Manu Gautam2617deb2012-08-31 17:50:06 -070048
Vijayavardhan Vennapusa8eb68732013-03-26 13:05:38 +053049Sub nodes:
50- Sub node for "DWC3- USB3 controller".
51 This sub node is required property for device node. The properties of this subnode
52 are specified in dwc3.txt.
53
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020054Example MSM USB3.0 controller device node :
55 usb@f9200000 {
56 compatible = "qcom,dwc-usb3-msm";
Vijayavardhan Vennapusa8eb68732013-03-26 13:05:38 +053057 reg = <0xf9200000 0xfc000>,
58 <0xfd4ab000 0x4>;
59 interrupts = <0 133 0>;
60 interrupt-names = "hs_phy_irq";
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053061 ssusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam17206c22012-06-21 10:17:53 +053062 SSUSB_1p8-supply = <&pm8941_l6>;
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053063 hsusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam17206c22012-06-21 10:17:53 +053064 HSUSB_1p8-supply = <&pm8941_l6>;
65 HSUSB_3p3-supply = <&pm8941_l24>;
Manu Gautamf1fceddf2012-10-12 14:02:50 +053066 vbus_dwc3-supply = <&pm8941_mvs1>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020067 qcom,dwc-usb3-msm-dbm-eps = <4>
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053068 qcom,vdd-voltage-level = <1 5 7>;
Vijayavardhan Vennapusa26a49602012-12-18 13:51:45 +053069 qcom,dwc-hsphy-init = <0x00D195A4>;
Manu Gautam2617deb2012-08-31 17:50:06 -070070
71 qcom,msm_bus,name = "usb3";
72 qcom,msm_bus,num_cases = <2>;
73 qcom,msm_bus,active_only = <0>;
74 qcom,msm_bus,num_paths = <1>;
75 qcom,msm_bus,vectors =
76 <61 512 0 0>,
77 <61 512 240000000 960000000>;
Vijayavardhan Vennapusa8eb68732013-03-26 13:05:38 +053078 dwc3@f9200000 {
79 compatible = "synopsys,dwc3";
80 reg = <0xf9200000 0xfc000>;
81 interrupts = <0 131 0>, <0 179 0>;
82 interrupt-names = "irq", "otg_irq";
83 tx-fifo-resize;
84};
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020085 };