[U-Boot] Recommended location of board device tree source (DTS)

Ian Kane ikane at CodeBlue.com
Mon Sep 24 15:46:36 UTC 2018


Hello, new here and learning...

The project documentation regarding flat device trees (FDT) (
http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.fdt-control)
recommends device tree source (DTS) be placed in one location that
appears inconsistent with practice.  

The linked README recommends placing DTS files
in board/<vendor>/dts/<name>.dts, a very board specific location, yet
searching the distributed source tree seems to indicate common practice
is to place DTS somewhere in /arch/arm/dts/<name>.dts

The documentation reads: 

   Configuration
   -------------

   Use:

   #define CONFIG_DEFAULT_DEVICE_TREE      "<name>"

   to set the filename of the device tree source. Then put your device
   treefile into

           board/<vendor>/dts/<name>.dts

   This should include your CPU or SOC's device tree file, placed in
   arch/<arch>/dts, and then make any adjustments required.

Am I missing something obvious? Looking for a little clarification,
perhaps it's a simple matter of practice moving forward in front of
documentation? 

Thank you!


More information about the U-Boot mailing list