Menu Close

Device Tree Binding Information Documents

This article talks about the binding information documents in device trees.

For related subjects, please refer to the SOC Table of Contents.

 

Device trees are used to describe hardware information on development boards, and has different information on different devices, which means device trees have different properties. There is documentation on just about everything in the Linux source code directory /Documentation.

Documentation for adding corresponding nodes is in /Documentation/devicetree/bindings. If we wanted to add a node under i2c, we can look at i2c-cadence.txt under /Documentation/devicetree/bindings/i2c.

Note that the file’s name is typically i2c-[name of manufacturer].txt. In our case the manufacturer is cadence. This file describes in detail how to add I2C device nodes in the device tree.

Posted in Textbook and Training Project

Related Articles

Leave a Reply

Your email address will not be published.

Leave the field below empty!