This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Devicetree

A devicetree is a hierarchical data structure primarily used to describe hardware. Zephyr uses devicetree in two main ways:

  • to describe hardware to the Device Driver Model

  • to provide that hardware’s initial configuration

This page links to a high level guide on devicetree as well as reference material.

Devicetree Guide

The pages in this section are a high-level guide to using devicetree for Zephyr development.

Devicetree Reference

These pages contain reference material for Zephyr’s devicetree APIs and built-in bindings.

For the platform-independent details, see the Devicetree specification.