blob: 51c075015b395dd3adc6f7c53e05bb3944fa0c03 [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
9- interrupt-names : Required interrupt resource entries are:
10 "irq" : Interrupt for DWC3 core
11 "otg_irq" : Interrupt for DWC3 core's OTG Events
12- <supply-name>-supply: phandle to the regulator device tree node
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053013 Required "supply-name" examples are:
14 "SSUSB_lp8" : 1.8v supply for SSPHY
15 "HSUSB_1p8" : 1.8v supply for HSPHY
16 "HSUSB_3p3" : 3.3v supply for HSPHY
17 "vbus_dwc3" : vbus supply for host mode
18 "ssusb_vdd_dig" : vdd supply for SSPHY digital circuit operation
19 "hsusb_vdd_dig" : vdd supply for HSPHY digital circuit operation
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020020- qcom,dwc-usb3-msm-dbm-eps: Number of endpoints avaliable for
21 the DBM (Device Bus Manager). The DBM is HW unit which is part of
22 the MSM USB3.0 core (which also includes the Synopsys DesignWare
23 USB3.0 controller)
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053024- qcom,vdd-voltage-level: This property must be a list of three integer
25 values (no, min, max) where each value represents either a voltage in
26 microvolts or a value corresponding to voltage corner
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020027
Manu Gautam2617deb2012-08-31 17:50:06 -070028Optional properties :
29- Refer to "Documentation/devicetree/bindings/arm/msm/msm_bus.txt" for
30 below optional properties:
31 - qcom,msm_bus,name
32 - qcom,msm_bus,num_cases
33 - qcom,msm_bus,active_only
34 - qcom,msm_bus,num_paths
35 - qcom,msm_bus,vectors
Manu Gautam377821c2012-09-28 16:53:24 +053036- interrupt-names : Optional interrupt resource entries are:
37 "hs_phy_irq" : Interrupt from HSPHY for asynchronous events in LPM.
38 This is not used if wakeup events are received externally (e.g. PMIC)
Jack Pham0cca9412013-03-08 13:22:42 -080039 "pmic_id_irq" : Interrupt from PMIC for external ID pin notification.
Manu Gautam6c0ff032012-11-02 14:55:35 +053040- qcom,otg-capability: If present then depend on PMIC for VBUS notifications,
41 otherwise depend on PHY.
42- qcom,charging-disabled: If present then battery charging using USB
43 is disabled.
Vijayavardhan Vennapusa26a49602012-12-18 13:51:45 +053044- qcom,dwc-hsphy-init: This property if present represents phy init
Vijayavardhan Vennapusa22f5d442013-01-01 12:28:02 +053045 value to be used for overriding HSPHY parameters into QSCRATCH register.
46 This 32 bit value represents parameters as follows:
47 bits 0-5 PARAMETER_OVERRIDE_A
48 bits 6-12 PARAMETER_OVERRIDE_B
49 bits 13-19 PARAMETER_OVERRIDE_C
50 bits 20-25 PARAMETER_OVERRIDE_D
Manu Gautam2617deb2012-08-31 17:50:06 -070051
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020052Example MSM USB3.0 controller device node :
53 usb@f9200000 {
54 compatible = "qcom,dwc-usb3-msm";
Ido Shayevitz7ad8ded2012-08-28 04:30:58 +030055 reg = <0xF9200000 0xFA000>,
56 <0xFD4AB000 0x4>;
Manu Gautam377821c2012-09-28 16:53:24 +053057 interrupts = <0 131 0>, <0 179 0>, <0 133 0>;
58 interrupt-names = "irq", "otg_irq", "hs_phy_irq";
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053059 ssusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam17206c22012-06-21 10:17:53 +053060 SSUSB_1p8-supply = <&pm8941_l6>;
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053061 hsusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam17206c22012-06-21 10:17:53 +053062 HSUSB_1p8-supply = <&pm8941_l6>;
63 HSUSB_3p3-supply = <&pm8941_l24>;
Manu Gautamf1fceddf2012-10-12 14:02:50 +053064 vbus_dwc3-supply = <&pm8941_mvs1>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020065 qcom,dwc-usb3-msm-dbm-eps = <4>
Vijayavardhan Vennapusa993798a2012-11-09 15:11:21 +053066 qcom,vdd-voltage-level = <1 5 7>;
Vijayavardhan Vennapusa26a49602012-12-18 13:51:45 +053067 qcom,dwc-hsphy-init = <0x00D195A4>;
Manu Gautam2617deb2012-08-31 17:50:06 -070068
69 qcom,msm_bus,name = "usb3";
70 qcom,msm_bus,num_cases = <2>;
71 qcom,msm_bus,active_only = <0>;
72 qcom,msm_bus,num_paths = <1>;
73 qcom,msm_bus,vectors =
74 <61 512 0 0>,
75 <61 512 240000000 960000000>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +020076 };