From 196df5c9b48c92254a12f92591168ddf1849dc9d Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Fri, 13 Jan 2023 12:21:33 -0800 Subject: [PATCH] doc: dts: clarify reg format These are in hex. Suggested-by: Jamie McCrae Signed-off-by: Marti Bolivar --- doc/build/dts/intro-syntax-structure.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/build/dts/intro-syntax-structure.rst b/doc/build/dts/intro-syntax-structure.rst index 57819e5af28..1a92215a1d9 100644 --- a/doc/build/dts/intro-syntax-structure.rst +++ b/doc/build/dts/intro-syntax-structure.rst @@ -253,7 +253,10 @@ reg (i.e. is different depending on the compatible property). The ``reg`` property is a sequence of ``(address, length)`` pairs. Each - pair is called a "register block". Here are some common patterns: + pair is called a "register block". Values are conventionally written + in hex. + + Here are some common patterns: - Devices accessed via memory-mapped I/O registers (like ``i2c@40003000``): ``address`` is usually the base address of the I/O register space, and