linux-device-tree

Author and validate Linux Device Tree source files with dtc compilation.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/Binh230199/ai --skill linux-device-tree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linux-device-tree
Source: https://github.com/Binh230199/ai/tree/main/.github/skills/linux-device-tree
Command: npx skills add https://github.com/Binh230199/ai --skill linux-device-tree

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps embedded Linux engineers write, review, and debug Device Tree source files without missing syntax rules, binding requirements, or board-specific details.

Core Features & Use Cases

  • Board bring-up: Add or enable peripherals in DTS and DTSI files for automotive IVI, HUD, and RSE targets.
  • Overlay support: Create and inspect DT overlays for add-on hardware and runtime patching.
  • Validation workflow: Check node structure, phandles, interrupts, GPIO, pinctrl, clocks, and binding compliance with dtc and dtbs_check.
  • Troubleshooting: Diagnose common problems such as unit-address mismatches, incorrect compatible strings, and failed driver binding.

Quick Start

Use the linux-device-tree skill to review the attached DTS or DTSI file for correctness, identify binding issues, and suggest the exact fixes needed.

Frequently Asked Questions about linux-device-tree

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate a Linux device tree source file for binding compliance?

To validate a Linux device tree source file, check node structure, phandles, interrupts, GPIO, pinctrl, and clocks against kernel bindings using dtc compilation and dtbs_check workflows. This ensures correct syntax and binding compliance for embedded board bring-up.

How do I create a Linux device tree overlay for runtime hardware patching?

Creating a Linux device tree overlay involves writing specific DTS syntax for add-on hardware and runtime patching. You must ensure the overlay structure is correct, including proper node properties and phandles, to successfully enable runtime peripheral patching.

Why does my Linux device tree fail driver binding during board bring-up?

Linux device tree driver binding fails during board bring-up due to common problems like unit-address mismatches or incorrect compatible strings. Diagnosing these issues requires reviewing DTS syntax, node properties, and verifying exact compatible string matches.

Can I use this to review DTSI files for automotive IVI and HUD platforms?

Yes, you can review DTSI files for automotive IVI, HUD, and RSE platforms. The process checks embedded Linux board-specific details, verifies correct address and size cells, and ensures peripheral enablement adheres to required automotive platform standards.

What is the best way to diagnose incorrect compatible strings in a DTS file?

The best way to diagnose incorrect compatible strings in a DTS file is to run dtc compilation and dtbs_check. This validation workflow identifies binding issues, checks node properties, and suggests exact fixes needed for failed driver binding.

What are common limitations when addressing unit-address mismatches in device trees?

Addressing unit-address mismatches in device trees is limited by incorrect DTS syntax or overlapping address ranges in DTSI files. Proper validation requires checking address and size cells carefully, as mismatches prevent successful dtc compilation and driver binding.