blob: bf9a30a8f97cdb0211dd4eb2a6189d3d460ac7dd [file] [log] [blame]
Mugunthan V Nc8336972016-01-16 21:33:58 +05301The chosen node
2---------------
3The chosen node does not represent a real device, but serves as a place
4for passing data like which serial device to used to print the logs etc
5
6
7stdout-path property
8--------------------
9Device trees may specify the device to be used for boot console output
10with a stdout-path property under /chosen.
11
12Example
13-------
14/ {
15 chosen {
16 stdout-path = "/serial@f00:115200";
17 };
18
19 serial@f00 {
20 compatible = "vendor,some-uart";
21 reg = <0xf00 0x10>;
22 };
23};
24
25tick-timer property
26-------------------
27In a system there are multiple timers, specify which timer to be used
28as the tick-timer. Earlier it was hardcoded in the timer driver now
29since device tree has all the timer nodes. Specify which timer to be
30used as tick timer.
31
32Example
33-------
34/ {
35 chosen {
36 tick-timer = "/timer2@f00";
37 };
38
39 timer2@f00 {
40 compatible = "vendor,some-timer";
41 reg = <0xf00 0x10>;
42 };
43};