Kishon Vijay Abraham I | 5088b6f | 2013-01-25 16:36:53 +0530 | [diff] [blame] | 1 | synopsys DWC3 CORE |
| 2 | |
| 3 | DWC3- USB3 CONTROLLER |
| 4 | |
| 5 | Required properties: |
Felipe Balbi | 22a5aa1 | 2013-07-02 21:20:24 +0300 | [diff] [blame] | 6 | - compatible: must be "snps,dwc3" |
Kishon Vijay Abraham I | 5088b6f | 2013-01-25 16:36:53 +0530 | [diff] [blame] | 7 | - reg : Address and length of the register set for the device |
| 8 | - interrupts: Interrupts used by the dwc3 controller. |
Kishon Vijay Abraham I | 5730348 | 2014-03-03 17:08:11 +0530 | [diff] [blame] | 9 | |
| 10 | Optional properties: |
Kumar Gala | 23381db | 2013-08-09 10:40:32 -0500 | [diff] [blame] | 11 | - usb-phy : array of phandle for the PHY device. The first element |
| 12 | in the array is expected to be a handle to the USB2/HS PHY and |
| 13 | the second element is expected to be a handle to the USB3/SS PHY |
Kishon Vijay Abraham I | 5730348 | 2014-03-03 17:08:11 +0530 | [diff] [blame] | 14 | - phys: from the *Generic PHY* bindings |
| 15 | - phy-names: from the *Generic PHY* bindings |
Kishon Vijay Abraham I | 5088b6f | 2013-01-25 16:36:53 +0530 | [diff] [blame] | 16 | - tx-fifo-resize: determines if the FIFO *has* to be reallocated. |
Robert Baldyga | eac68e8 | 2015-03-09 15:06:12 +0100 | [diff] [blame] | 17 | - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable |
Huang Rui | 3b81221 | 2014-10-28 19:54:25 +0800 | [diff] [blame] | 18 | - snps,disable_scramble_quirk: true when SW should disable data scrambling. |
| 19 | Only really useful for FPGA builds. |
Huang Rui | 80caf7d | 2014-10-28 19:54:26 +0800 | [diff] [blame] | 20 | - snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled |
| 21 | - snps,lpm-nyet-threshold: LPM NYET threshold |
Huang Rui | 9a5b2f3 | 2014-10-28 19:54:27 +0800 | [diff] [blame] | 22 | - snps,u2exit_lfps_quirk: set if we want to enable u2exit lfps quirk |
Huang Rui | b5a65c4 | 2014-10-28 19:54:28 +0800 | [diff] [blame] | 23 | - snps,u2ss_inp3_quirk: set if we enable P3 OK for U2/SS Inactive quirk |
Huang Rui | df31f5b | 2014-10-28 19:54:29 +0800 | [diff] [blame] | 24 | - snps,req_p1p2p3_quirk: when set, the core will always request for |
| 25 | P1/P2/P3 transition sequence. |
Huang Rui | a2a1d0f | 2014-10-28 19:54:30 +0800 | [diff] [blame] | 26 | - snps,del_p1p2p3_quirk: when set core will delay P1/P2/P3 until a certain |
| 27 | amount of 8B10B errors occur. |
Huang Rui | 41c06ff | 2014-10-28 19:54:31 +0800 | [diff] [blame] | 28 | - snps,del_phy_power_chg_quirk: when set core will delay PHY power change |
| 29 | from P0 to P1/P2/P3. |
Huang Rui | fb67afc | 2014-10-28 19:54:32 +0800 | [diff] [blame] | 30 | - snps,lfps_filter_quirk: when set core will filter LFPS reception. |
Huang Rui | 14f4ac5 | 2014-10-28 19:54:33 +0800 | [diff] [blame] | 31 | - snps,rx_detect_poll_quirk: when set core will disable a 400us delay to start |
| 32 | Polling LFPS after RX.Detect. |
Huang Rui | 6b6a0c9 | 2014-10-31 11:11:12 +0800 | [diff] [blame] | 33 | - snps,tx_de_emphasis_quirk: when set core will set Tx de-emphasis value. |
| 34 | - snps,tx_de_emphasis: the value driven to the PHY is controlled by the |
| 35 | LTSSM during USB3 Compliance mode. |
Huang Rui | 59acfa2 | 2014-10-31 11:11:13 +0800 | [diff] [blame] | 36 | - snps,dis_u3_susphy_quirk: when set core will disable USB3 suspend phy. |
Huang Rui | 0effe0a | 2014-10-31 11:11:14 +0800 | [diff] [blame] | 37 | - snps,dis_u2_susphy_quirk: when set core will disable USB2 suspend phy. |
Huang Rui | 460d098 | 2014-10-31 11:11:18 +0800 | [diff] [blame] | 38 | - snps,is-utmi-l1-suspend: true when DWC3 asserts output signal |
| 39 | utmi_l1_suspend_n, false when asserts utmi_sleep_n |
| 40 | - snps,hird-threshold: HIRD threshold |
Heikki Krogerus | 3e10a2c | 2015-05-13 15:26:49 +0300 | [diff] [blame] | 41 | - snps,hsphy_interface: High-Speed PHY interface selection between "utmi" for |
| 42 | UTMI+ and "ulpi" for ULPI when the DWC_USB3_HSPHY_INTERFACE has value 3. |
Nikhil Badola | 3737c54 | 2015-09-04 10:14:54 +0530 | [diff] [blame^] | 43 | - snps,quirk-frame-length-adjustment: Value for GFLADJ_30MHZ field of GFLADJ |
| 44 | register for post-silicon frame length adjustment when the |
| 45 | fladj_30mhz_sdbnd signal is invalid or incorrect. |
Kishon Vijay Abraham I | 5088b6f | 2013-01-25 16:36:53 +0530 | [diff] [blame] | 46 | |
| 47 | This is usually a subnode to DWC3 glue to which it is connected. |
| 48 | |
| 49 | dwc3@4a030000 { |
Felipe Balbi | 22a5aa1 | 2013-07-02 21:20:24 +0300 | [diff] [blame] | 50 | compatible = "snps,dwc3"; |
Kishon Vijay Abraham I | 5088b6f | 2013-01-25 16:36:53 +0530 | [diff] [blame] | 51 | reg = <0x4a030000 0xcfff>; |
| 52 | interrupts = <0 92 4> |
| 53 | usb-phy = <&usb2_phy>, <&usb3,phy>; |
| 54 | tx-fifo-resize; |
| 55 | }; |