blob: e3e6983288e31c1f337ea4014fa69a575364560c [file] [log] [blame]
Kishon Vijay Abraham I5088b6f2013-01-25 16:36:53 +05301synopsys DWC3 CORE
2
Bhupesh Sharma736c16d2015-10-24 01:01:56 +05303DWC3- USB3 CONTROLLER. Complies to the generic USB binding properties
4 as described in 'usb/generic.txt'
Kishon Vijay Abraham I5088b6f2013-01-25 16:36:53 +05305
6Required properties:
Felipe Balbi22a5aa12013-07-02 21:20:24 +03007 - compatible: must be "snps,dwc3"
Kishon Vijay Abraham I5088b6f2013-01-25 16:36:53 +05308 - reg : Address and length of the register set for the device
9 - interrupts: Interrupts used by the dwc3 controller.
Kishon Vijay Abraham I57303482014-03-03 17:08:11 +053010
11Optional properties:
Kumar Gala23381db2013-08-09 10:40:32 -050012 - usb-phy : array of phandle for the PHY device. The first element
13 in the array is expected to be a handle to the USB2/HS PHY and
14 the second element is expected to be a handle to the USB3/SS PHY
Kishon Vijay Abraham I57303482014-03-03 17:08:11 +053015 - phys: from the *Generic PHY* bindings
Brian Norrise5116362016-08-18 14:37:16 -070016 - phy-names: from the *Generic PHY* bindings; supported names are "usb2-phy"
17 or "usb3-phy".
Robert Baldygaeac68e82015-03-09 15:06:12 +010018 - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable
Huang Rui3b812212014-10-28 19:54:25 +080019 - snps,disable_scramble_quirk: true when SW should disable data scrambling.
20 Only really useful for FPGA builds.
Huang Rui80caf7d2014-10-28 19:54:26 +080021 - snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled
22 - snps,lpm-nyet-threshold: LPM NYET threshold
Huang Rui9a5b2f32014-10-28 19:54:27 +080023 - snps,u2exit_lfps_quirk: set if we want to enable u2exit lfps quirk
Huang Ruib5a65c42014-10-28 19:54:28 +080024 - snps,u2ss_inp3_quirk: set if we enable P3 OK for U2/SS Inactive quirk
Huang Ruidf31f5b2014-10-28 19:54:29 +080025 - snps,req_p1p2p3_quirk: when set, the core will always request for
26 P1/P2/P3 transition sequence.
Huang Ruia2a1d0f2014-10-28 19:54:30 +080027 - snps,del_p1p2p3_quirk: when set core will delay P1/P2/P3 until a certain
28 amount of 8B10B errors occur.
Huang Rui41c06ff2014-10-28 19:54:31 +080029 - snps,del_phy_power_chg_quirk: when set core will delay PHY power change
30 from P0 to P1/P2/P3.
Huang Ruifb67afc2014-10-28 19:54:32 +080031 - snps,lfps_filter_quirk: when set core will filter LFPS reception.
Huang Rui14f4ac52014-10-28 19:54:33 +080032 - snps,rx_detect_poll_quirk: when set core will disable a 400us delay to start
33 Polling LFPS after RX.Detect.
Huang Rui6b6a0c92014-10-31 11:11:12 +080034 - snps,tx_de_emphasis_quirk: when set core will set Tx de-emphasis value.
35 - snps,tx_de_emphasis: the value driven to the PHY is controlled by the
36 LTSSM during USB3 Compliance mode.
Huang Rui59acfa22014-10-31 11:11:13 +080037 - snps,dis_u3_susphy_quirk: when set core will disable USB3 suspend phy.
Huang Rui0effe0a2014-10-31 11:11:14 +080038 - snps,dis_u2_susphy_quirk: when set core will disable USB2 suspend phy.
John Younec791d12015-10-02 20:30:57 -070039 - snps,dis_enblslpm_quirk: when set clears the enblslpm in GUSB2PHYCFG,
40 disabling the suspend signal to the PHY.
Rajesh Bhagat2c0b98f2016-03-14 14:40:51 +053041 - snps,dis_rxdet_inp3_quirk: when set core will disable receiver detection
42 in PHY P3 power state.
William Wu16199f32016-08-16 22:44:37 +080043 - snps,dis-u2-freeclk-exists-quirk: when set, clear the u2_freeclk_exists
44 in GUSB2PHYCFG, specify that USB2 PHY doesn't provide
45 a free-running PHY clock.
William Wu00fe0812016-08-16 22:44:39 +080046 - snps,dis-del-phy-power-chg-quirk: when set core will change PHY power
47 from P0 to P1/P2/P3 without delay.
Huang Rui460d0982014-10-31 11:11:18 +080048 - snps,is-utmi-l1-suspend: true when DWC3 asserts output signal
49 utmi_l1_suspend_n, false when asserts utmi_sleep_n
50 - snps,hird-threshold: HIRD threshold
Heikki Krogerus3e10a2c2015-05-13 15:26:49 +030051 - snps,hsphy_interface: High-Speed PHY interface selection between "utmi" for
52 UTMI+ and "ulpi" for ULPI when the DWC_USB3_HSPHY_INTERFACE has value 3.
Nikhil Badola3737c542015-09-04 10:14:54 +053053 - snps,quirk-frame-length-adjustment: Value for GFLADJ_30MHZ field of GFLADJ
54 register for post-silicon frame length adjustment when the
55 fladj_30mhz_sdbnd signal is invalid or incorrect.
Kishon Vijay Abraham I5088b6f2013-01-25 16:36:53 +053056
Felipe Balbibc508162016-02-04 14:18:01 +020057 - <DEPRECATED> tx-fifo-resize: determines if the FIFO *has* to be reallocated.
58
Kishon Vijay Abraham I5088b6f2013-01-25 16:36:53 +053059This is usually a subnode to DWC3 glue to which it is connected.
60
61dwc3@4a030000 {
Felipe Balbi22a5aa12013-07-02 21:20:24 +030062 compatible = "snps,dwc3";
Kishon Vijay Abraham I5088b6f2013-01-25 16:36:53 +053063 reg = <0x4a030000 0xcfff>;
64 interrupts = <0 92 4>
65 usb-phy = <&usb2_phy>, <&usb3,phy>;
Kishon Vijay Abraham I5088b6f2013-01-25 16:36:53 +053066};