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 |
Manu Gautam | 17206c2 | 2012-06-21 10:17:53 +0530 | [diff] [blame] | 9 | - <supply-name>-supply: phandle to the regulator device tree node |
Vijayavardhan Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 10 | 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 Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 17 | - 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 Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 21 | - 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 Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 24 | |
Manu Gautam | 2617deb | 2012-08-31 17:50:06 -0700 | [diff] [blame] | 25 | Optional 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 Gautam | 377821c | 2012-09-28 16:53:24 +0530 | [diff] [blame] | 33 | - 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 Pham | 0cca941 | 2013-03-08 13:22:42 -0800 | [diff] [blame] | 36 | "pmic_id_irq" : Interrupt from PMIC for external ID pin notification. |
Manu Gautam | 6c0ff03 | 2012-11-02 14:55:35 +0530 | [diff] [blame] | 37 | - 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 Vennapusa | 26a4960 | 2012-12-18 13:51:45 +0530 | [diff] [blame] | 41 | - qcom,dwc-hsphy-init: This property if present represents phy init |
Vijayavardhan Vennapusa | 22f5d44 | 2013-01-01 12:28:02 +0530 | [diff] [blame] | 42 | 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 Gautam | 2617deb | 2012-08-31 17:50:06 -0700 | [diff] [blame] | 48 | |
Vijayavardhan Vennapusa | 8eb6873 | 2013-03-26 13:05:38 +0530 | [diff] [blame] | 49 | Sub 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 Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 54 | Example MSM USB3.0 controller device node : |
| 55 | usb@f9200000 { |
| 56 | compatible = "qcom,dwc-usb3-msm"; |
Vijayavardhan Vennapusa | 8eb6873 | 2013-03-26 13:05:38 +0530 | [diff] [blame] | 57 | reg = <0xf9200000 0xfc000>, |
| 58 | <0xfd4ab000 0x4>; |
| 59 | interrupts = <0 133 0>; |
| 60 | interrupt-names = "hs_phy_irq"; |
Vijayavardhan Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 61 | ssusb_vdd_dig-supply = <&pm8841_s2_corner>; |
Manu Gautam | 17206c2 | 2012-06-21 10:17:53 +0530 | [diff] [blame] | 62 | SSUSB_1p8-supply = <&pm8941_l6>; |
Vijayavardhan Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 63 | hsusb_vdd_dig-supply = <&pm8841_s2_corner>; |
Manu Gautam | 17206c2 | 2012-06-21 10:17:53 +0530 | [diff] [blame] | 64 | HSUSB_1p8-supply = <&pm8941_l6>; |
| 65 | HSUSB_3p3-supply = <&pm8941_l24>; |
Manu Gautam | f1fceddf | 2012-10-12 14:02:50 +0530 | [diff] [blame] | 66 | vbus_dwc3-supply = <&pm8941_mvs1>; |
Ido Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 67 | qcom,dwc-usb3-msm-dbm-eps = <4> |
Vijayavardhan Vennapusa | 993798a | 2012-11-09 15:11:21 +0530 | [diff] [blame] | 68 | qcom,vdd-voltage-level = <1 5 7>; |
Vijayavardhan Vennapusa | 26a4960 | 2012-12-18 13:51:45 +0530 | [diff] [blame] | 69 | qcom,dwc-hsphy-init = <0x00D195A4>; |
Manu Gautam | 2617deb | 2012-08-31 17:50:06 -0700 | [diff] [blame] | 70 | |
| 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 Vennapusa | 8eb6873 | 2013-03-26 13:05:38 +0530 | [diff] [blame] | 78 | 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 Shayevitz | ef72ddd | 2012-03-28 18:55:55 +0200 | [diff] [blame] | 85 | }; |