f704eb695f5a4852ec8da8dc74f35390227b10a4
[platform/kernel/u-boot.git] / doc / device-tree-bindings / config.txt
1 The /config node (Configuration Options)
2 ----------------------------------------
3
4 A number of run-time configuration options are provided in the /config node
5 of the control device tree. You can access these using fdtdec_get_config_int(),
6 fdtdec_get_config_bool() and fdtdec_get_config_string().
7
8 These options are designed to affect the operation of U-Boot at runtime.
9 Runtime-configuration items can help avoid proliferation of different builds
10 with only minor changes, e.g. enabling and disabling console output. Items
11 here should be those that can usefully be set by the build system after U-Boot
12 is built.
13
14 Available options are:
15
16 u-boot,efi-partition-entries-offset (int)
17         If present, this provides an offset (in bytes, from the start of a
18         device) that should be skipped over before the partition entries.
19         This is used by the EFI/GPT partition implementation when a device
20         is formatted.
21
22         This setting will override any values configured via Kconfig.
23
24 u-boot,mmc-env-offset (int)
25 u-boot,mmc-env-offset-redundant (int)
26         If present, the values of the 'u-boot,mmc-env-offset' and/or
27         of the u-boot,mmc-env-offset-redundant' properties overrides
28         CONFIG_ENV_OFFSET and CONFIG_ENV_OFFSET_REDUND, respectively,
29         for SD/MMC devices.
30
31         Values are interpreted as the offset from the start of the
32         device, specified in bytes.  It is assumed that the setting
33         will point at the beginning of a LBA and values that are not
34         LBA-aligned will be rounded up to the next LBA address.
35
36 u-boot,mmc-env-partition (int)
37         if present, the environment shall be placed at the last
38         CONFIG_ENV_SIZE blocks of the partition on the
39         CONFIG_SYS_MMC_ENV_DEV.
40
41         if u-boot,mmc-env-offset* is present, this setting will take
42         precedence. In that case, only if the partition is not found,
43         mmc-env-offset* will be tried.
44
45 u-boot,no-keyboard (bool)
46         Tells U-Boot not to expect an attached keyboard with a VGA console.
47
48 silent-console (int)
49         If present and non-zero, the console is silenced by default on boot.
50
51 u-boot,spl-payload-offset (int)
52         If present (and SPL is controlled by the device-tree), this allows
53         to override the CONFIG_SYS_SPI_U_BOOT_OFFS setting using a value
54         from the device-tree.
55
56 sysreset-gpio (string)
57         If present (and supported by the specific board), indicates a
58         GPIO that can be set to trigger a system reset.  It is assumed
59         that such a system reset will effect a complete platform reset,
60         being roughly equivalent to a power-on reset.