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