dtc

Install command:
brew install dtc

Device tree compiler

https://git.kernel.org/pub/scm/utils/dtc/dtc.git

License: GPL-2.0-or-later OR BSD-2-Clause

Development: Pull requests

Formula JSON API: /api/formula/dtc.json

Formula code: dtc.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.8.1
head ⚡️ HEAD

Depends on:

libyaml 0.2.5 YAML Parser

Depends on when building from source:

meson 1.12.1 Fast and user friendly build system
ninja 1.13.2 Small build system for use with gyp or CMake
pkgconf 3.0.10 Package compiler and linker metadata toolkit

Uses from macOS: bison (build), flex (build)

Binaries: convert-dtsv0, dtc, dtdiff, fdtdump, fdtget, fdtoverlay, fdtput

GitHub Packages downloads:

Last 30 days129,556
Downloads3,111,038
Analytics install events (30 days)5,189
Downloads / install events (30 days)25.0×

Source: GitHub Packages, fetched 2026-11-16T00:53:20Z. Analytics dates: 2026-10-17 to 2026-11-16. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs5,18712,25057,691
Installs (--HEAD)2419
Installs on Request7871,8206,656
Installs on Request (--HEAD)2419
Build Errors52