[OpenWrt-Devel] DTS Style: Referring to "Upstream" Nodes

Jeff Kletsky lede at allycomm.com
Tue Apr 9 10:31:46 EDT 2019


In general, within an OpenWrt DTS that `#include "some_linux_supplied.dtsi"`
is it preferred to refer to a node defined in upstream code by label, or 
by path?

For example, with `blsp1_spi2: spi at 78b6000` in the upstream-controlled 
DTS, prefer

     &blsp1_spi2

or (taking into account scope or path, as needed)

     spi at 78b6000


Thanks,


Jeff









_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list