Open compiled device trees (.dtb, .dtbo) in VS Code as a node tree and as readable DTS text, and see .dts, .dtsi and Zephyr .overlay files as a tree. Made by Zovo.
Click a .dtb or .dtbo file in the Explorer. It opens in the viewer. Switch between Tree and DTS text in the toolbar; Open DTS Text puts the DTS in a read-only editor tab.
For a .dts, .dtsi or .overlay file, right-click it and pick Open DeviceTree Viewer, or click the tree icon at the top right of its text editor.
Once the extension runs in a window (after you open a device tree in the viewer or use one of its commands, or right away when a DTS language extension is installed), the DeviceTree view in the Explorer lists the nodes of the active .dts, .dtsi or .overlay file. Click a node to go to its line.
Type in the search box to filter the tree. Enter goes to the next match.
To try it without your own files, run DeviceTree: Open the Sample DTB (or Open the Sample DTS) from the Command Palette.
The Pro tools are in the Command Palette (DeviceTree: ... (Pro)), in the Explorer right-click menu, in the viewer's title bar menu and in the small row at the end of the viewer toolbar. The row closes with its x for the rest of the session, and the setting dtViewer.showProTools hides the Pro tools for good.
ZOVO PRO AVAILABLEOne-time purchase · No subscription
Add Pro tools to DeviceTree Viewer, DTS & DTB
Compare two device trees. Two device trees (DTB with DTB, DTS with DTB, board A with board B) compared by node and property, with a Markdown or HTML report.
Export and compile. The tree saved as DTS, JSON or YAML, and a DTS file compiled back to a .dtb with the built-in device tree writer.
Address and pin map. Every reg range, interrupt, GPIO and pinctrl entry in one sortable table, with overlapping ranges and pins used twice flagged, saved as CSV.
Yes. DeviceTree Viewer, DTS & DTB is free and MIT licensed.
How do I install DeviceTree Viewer, DTS & DTB?
Click "Install in VS Code" above, or search for zovo.zovo-devicetree-viewer in the Extensions view.
Marketplace README snippet (copy link for VS Code Marketplace)
See full docs & install options at [vscode.zovo.one/extensions/zovo-devicetree-viewer/](https://vscode.zovo.one/extensions/zovo-devicetree-viewer/), browse all Zovo VS Code extensions at [vscode.zovo.one](https://vscode.zovo.one/), or explore [Zovo Pro](https://vscode.zovo.one/pro/).
STL viewer, OBJ viewer, GLB viewer and glTF viewer for 3D models in VS Code. Also opens PLY and 3MF, with wireframe, glTF animations, a scene tree, model stats, point-to-point measuring and PNG screenshots, all offline.
VCD viewer and waveform viewer for Verilog, SystemVerilog and VHDL simulations. Free with no signal limit: signal tree with search, cursor and two markers, bus grouping, hex, binary, signed and ASCII radix, and VCD files of 1 GB and more. A GTKWave-style viewer inside VS Code that works offline.
DBC viewer and CAN log viewer for VS Code: browse .dbc messages, signals, bit layouts and value tables, and decode Vector BLF and ASC, PCAN TRC and candump logs with your DBC. Frame table, filters, per-id cycle time and jitter. Read-only, no network.
SPSS viewer and Stata viewer for VS Code: open .sav, .zsav, .dta and SAS .xpt data files in a fast grid with value labels, variable labels, missing values and dates. Sort, filter, summary statistics and frequencies, copy as TSV. Read-only, no network, millions of rows.
GeoJSON viewer and map viewer for VS Code, also a KML viewer and GPX viewer with a map preview. Opens shapefiles (SHP, zipped), KMZ, TopoJSON, WKT and CSV with lat/lon: feature table, properties, GPX distance and elevation profile, reprojection from .prj, PNG export. Free, no sign-in, works offline.
Free and offline. Layers, measure, SVG or PNG export. DXF viewer and CAD viewer that opens ASCII and binary .dxf drawings (any DXF file) in VS Code with paper space sheets, hatch patterns and find text.