rk3568 kernel device tree (DTS) architecture
Device Tree is a data structure that describes hardware devices. It is widely used in embedded systems to describe the information of various hardware devices in the system, including CPU, memory, peripherals, etc. The main function of the device tree is to separate the hardware device information from the operating system kernel, so that the kernel can run on different hardware platforms without knowing the specific hardware details.
The structure of the device tree is a tree structure, each node has a unique name and a property list. In the device tree, each node represents a hardware device or a subsystem of a hardware device. The hierarchical relationship between nodes is represented by the parent-child relationship of nodes, and the attributes of child nodes can inherit the attributes of parent nodes.
Author: Charcoal Grilled Maodan , click on the blogger to learn more.
提示:开发过程使用新增 xxx.dtsi,小差异修改迁移到 xxx.dts。不仅让设备树更简洁、清晰,也减少适配过程的重复工作量。 在SDK更新时会自动合入相关修改,减少代码合并的工作量,也避免遗漏SDK重要的更新。
Article directory
1. Graphical device tree hierarchy
In the kernel, the device tree is represented as a set of .dts and .dtsi files. The .dtsi file is a fragment file of the device tree,