xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/config.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunThe /config node (Configuration Options)
2*4882a593Smuzhiyun----------------------------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunA number of run-time configuration options are provided in the /config node
5*4882a593Smuzhiyunof the control device tree. You can access these using fdtdec_get_config_int(),
6*4882a593Smuzhiyunfdtdec_get_config_bool() and fdtdec_get_config_string().
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunAvailable options are:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunsilent-console
11*4882a593Smuzhiyun	If present and non-zero, the console is silenced by default on boot.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunno-keyboard
14*4882a593Smuzhiyun	Tells U-Boot not to expect an attached keyboard with a VGA console
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunu-boot,efi-partition-entries-offset
17*4882a593Smuzhiyun	If present, this provides an offset (in bytes, from the start of a
18*4882a593Smuzhiyun	device) that should be skipped over before the partition entries.
19*4882a593Smuzhiyun	This is used by the EFI/GPT partition implementation when a device
20*4882a593Smuzhiyun	is formatted.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	This setting will override any values configured via Kconfig.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunu-boot,mmc-env-partition
25*4882a593Smuzhiyun	if present, the environment shall be placed at the last
26*4882a593Smuzhiyun	CONFIG_ENV_SIZE blocks of the partition on the
27*4882a593Smuzhiyun	CONFIG_SYS_MMC_ENV_DEV.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun	if u-boot,mmc-env-offset* is present, this setting will take
30*4882a593Smuzhiyun	precedence. In that case, only if the partition is not found,
31*4882a593Smuzhiyun	mmc-env-offset* will be tried.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunu-boot,mmc-env-offset
34*4882a593Smuzhiyunu-boot,mmc-env-offset-redundant
35*4882a593Smuzhiyun	If present, the values of the 'u-boot,mmc-env-offset' and/or
36*4882a593Smuzhiyun	of the u-boot,mmc-env-offset-redundant' properties overrides
37*4882a593Smuzhiyun	CONFIG_ENV_OFFSET and CONFIG_ENV_OFFSET_REDUND, respectively,
38*4882a593Smuzhiyun	for SD/MMC devices.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun	Values are interpreted as the offset from the start of the
41*4882a593Smuzhiyun	device, specified in bytes.  It is assumed that the setting
42*4882a593Smuzhiyun	will point at the beginning of a LBA and values that are not
43*4882a593Smuzhiyun	LBA-aligned will be rounded up to the next LBA address.
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunu-boot,spl-payload-offset
46*4882a593Smuzhiyun	If present (and SPL is controlled by the device-tree), this allows
47*4882a593Smuzhiyun	to override the CONFIG_SYS_SPI_U_BOOT_OFFS setting using a value
48*4882a593Smuzhiyun	from the device-tree.
49*4882a593Smuzhiyun
50*4882a593Smuzhiyunsysreset-gpio
51*4882a593Smuzhiyun	If present (and supported by the specific board), indicates a
52*4882a593Smuzhiyun	GPIO that can be set to trigger a system reset.  It is assumed
53*4882a593Smuzhiyun	that such a system reset will effect a complete platform reset,
54*4882a593Smuzhiyun	being roughly equivalent to a power-on reset.
55