summaryrefslogtreecommitdiffstats
path: root/usr.bin/dtc/dtc.1
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2013-06-17 15:34:22 +0000
committertheraven <theraven@FreeBSD.org>2013-06-17 15:34:22 +0000
commit00df95bf48cfbd57dfce15600784ba73faf0b8a7 (patch)
tree5c743d1e6e2bbdcb0b00464fc1555e9bf9a18534 /usr.bin/dtc/dtc.1
parent0df72918d5ad48d11af878af83b84e00faff2e72 (diff)
downloadFreeBSD-src-00df95bf48cfbd57dfce15600784ba73faf0b8a7.zip
FreeBSD-src-00df95bf48cfbd57dfce15600784ba73faf0b8a7.tar.gz
Add a checker to dtc, based on a feature request from rwatson / brooks.
This checks that every node that has children specifies their register sizes. This is not enabled by default, as the default sizes are sometimes required (including by some DTS in the tree), but can help when writing new device trees so that you can check that you actually meant the defaults.
Diffstat (limited to 'usr.bin/dtc/dtc.1')
-rw-r--r--usr.bin/dtc/dtc.16
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/dtc/dtc.1 b/usr.bin/dtc/dtc.1
index 567aa03..9724787 100644
--- a/usr.bin/dtc/dtc.1
+++ b/usr.bin/dtc/dtc.1
@@ -214,6 +214,12 @@ property.
Checks the type of the
.Va compatible
property.
+.It cells-attributes
+Checks that all nodes with children have both
+.Va #address-cells
+and
+.Va #size-cells
+properties.
.El
.Sh EXAMPLES
The command:
OpenPOWER on IntegriCloud