doc: dts: clarify reg format
These are in hex. Suggested-by: Jamie McCrae <jamie.mccrae@nordicsemi.no> Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
7812bedb09
commit
196df5c9b4
1 changed files with 4 additions and 1 deletions
5
doc/build/dts/intro-syntax-structure.rst
vendored
5
doc/build/dts/intro-syntax-structure.rst
vendored
|
@ -253,7 +253,10 @@ reg
|
||||||
(i.e. is different depending on the compatible property).
|
(i.e. is different depending on the compatible property).
|
||||||
|
|
||||||
The ``reg`` property is a sequence of ``(address, length)`` pairs. Each
|
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``):
|
- Devices accessed via memory-mapped I/O registers (like ``i2c@40003000``):
|
||||||
``address`` is usually the base address of the I/O register space, and
|
``address`` is usually the base address of the I/O register space, and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue