Skip to contentSkip to conversation

Lots of "Warning (unit_address_vs_reg): Node XXX has a unit name, but no reg property"

DISCUSSION Ian Campbell 1 participant 1 message Jan 30, 2017

lore
Share & tools
lore
#0 lore raw

I recently updated the device-tree-compiler package on the system which builds the split device tree repo[0]�from 1.4.0+dfsg-2 to 1.4.2-1 (debian package versions) and now during the test build I see many (over 1,000) of these:

Warning (unit_address_vs_reg): Node /soc@ff700000 /ethernet@b0000 has a unit name, but no reg property

Is this something which is known? Maybe Linux hasn't pulled in the newer dtc yet so you aren't hitting it yet, or maybe you've done what I did as a quick fix and added:
DTC_FLAGS="-W no-unit_address_vs_reg"
?

(a second issue is the lack of the offending filename in the warning message, I'll figure out the right venue for that next)

Ian.

[0] https://git.kernel.org/cgit/linux/kernel/git/devicetree/devicetree-rebasing.git/