dtc
« Back to VersTracker
Description:
Device tree compiler
Type: Formula  |  Latest Version: 1.7.2@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: embedded device-tree linux kernel cross-compilation devicetree
Install: brew install dtc
About:
The Device Tree Compiler (dtc) is a crucial utility for embedded systems development that converts human-readable device tree source (.dts) files into the binary format (.dtb) required by bootloaders and operating systems. It serves as the foundational tool for describing hardware layouts in modern ARM, PowerPC, and RISC-V systems, enabling platform-independent hardware configuration.
Key Features:
  • Compiles device tree source (.dts) to binary (.dtb) and vice versa
  • Supports multiple output formats including DTS, DTB, and source annotations
  • Provides syntax validation and error checking for device tree files
  • Enables device tree overlay support for dynamic hardware configuration
Use Cases:
  • Cross-compiling hardware descriptions for embedded Linux systems
  • Debugging and reverse-engineering device tree binaries
  • Creating platform-independent boot configurations for ARM SoCs
Alternatives:
  • libfdt – Lower-level library for manipulating device tree blobs; dtc provides the compiler frontend
License: GPL-2.0-or-later OR BSD-2-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Nov 17, 2024 9:45pm 0 VERSION_BUMP 4ebbea7e