These parameters define how the DWC_otg controller should be configured. Parameter values are passed to the CIL initialization function dwc_otg_cil_init
Example: modprobe dwc_otg speed=1 otg_cap=1
Parameter Name | Meaning
|
otg_cap | Specifies the OTG capabilities. The driver will automatically detect the value for this parameter if none is specified.
|
dma_enable | Specifies whether to use slave or DMA mode for accessing the data FIFOs. The driver will automatically detect the value for this parameter if none is specified.
|
dma_burst_size | The DMA Burst size (applicable only for External DMA Mode).
|
speed | Specifies the maximum speed of operation in host and device mode. The actual speed depends on the speed of the attached device and the value of phy_type.
|
host_support_fs_ls_low_power | Specifies whether low power mode is supported when attached to a Full Speed or Low Speed device in host mode.
|
host_ls_low_power_phy_clk | Specifies the PHY clock rate in low power mode when connected to a Low Speed device in host mode. This parameter is applicable only if HOST_SUPPORT_FS_LS_LOW_POWER is enabled.
|
enable_dynamic_fifo | Specifies whether FIFOs may be resized by the driver software.
|
data_fifo_size | Total number of 4-byte words in the data FIFO memory. This memory includes the Rx FIFO, non-periodic Tx FIFO, and periodic Tx FIFOs.
Note: The total FIFO memory depth in the FPGA configuration is 8192.
|
dev_rx_fifo_size | Number of 4-byte words in the Rx FIFO in device mode when dynamic FIFO sizing is enabled.
|
dev_nperio_tx_fifo_size | Number of 4-byte words in the non-periodic Tx FIFO in device mode when dynamic FIFO sizing is enabled.
|
dev_perio_tx_fifo_size_n (n = 1 to 15) | Number of 4-byte words in each of the periodic Tx FIFOs in device mode when dynamic FIFO sizing is enabled.
|
host_rx_fifo_size | Number of 4-byte words in the Rx FIFO in host mode when dynamic FIFO sizing is enabled.
|
host_nperio_tx_fifo_size | Number of 4-byte words in the non-periodic Tx FIFO in host mode when dynamic FIFO sizing is enabled in the core.
|
host_perio_tx_fifo_size | Number of 4-byte words in the host periodic Tx FIFO when dynamic FIFO sizing is enabled.
|
max_transfer_size | The maximum transfer size supported in bytes.
|
max_packet_count | The maximum number of packets in a transfer.
|
host_channels | The number of host channel registers to use.
Note: The FPGA configuration supports a maximum of 12 host channels.
|
dev_endpoints | The number of endpoints in addition to EP0 available for device mode operations.
Note: The FPGA configuration supports a maximum of 6 IN and OUT endpoints in addition to EP0.
|
phy_type | Specifies the type of PHY interface to use. By default, the driver will automatically detect the phy_type.
|
phy_utmi_width | Specifies the UTMI+ Data Width. This parameter is applicable for a phy_type of UTMI+. Also, this parameter is applicable only if the OTG_HSPHY_WIDTH cC parameter was set to "8 and 16 bits", meaning that the core has been configured to work at either data path width.
|
phy_ulpi_ddr | Specifies whether the ULPI operates at double or single data rate. This parameter is only applicable if phy_type is ULPI.
|
i2c_enable | Specifies whether to use the I2C interface for full speed PHY. This parameter is only applicable if PHY_TYPE is FS.
|
otg_en_multiple_tx_fifo | Specifies whether dedicatedto tx fifos are enabled for non periodic IN EPs. The driver will automatically detect the value for this parameter if none is specified.
|
dev_tx_fifo_size_n (n = 1 to 15) | Number of 4-byte words in each of the Tx FIFOs in device mode when dynamic FIFO sizing is enabled.
|
tx_thr_length | Transmit Threshold length in 32 bit double words
|
rx_thr_length | Receive Threshold length in 32 bit double words
|
thr_ctl | Specifies whether to enable Thresholding for Device mode. Bits 0, 1, 2 of this parmater specifies if thresholding is enabled for non-Iso Tx, Iso Tx and Rx transfers accordingly. The driver will automatically detect the value for this parameter if none is specified.
|
dma_desc_enable | Specifies whether to enable Descriptor DMA mode. The driver will automatically detect the value for this parameter if none is specified.
|
mpi_enable | Specifies whether to enable MPI enhancement mode. The driver will automatically detect the value for this parameter if none is specified.
|
pti_enable | Specifies whether to enable PTI enhancement support. The driver will automatically detect the value for this parameter if none is specified.
|
lpm_enable | Specifies whether to enable LPM support. The driver will automatically detect the value for this parameter if none is specified.
|
ahb_thr_ratio | Specifies AHB Threshold ratio.
|