home | list info | list archive | date index | thread index

[OCLUG-Tech] what is the shortest *realistic* .dts device tree source file?

  • Subject: [OCLUG-Tech] what is the shortest *realistic* .dts device tree source file?
  • From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
  • Date: Thu, 31 Aug 2017 15:52:28 -0400 (EDT)
  i'm well aware of the prevalence of including .dtsi files to create
modular, extensible device tree source files, but what is the
shortest, realistic .dts file?

  it would seem that there is no practical value in having a .dts file
without at least defining the "model" and "compatible" root node
properties, as in:

 /dts-v1/;
 #include "omap2420-n8x0-common.dtsi"

 / {
      model = "Nokia N800";
      compatible = "nokia,n800", "nokia,n8x0", "ti,omap2420", "ti,omap2";
 };

in fact, that is the entire content of the omap2420-n800.dts file.

  would it make any sense to not have at least that content in a .dts
file?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

message navigation