summaryrefslogtreecommitdiff
path: root/utils/regtools/desc/XML.txt
diff options
context:
space:
mode:
Diffstat (limited to 'utils/regtools/desc/XML.txt')
-rw-r--r--utils/regtools/desc/XML.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/regtools/desc/XML.txt b/utils/regtools/desc/XML.txt
index d4dc73cc64..15164a43b9 100644
--- a/utils/regtools/desc/XML.txt
+++ b/utils/regtools/desc/XML.txt
@@ -61,12 +61,25 @@ The following properties are defined:
61- "name" (mandatory,string): the mnemonic of the register. 61- "name" (mandatory,string): the mnemonic of the register.
62- "sct" (optional,"yes" or "no"): STMP specific attribute to specify the existence 62- "sct" (optional,"yes" or "no"): STMP specific attribute to specify the existence
63 of the SCT variants of this register. 63 of the SCT variants of this register.
64As a shortcut, in the case the register has a single address, one can add one more
65property:
66- "addr" (optional,integer): base address of this instance of the register.
64 67
65Example: 68Example:
66<reg name="TIMCTRLn" sct="yes"> 69<reg name="TIMCTRLn" sct="yes">
67<!-- reg desc --> 70<!-- reg desc -->
68</reg> 71</reg>
69 72
73The address shortcut has the following standard translation:
74<reg name="GPIO_PADR" addr="0x00">
75<!-- bla -->
76</reg>
77is equivalent to:
78<reg name="GPIO_PADR">
79<addr name="GPIO_PADR" addr="0x00">
80<!-- bla -->
81</reg>
82
70Element: soc.dev.reg.addr 83Element: soc.dev.reg.addr
71------------------------- 84-------------------------
72Each device can have one or more addresses associated with it. Each address 85Each device can have one or more addresses associated with it. Each address