3 The chosen node does not represent a real device, but serves as a place
4 for passing data like which serial device to used to print the logs etc
9 Device trees may specify the device to be used for boot console output
10 with a stdout-path property under /chosen.
16 stdout-path = "/serial@f00:115200";
20 compatible = "vendor,some-uart";
27 In a system there are multiple timers, specify which timer to be used
28 as the tick-timer. Earlier it was hardcoded in the timer driver now
29 since device tree has all the timer nodes. Specify which timer to be
36 tick-timer = "/timer2@f00";
40 compatible = "vendor,some-timer";
45 u-boot,bootcount-device property
46 --------------------------------
48 In a DM-based system, the bootcount may be stored in a device known to
49 the DM framework (e.g. in a battery-backed SRAM area within a RTC
50 device) managed by a device conforming to UCLASS_BOOTCOUNT. If
51 multiple such devices are present in a system concurrently, then the
52 u-boot,bootcount-device property can select the preferred target.
58 u-boot,bootcount-device = &bootcount-rv3029;
61 bootcount-rv3029: bootcount@0 {
62 compatible = "u-boot,bootcount-rtc";
69 compatible = "mc,rv3029";
75 u-boot,spl-boot-order property
76 ------------------------------
78 In a system using an SPL stage and having multiple boot sources
79 (e.g. SPI NOR flash, on-board eMMC and a removable SD-card), the boot
80 device may be probed by reading the image and verifying an image
83 If the SPL is configured through the device-tree, the boot-order can
84 be configured with the spl-boot-order property under the /chosen node.
85 Each list element of the property should specify a device to be probed
86 in the order they are listed: references (i.e. implicit paths), a full
87 path or an alias is expected for each entry.
89 A special specifier "same-as-spl" can be used at any position in the
90 boot-order to direct U-Boot to insert the device the SPL was booted
91 from there. Whether this is indeed inserted or silently ignored (if
92 it is not supported on any given SoC/board or if the boot-device is
93 not available to continue booting from) is implementation-defined.
94 Note that if "same-as-spl" expands to an actual node for a given
95 board, the corresponding node may appear multiple times in the
96 boot-order (as there currently exists no mechanism to suppress
97 duplicates from the list).
103 u-boot,spl-boot-order = "same-as-spl", &sdmmc, "/sdhci@fe330000";
107 u-boot,spl-boot-device property
108 -------------------------------
110 This property is a companion-property to the u-boot,spl-boot-order and
111 will be injected automatically by the SPL stage to notify a later stage
112 of where said later stage was booted from.
114 You should not define this property yourself in the device-tree, as it
115 may be overwritten without warning.
117 firmware-loader property
118 ------------------------
119 Multiple file system firmware loader nodes could be defined in device trees for
120 multiple storage type and their default partition, then a property
121 "firmware-loader" can be used to pass default firmware loader
122 node(default storage type) to the firmware loader driver.
128 firmware-loader = &fs_loader0;
131 fs_loader0: fs-loader@0 {
133 compatible = "u-boot,fs-loader";
134 phandlepart = <&mmc 1>;