Overview

This section covers the Tree Config (advanced) editor. Content will be expanded step by step.

The Tree Config view is the default editor for .dts files. It displays the full device tree structure for the opened file.

When opening a .dtso file in the Tree Config view, you should merge a base .dts file first. After merging, the full tree is shown, but only your changes are written back to the .dtso file.

Using the Tree

Click a node in the tree to view its configuration in the main panel. Use the + button to add a new node. Newly added nodes can be enabled, or deleted with the trash icon.

When you press +, a list of possible devices is shown, with an option to add a custom node. A custom node is not interpreted and no validation is performed for it; only custom properties can be added.

Add node dialog with device list and custom node option.

Configuration

The configuration panel supports device aliases with built-in validation. Custom properties can be added and removed from the configuration list.

Configuration panel with alias and custom properties.

Hidden Features

Go To Node

Some properties reference other nodes in the device tree (for example, phandle references). When a property has such a reference, the configuration panel shows a dropdown listing the available target nodes. A button on the right side of the dropdown lets you navigate directly to the referenced node — clicking it selects that node in the tree and opens its configuration.

This feature is only available in the Tree Config view.

Hyperlink dropdown with the go-to button on the right.

Topics

  • Overview (what the view is for)

  • Tree navigation

  • Editing nodes and properties

  • Custom properties

  • Validation feedback