Ido Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 1 | MSM SuperSpeed USB3.0 SoC controller |
| 2 | |
| 3 | Required properties : |
| 4 | - compatible : should be "qcom,dwc-usb3-msm" |
| 5 | - reg : offset and length of the register set in the memory map |
Ido Shayevitz | 7ad8ded | 2012-08-28 04:30:58 +0300 | [diff] [blame] | 6 | offset and length of the TCSR register for routing USB |
| 7 | signals to either picoPHY0 or picoPHY1. |
Manu Gautam | 17206c2 | 2012-06-21 10:17:53 +0530 | [diff] [blame] | 8 | - 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 Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 13 | 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 Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 20 | - 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 Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 24 | - 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 Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 27 | |
Manu Gautam | 2617deb | 2012-08-31 17:50:06 -0700 | [diff] [blame] | 28 | Optional 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 Gautam | 377821c | 2012-09-28 16:53:24 +0530 | [diff] [blame] | 36 | - 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 Pham | 0cca941 | 2013-03-08 13:22:42 -0800 | [diff] [blame] | 39 | "pmic_id_irq" : Interrupt from PMIC for external ID pin notification. |
Manu Gautam | 6c0ff03 | 2012-11-02 14:55:35 +0530 | [diff] [blame] | 40 | - 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 Vennapusa | 26a4960 | 2012-12-18 13:51:45 +0530 | [diff] [blame] | 44 | - qcom,dwc-hsphy-init: This property if present represents phy init |
Vijayavardhan Vennapusa | 22f5d44 | 2013-01-01 12:28:02 +0530 | [diff] [blame] | 45 | 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 Gautam | 2617deb | 2012-08-31 17:50:06 -0700 | [diff] [blame] | 51 | |
Ido Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 52 | Example MSM USB3.0 controller device node : |
| 53 | usb@f9200000 { |
| 54 | compatible = "qcom,dwc-usb3-msm"; |
Ido Shayevitz | 7ad8ded | 2012-08-28 04:30:58 +0300 | [diff] [blame] | 55 | reg = <0xF9200000 0xFA000>, |
| 56 | <0xFD4AB000 0x4>; |
Manu Gautam | 377821c | 2012-09-28 16:53:24 +0530 | [diff] [blame] | 57 | interrupts = <0 131 0>, <0 179 0>, <0 133 0>; |
| 58 | interrupt-names = "irq", "otg_irq", "hs_phy_irq"; |
Vijayavardhan Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 59 | ssusb_vdd_dig-supply = <&pm8841_s2_corner>; |
Manu Gautam | 17206c2 | 2012-06-21 10:17:53 +0530 | [diff] [blame] | 60 | SSUSB_1p8-supply = <&pm8941_l6>; |
Vijayavardhan Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 61 | hsusb_vdd_dig-supply = <&pm8841_s2_corner>; |
Manu Gautam | 17206c2 | 2012-06-21 10:17:53 +0530 | [diff] [blame] | 62 | HSUSB_1p8-supply = <&pm8941_l6>; |
| 63 | HSUSB_3p3-supply = <&pm8941_l24>; |
Manu Gautam | f1fceddf | 2012-10-12 14:02:50 +0530 | [diff] [blame] | 64 | vbus_dwc3-supply = <&pm8941_mvs1>; |
Ido Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 65 | qcom,dwc-usb3-msm-dbm-eps = <4> |
Vijayavardhan Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 66 | qcom,vdd-voltage-level = <1 5 7>; |
Vijayavardhan Vennapusa | 26a4960 | 2012-12-18 13:51:45 +0530 | [diff] [blame] | 67 | qcom,dwc-hsphy-init = <0x00D195A4>; |
Manu Gautam | 2617deb | 2012-08-31 17:50:06 -0700 | [diff] [blame] | 68 | |
| 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 Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 76 | }; |