Skip to contentSkip to conversation

Recommended location of board device tree source (DTS)

U-Boot Ian Kane 1 participant 1 message Sep 24, 2018

lore
Share & tools
lore

Ian Kane

author
#0 lore raw

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!