.dtsi Devicetree source code
Text & source code
| MIME type | text/x-devicetree-source |
|---|---|
| Description | Devicetree source code |
| Acronym | DTS – Device Tree Source |
| Category | Text & source code |
| Based on | text/plain |
| Other extensions | .dts |
Frequently asked questions
What is a .dtsi file?
A .dtsi file is a “Devicetree source code” (MIME type text/x-devicetree-source). DTS stands for Device Tree Source.
How do I open a .dtsi file?
With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.
How can you tell a genuine .dtsi file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.dtsi shows the guessed type.
Which format is .dtsi based on?
Technically a .dtsi file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.
Which MIME type belongs to .dtsi?
The MIME type is text/x-devicetree-source. In the Apache web server: AddType text/x-devicetree-source .dtsi; in nginx: types { text/x-devicetree-source dtsi; }.