UPSTREAM: usb: dwc3: drop FIFO resizing logic
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / usb / dwc3.txt
1 synopsys DWC3 CORE
2
3 DWC3- USB3 CONTROLLER. Complies to the generic USB binding properties
4       as described in 'usb/generic.txt'
5
6 Required properties:
7  - compatible: must be "snps,dwc3"
8  - reg : Address and length of the register set for the device
9  - interrupts: Interrupts used by the dwc3 controller.
10
11 Optional properties:
12  - 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
15  - phys: from the *Generic PHY* bindings
16  - phy-names: from the *Generic PHY* bindings
17  - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable
18  - snps,disable_scramble_quirk: true when SW should disable data scrambling.
19         Only really useful for FPGA builds.
20  - snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled
21  - snps,lpm-nyet-threshold: LPM NYET threshold
22  - snps,phyif_utmi_16_bits: true when configure the core to support
23                         UTMI+ PHY with an 16-bit interface.
24  - snps,u2exit_lfps_quirk: set if we want to enable u2exit lfps quirk
25  - snps,u2ss_inp3_quirk: set if we enable P3 OK for U2/SS Inactive quirk
26  - snps,req_p1p2p3_quirk: when set, the core will always request for
27                         P1/P2/P3 transition sequence.
28  - snps,del_p1p2p3_quirk: when set core will delay P1/P2/P3 until a certain
29                         amount of 8B10B errors occur.
30  - snps,del_phy_power_chg_quirk: when set core will delay PHY power change
31                         from P0 to P1/P2/P3.
32  - snps,lfps_filter_quirk: when set core will filter LFPS reception.
33  - snps,rx_detect_poll_quirk: when set core will disable a 400us delay to start
34                         Polling LFPS after RX.Detect.
35  - snps,tx_de_emphasis_quirk: when set core will set Tx de-emphasis value.
36  - snps,tx_de_emphasis: the value driven to the PHY is controlled by the
37                         LTSSM during USB3 Compliance mode.
38  - snps,dis_u3_susphy_quirk: when set core will disable USB3 suspend phy.
39  - snps,dis_u2_susphy_quirk: when set core will disable USB2 suspend phy.
40  - snps,dis_enblslpm_quirk: when set clears the enblslpm in GUSB2PHYCFG,
41                         disabling the suspend signal to the PHY.
42  - snps,dis_u2_freeclk_exists_quirk: when set, clear the u2_freeclk_exists
43                         in GUSB2PHYCFG, specify that USB2 PHY doesn't provide
44                         a free-running PHY clock.
45  - snps,dis_del_phy_power_chg_quirk: when set core will change PHY power
46                         from P0 to P1/P2/P3 without delay.
47  - snps,xhci_slow_suspend_quirk: when set, need an extraordinary delay to wait
48                         for xHC enter the Halted state (i.e. HCH in the USBSTS
49                         register is '1').
50  - snps,is-utmi-l1-suspend: true when DWC3 asserts output signal
51                         utmi_l1_suspend_n, false when asserts utmi_sleep_n
52  - snps,hird-threshold: HIRD threshold
53  - snps,hsphy_interface: High-Speed PHY interface selection between "utmi" for
54    UTMI+ and "ulpi" for ULPI when the DWC_USB3_HSPHY_INTERFACE has value 3.
55  - snps,quirk-frame-length-adjustment: Value for GFLADJ_30MHZ field of GFLADJ
56         register for post-silicon frame length adjustment when the
57         fladj_30mhz_sdbnd signal is invalid or incorrect.
58
59  - <DEPRECATED> tx-fifo-resize: determines if the FIFO *has* to be reallocated.
60
61 This is usually a subnode to DWC3 glue to which it is connected.
62
63 dwc3@4a030000 {
64         compatible = "snps,dwc3";
65         reg = <0x4a030000 0xcfff>;
66         interrupts = <0 92 4>
67         usb-phy = <&usb2_phy>, <&usb3,phy>;
68 };