What is the difference between .dts
file and .dtsi
file? Is there a difference when generating device tree blobs? When to use one or the other?
Here , as explained by Thomas Petazzoni and as point out in one of the comments by @mc110, you can find that:
.dts
<- files for board-level definitions .dtsi
<- files for included files, generally containing SoC-level definitions (the i in dts i stands for Include ) However, once the .dtb
was created with a Device Tree Compiler, if you try to come back again obtaining a text file, only one big file will be created with all the information coming from all the /include/
files.
Note that the i at the end of dtsi stands for include ( observed by @0andriy in one of the comments).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.