Zephyr Project
2.5.0
  • Documentation Home
  • Introduction
  • Getting Started Guide
  • Contribution Guidelines
  • Development Model
  • Application Development
  • API Reference
  • User and Developer Guides
    • Asking for Help
    • Beyond the Getting Started Guide
    • Architecture-related Guides
    • Bluetooth
    • Build Overview
    • Coding Guidelines
    • API Design Guidelines
    • Standard C Library
    • Documentation Generation
    • Documentation Guidelines
    • Coccinelle
    • Code And Data Relocation
    • Cryptography
    • Flashing and Debugging
    • Device Management
    • Device Firmware Upgrade
    • Devicetree Guide
      • Introduction to devicetree
      • Design goals
      • Devicetree bindings
      • Devicetree access from C/C++
      • Devicetree HOWTOs
      • Devicetree versus Kconfig
    • Emulators
    • Environment Variables
    • Generating coverage reports
    • Kconfig
    • Modules (External projects)
    • Networking
    • Using with PlatformIO
    • OS Abstraction
    • Porting
    • Testing
    • Tracing
    • West (Zephyr’s meta-tool)
    • Optimizations
    • Zephyr CMake Package
    • Thread Local Storage (TLS)
  • Security
  • Samples and Demos
  • Supported Boards
  • Release Notes
Zephyr Project
  • »
  • User and Developer Guides »
  • Devicetree Guide
  • View page source

Devicetree Guide¶

This is a high-level guide to devicetree as it is used for Zephyr development. See Devicetree for reference material.

  • Introduction to devicetree
    • Syntax and structure
    • Unit address examples
    • Important properties
    • Aliases and chosen nodes
    • Input and output files
    • Writing property values
  • Design goals
    • Single source for all hardware information
    • Source compatibility with other operating systems
  • Devicetree bindings
    • Mapping nodes to bindings
    • Bindings file syntax
    • Inferred bindings
  • Devicetree access from C/C++
    • A note for Linux developers
    • Node identifiers
    • Node identifiers are not values
    • Property access
    • Other APIs
    • Device driver conveniences
    • Hardware specific APIs
    • Generated macros
  • Devicetree HOWTOs
    • Get your devicetree and generated header
    • Get a struct device from a devicetree node
    • Find a devicetree binding
    • Set devicetree overlays
    • Use devicetree overlays
    • Write device drivers using devicetree APIs
    • Device drivers that depend on other devices
    • Applications that depend on board-specific devices
    • Troubleshoot devicetree issues
  • Devicetree versus Kconfig
Next Previous

© Copyright 2015-2021 Zephyr Project members and individual contributors. Last updated on Jun 29, 2021.

Zephyr
Bridle
Kconfig Reference
Devicetree Bindings