xref: /OK3568_Linux_fs/u-boot/doc/README.fsl-hwconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFreescale-specific 'hwconfig' options.
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis file documents Freescale-specific key:value pairs for the 'hwconfig'
4*4882a593Smuzhiyunoption.  See README.hwconfig for general information about 'hwconfig'.
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunaudclk
7*4882a593Smuzhiyun	Specific to the P1022DS reference board.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun	This option specifies which of the two oscillator frequencies should be
10*4882a593Smuzhiyun	routed to the Wolfson WM8776 codec.  The ngPIXIS can be programmed to
11*4882a593Smuzhiyun	route either a 11.2896MHz or a 12.288MHz clock.  The default is
12*4882a593Smuzhiyun	12.288MHz.  This option has two effects.  First, the MUX on the board
13*4882a593Smuzhiyun	will be programmed accordingly.  Second, the clock-frequency property
14*4882a593Smuzhiyun	in the codec node in the device tree will be updated to the correct
15*4882a593Smuzhiyun	value.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	'audclk:11'
18*4882a593Smuzhiyun		Select the 11.2896MHz clock
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	'audclk:12'
21*4882a593Smuzhiyun		Select the 12.288MHz clock
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunusb
24*4882a593Smuzhiyun	Specific to boards have USB controller
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun	This option specifies the following for a USB controller:
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun		- which controller mode to use
29*4882a593Smuzhiyun		- which USB PHY to use
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun	This is used by generic USB device-tree fixup function to update
32*4882a593Smuzhiyun	modified values of phy type and controller mode.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun	Also used for configuring multiple USB controllers such that
35*4882a593Smuzhiyun	'usbN' (where N is 1, 2, etc. refers to controller no.)
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun	'phy_type'
38*4882a593Smuzhiyun		Select USB phy type: 'utmi' OR 'ulpi'
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun	'dr_mode'
41*4882a593Smuzhiyun		Select USB controller mode: 'host', 'peripheral' OR 'otg'
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun	Examples:
44*4882a593Smuzhiyun		usb1:dr_mode=host;usb2:dr_mode=peripheral'
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun		usb1:dr_mode=host,phy_type=utmi;usb2:dr_mode=host'
47