chosen.txt 899 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. The chosen node
  2. ---------------
  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
  5. stdout-path property
  6. --------------------
  7. Device trees may specify the device to be used for boot console output
  8. with a stdout-path property under /chosen.
  9. Example
  10. -------
  11. / {
  12. chosen {
  13. stdout-path = "/serial@f00:115200";
  14. };
  15. serial@f00 {
  16. compatible = "vendor,some-uart";
  17. reg = <0xf00 0x10>;
  18. };
  19. };
  20. tick-timer property
  21. -------------------
  22. In a system there are multiple timers, specify which timer to be used
  23. as the tick-timer. Earlier it was hardcoded in the timer driver now
  24. since device tree has all the timer nodes. Specify which timer to be
  25. used as tick timer.
  26. Example
  27. -------
  28. / {
  29. chosen {
  30. tick-timer = "/timer2@f00";
  31. };
  32. timer2@f00 {
  33. compatible = "vendor,some-timer";
  34. reg = <0xf00 0x10>;
  35. };
  36. };