Device tree node names
Mitch Bradley
wmb at firmworks.com
Fri Aug 17 23:10:48 EST 2012
On 8/17/2012 1:36 AM, Mark Brown wrote:
> On Thu, Aug 16, 2012 at 11:36:31AM -1000, Mitch Bradley wrote:
>
>> The main "rule" for node names is that a user browsing the device tree
>> can easily determine what something is. Thus "ethernet" instead of
>> "DEC,21140".
>
> Does this actually buy us much? It seems like it's something that's
> much better addressed through comments in the device tree than with
> syntax.
>
By "comments in the device tree", I assume that you mean "comments in
the DTS source file". In real Open Firmware, there is no DTS source
file - device nodes are created dynamically by the boot firmware.
Pathnames are visible to, and typed by, users of that firmware.
More information about the devicetree-discuss
mailing list