1 // THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT
2 
3 /**
4  * Copyright (c) 2024 Raspberry Pi Ltd.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 // =============================================================================
9 // Register block : OTP
10 // Version        : 1
11 // Bus type       : apb
12 // Description    : SNPS OTP control IF (SBPI and RPi wrapper control)
13 // =============================================================================
14 #ifndef _HARDWARE_REGS_OTP_H
15 #define _HARDWARE_REGS_OTP_H
16 // =============================================================================
17 // Register    : OTP_SW_LOCK0
18 // Description : Software lock register for page 0.
19 //
20 //               Locks are initialised from the OTP lock pages at reset. This
21 //               register can be written to further advance the lock state of
22 //               each page (until next reset), and read to check the current
23 //               lock state of a page.
24 #define OTP_SW_LOCK0_OFFSET _u(0x00000000)
25 #define OTP_SW_LOCK0_BITS   _u(0x0000000f)
26 #define OTP_SW_LOCK0_RESET  _u(0x00000000)
27 // -----------------------------------------------------------------------------
28 // Field       : OTP_SW_LOCK0_NSEC
29 // Description : Non-secure lock status. Writes are OR'd with the current value.
30 //               0x0 -> read_write
31 //               0x1 -> read_only
32 //               0x3 -> inaccessible
33 #define OTP_SW_LOCK0_NSEC_RESET  "-"
34 #define OTP_SW_LOCK0_NSEC_BITS   _u(0x0000000c)
35 #define OTP_SW_LOCK0_NSEC_MSB    _u(3)
36 #define OTP_SW_LOCK0_NSEC_LSB    _u(2)
37 #define OTP_SW_LOCK0_NSEC_ACCESS "RW"
38 #define OTP_SW_LOCK0_NSEC_VALUE_READ_WRITE _u(0x0)
39 #define OTP_SW_LOCK0_NSEC_VALUE_READ_ONLY _u(0x1)
40 #define OTP_SW_LOCK0_NSEC_VALUE_INACCESSIBLE _u(0x3)
41 // -----------------------------------------------------------------------------
42 // Field       : OTP_SW_LOCK0_SEC
43 // Description : Secure lock status. Writes are OR'd with the current value.
44 //               This field is read-only to Non-secure code.
45 //               0x0 -> read_write
46 //               0x1 -> read_only
47 //               0x3 -> inaccessible
48 #define OTP_SW_LOCK0_SEC_RESET  "-"
49 #define OTP_SW_LOCK0_SEC_BITS   _u(0x00000003)
50 #define OTP_SW_LOCK0_SEC_MSB    _u(1)
51 #define OTP_SW_LOCK0_SEC_LSB    _u(0)
52 #define OTP_SW_LOCK0_SEC_ACCESS "RW"
53 #define OTP_SW_LOCK0_SEC_VALUE_READ_WRITE _u(0x0)
54 #define OTP_SW_LOCK0_SEC_VALUE_READ_ONLY _u(0x1)
55 #define OTP_SW_LOCK0_SEC_VALUE_INACCESSIBLE _u(0x3)
56 // =============================================================================
57 // Register    : OTP_SW_LOCK1
58 // Description : Software lock register for page 1.
59 //
60 //               Locks are initialised from the OTP lock pages at reset. This
61 //               register can be written to further advance the lock state of
62 //               each page (until next reset), and read to check the current
63 //               lock state of a page.
64 #define OTP_SW_LOCK1_OFFSET _u(0x00000004)
65 #define OTP_SW_LOCK1_BITS   _u(0x0000000f)
66 #define OTP_SW_LOCK1_RESET  _u(0x00000000)
67 // -----------------------------------------------------------------------------
68 // Field       : OTP_SW_LOCK1_NSEC
69 // Description : Non-secure lock status. Writes are OR'd with the current value.
70 //               0x0 -> read_write
71 //               0x1 -> read_only
72 //               0x3 -> inaccessible
73 #define OTP_SW_LOCK1_NSEC_RESET  "-"
74 #define OTP_SW_LOCK1_NSEC_BITS   _u(0x0000000c)
75 #define OTP_SW_LOCK1_NSEC_MSB    _u(3)
76 #define OTP_SW_LOCK1_NSEC_LSB    _u(2)
77 #define OTP_SW_LOCK1_NSEC_ACCESS "RW"
78 #define OTP_SW_LOCK1_NSEC_VALUE_READ_WRITE _u(0x0)
79 #define OTP_SW_LOCK1_NSEC_VALUE_READ_ONLY _u(0x1)
80 #define OTP_SW_LOCK1_NSEC_VALUE_INACCESSIBLE _u(0x3)
81 // -----------------------------------------------------------------------------
82 // Field       : OTP_SW_LOCK1_SEC
83 // Description : Secure lock status. Writes are OR'd with the current value.
84 //               This field is read-only to Non-secure code.
85 //               0x0 -> read_write
86 //               0x1 -> read_only
87 //               0x3 -> inaccessible
88 #define OTP_SW_LOCK1_SEC_RESET  "-"
89 #define OTP_SW_LOCK1_SEC_BITS   _u(0x00000003)
90 #define OTP_SW_LOCK1_SEC_MSB    _u(1)
91 #define OTP_SW_LOCK1_SEC_LSB    _u(0)
92 #define OTP_SW_LOCK1_SEC_ACCESS "RW"
93 #define OTP_SW_LOCK1_SEC_VALUE_READ_WRITE _u(0x0)
94 #define OTP_SW_LOCK1_SEC_VALUE_READ_ONLY _u(0x1)
95 #define OTP_SW_LOCK1_SEC_VALUE_INACCESSIBLE _u(0x3)
96 // =============================================================================
97 // Register    : OTP_SW_LOCK2
98 // Description : Software lock register for page 2.
99 //
100 //               Locks are initialised from the OTP lock pages at reset. This
101 //               register can be written to further advance the lock state of
102 //               each page (until next reset), and read to check the current
103 //               lock state of a page.
104 #define OTP_SW_LOCK2_OFFSET _u(0x00000008)
105 #define OTP_SW_LOCK2_BITS   _u(0x0000000f)
106 #define OTP_SW_LOCK2_RESET  _u(0x00000000)
107 // -----------------------------------------------------------------------------
108 // Field       : OTP_SW_LOCK2_NSEC
109 // Description : Non-secure lock status. Writes are OR'd with the current value.
110 //               0x0 -> read_write
111 //               0x1 -> read_only
112 //               0x3 -> inaccessible
113 #define OTP_SW_LOCK2_NSEC_RESET  "-"
114 #define OTP_SW_LOCK2_NSEC_BITS   _u(0x0000000c)
115 #define OTP_SW_LOCK2_NSEC_MSB    _u(3)
116 #define OTP_SW_LOCK2_NSEC_LSB    _u(2)
117 #define OTP_SW_LOCK2_NSEC_ACCESS "RW"
118 #define OTP_SW_LOCK2_NSEC_VALUE_READ_WRITE _u(0x0)
119 #define OTP_SW_LOCK2_NSEC_VALUE_READ_ONLY _u(0x1)
120 #define OTP_SW_LOCK2_NSEC_VALUE_INACCESSIBLE _u(0x3)
121 // -----------------------------------------------------------------------------
122 // Field       : OTP_SW_LOCK2_SEC
123 // Description : Secure lock status. Writes are OR'd with the current value.
124 //               This field is read-only to Non-secure code.
125 //               0x0 -> read_write
126 //               0x1 -> read_only
127 //               0x3 -> inaccessible
128 #define OTP_SW_LOCK2_SEC_RESET  "-"
129 #define OTP_SW_LOCK2_SEC_BITS   _u(0x00000003)
130 #define OTP_SW_LOCK2_SEC_MSB    _u(1)
131 #define OTP_SW_LOCK2_SEC_LSB    _u(0)
132 #define OTP_SW_LOCK2_SEC_ACCESS "RW"
133 #define OTP_SW_LOCK2_SEC_VALUE_READ_WRITE _u(0x0)
134 #define OTP_SW_LOCK2_SEC_VALUE_READ_ONLY _u(0x1)
135 #define OTP_SW_LOCK2_SEC_VALUE_INACCESSIBLE _u(0x3)
136 // =============================================================================
137 // Register    : OTP_SW_LOCK3
138 // Description : Software lock register for page 3.
139 //
140 //               Locks are initialised from the OTP lock pages at reset. This
141 //               register can be written to further advance the lock state of
142 //               each page (until next reset), and read to check the current
143 //               lock state of a page.
144 #define OTP_SW_LOCK3_OFFSET _u(0x0000000c)
145 #define OTP_SW_LOCK3_BITS   _u(0x0000000f)
146 #define OTP_SW_LOCK3_RESET  _u(0x00000000)
147 // -----------------------------------------------------------------------------
148 // Field       : OTP_SW_LOCK3_NSEC
149 // Description : Non-secure lock status. Writes are OR'd with the current value.
150 //               0x0 -> read_write
151 //               0x1 -> read_only
152 //               0x3 -> inaccessible
153 #define OTP_SW_LOCK3_NSEC_RESET  "-"
154 #define OTP_SW_LOCK3_NSEC_BITS   _u(0x0000000c)
155 #define OTP_SW_LOCK3_NSEC_MSB    _u(3)
156 #define OTP_SW_LOCK3_NSEC_LSB    _u(2)
157 #define OTP_SW_LOCK3_NSEC_ACCESS "RW"
158 #define OTP_SW_LOCK3_NSEC_VALUE_READ_WRITE _u(0x0)
159 #define OTP_SW_LOCK3_NSEC_VALUE_READ_ONLY _u(0x1)
160 #define OTP_SW_LOCK3_NSEC_VALUE_INACCESSIBLE _u(0x3)
161 // -----------------------------------------------------------------------------
162 // Field       : OTP_SW_LOCK3_SEC
163 // Description : Secure lock status. Writes are OR'd with the current value.
164 //               This field is read-only to Non-secure code.
165 //               0x0 -> read_write
166 //               0x1 -> read_only
167 //               0x3 -> inaccessible
168 #define OTP_SW_LOCK3_SEC_RESET  "-"
169 #define OTP_SW_LOCK3_SEC_BITS   _u(0x00000003)
170 #define OTP_SW_LOCK3_SEC_MSB    _u(1)
171 #define OTP_SW_LOCK3_SEC_LSB    _u(0)
172 #define OTP_SW_LOCK3_SEC_ACCESS "RW"
173 #define OTP_SW_LOCK3_SEC_VALUE_READ_WRITE _u(0x0)
174 #define OTP_SW_LOCK3_SEC_VALUE_READ_ONLY _u(0x1)
175 #define OTP_SW_LOCK3_SEC_VALUE_INACCESSIBLE _u(0x3)
176 // =============================================================================
177 // Register    : OTP_SW_LOCK4
178 // Description : Software lock register for page 4.
179 //
180 //               Locks are initialised from the OTP lock pages at reset. This
181 //               register can be written to further advance the lock state of
182 //               each page (until next reset), and read to check the current
183 //               lock state of a page.
184 #define OTP_SW_LOCK4_OFFSET _u(0x00000010)
185 #define OTP_SW_LOCK4_BITS   _u(0x0000000f)
186 #define OTP_SW_LOCK4_RESET  _u(0x00000000)
187 // -----------------------------------------------------------------------------
188 // Field       : OTP_SW_LOCK4_NSEC
189 // Description : Non-secure lock status. Writes are OR'd with the current value.
190 //               0x0 -> read_write
191 //               0x1 -> read_only
192 //               0x3 -> inaccessible
193 #define OTP_SW_LOCK4_NSEC_RESET  "-"
194 #define OTP_SW_LOCK4_NSEC_BITS   _u(0x0000000c)
195 #define OTP_SW_LOCK4_NSEC_MSB    _u(3)
196 #define OTP_SW_LOCK4_NSEC_LSB    _u(2)
197 #define OTP_SW_LOCK4_NSEC_ACCESS "RW"
198 #define OTP_SW_LOCK4_NSEC_VALUE_READ_WRITE _u(0x0)
199 #define OTP_SW_LOCK4_NSEC_VALUE_READ_ONLY _u(0x1)
200 #define OTP_SW_LOCK4_NSEC_VALUE_INACCESSIBLE _u(0x3)
201 // -----------------------------------------------------------------------------
202 // Field       : OTP_SW_LOCK4_SEC
203 // Description : Secure lock status. Writes are OR'd with the current value.
204 //               This field is read-only to Non-secure code.
205 //               0x0 -> read_write
206 //               0x1 -> read_only
207 //               0x3 -> inaccessible
208 #define OTP_SW_LOCK4_SEC_RESET  "-"
209 #define OTP_SW_LOCK4_SEC_BITS   _u(0x00000003)
210 #define OTP_SW_LOCK4_SEC_MSB    _u(1)
211 #define OTP_SW_LOCK4_SEC_LSB    _u(0)
212 #define OTP_SW_LOCK4_SEC_ACCESS "RW"
213 #define OTP_SW_LOCK4_SEC_VALUE_READ_WRITE _u(0x0)
214 #define OTP_SW_LOCK4_SEC_VALUE_READ_ONLY _u(0x1)
215 #define OTP_SW_LOCK4_SEC_VALUE_INACCESSIBLE _u(0x3)
216 // =============================================================================
217 // Register    : OTP_SW_LOCK5
218 // Description : Software lock register for page 5.
219 //
220 //               Locks are initialised from the OTP lock pages at reset. This
221 //               register can be written to further advance the lock state of
222 //               each page (until next reset), and read to check the current
223 //               lock state of a page.
224 #define OTP_SW_LOCK5_OFFSET _u(0x00000014)
225 #define OTP_SW_LOCK5_BITS   _u(0x0000000f)
226 #define OTP_SW_LOCK5_RESET  _u(0x00000000)
227 // -----------------------------------------------------------------------------
228 // Field       : OTP_SW_LOCK5_NSEC
229 // Description : Non-secure lock status. Writes are OR'd with the current value.
230 //               0x0 -> read_write
231 //               0x1 -> read_only
232 //               0x3 -> inaccessible
233 #define OTP_SW_LOCK5_NSEC_RESET  "-"
234 #define OTP_SW_LOCK5_NSEC_BITS   _u(0x0000000c)
235 #define OTP_SW_LOCK5_NSEC_MSB    _u(3)
236 #define OTP_SW_LOCK5_NSEC_LSB    _u(2)
237 #define OTP_SW_LOCK5_NSEC_ACCESS "RW"
238 #define OTP_SW_LOCK5_NSEC_VALUE_READ_WRITE _u(0x0)
239 #define OTP_SW_LOCK5_NSEC_VALUE_READ_ONLY _u(0x1)
240 #define OTP_SW_LOCK5_NSEC_VALUE_INACCESSIBLE _u(0x3)
241 // -----------------------------------------------------------------------------
242 // Field       : OTP_SW_LOCK5_SEC
243 // Description : Secure lock status. Writes are OR'd with the current value.
244 //               This field is read-only to Non-secure code.
245 //               0x0 -> read_write
246 //               0x1 -> read_only
247 //               0x3 -> inaccessible
248 #define OTP_SW_LOCK5_SEC_RESET  "-"
249 #define OTP_SW_LOCK5_SEC_BITS   _u(0x00000003)
250 #define OTP_SW_LOCK5_SEC_MSB    _u(1)
251 #define OTP_SW_LOCK5_SEC_LSB    _u(0)
252 #define OTP_SW_LOCK5_SEC_ACCESS "RW"
253 #define OTP_SW_LOCK5_SEC_VALUE_READ_WRITE _u(0x0)
254 #define OTP_SW_LOCK5_SEC_VALUE_READ_ONLY _u(0x1)
255 #define OTP_SW_LOCK5_SEC_VALUE_INACCESSIBLE _u(0x3)
256 // =============================================================================
257 // Register    : OTP_SW_LOCK6
258 // Description : Software lock register for page 6.
259 //
260 //               Locks are initialised from the OTP lock pages at reset. This
261 //               register can be written to further advance the lock state of
262 //               each page (until next reset), and read to check the current
263 //               lock state of a page.
264 #define OTP_SW_LOCK6_OFFSET _u(0x00000018)
265 #define OTP_SW_LOCK6_BITS   _u(0x0000000f)
266 #define OTP_SW_LOCK6_RESET  _u(0x00000000)
267 // -----------------------------------------------------------------------------
268 // Field       : OTP_SW_LOCK6_NSEC
269 // Description : Non-secure lock status. Writes are OR'd with the current value.
270 //               0x0 -> read_write
271 //               0x1 -> read_only
272 //               0x3 -> inaccessible
273 #define OTP_SW_LOCK6_NSEC_RESET  "-"
274 #define OTP_SW_LOCK6_NSEC_BITS   _u(0x0000000c)
275 #define OTP_SW_LOCK6_NSEC_MSB    _u(3)
276 #define OTP_SW_LOCK6_NSEC_LSB    _u(2)
277 #define OTP_SW_LOCK6_NSEC_ACCESS "RW"
278 #define OTP_SW_LOCK6_NSEC_VALUE_READ_WRITE _u(0x0)
279 #define OTP_SW_LOCK6_NSEC_VALUE_READ_ONLY _u(0x1)
280 #define OTP_SW_LOCK6_NSEC_VALUE_INACCESSIBLE _u(0x3)
281 // -----------------------------------------------------------------------------
282 // Field       : OTP_SW_LOCK6_SEC
283 // Description : Secure lock status. Writes are OR'd with the current value.
284 //               This field is read-only to Non-secure code.
285 //               0x0 -> read_write
286 //               0x1 -> read_only
287 //               0x3 -> inaccessible
288 #define OTP_SW_LOCK6_SEC_RESET  "-"
289 #define OTP_SW_LOCK6_SEC_BITS   _u(0x00000003)
290 #define OTP_SW_LOCK6_SEC_MSB    _u(1)
291 #define OTP_SW_LOCK6_SEC_LSB    _u(0)
292 #define OTP_SW_LOCK6_SEC_ACCESS "RW"
293 #define OTP_SW_LOCK6_SEC_VALUE_READ_WRITE _u(0x0)
294 #define OTP_SW_LOCK6_SEC_VALUE_READ_ONLY _u(0x1)
295 #define OTP_SW_LOCK6_SEC_VALUE_INACCESSIBLE _u(0x3)
296 // =============================================================================
297 // Register    : OTP_SW_LOCK7
298 // Description : Software lock register for page 7.
299 //
300 //               Locks are initialised from the OTP lock pages at reset. This
301 //               register can be written to further advance the lock state of
302 //               each page (until next reset), and read to check the current
303 //               lock state of a page.
304 #define OTP_SW_LOCK7_OFFSET _u(0x0000001c)
305 #define OTP_SW_LOCK7_BITS   _u(0x0000000f)
306 #define OTP_SW_LOCK7_RESET  _u(0x00000000)
307 // -----------------------------------------------------------------------------
308 // Field       : OTP_SW_LOCK7_NSEC
309 // Description : Non-secure lock status. Writes are OR'd with the current value.
310 //               0x0 -> read_write
311 //               0x1 -> read_only
312 //               0x3 -> inaccessible
313 #define OTP_SW_LOCK7_NSEC_RESET  "-"
314 #define OTP_SW_LOCK7_NSEC_BITS   _u(0x0000000c)
315 #define OTP_SW_LOCK7_NSEC_MSB    _u(3)
316 #define OTP_SW_LOCK7_NSEC_LSB    _u(2)
317 #define OTP_SW_LOCK7_NSEC_ACCESS "RW"
318 #define OTP_SW_LOCK7_NSEC_VALUE_READ_WRITE _u(0x0)
319 #define OTP_SW_LOCK7_NSEC_VALUE_READ_ONLY _u(0x1)
320 #define OTP_SW_LOCK7_NSEC_VALUE_INACCESSIBLE _u(0x3)
321 // -----------------------------------------------------------------------------
322 // Field       : OTP_SW_LOCK7_SEC
323 // Description : Secure lock status. Writes are OR'd with the current value.
324 //               This field is read-only to Non-secure code.
325 //               0x0 -> read_write
326 //               0x1 -> read_only
327 //               0x3 -> inaccessible
328 #define OTP_SW_LOCK7_SEC_RESET  "-"
329 #define OTP_SW_LOCK7_SEC_BITS   _u(0x00000003)
330 #define OTP_SW_LOCK7_SEC_MSB    _u(1)
331 #define OTP_SW_LOCK7_SEC_LSB    _u(0)
332 #define OTP_SW_LOCK7_SEC_ACCESS "RW"
333 #define OTP_SW_LOCK7_SEC_VALUE_READ_WRITE _u(0x0)
334 #define OTP_SW_LOCK7_SEC_VALUE_READ_ONLY _u(0x1)
335 #define OTP_SW_LOCK7_SEC_VALUE_INACCESSIBLE _u(0x3)
336 // =============================================================================
337 // Register    : OTP_SW_LOCK8
338 // Description : Software lock register for page 8.
339 //
340 //               Locks are initialised from the OTP lock pages at reset. This
341 //               register can be written to further advance the lock state of
342 //               each page (until next reset), and read to check the current
343 //               lock state of a page.
344 #define OTP_SW_LOCK8_OFFSET _u(0x00000020)
345 #define OTP_SW_LOCK8_BITS   _u(0x0000000f)
346 #define OTP_SW_LOCK8_RESET  _u(0x00000000)
347 // -----------------------------------------------------------------------------
348 // Field       : OTP_SW_LOCK8_NSEC
349 // Description : Non-secure lock status. Writes are OR'd with the current value.
350 //               0x0 -> read_write
351 //               0x1 -> read_only
352 //               0x3 -> inaccessible
353 #define OTP_SW_LOCK8_NSEC_RESET  "-"
354 #define OTP_SW_LOCK8_NSEC_BITS   _u(0x0000000c)
355 #define OTP_SW_LOCK8_NSEC_MSB    _u(3)
356 #define OTP_SW_LOCK8_NSEC_LSB    _u(2)
357 #define OTP_SW_LOCK8_NSEC_ACCESS "RW"
358 #define OTP_SW_LOCK8_NSEC_VALUE_READ_WRITE _u(0x0)
359 #define OTP_SW_LOCK8_NSEC_VALUE_READ_ONLY _u(0x1)
360 #define OTP_SW_LOCK8_NSEC_VALUE_INACCESSIBLE _u(0x3)
361 // -----------------------------------------------------------------------------
362 // Field       : OTP_SW_LOCK8_SEC
363 // Description : Secure lock status. Writes are OR'd with the current value.
364 //               This field is read-only to Non-secure code.
365 //               0x0 -> read_write
366 //               0x1 -> read_only
367 //               0x3 -> inaccessible
368 #define OTP_SW_LOCK8_SEC_RESET  "-"
369 #define OTP_SW_LOCK8_SEC_BITS   _u(0x00000003)
370 #define OTP_SW_LOCK8_SEC_MSB    _u(1)
371 #define OTP_SW_LOCK8_SEC_LSB    _u(0)
372 #define OTP_SW_LOCK8_SEC_ACCESS "RW"
373 #define OTP_SW_LOCK8_SEC_VALUE_READ_WRITE _u(0x0)
374 #define OTP_SW_LOCK8_SEC_VALUE_READ_ONLY _u(0x1)
375 #define OTP_SW_LOCK8_SEC_VALUE_INACCESSIBLE _u(0x3)
376 // =============================================================================
377 // Register    : OTP_SW_LOCK9
378 // Description : Software lock register for page 9.
379 //
380 //               Locks are initialised from the OTP lock pages at reset. This
381 //               register can be written to further advance the lock state of
382 //               each page (until next reset), and read to check the current
383 //               lock state of a page.
384 #define OTP_SW_LOCK9_OFFSET _u(0x00000024)
385 #define OTP_SW_LOCK9_BITS   _u(0x0000000f)
386 #define OTP_SW_LOCK9_RESET  _u(0x00000000)
387 // -----------------------------------------------------------------------------
388 // Field       : OTP_SW_LOCK9_NSEC
389 // Description : Non-secure lock status. Writes are OR'd with the current value.
390 //               0x0 -> read_write
391 //               0x1 -> read_only
392 //               0x3 -> inaccessible
393 #define OTP_SW_LOCK9_NSEC_RESET  "-"
394 #define OTP_SW_LOCK9_NSEC_BITS   _u(0x0000000c)
395 #define OTP_SW_LOCK9_NSEC_MSB    _u(3)
396 #define OTP_SW_LOCK9_NSEC_LSB    _u(2)
397 #define OTP_SW_LOCK9_NSEC_ACCESS "RW"
398 #define OTP_SW_LOCK9_NSEC_VALUE_READ_WRITE _u(0x0)
399 #define OTP_SW_LOCK9_NSEC_VALUE_READ_ONLY _u(0x1)
400 #define OTP_SW_LOCK9_NSEC_VALUE_INACCESSIBLE _u(0x3)
401 // -----------------------------------------------------------------------------
402 // Field       : OTP_SW_LOCK9_SEC
403 // Description : Secure lock status. Writes are OR'd with the current value.
404 //               This field is read-only to Non-secure code.
405 //               0x0 -> read_write
406 //               0x1 -> read_only
407 //               0x3 -> inaccessible
408 #define OTP_SW_LOCK9_SEC_RESET  "-"
409 #define OTP_SW_LOCK9_SEC_BITS   _u(0x00000003)
410 #define OTP_SW_LOCK9_SEC_MSB    _u(1)
411 #define OTP_SW_LOCK9_SEC_LSB    _u(0)
412 #define OTP_SW_LOCK9_SEC_ACCESS "RW"
413 #define OTP_SW_LOCK9_SEC_VALUE_READ_WRITE _u(0x0)
414 #define OTP_SW_LOCK9_SEC_VALUE_READ_ONLY _u(0x1)
415 #define OTP_SW_LOCK9_SEC_VALUE_INACCESSIBLE _u(0x3)
416 // =============================================================================
417 // Register    : OTP_SW_LOCK10
418 // Description : Software lock register for page 10.
419 //
420 //               Locks are initialised from the OTP lock pages at reset. This
421 //               register can be written to further advance the lock state of
422 //               each page (until next reset), and read to check the current
423 //               lock state of a page.
424 #define OTP_SW_LOCK10_OFFSET _u(0x00000028)
425 #define OTP_SW_LOCK10_BITS   _u(0x0000000f)
426 #define OTP_SW_LOCK10_RESET  _u(0x00000000)
427 // -----------------------------------------------------------------------------
428 // Field       : OTP_SW_LOCK10_NSEC
429 // Description : Non-secure lock status. Writes are OR'd with the current value.
430 //               0x0 -> read_write
431 //               0x1 -> read_only
432 //               0x3 -> inaccessible
433 #define OTP_SW_LOCK10_NSEC_RESET  "-"
434 #define OTP_SW_LOCK10_NSEC_BITS   _u(0x0000000c)
435 #define OTP_SW_LOCK10_NSEC_MSB    _u(3)
436 #define OTP_SW_LOCK10_NSEC_LSB    _u(2)
437 #define OTP_SW_LOCK10_NSEC_ACCESS "RW"
438 #define OTP_SW_LOCK10_NSEC_VALUE_READ_WRITE _u(0x0)
439 #define OTP_SW_LOCK10_NSEC_VALUE_READ_ONLY _u(0x1)
440 #define OTP_SW_LOCK10_NSEC_VALUE_INACCESSIBLE _u(0x3)
441 // -----------------------------------------------------------------------------
442 // Field       : OTP_SW_LOCK10_SEC
443 // Description : Secure lock status. Writes are OR'd with the current value.
444 //               This field is read-only to Non-secure code.
445 //               0x0 -> read_write
446 //               0x1 -> read_only
447 //               0x3 -> inaccessible
448 #define OTP_SW_LOCK10_SEC_RESET  "-"
449 #define OTP_SW_LOCK10_SEC_BITS   _u(0x00000003)
450 #define OTP_SW_LOCK10_SEC_MSB    _u(1)
451 #define OTP_SW_LOCK10_SEC_LSB    _u(0)
452 #define OTP_SW_LOCK10_SEC_ACCESS "RW"
453 #define OTP_SW_LOCK10_SEC_VALUE_READ_WRITE _u(0x0)
454 #define OTP_SW_LOCK10_SEC_VALUE_READ_ONLY _u(0x1)
455 #define OTP_SW_LOCK10_SEC_VALUE_INACCESSIBLE _u(0x3)
456 // =============================================================================
457 // Register    : OTP_SW_LOCK11
458 // Description : Software lock register for page 11.
459 //
460 //               Locks are initialised from the OTP lock pages at reset. This
461 //               register can be written to further advance the lock state of
462 //               each page (until next reset), and read to check the current
463 //               lock state of a page.
464 #define OTP_SW_LOCK11_OFFSET _u(0x0000002c)
465 #define OTP_SW_LOCK11_BITS   _u(0x0000000f)
466 #define OTP_SW_LOCK11_RESET  _u(0x00000000)
467 // -----------------------------------------------------------------------------
468 // Field       : OTP_SW_LOCK11_NSEC
469 // Description : Non-secure lock status. Writes are OR'd with the current value.
470 //               0x0 -> read_write
471 //               0x1 -> read_only
472 //               0x3 -> inaccessible
473 #define OTP_SW_LOCK11_NSEC_RESET  "-"
474 #define OTP_SW_LOCK11_NSEC_BITS   _u(0x0000000c)
475 #define OTP_SW_LOCK11_NSEC_MSB    _u(3)
476 #define OTP_SW_LOCK11_NSEC_LSB    _u(2)
477 #define OTP_SW_LOCK11_NSEC_ACCESS "RW"
478 #define OTP_SW_LOCK11_NSEC_VALUE_READ_WRITE _u(0x0)
479 #define OTP_SW_LOCK11_NSEC_VALUE_READ_ONLY _u(0x1)
480 #define OTP_SW_LOCK11_NSEC_VALUE_INACCESSIBLE _u(0x3)
481 // -----------------------------------------------------------------------------
482 // Field       : OTP_SW_LOCK11_SEC
483 // Description : Secure lock status. Writes are OR'd with the current value.
484 //               This field is read-only to Non-secure code.
485 //               0x0 -> read_write
486 //               0x1 -> read_only
487 //               0x3 -> inaccessible
488 #define OTP_SW_LOCK11_SEC_RESET  "-"
489 #define OTP_SW_LOCK11_SEC_BITS   _u(0x00000003)
490 #define OTP_SW_LOCK11_SEC_MSB    _u(1)
491 #define OTP_SW_LOCK11_SEC_LSB    _u(0)
492 #define OTP_SW_LOCK11_SEC_ACCESS "RW"
493 #define OTP_SW_LOCK11_SEC_VALUE_READ_WRITE _u(0x0)
494 #define OTP_SW_LOCK11_SEC_VALUE_READ_ONLY _u(0x1)
495 #define OTP_SW_LOCK11_SEC_VALUE_INACCESSIBLE _u(0x3)
496 // =============================================================================
497 // Register    : OTP_SW_LOCK12
498 // Description : Software lock register for page 12.
499 //
500 //               Locks are initialised from the OTP lock pages at reset. This
501 //               register can be written to further advance the lock state of
502 //               each page (until next reset), and read to check the current
503 //               lock state of a page.
504 #define OTP_SW_LOCK12_OFFSET _u(0x00000030)
505 #define OTP_SW_LOCK12_BITS   _u(0x0000000f)
506 #define OTP_SW_LOCK12_RESET  _u(0x00000000)
507 // -----------------------------------------------------------------------------
508 // Field       : OTP_SW_LOCK12_NSEC
509 // Description : Non-secure lock status. Writes are OR'd with the current value.
510 //               0x0 -> read_write
511 //               0x1 -> read_only
512 //               0x3 -> inaccessible
513 #define OTP_SW_LOCK12_NSEC_RESET  "-"
514 #define OTP_SW_LOCK12_NSEC_BITS   _u(0x0000000c)
515 #define OTP_SW_LOCK12_NSEC_MSB    _u(3)
516 #define OTP_SW_LOCK12_NSEC_LSB    _u(2)
517 #define OTP_SW_LOCK12_NSEC_ACCESS "RW"
518 #define OTP_SW_LOCK12_NSEC_VALUE_READ_WRITE _u(0x0)
519 #define OTP_SW_LOCK12_NSEC_VALUE_READ_ONLY _u(0x1)
520 #define OTP_SW_LOCK12_NSEC_VALUE_INACCESSIBLE _u(0x3)
521 // -----------------------------------------------------------------------------
522 // Field       : OTP_SW_LOCK12_SEC
523 // Description : Secure lock status. Writes are OR'd with the current value.
524 //               This field is read-only to Non-secure code.
525 //               0x0 -> read_write
526 //               0x1 -> read_only
527 //               0x3 -> inaccessible
528 #define OTP_SW_LOCK12_SEC_RESET  "-"
529 #define OTP_SW_LOCK12_SEC_BITS   _u(0x00000003)
530 #define OTP_SW_LOCK12_SEC_MSB    _u(1)
531 #define OTP_SW_LOCK12_SEC_LSB    _u(0)
532 #define OTP_SW_LOCK12_SEC_ACCESS "RW"
533 #define OTP_SW_LOCK12_SEC_VALUE_READ_WRITE _u(0x0)
534 #define OTP_SW_LOCK12_SEC_VALUE_READ_ONLY _u(0x1)
535 #define OTP_SW_LOCK12_SEC_VALUE_INACCESSIBLE _u(0x3)
536 // =============================================================================
537 // Register    : OTP_SW_LOCK13
538 // Description : Software lock register for page 13.
539 //
540 //               Locks are initialised from the OTP lock pages at reset. This
541 //               register can be written to further advance the lock state of
542 //               each page (until next reset), and read to check the current
543 //               lock state of a page.
544 #define OTP_SW_LOCK13_OFFSET _u(0x00000034)
545 #define OTP_SW_LOCK13_BITS   _u(0x0000000f)
546 #define OTP_SW_LOCK13_RESET  _u(0x00000000)
547 // -----------------------------------------------------------------------------
548 // Field       : OTP_SW_LOCK13_NSEC
549 // Description : Non-secure lock status. Writes are OR'd with the current value.
550 //               0x0 -> read_write
551 //               0x1 -> read_only
552 //               0x3 -> inaccessible
553 #define OTP_SW_LOCK13_NSEC_RESET  "-"
554 #define OTP_SW_LOCK13_NSEC_BITS   _u(0x0000000c)
555 #define OTP_SW_LOCK13_NSEC_MSB    _u(3)
556 #define OTP_SW_LOCK13_NSEC_LSB    _u(2)
557 #define OTP_SW_LOCK13_NSEC_ACCESS "RW"
558 #define OTP_SW_LOCK13_NSEC_VALUE_READ_WRITE _u(0x0)
559 #define OTP_SW_LOCK13_NSEC_VALUE_READ_ONLY _u(0x1)
560 #define OTP_SW_LOCK13_NSEC_VALUE_INACCESSIBLE _u(0x3)
561 // -----------------------------------------------------------------------------
562 // Field       : OTP_SW_LOCK13_SEC
563 // Description : Secure lock status. Writes are OR'd with the current value.
564 //               This field is read-only to Non-secure code.
565 //               0x0 -> read_write
566 //               0x1 -> read_only
567 //               0x3 -> inaccessible
568 #define OTP_SW_LOCK13_SEC_RESET  "-"
569 #define OTP_SW_LOCK13_SEC_BITS   _u(0x00000003)
570 #define OTP_SW_LOCK13_SEC_MSB    _u(1)
571 #define OTP_SW_LOCK13_SEC_LSB    _u(0)
572 #define OTP_SW_LOCK13_SEC_ACCESS "RW"
573 #define OTP_SW_LOCK13_SEC_VALUE_READ_WRITE _u(0x0)
574 #define OTP_SW_LOCK13_SEC_VALUE_READ_ONLY _u(0x1)
575 #define OTP_SW_LOCK13_SEC_VALUE_INACCESSIBLE _u(0x3)
576 // =============================================================================
577 // Register    : OTP_SW_LOCK14
578 // Description : Software lock register for page 14.
579 //
580 //               Locks are initialised from the OTP lock pages at reset. This
581 //               register can be written to further advance the lock state of
582 //               each page (until next reset), and read to check the current
583 //               lock state of a page.
584 #define OTP_SW_LOCK14_OFFSET _u(0x00000038)
585 #define OTP_SW_LOCK14_BITS   _u(0x0000000f)
586 #define OTP_SW_LOCK14_RESET  _u(0x00000000)
587 // -----------------------------------------------------------------------------
588 // Field       : OTP_SW_LOCK14_NSEC
589 // Description : Non-secure lock status. Writes are OR'd with the current value.
590 //               0x0 -> read_write
591 //               0x1 -> read_only
592 //               0x3 -> inaccessible
593 #define OTP_SW_LOCK14_NSEC_RESET  "-"
594 #define OTP_SW_LOCK14_NSEC_BITS   _u(0x0000000c)
595 #define OTP_SW_LOCK14_NSEC_MSB    _u(3)
596 #define OTP_SW_LOCK14_NSEC_LSB    _u(2)
597 #define OTP_SW_LOCK14_NSEC_ACCESS "RW"
598 #define OTP_SW_LOCK14_NSEC_VALUE_READ_WRITE _u(0x0)
599 #define OTP_SW_LOCK14_NSEC_VALUE_READ_ONLY _u(0x1)
600 #define OTP_SW_LOCK14_NSEC_VALUE_INACCESSIBLE _u(0x3)
601 // -----------------------------------------------------------------------------
602 // Field       : OTP_SW_LOCK14_SEC
603 // Description : Secure lock status. Writes are OR'd with the current value.
604 //               This field is read-only to Non-secure code.
605 //               0x0 -> read_write
606 //               0x1 -> read_only
607 //               0x3 -> inaccessible
608 #define OTP_SW_LOCK14_SEC_RESET  "-"
609 #define OTP_SW_LOCK14_SEC_BITS   _u(0x00000003)
610 #define OTP_SW_LOCK14_SEC_MSB    _u(1)
611 #define OTP_SW_LOCK14_SEC_LSB    _u(0)
612 #define OTP_SW_LOCK14_SEC_ACCESS "RW"
613 #define OTP_SW_LOCK14_SEC_VALUE_READ_WRITE _u(0x0)
614 #define OTP_SW_LOCK14_SEC_VALUE_READ_ONLY _u(0x1)
615 #define OTP_SW_LOCK14_SEC_VALUE_INACCESSIBLE _u(0x3)
616 // =============================================================================
617 // Register    : OTP_SW_LOCK15
618 // Description : Software lock register for page 15.
619 //
620 //               Locks are initialised from the OTP lock pages at reset. This
621 //               register can be written to further advance the lock state of
622 //               each page (until next reset), and read to check the current
623 //               lock state of a page.
624 #define OTP_SW_LOCK15_OFFSET _u(0x0000003c)
625 #define OTP_SW_LOCK15_BITS   _u(0x0000000f)
626 #define OTP_SW_LOCK15_RESET  _u(0x00000000)
627 // -----------------------------------------------------------------------------
628 // Field       : OTP_SW_LOCK15_NSEC
629 // Description : Non-secure lock status. Writes are OR'd with the current value.
630 //               0x0 -> read_write
631 //               0x1 -> read_only
632 //               0x3 -> inaccessible
633 #define OTP_SW_LOCK15_NSEC_RESET  "-"
634 #define OTP_SW_LOCK15_NSEC_BITS   _u(0x0000000c)
635 #define OTP_SW_LOCK15_NSEC_MSB    _u(3)
636 #define OTP_SW_LOCK15_NSEC_LSB    _u(2)
637 #define OTP_SW_LOCK15_NSEC_ACCESS "RW"
638 #define OTP_SW_LOCK15_NSEC_VALUE_READ_WRITE _u(0x0)
639 #define OTP_SW_LOCK15_NSEC_VALUE_READ_ONLY _u(0x1)
640 #define OTP_SW_LOCK15_NSEC_VALUE_INACCESSIBLE _u(0x3)
641 // -----------------------------------------------------------------------------
642 // Field       : OTP_SW_LOCK15_SEC
643 // Description : Secure lock status. Writes are OR'd with the current value.
644 //               This field is read-only to Non-secure code.
645 //               0x0 -> read_write
646 //               0x1 -> read_only
647 //               0x3 -> inaccessible
648 #define OTP_SW_LOCK15_SEC_RESET  "-"
649 #define OTP_SW_LOCK15_SEC_BITS   _u(0x00000003)
650 #define OTP_SW_LOCK15_SEC_MSB    _u(1)
651 #define OTP_SW_LOCK15_SEC_LSB    _u(0)
652 #define OTP_SW_LOCK15_SEC_ACCESS "RW"
653 #define OTP_SW_LOCK15_SEC_VALUE_READ_WRITE _u(0x0)
654 #define OTP_SW_LOCK15_SEC_VALUE_READ_ONLY _u(0x1)
655 #define OTP_SW_LOCK15_SEC_VALUE_INACCESSIBLE _u(0x3)
656 // =============================================================================
657 // Register    : OTP_SW_LOCK16
658 // Description : Software lock register for page 16.
659 //
660 //               Locks are initialised from the OTP lock pages at reset. This
661 //               register can be written to further advance the lock state of
662 //               each page (until next reset), and read to check the current
663 //               lock state of a page.
664 #define OTP_SW_LOCK16_OFFSET _u(0x00000040)
665 #define OTP_SW_LOCK16_BITS   _u(0x0000000f)
666 #define OTP_SW_LOCK16_RESET  _u(0x00000000)
667 // -----------------------------------------------------------------------------
668 // Field       : OTP_SW_LOCK16_NSEC
669 // Description : Non-secure lock status. Writes are OR'd with the current value.
670 //               0x0 -> read_write
671 //               0x1 -> read_only
672 //               0x3 -> inaccessible
673 #define OTP_SW_LOCK16_NSEC_RESET  "-"
674 #define OTP_SW_LOCK16_NSEC_BITS   _u(0x0000000c)
675 #define OTP_SW_LOCK16_NSEC_MSB    _u(3)
676 #define OTP_SW_LOCK16_NSEC_LSB    _u(2)
677 #define OTP_SW_LOCK16_NSEC_ACCESS "RW"
678 #define OTP_SW_LOCK16_NSEC_VALUE_READ_WRITE _u(0x0)
679 #define OTP_SW_LOCK16_NSEC_VALUE_READ_ONLY _u(0x1)
680 #define OTP_SW_LOCK16_NSEC_VALUE_INACCESSIBLE _u(0x3)
681 // -----------------------------------------------------------------------------
682 // Field       : OTP_SW_LOCK16_SEC
683 // Description : Secure lock status. Writes are OR'd with the current value.
684 //               This field is read-only to Non-secure code.
685 //               0x0 -> read_write
686 //               0x1 -> read_only
687 //               0x3 -> inaccessible
688 #define OTP_SW_LOCK16_SEC_RESET  "-"
689 #define OTP_SW_LOCK16_SEC_BITS   _u(0x00000003)
690 #define OTP_SW_LOCK16_SEC_MSB    _u(1)
691 #define OTP_SW_LOCK16_SEC_LSB    _u(0)
692 #define OTP_SW_LOCK16_SEC_ACCESS "RW"
693 #define OTP_SW_LOCK16_SEC_VALUE_READ_WRITE _u(0x0)
694 #define OTP_SW_LOCK16_SEC_VALUE_READ_ONLY _u(0x1)
695 #define OTP_SW_LOCK16_SEC_VALUE_INACCESSIBLE _u(0x3)
696 // =============================================================================
697 // Register    : OTP_SW_LOCK17
698 // Description : Software lock register for page 17.
699 //
700 //               Locks are initialised from the OTP lock pages at reset. This
701 //               register can be written to further advance the lock state of
702 //               each page (until next reset), and read to check the current
703 //               lock state of a page.
704 #define OTP_SW_LOCK17_OFFSET _u(0x00000044)
705 #define OTP_SW_LOCK17_BITS   _u(0x0000000f)
706 #define OTP_SW_LOCK17_RESET  _u(0x00000000)
707 // -----------------------------------------------------------------------------
708 // Field       : OTP_SW_LOCK17_NSEC
709 // Description : Non-secure lock status. Writes are OR'd with the current value.
710 //               0x0 -> read_write
711 //               0x1 -> read_only
712 //               0x3 -> inaccessible
713 #define OTP_SW_LOCK17_NSEC_RESET  "-"
714 #define OTP_SW_LOCK17_NSEC_BITS   _u(0x0000000c)
715 #define OTP_SW_LOCK17_NSEC_MSB    _u(3)
716 #define OTP_SW_LOCK17_NSEC_LSB    _u(2)
717 #define OTP_SW_LOCK17_NSEC_ACCESS "RW"
718 #define OTP_SW_LOCK17_NSEC_VALUE_READ_WRITE _u(0x0)
719 #define OTP_SW_LOCK17_NSEC_VALUE_READ_ONLY _u(0x1)
720 #define OTP_SW_LOCK17_NSEC_VALUE_INACCESSIBLE _u(0x3)
721 // -----------------------------------------------------------------------------
722 // Field       : OTP_SW_LOCK17_SEC
723 // Description : Secure lock status. Writes are OR'd with the current value.
724 //               This field is read-only to Non-secure code.
725 //               0x0 -> read_write
726 //               0x1 -> read_only
727 //               0x3 -> inaccessible
728 #define OTP_SW_LOCK17_SEC_RESET  "-"
729 #define OTP_SW_LOCK17_SEC_BITS   _u(0x00000003)
730 #define OTP_SW_LOCK17_SEC_MSB    _u(1)
731 #define OTP_SW_LOCK17_SEC_LSB    _u(0)
732 #define OTP_SW_LOCK17_SEC_ACCESS "RW"
733 #define OTP_SW_LOCK17_SEC_VALUE_READ_WRITE _u(0x0)
734 #define OTP_SW_LOCK17_SEC_VALUE_READ_ONLY _u(0x1)
735 #define OTP_SW_LOCK17_SEC_VALUE_INACCESSIBLE _u(0x3)
736 // =============================================================================
737 // Register    : OTP_SW_LOCK18
738 // Description : Software lock register for page 18.
739 //
740 //               Locks are initialised from the OTP lock pages at reset. This
741 //               register can be written to further advance the lock state of
742 //               each page (until next reset), and read to check the current
743 //               lock state of a page.
744 #define OTP_SW_LOCK18_OFFSET _u(0x00000048)
745 #define OTP_SW_LOCK18_BITS   _u(0x0000000f)
746 #define OTP_SW_LOCK18_RESET  _u(0x00000000)
747 // -----------------------------------------------------------------------------
748 // Field       : OTP_SW_LOCK18_NSEC
749 // Description : Non-secure lock status. Writes are OR'd with the current value.
750 //               0x0 -> read_write
751 //               0x1 -> read_only
752 //               0x3 -> inaccessible
753 #define OTP_SW_LOCK18_NSEC_RESET  "-"
754 #define OTP_SW_LOCK18_NSEC_BITS   _u(0x0000000c)
755 #define OTP_SW_LOCK18_NSEC_MSB    _u(3)
756 #define OTP_SW_LOCK18_NSEC_LSB    _u(2)
757 #define OTP_SW_LOCK18_NSEC_ACCESS "RW"
758 #define OTP_SW_LOCK18_NSEC_VALUE_READ_WRITE _u(0x0)
759 #define OTP_SW_LOCK18_NSEC_VALUE_READ_ONLY _u(0x1)
760 #define OTP_SW_LOCK18_NSEC_VALUE_INACCESSIBLE _u(0x3)
761 // -----------------------------------------------------------------------------
762 // Field       : OTP_SW_LOCK18_SEC
763 // Description : Secure lock status. Writes are OR'd with the current value.
764 //               This field is read-only to Non-secure code.
765 //               0x0 -> read_write
766 //               0x1 -> read_only
767 //               0x3 -> inaccessible
768 #define OTP_SW_LOCK18_SEC_RESET  "-"
769 #define OTP_SW_LOCK18_SEC_BITS   _u(0x00000003)
770 #define OTP_SW_LOCK18_SEC_MSB    _u(1)
771 #define OTP_SW_LOCK18_SEC_LSB    _u(0)
772 #define OTP_SW_LOCK18_SEC_ACCESS "RW"
773 #define OTP_SW_LOCK18_SEC_VALUE_READ_WRITE _u(0x0)
774 #define OTP_SW_LOCK18_SEC_VALUE_READ_ONLY _u(0x1)
775 #define OTP_SW_LOCK18_SEC_VALUE_INACCESSIBLE _u(0x3)
776 // =============================================================================
777 // Register    : OTP_SW_LOCK19
778 // Description : Software lock register for page 19.
779 //
780 //               Locks are initialised from the OTP lock pages at reset. This
781 //               register can be written to further advance the lock state of
782 //               each page (until next reset), and read to check the current
783 //               lock state of a page.
784 #define OTP_SW_LOCK19_OFFSET _u(0x0000004c)
785 #define OTP_SW_LOCK19_BITS   _u(0x0000000f)
786 #define OTP_SW_LOCK19_RESET  _u(0x00000000)
787 // -----------------------------------------------------------------------------
788 // Field       : OTP_SW_LOCK19_NSEC
789 // Description : Non-secure lock status. Writes are OR'd with the current value.
790 //               0x0 -> read_write
791 //               0x1 -> read_only
792 //               0x3 -> inaccessible
793 #define OTP_SW_LOCK19_NSEC_RESET  "-"
794 #define OTP_SW_LOCK19_NSEC_BITS   _u(0x0000000c)
795 #define OTP_SW_LOCK19_NSEC_MSB    _u(3)
796 #define OTP_SW_LOCK19_NSEC_LSB    _u(2)
797 #define OTP_SW_LOCK19_NSEC_ACCESS "RW"
798 #define OTP_SW_LOCK19_NSEC_VALUE_READ_WRITE _u(0x0)
799 #define OTP_SW_LOCK19_NSEC_VALUE_READ_ONLY _u(0x1)
800 #define OTP_SW_LOCK19_NSEC_VALUE_INACCESSIBLE _u(0x3)
801 // -----------------------------------------------------------------------------
802 // Field       : OTP_SW_LOCK19_SEC
803 // Description : Secure lock status. Writes are OR'd with the current value.
804 //               This field is read-only to Non-secure code.
805 //               0x0 -> read_write
806 //               0x1 -> read_only
807 //               0x3 -> inaccessible
808 #define OTP_SW_LOCK19_SEC_RESET  "-"
809 #define OTP_SW_LOCK19_SEC_BITS   _u(0x00000003)
810 #define OTP_SW_LOCK19_SEC_MSB    _u(1)
811 #define OTP_SW_LOCK19_SEC_LSB    _u(0)
812 #define OTP_SW_LOCK19_SEC_ACCESS "RW"
813 #define OTP_SW_LOCK19_SEC_VALUE_READ_WRITE _u(0x0)
814 #define OTP_SW_LOCK19_SEC_VALUE_READ_ONLY _u(0x1)
815 #define OTP_SW_LOCK19_SEC_VALUE_INACCESSIBLE _u(0x3)
816 // =============================================================================
817 // Register    : OTP_SW_LOCK20
818 // Description : Software lock register for page 20.
819 //
820 //               Locks are initialised from the OTP lock pages at reset. This
821 //               register can be written to further advance the lock state of
822 //               each page (until next reset), and read to check the current
823 //               lock state of a page.
824 #define OTP_SW_LOCK20_OFFSET _u(0x00000050)
825 #define OTP_SW_LOCK20_BITS   _u(0x0000000f)
826 #define OTP_SW_LOCK20_RESET  _u(0x00000000)
827 // -----------------------------------------------------------------------------
828 // Field       : OTP_SW_LOCK20_NSEC
829 // Description : Non-secure lock status. Writes are OR'd with the current value.
830 //               0x0 -> read_write
831 //               0x1 -> read_only
832 //               0x3 -> inaccessible
833 #define OTP_SW_LOCK20_NSEC_RESET  "-"
834 #define OTP_SW_LOCK20_NSEC_BITS   _u(0x0000000c)
835 #define OTP_SW_LOCK20_NSEC_MSB    _u(3)
836 #define OTP_SW_LOCK20_NSEC_LSB    _u(2)
837 #define OTP_SW_LOCK20_NSEC_ACCESS "RW"
838 #define OTP_SW_LOCK20_NSEC_VALUE_READ_WRITE _u(0x0)
839 #define OTP_SW_LOCK20_NSEC_VALUE_READ_ONLY _u(0x1)
840 #define OTP_SW_LOCK20_NSEC_VALUE_INACCESSIBLE _u(0x3)
841 // -----------------------------------------------------------------------------
842 // Field       : OTP_SW_LOCK20_SEC
843 // Description : Secure lock status. Writes are OR'd with the current value.
844 //               This field is read-only to Non-secure code.
845 //               0x0 -> read_write
846 //               0x1 -> read_only
847 //               0x3 -> inaccessible
848 #define OTP_SW_LOCK20_SEC_RESET  "-"
849 #define OTP_SW_LOCK20_SEC_BITS   _u(0x00000003)
850 #define OTP_SW_LOCK20_SEC_MSB    _u(1)
851 #define OTP_SW_LOCK20_SEC_LSB    _u(0)
852 #define OTP_SW_LOCK20_SEC_ACCESS "RW"
853 #define OTP_SW_LOCK20_SEC_VALUE_READ_WRITE _u(0x0)
854 #define OTP_SW_LOCK20_SEC_VALUE_READ_ONLY _u(0x1)
855 #define OTP_SW_LOCK20_SEC_VALUE_INACCESSIBLE _u(0x3)
856 // =============================================================================
857 // Register    : OTP_SW_LOCK21
858 // Description : Software lock register for page 21.
859 //
860 //               Locks are initialised from the OTP lock pages at reset. This
861 //               register can be written to further advance the lock state of
862 //               each page (until next reset), and read to check the current
863 //               lock state of a page.
864 #define OTP_SW_LOCK21_OFFSET _u(0x00000054)
865 #define OTP_SW_LOCK21_BITS   _u(0x0000000f)
866 #define OTP_SW_LOCK21_RESET  _u(0x00000000)
867 // -----------------------------------------------------------------------------
868 // Field       : OTP_SW_LOCK21_NSEC
869 // Description : Non-secure lock status. Writes are OR'd with the current value.
870 //               0x0 -> read_write
871 //               0x1 -> read_only
872 //               0x3 -> inaccessible
873 #define OTP_SW_LOCK21_NSEC_RESET  "-"
874 #define OTP_SW_LOCK21_NSEC_BITS   _u(0x0000000c)
875 #define OTP_SW_LOCK21_NSEC_MSB    _u(3)
876 #define OTP_SW_LOCK21_NSEC_LSB    _u(2)
877 #define OTP_SW_LOCK21_NSEC_ACCESS "RW"
878 #define OTP_SW_LOCK21_NSEC_VALUE_READ_WRITE _u(0x0)
879 #define OTP_SW_LOCK21_NSEC_VALUE_READ_ONLY _u(0x1)
880 #define OTP_SW_LOCK21_NSEC_VALUE_INACCESSIBLE _u(0x3)
881 // -----------------------------------------------------------------------------
882 // Field       : OTP_SW_LOCK21_SEC
883 // Description : Secure lock status. Writes are OR'd with the current value.
884 //               This field is read-only to Non-secure code.
885 //               0x0 -> read_write
886 //               0x1 -> read_only
887 //               0x3 -> inaccessible
888 #define OTP_SW_LOCK21_SEC_RESET  "-"
889 #define OTP_SW_LOCK21_SEC_BITS   _u(0x00000003)
890 #define OTP_SW_LOCK21_SEC_MSB    _u(1)
891 #define OTP_SW_LOCK21_SEC_LSB    _u(0)
892 #define OTP_SW_LOCK21_SEC_ACCESS "RW"
893 #define OTP_SW_LOCK21_SEC_VALUE_READ_WRITE _u(0x0)
894 #define OTP_SW_LOCK21_SEC_VALUE_READ_ONLY _u(0x1)
895 #define OTP_SW_LOCK21_SEC_VALUE_INACCESSIBLE _u(0x3)
896 // =============================================================================
897 // Register    : OTP_SW_LOCK22
898 // Description : Software lock register for page 22.
899 //
900 //               Locks are initialised from the OTP lock pages at reset. This
901 //               register can be written to further advance the lock state of
902 //               each page (until next reset), and read to check the current
903 //               lock state of a page.
904 #define OTP_SW_LOCK22_OFFSET _u(0x00000058)
905 #define OTP_SW_LOCK22_BITS   _u(0x0000000f)
906 #define OTP_SW_LOCK22_RESET  _u(0x00000000)
907 // -----------------------------------------------------------------------------
908 // Field       : OTP_SW_LOCK22_NSEC
909 // Description : Non-secure lock status. Writes are OR'd with the current value.
910 //               0x0 -> read_write
911 //               0x1 -> read_only
912 //               0x3 -> inaccessible
913 #define OTP_SW_LOCK22_NSEC_RESET  "-"
914 #define OTP_SW_LOCK22_NSEC_BITS   _u(0x0000000c)
915 #define OTP_SW_LOCK22_NSEC_MSB    _u(3)
916 #define OTP_SW_LOCK22_NSEC_LSB    _u(2)
917 #define OTP_SW_LOCK22_NSEC_ACCESS "RW"
918 #define OTP_SW_LOCK22_NSEC_VALUE_READ_WRITE _u(0x0)
919 #define OTP_SW_LOCK22_NSEC_VALUE_READ_ONLY _u(0x1)
920 #define OTP_SW_LOCK22_NSEC_VALUE_INACCESSIBLE _u(0x3)
921 // -----------------------------------------------------------------------------
922 // Field       : OTP_SW_LOCK22_SEC
923 // Description : Secure lock status. Writes are OR'd with the current value.
924 //               This field is read-only to Non-secure code.
925 //               0x0 -> read_write
926 //               0x1 -> read_only
927 //               0x3 -> inaccessible
928 #define OTP_SW_LOCK22_SEC_RESET  "-"
929 #define OTP_SW_LOCK22_SEC_BITS   _u(0x00000003)
930 #define OTP_SW_LOCK22_SEC_MSB    _u(1)
931 #define OTP_SW_LOCK22_SEC_LSB    _u(0)
932 #define OTP_SW_LOCK22_SEC_ACCESS "RW"
933 #define OTP_SW_LOCK22_SEC_VALUE_READ_WRITE _u(0x0)
934 #define OTP_SW_LOCK22_SEC_VALUE_READ_ONLY _u(0x1)
935 #define OTP_SW_LOCK22_SEC_VALUE_INACCESSIBLE _u(0x3)
936 // =============================================================================
937 // Register    : OTP_SW_LOCK23
938 // Description : Software lock register for page 23.
939 //
940 //               Locks are initialised from the OTP lock pages at reset. This
941 //               register can be written to further advance the lock state of
942 //               each page (until next reset), and read to check the current
943 //               lock state of a page.
944 #define OTP_SW_LOCK23_OFFSET _u(0x0000005c)
945 #define OTP_SW_LOCK23_BITS   _u(0x0000000f)
946 #define OTP_SW_LOCK23_RESET  _u(0x00000000)
947 // -----------------------------------------------------------------------------
948 // Field       : OTP_SW_LOCK23_NSEC
949 // Description : Non-secure lock status. Writes are OR'd with the current value.
950 //               0x0 -> read_write
951 //               0x1 -> read_only
952 //               0x3 -> inaccessible
953 #define OTP_SW_LOCK23_NSEC_RESET  "-"
954 #define OTP_SW_LOCK23_NSEC_BITS   _u(0x0000000c)
955 #define OTP_SW_LOCK23_NSEC_MSB    _u(3)
956 #define OTP_SW_LOCK23_NSEC_LSB    _u(2)
957 #define OTP_SW_LOCK23_NSEC_ACCESS "RW"
958 #define OTP_SW_LOCK23_NSEC_VALUE_READ_WRITE _u(0x0)
959 #define OTP_SW_LOCK23_NSEC_VALUE_READ_ONLY _u(0x1)
960 #define OTP_SW_LOCK23_NSEC_VALUE_INACCESSIBLE _u(0x3)
961 // -----------------------------------------------------------------------------
962 // Field       : OTP_SW_LOCK23_SEC
963 // Description : Secure lock status. Writes are OR'd with the current value.
964 //               This field is read-only to Non-secure code.
965 //               0x0 -> read_write
966 //               0x1 -> read_only
967 //               0x3 -> inaccessible
968 #define OTP_SW_LOCK23_SEC_RESET  "-"
969 #define OTP_SW_LOCK23_SEC_BITS   _u(0x00000003)
970 #define OTP_SW_LOCK23_SEC_MSB    _u(1)
971 #define OTP_SW_LOCK23_SEC_LSB    _u(0)
972 #define OTP_SW_LOCK23_SEC_ACCESS "RW"
973 #define OTP_SW_LOCK23_SEC_VALUE_READ_WRITE _u(0x0)
974 #define OTP_SW_LOCK23_SEC_VALUE_READ_ONLY _u(0x1)
975 #define OTP_SW_LOCK23_SEC_VALUE_INACCESSIBLE _u(0x3)
976 // =============================================================================
977 // Register    : OTP_SW_LOCK24
978 // Description : Software lock register for page 24.
979 //
980 //               Locks are initialised from the OTP lock pages at reset. This
981 //               register can be written to further advance the lock state of
982 //               each page (until next reset), and read to check the current
983 //               lock state of a page.
984 #define OTP_SW_LOCK24_OFFSET _u(0x00000060)
985 #define OTP_SW_LOCK24_BITS   _u(0x0000000f)
986 #define OTP_SW_LOCK24_RESET  _u(0x00000000)
987 // -----------------------------------------------------------------------------
988 // Field       : OTP_SW_LOCK24_NSEC
989 // Description : Non-secure lock status. Writes are OR'd with the current value.
990 //               0x0 -> read_write
991 //               0x1 -> read_only
992 //               0x3 -> inaccessible
993 #define OTP_SW_LOCK24_NSEC_RESET  "-"
994 #define OTP_SW_LOCK24_NSEC_BITS   _u(0x0000000c)
995 #define OTP_SW_LOCK24_NSEC_MSB    _u(3)
996 #define OTP_SW_LOCK24_NSEC_LSB    _u(2)
997 #define OTP_SW_LOCK24_NSEC_ACCESS "RW"
998 #define OTP_SW_LOCK24_NSEC_VALUE_READ_WRITE _u(0x0)
999 #define OTP_SW_LOCK24_NSEC_VALUE_READ_ONLY _u(0x1)
1000 #define OTP_SW_LOCK24_NSEC_VALUE_INACCESSIBLE _u(0x3)
1001 // -----------------------------------------------------------------------------
1002 // Field       : OTP_SW_LOCK24_SEC
1003 // Description : Secure lock status. Writes are OR'd with the current value.
1004 //               This field is read-only to Non-secure code.
1005 //               0x0 -> read_write
1006 //               0x1 -> read_only
1007 //               0x3 -> inaccessible
1008 #define OTP_SW_LOCK24_SEC_RESET  "-"
1009 #define OTP_SW_LOCK24_SEC_BITS   _u(0x00000003)
1010 #define OTP_SW_LOCK24_SEC_MSB    _u(1)
1011 #define OTP_SW_LOCK24_SEC_LSB    _u(0)
1012 #define OTP_SW_LOCK24_SEC_ACCESS "RW"
1013 #define OTP_SW_LOCK24_SEC_VALUE_READ_WRITE _u(0x0)
1014 #define OTP_SW_LOCK24_SEC_VALUE_READ_ONLY _u(0x1)
1015 #define OTP_SW_LOCK24_SEC_VALUE_INACCESSIBLE _u(0x3)
1016 // =============================================================================
1017 // Register    : OTP_SW_LOCK25
1018 // Description : Software lock register for page 25.
1019 //
1020 //               Locks are initialised from the OTP lock pages at reset. This
1021 //               register can be written to further advance the lock state of
1022 //               each page (until next reset), and read to check the current
1023 //               lock state of a page.
1024 #define OTP_SW_LOCK25_OFFSET _u(0x00000064)
1025 #define OTP_SW_LOCK25_BITS   _u(0x0000000f)
1026 #define OTP_SW_LOCK25_RESET  _u(0x00000000)
1027 // -----------------------------------------------------------------------------
1028 // Field       : OTP_SW_LOCK25_NSEC
1029 // Description : Non-secure lock status. Writes are OR'd with the current value.
1030 //               0x0 -> read_write
1031 //               0x1 -> read_only
1032 //               0x3 -> inaccessible
1033 #define OTP_SW_LOCK25_NSEC_RESET  "-"
1034 #define OTP_SW_LOCK25_NSEC_BITS   _u(0x0000000c)
1035 #define OTP_SW_LOCK25_NSEC_MSB    _u(3)
1036 #define OTP_SW_LOCK25_NSEC_LSB    _u(2)
1037 #define OTP_SW_LOCK25_NSEC_ACCESS "RW"
1038 #define OTP_SW_LOCK25_NSEC_VALUE_READ_WRITE _u(0x0)
1039 #define OTP_SW_LOCK25_NSEC_VALUE_READ_ONLY _u(0x1)
1040 #define OTP_SW_LOCK25_NSEC_VALUE_INACCESSIBLE _u(0x3)
1041 // -----------------------------------------------------------------------------
1042 // Field       : OTP_SW_LOCK25_SEC
1043 // Description : Secure lock status. Writes are OR'd with the current value.
1044 //               This field is read-only to Non-secure code.
1045 //               0x0 -> read_write
1046 //               0x1 -> read_only
1047 //               0x3 -> inaccessible
1048 #define OTP_SW_LOCK25_SEC_RESET  "-"
1049 #define OTP_SW_LOCK25_SEC_BITS   _u(0x00000003)
1050 #define OTP_SW_LOCK25_SEC_MSB    _u(1)
1051 #define OTP_SW_LOCK25_SEC_LSB    _u(0)
1052 #define OTP_SW_LOCK25_SEC_ACCESS "RW"
1053 #define OTP_SW_LOCK25_SEC_VALUE_READ_WRITE _u(0x0)
1054 #define OTP_SW_LOCK25_SEC_VALUE_READ_ONLY _u(0x1)
1055 #define OTP_SW_LOCK25_SEC_VALUE_INACCESSIBLE _u(0x3)
1056 // =============================================================================
1057 // Register    : OTP_SW_LOCK26
1058 // Description : Software lock register for page 26.
1059 //
1060 //               Locks are initialised from the OTP lock pages at reset. This
1061 //               register can be written to further advance the lock state of
1062 //               each page (until next reset), and read to check the current
1063 //               lock state of a page.
1064 #define OTP_SW_LOCK26_OFFSET _u(0x00000068)
1065 #define OTP_SW_LOCK26_BITS   _u(0x0000000f)
1066 #define OTP_SW_LOCK26_RESET  _u(0x00000000)
1067 // -----------------------------------------------------------------------------
1068 // Field       : OTP_SW_LOCK26_NSEC
1069 // Description : Non-secure lock status. Writes are OR'd with the current value.
1070 //               0x0 -> read_write
1071 //               0x1 -> read_only
1072 //               0x3 -> inaccessible
1073 #define OTP_SW_LOCK26_NSEC_RESET  "-"
1074 #define OTP_SW_LOCK26_NSEC_BITS   _u(0x0000000c)
1075 #define OTP_SW_LOCK26_NSEC_MSB    _u(3)
1076 #define OTP_SW_LOCK26_NSEC_LSB    _u(2)
1077 #define OTP_SW_LOCK26_NSEC_ACCESS "RW"
1078 #define OTP_SW_LOCK26_NSEC_VALUE_READ_WRITE _u(0x0)
1079 #define OTP_SW_LOCK26_NSEC_VALUE_READ_ONLY _u(0x1)
1080 #define OTP_SW_LOCK26_NSEC_VALUE_INACCESSIBLE _u(0x3)
1081 // -----------------------------------------------------------------------------
1082 // Field       : OTP_SW_LOCK26_SEC
1083 // Description : Secure lock status. Writes are OR'd with the current value.
1084 //               This field is read-only to Non-secure code.
1085 //               0x0 -> read_write
1086 //               0x1 -> read_only
1087 //               0x3 -> inaccessible
1088 #define OTP_SW_LOCK26_SEC_RESET  "-"
1089 #define OTP_SW_LOCK26_SEC_BITS   _u(0x00000003)
1090 #define OTP_SW_LOCK26_SEC_MSB    _u(1)
1091 #define OTP_SW_LOCK26_SEC_LSB    _u(0)
1092 #define OTP_SW_LOCK26_SEC_ACCESS "RW"
1093 #define OTP_SW_LOCK26_SEC_VALUE_READ_WRITE _u(0x0)
1094 #define OTP_SW_LOCK26_SEC_VALUE_READ_ONLY _u(0x1)
1095 #define OTP_SW_LOCK26_SEC_VALUE_INACCESSIBLE _u(0x3)
1096 // =============================================================================
1097 // Register    : OTP_SW_LOCK27
1098 // Description : Software lock register for page 27.
1099 //
1100 //               Locks are initialised from the OTP lock pages at reset. This
1101 //               register can be written to further advance the lock state of
1102 //               each page (until next reset), and read to check the current
1103 //               lock state of a page.
1104 #define OTP_SW_LOCK27_OFFSET _u(0x0000006c)
1105 #define OTP_SW_LOCK27_BITS   _u(0x0000000f)
1106 #define OTP_SW_LOCK27_RESET  _u(0x00000000)
1107 // -----------------------------------------------------------------------------
1108 // Field       : OTP_SW_LOCK27_NSEC
1109 // Description : Non-secure lock status. Writes are OR'd with the current value.
1110 //               0x0 -> read_write
1111 //               0x1 -> read_only
1112 //               0x3 -> inaccessible
1113 #define OTP_SW_LOCK27_NSEC_RESET  "-"
1114 #define OTP_SW_LOCK27_NSEC_BITS   _u(0x0000000c)
1115 #define OTP_SW_LOCK27_NSEC_MSB    _u(3)
1116 #define OTP_SW_LOCK27_NSEC_LSB    _u(2)
1117 #define OTP_SW_LOCK27_NSEC_ACCESS "RW"
1118 #define OTP_SW_LOCK27_NSEC_VALUE_READ_WRITE _u(0x0)
1119 #define OTP_SW_LOCK27_NSEC_VALUE_READ_ONLY _u(0x1)
1120 #define OTP_SW_LOCK27_NSEC_VALUE_INACCESSIBLE _u(0x3)
1121 // -----------------------------------------------------------------------------
1122 // Field       : OTP_SW_LOCK27_SEC
1123 // Description : Secure lock status. Writes are OR'd with the current value.
1124 //               This field is read-only to Non-secure code.
1125 //               0x0 -> read_write
1126 //               0x1 -> read_only
1127 //               0x3 -> inaccessible
1128 #define OTP_SW_LOCK27_SEC_RESET  "-"
1129 #define OTP_SW_LOCK27_SEC_BITS   _u(0x00000003)
1130 #define OTP_SW_LOCK27_SEC_MSB    _u(1)
1131 #define OTP_SW_LOCK27_SEC_LSB    _u(0)
1132 #define OTP_SW_LOCK27_SEC_ACCESS "RW"
1133 #define OTP_SW_LOCK27_SEC_VALUE_READ_WRITE _u(0x0)
1134 #define OTP_SW_LOCK27_SEC_VALUE_READ_ONLY _u(0x1)
1135 #define OTP_SW_LOCK27_SEC_VALUE_INACCESSIBLE _u(0x3)
1136 // =============================================================================
1137 // Register    : OTP_SW_LOCK28
1138 // Description : Software lock register for page 28.
1139 //
1140 //               Locks are initialised from the OTP lock pages at reset. This
1141 //               register can be written to further advance the lock state of
1142 //               each page (until next reset), and read to check the current
1143 //               lock state of a page.
1144 #define OTP_SW_LOCK28_OFFSET _u(0x00000070)
1145 #define OTP_SW_LOCK28_BITS   _u(0x0000000f)
1146 #define OTP_SW_LOCK28_RESET  _u(0x00000000)
1147 // -----------------------------------------------------------------------------
1148 // Field       : OTP_SW_LOCK28_NSEC
1149 // Description : Non-secure lock status. Writes are OR'd with the current value.
1150 //               0x0 -> read_write
1151 //               0x1 -> read_only
1152 //               0x3 -> inaccessible
1153 #define OTP_SW_LOCK28_NSEC_RESET  "-"
1154 #define OTP_SW_LOCK28_NSEC_BITS   _u(0x0000000c)
1155 #define OTP_SW_LOCK28_NSEC_MSB    _u(3)
1156 #define OTP_SW_LOCK28_NSEC_LSB    _u(2)
1157 #define OTP_SW_LOCK28_NSEC_ACCESS "RW"
1158 #define OTP_SW_LOCK28_NSEC_VALUE_READ_WRITE _u(0x0)
1159 #define OTP_SW_LOCK28_NSEC_VALUE_READ_ONLY _u(0x1)
1160 #define OTP_SW_LOCK28_NSEC_VALUE_INACCESSIBLE _u(0x3)
1161 // -----------------------------------------------------------------------------
1162 // Field       : OTP_SW_LOCK28_SEC
1163 // Description : Secure lock status. Writes are OR'd with the current value.
1164 //               This field is read-only to Non-secure code.
1165 //               0x0 -> read_write
1166 //               0x1 -> read_only
1167 //               0x3 -> inaccessible
1168 #define OTP_SW_LOCK28_SEC_RESET  "-"
1169 #define OTP_SW_LOCK28_SEC_BITS   _u(0x00000003)
1170 #define OTP_SW_LOCK28_SEC_MSB    _u(1)
1171 #define OTP_SW_LOCK28_SEC_LSB    _u(0)
1172 #define OTP_SW_LOCK28_SEC_ACCESS "RW"
1173 #define OTP_SW_LOCK28_SEC_VALUE_READ_WRITE _u(0x0)
1174 #define OTP_SW_LOCK28_SEC_VALUE_READ_ONLY _u(0x1)
1175 #define OTP_SW_LOCK28_SEC_VALUE_INACCESSIBLE _u(0x3)
1176 // =============================================================================
1177 // Register    : OTP_SW_LOCK29
1178 // Description : Software lock register for page 29.
1179 //
1180 //               Locks are initialised from the OTP lock pages at reset. This
1181 //               register can be written to further advance the lock state of
1182 //               each page (until next reset), and read to check the current
1183 //               lock state of a page.
1184 #define OTP_SW_LOCK29_OFFSET _u(0x00000074)
1185 #define OTP_SW_LOCK29_BITS   _u(0x0000000f)
1186 #define OTP_SW_LOCK29_RESET  _u(0x00000000)
1187 // -----------------------------------------------------------------------------
1188 // Field       : OTP_SW_LOCK29_NSEC
1189 // Description : Non-secure lock status. Writes are OR'd with the current value.
1190 //               0x0 -> read_write
1191 //               0x1 -> read_only
1192 //               0x3 -> inaccessible
1193 #define OTP_SW_LOCK29_NSEC_RESET  "-"
1194 #define OTP_SW_LOCK29_NSEC_BITS   _u(0x0000000c)
1195 #define OTP_SW_LOCK29_NSEC_MSB    _u(3)
1196 #define OTP_SW_LOCK29_NSEC_LSB    _u(2)
1197 #define OTP_SW_LOCK29_NSEC_ACCESS "RW"
1198 #define OTP_SW_LOCK29_NSEC_VALUE_READ_WRITE _u(0x0)
1199 #define OTP_SW_LOCK29_NSEC_VALUE_READ_ONLY _u(0x1)
1200 #define OTP_SW_LOCK29_NSEC_VALUE_INACCESSIBLE _u(0x3)
1201 // -----------------------------------------------------------------------------
1202 // Field       : OTP_SW_LOCK29_SEC
1203 // Description : Secure lock status. Writes are OR'd with the current value.
1204 //               This field is read-only to Non-secure code.
1205 //               0x0 -> read_write
1206 //               0x1 -> read_only
1207 //               0x3 -> inaccessible
1208 #define OTP_SW_LOCK29_SEC_RESET  "-"
1209 #define OTP_SW_LOCK29_SEC_BITS   _u(0x00000003)
1210 #define OTP_SW_LOCK29_SEC_MSB    _u(1)
1211 #define OTP_SW_LOCK29_SEC_LSB    _u(0)
1212 #define OTP_SW_LOCK29_SEC_ACCESS "RW"
1213 #define OTP_SW_LOCK29_SEC_VALUE_READ_WRITE _u(0x0)
1214 #define OTP_SW_LOCK29_SEC_VALUE_READ_ONLY _u(0x1)
1215 #define OTP_SW_LOCK29_SEC_VALUE_INACCESSIBLE _u(0x3)
1216 // =============================================================================
1217 // Register    : OTP_SW_LOCK30
1218 // Description : Software lock register for page 30.
1219 //
1220 //               Locks are initialised from the OTP lock pages at reset. This
1221 //               register can be written to further advance the lock state of
1222 //               each page (until next reset), and read to check the current
1223 //               lock state of a page.
1224 #define OTP_SW_LOCK30_OFFSET _u(0x00000078)
1225 #define OTP_SW_LOCK30_BITS   _u(0x0000000f)
1226 #define OTP_SW_LOCK30_RESET  _u(0x00000000)
1227 // -----------------------------------------------------------------------------
1228 // Field       : OTP_SW_LOCK30_NSEC
1229 // Description : Non-secure lock status. Writes are OR'd with the current value.
1230 //               0x0 -> read_write
1231 //               0x1 -> read_only
1232 //               0x3 -> inaccessible
1233 #define OTP_SW_LOCK30_NSEC_RESET  "-"
1234 #define OTP_SW_LOCK30_NSEC_BITS   _u(0x0000000c)
1235 #define OTP_SW_LOCK30_NSEC_MSB    _u(3)
1236 #define OTP_SW_LOCK30_NSEC_LSB    _u(2)
1237 #define OTP_SW_LOCK30_NSEC_ACCESS "RW"
1238 #define OTP_SW_LOCK30_NSEC_VALUE_READ_WRITE _u(0x0)
1239 #define OTP_SW_LOCK30_NSEC_VALUE_READ_ONLY _u(0x1)
1240 #define OTP_SW_LOCK30_NSEC_VALUE_INACCESSIBLE _u(0x3)
1241 // -----------------------------------------------------------------------------
1242 // Field       : OTP_SW_LOCK30_SEC
1243 // Description : Secure lock status. Writes are OR'd with the current value.
1244 //               This field is read-only to Non-secure code.
1245 //               0x0 -> read_write
1246 //               0x1 -> read_only
1247 //               0x3 -> inaccessible
1248 #define OTP_SW_LOCK30_SEC_RESET  "-"
1249 #define OTP_SW_LOCK30_SEC_BITS   _u(0x00000003)
1250 #define OTP_SW_LOCK30_SEC_MSB    _u(1)
1251 #define OTP_SW_LOCK30_SEC_LSB    _u(0)
1252 #define OTP_SW_LOCK30_SEC_ACCESS "RW"
1253 #define OTP_SW_LOCK30_SEC_VALUE_READ_WRITE _u(0x0)
1254 #define OTP_SW_LOCK30_SEC_VALUE_READ_ONLY _u(0x1)
1255 #define OTP_SW_LOCK30_SEC_VALUE_INACCESSIBLE _u(0x3)
1256 // =============================================================================
1257 // Register    : OTP_SW_LOCK31
1258 // Description : Software lock register for page 31.
1259 //
1260 //               Locks are initialised from the OTP lock pages at reset. This
1261 //               register can be written to further advance the lock state of
1262 //               each page (until next reset), and read to check the current
1263 //               lock state of a page.
1264 #define OTP_SW_LOCK31_OFFSET _u(0x0000007c)
1265 #define OTP_SW_LOCK31_BITS   _u(0x0000000f)
1266 #define OTP_SW_LOCK31_RESET  _u(0x00000000)
1267 // -----------------------------------------------------------------------------
1268 // Field       : OTP_SW_LOCK31_NSEC
1269 // Description : Non-secure lock status. Writes are OR'd with the current value.
1270 //               0x0 -> read_write
1271 //               0x1 -> read_only
1272 //               0x3 -> inaccessible
1273 #define OTP_SW_LOCK31_NSEC_RESET  "-"
1274 #define OTP_SW_LOCK31_NSEC_BITS   _u(0x0000000c)
1275 #define OTP_SW_LOCK31_NSEC_MSB    _u(3)
1276 #define OTP_SW_LOCK31_NSEC_LSB    _u(2)
1277 #define OTP_SW_LOCK31_NSEC_ACCESS "RW"
1278 #define OTP_SW_LOCK31_NSEC_VALUE_READ_WRITE _u(0x0)
1279 #define OTP_SW_LOCK31_NSEC_VALUE_READ_ONLY _u(0x1)
1280 #define OTP_SW_LOCK31_NSEC_VALUE_INACCESSIBLE _u(0x3)
1281 // -----------------------------------------------------------------------------
1282 // Field       : OTP_SW_LOCK31_SEC
1283 // Description : Secure lock status. Writes are OR'd with the current value.
1284 //               This field is read-only to Non-secure code.
1285 //               0x0 -> read_write
1286 //               0x1 -> read_only
1287 //               0x3 -> inaccessible
1288 #define OTP_SW_LOCK31_SEC_RESET  "-"
1289 #define OTP_SW_LOCK31_SEC_BITS   _u(0x00000003)
1290 #define OTP_SW_LOCK31_SEC_MSB    _u(1)
1291 #define OTP_SW_LOCK31_SEC_LSB    _u(0)
1292 #define OTP_SW_LOCK31_SEC_ACCESS "RW"
1293 #define OTP_SW_LOCK31_SEC_VALUE_READ_WRITE _u(0x0)
1294 #define OTP_SW_LOCK31_SEC_VALUE_READ_ONLY _u(0x1)
1295 #define OTP_SW_LOCK31_SEC_VALUE_INACCESSIBLE _u(0x3)
1296 // =============================================================================
1297 // Register    : OTP_SW_LOCK32
1298 // Description : Software lock register for page 32.
1299 //
1300 //               Locks are initialised from the OTP lock pages at reset. This
1301 //               register can be written to further advance the lock state of
1302 //               each page (until next reset), and read to check the current
1303 //               lock state of a page.
1304 #define OTP_SW_LOCK32_OFFSET _u(0x00000080)
1305 #define OTP_SW_LOCK32_BITS   _u(0x0000000f)
1306 #define OTP_SW_LOCK32_RESET  _u(0x00000000)
1307 // -----------------------------------------------------------------------------
1308 // Field       : OTP_SW_LOCK32_NSEC
1309 // Description : Non-secure lock status. Writes are OR'd with the current value.
1310 //               0x0 -> read_write
1311 //               0x1 -> read_only
1312 //               0x3 -> inaccessible
1313 #define OTP_SW_LOCK32_NSEC_RESET  "-"
1314 #define OTP_SW_LOCK32_NSEC_BITS   _u(0x0000000c)
1315 #define OTP_SW_LOCK32_NSEC_MSB    _u(3)
1316 #define OTP_SW_LOCK32_NSEC_LSB    _u(2)
1317 #define OTP_SW_LOCK32_NSEC_ACCESS "RW"
1318 #define OTP_SW_LOCK32_NSEC_VALUE_READ_WRITE _u(0x0)
1319 #define OTP_SW_LOCK32_NSEC_VALUE_READ_ONLY _u(0x1)
1320 #define OTP_SW_LOCK32_NSEC_VALUE_INACCESSIBLE _u(0x3)
1321 // -----------------------------------------------------------------------------
1322 // Field       : OTP_SW_LOCK32_SEC
1323 // Description : Secure lock status. Writes are OR'd with the current value.
1324 //               This field is read-only to Non-secure code.
1325 //               0x0 -> read_write
1326 //               0x1 -> read_only
1327 //               0x3 -> inaccessible
1328 #define OTP_SW_LOCK32_SEC_RESET  "-"
1329 #define OTP_SW_LOCK32_SEC_BITS   _u(0x00000003)
1330 #define OTP_SW_LOCK32_SEC_MSB    _u(1)
1331 #define OTP_SW_LOCK32_SEC_LSB    _u(0)
1332 #define OTP_SW_LOCK32_SEC_ACCESS "RW"
1333 #define OTP_SW_LOCK32_SEC_VALUE_READ_WRITE _u(0x0)
1334 #define OTP_SW_LOCK32_SEC_VALUE_READ_ONLY _u(0x1)
1335 #define OTP_SW_LOCK32_SEC_VALUE_INACCESSIBLE _u(0x3)
1336 // =============================================================================
1337 // Register    : OTP_SW_LOCK33
1338 // Description : Software lock register for page 33.
1339 //
1340 //               Locks are initialised from the OTP lock pages at reset. This
1341 //               register can be written to further advance the lock state of
1342 //               each page (until next reset), and read to check the current
1343 //               lock state of a page.
1344 #define OTP_SW_LOCK33_OFFSET _u(0x00000084)
1345 #define OTP_SW_LOCK33_BITS   _u(0x0000000f)
1346 #define OTP_SW_LOCK33_RESET  _u(0x00000000)
1347 // -----------------------------------------------------------------------------
1348 // Field       : OTP_SW_LOCK33_NSEC
1349 // Description : Non-secure lock status. Writes are OR'd with the current value.
1350 //               0x0 -> read_write
1351 //               0x1 -> read_only
1352 //               0x3 -> inaccessible
1353 #define OTP_SW_LOCK33_NSEC_RESET  "-"
1354 #define OTP_SW_LOCK33_NSEC_BITS   _u(0x0000000c)
1355 #define OTP_SW_LOCK33_NSEC_MSB    _u(3)
1356 #define OTP_SW_LOCK33_NSEC_LSB    _u(2)
1357 #define OTP_SW_LOCK33_NSEC_ACCESS "RW"
1358 #define OTP_SW_LOCK33_NSEC_VALUE_READ_WRITE _u(0x0)
1359 #define OTP_SW_LOCK33_NSEC_VALUE_READ_ONLY _u(0x1)
1360 #define OTP_SW_LOCK33_NSEC_VALUE_INACCESSIBLE _u(0x3)
1361 // -----------------------------------------------------------------------------
1362 // Field       : OTP_SW_LOCK33_SEC
1363 // Description : Secure lock status. Writes are OR'd with the current value.
1364 //               This field is read-only to Non-secure code.
1365 //               0x0 -> read_write
1366 //               0x1 -> read_only
1367 //               0x3 -> inaccessible
1368 #define OTP_SW_LOCK33_SEC_RESET  "-"
1369 #define OTP_SW_LOCK33_SEC_BITS   _u(0x00000003)
1370 #define OTP_SW_LOCK33_SEC_MSB    _u(1)
1371 #define OTP_SW_LOCK33_SEC_LSB    _u(0)
1372 #define OTP_SW_LOCK33_SEC_ACCESS "RW"
1373 #define OTP_SW_LOCK33_SEC_VALUE_READ_WRITE _u(0x0)
1374 #define OTP_SW_LOCK33_SEC_VALUE_READ_ONLY _u(0x1)
1375 #define OTP_SW_LOCK33_SEC_VALUE_INACCESSIBLE _u(0x3)
1376 // =============================================================================
1377 // Register    : OTP_SW_LOCK34
1378 // Description : Software lock register for page 34.
1379 //
1380 //               Locks are initialised from the OTP lock pages at reset. This
1381 //               register can be written to further advance the lock state of
1382 //               each page (until next reset), and read to check the current
1383 //               lock state of a page.
1384 #define OTP_SW_LOCK34_OFFSET _u(0x00000088)
1385 #define OTP_SW_LOCK34_BITS   _u(0x0000000f)
1386 #define OTP_SW_LOCK34_RESET  _u(0x00000000)
1387 // -----------------------------------------------------------------------------
1388 // Field       : OTP_SW_LOCK34_NSEC
1389 // Description : Non-secure lock status. Writes are OR'd with the current value.
1390 //               0x0 -> read_write
1391 //               0x1 -> read_only
1392 //               0x3 -> inaccessible
1393 #define OTP_SW_LOCK34_NSEC_RESET  "-"
1394 #define OTP_SW_LOCK34_NSEC_BITS   _u(0x0000000c)
1395 #define OTP_SW_LOCK34_NSEC_MSB    _u(3)
1396 #define OTP_SW_LOCK34_NSEC_LSB    _u(2)
1397 #define OTP_SW_LOCK34_NSEC_ACCESS "RW"
1398 #define OTP_SW_LOCK34_NSEC_VALUE_READ_WRITE _u(0x0)
1399 #define OTP_SW_LOCK34_NSEC_VALUE_READ_ONLY _u(0x1)
1400 #define OTP_SW_LOCK34_NSEC_VALUE_INACCESSIBLE _u(0x3)
1401 // -----------------------------------------------------------------------------
1402 // Field       : OTP_SW_LOCK34_SEC
1403 // Description : Secure lock status. Writes are OR'd with the current value.
1404 //               This field is read-only to Non-secure code.
1405 //               0x0 -> read_write
1406 //               0x1 -> read_only
1407 //               0x3 -> inaccessible
1408 #define OTP_SW_LOCK34_SEC_RESET  "-"
1409 #define OTP_SW_LOCK34_SEC_BITS   _u(0x00000003)
1410 #define OTP_SW_LOCK34_SEC_MSB    _u(1)
1411 #define OTP_SW_LOCK34_SEC_LSB    _u(0)
1412 #define OTP_SW_LOCK34_SEC_ACCESS "RW"
1413 #define OTP_SW_LOCK34_SEC_VALUE_READ_WRITE _u(0x0)
1414 #define OTP_SW_LOCK34_SEC_VALUE_READ_ONLY _u(0x1)
1415 #define OTP_SW_LOCK34_SEC_VALUE_INACCESSIBLE _u(0x3)
1416 // =============================================================================
1417 // Register    : OTP_SW_LOCK35
1418 // Description : Software lock register for page 35.
1419 //
1420 //               Locks are initialised from the OTP lock pages at reset. This
1421 //               register can be written to further advance the lock state of
1422 //               each page (until next reset), and read to check the current
1423 //               lock state of a page.
1424 #define OTP_SW_LOCK35_OFFSET _u(0x0000008c)
1425 #define OTP_SW_LOCK35_BITS   _u(0x0000000f)
1426 #define OTP_SW_LOCK35_RESET  _u(0x00000000)
1427 // -----------------------------------------------------------------------------
1428 // Field       : OTP_SW_LOCK35_NSEC
1429 // Description : Non-secure lock status. Writes are OR'd with the current value.
1430 //               0x0 -> read_write
1431 //               0x1 -> read_only
1432 //               0x3 -> inaccessible
1433 #define OTP_SW_LOCK35_NSEC_RESET  "-"
1434 #define OTP_SW_LOCK35_NSEC_BITS   _u(0x0000000c)
1435 #define OTP_SW_LOCK35_NSEC_MSB    _u(3)
1436 #define OTP_SW_LOCK35_NSEC_LSB    _u(2)
1437 #define OTP_SW_LOCK35_NSEC_ACCESS "RW"
1438 #define OTP_SW_LOCK35_NSEC_VALUE_READ_WRITE _u(0x0)
1439 #define OTP_SW_LOCK35_NSEC_VALUE_READ_ONLY _u(0x1)
1440 #define OTP_SW_LOCK35_NSEC_VALUE_INACCESSIBLE _u(0x3)
1441 // -----------------------------------------------------------------------------
1442 // Field       : OTP_SW_LOCK35_SEC
1443 // Description : Secure lock status. Writes are OR'd with the current value.
1444 //               This field is read-only to Non-secure code.
1445 //               0x0 -> read_write
1446 //               0x1 -> read_only
1447 //               0x3 -> inaccessible
1448 #define OTP_SW_LOCK35_SEC_RESET  "-"
1449 #define OTP_SW_LOCK35_SEC_BITS   _u(0x00000003)
1450 #define OTP_SW_LOCK35_SEC_MSB    _u(1)
1451 #define OTP_SW_LOCK35_SEC_LSB    _u(0)
1452 #define OTP_SW_LOCK35_SEC_ACCESS "RW"
1453 #define OTP_SW_LOCK35_SEC_VALUE_READ_WRITE _u(0x0)
1454 #define OTP_SW_LOCK35_SEC_VALUE_READ_ONLY _u(0x1)
1455 #define OTP_SW_LOCK35_SEC_VALUE_INACCESSIBLE _u(0x3)
1456 // =============================================================================
1457 // Register    : OTP_SW_LOCK36
1458 // Description : Software lock register for page 36.
1459 //
1460 //               Locks are initialised from the OTP lock pages at reset. This
1461 //               register can be written to further advance the lock state of
1462 //               each page (until next reset), and read to check the current
1463 //               lock state of a page.
1464 #define OTP_SW_LOCK36_OFFSET _u(0x00000090)
1465 #define OTP_SW_LOCK36_BITS   _u(0x0000000f)
1466 #define OTP_SW_LOCK36_RESET  _u(0x00000000)
1467 // -----------------------------------------------------------------------------
1468 // Field       : OTP_SW_LOCK36_NSEC
1469 // Description : Non-secure lock status. Writes are OR'd with the current value.
1470 //               0x0 -> read_write
1471 //               0x1 -> read_only
1472 //               0x3 -> inaccessible
1473 #define OTP_SW_LOCK36_NSEC_RESET  "-"
1474 #define OTP_SW_LOCK36_NSEC_BITS   _u(0x0000000c)
1475 #define OTP_SW_LOCK36_NSEC_MSB    _u(3)
1476 #define OTP_SW_LOCK36_NSEC_LSB    _u(2)
1477 #define OTP_SW_LOCK36_NSEC_ACCESS "RW"
1478 #define OTP_SW_LOCK36_NSEC_VALUE_READ_WRITE _u(0x0)
1479 #define OTP_SW_LOCK36_NSEC_VALUE_READ_ONLY _u(0x1)
1480 #define OTP_SW_LOCK36_NSEC_VALUE_INACCESSIBLE _u(0x3)
1481 // -----------------------------------------------------------------------------
1482 // Field       : OTP_SW_LOCK36_SEC
1483 // Description : Secure lock status. Writes are OR'd with the current value.
1484 //               This field is read-only to Non-secure code.
1485 //               0x0 -> read_write
1486 //               0x1 -> read_only
1487 //               0x3 -> inaccessible
1488 #define OTP_SW_LOCK36_SEC_RESET  "-"
1489 #define OTP_SW_LOCK36_SEC_BITS   _u(0x00000003)
1490 #define OTP_SW_LOCK36_SEC_MSB    _u(1)
1491 #define OTP_SW_LOCK36_SEC_LSB    _u(0)
1492 #define OTP_SW_LOCK36_SEC_ACCESS "RW"
1493 #define OTP_SW_LOCK36_SEC_VALUE_READ_WRITE _u(0x0)
1494 #define OTP_SW_LOCK36_SEC_VALUE_READ_ONLY _u(0x1)
1495 #define OTP_SW_LOCK36_SEC_VALUE_INACCESSIBLE _u(0x3)
1496 // =============================================================================
1497 // Register    : OTP_SW_LOCK37
1498 // Description : Software lock register for page 37.
1499 //
1500 //               Locks are initialised from the OTP lock pages at reset. This
1501 //               register can be written to further advance the lock state of
1502 //               each page (until next reset), and read to check the current
1503 //               lock state of a page.
1504 #define OTP_SW_LOCK37_OFFSET _u(0x00000094)
1505 #define OTP_SW_LOCK37_BITS   _u(0x0000000f)
1506 #define OTP_SW_LOCK37_RESET  _u(0x00000000)
1507 // -----------------------------------------------------------------------------
1508 // Field       : OTP_SW_LOCK37_NSEC
1509 // Description : Non-secure lock status. Writes are OR'd with the current value.
1510 //               0x0 -> read_write
1511 //               0x1 -> read_only
1512 //               0x3 -> inaccessible
1513 #define OTP_SW_LOCK37_NSEC_RESET  "-"
1514 #define OTP_SW_LOCK37_NSEC_BITS   _u(0x0000000c)
1515 #define OTP_SW_LOCK37_NSEC_MSB    _u(3)
1516 #define OTP_SW_LOCK37_NSEC_LSB    _u(2)
1517 #define OTP_SW_LOCK37_NSEC_ACCESS "RW"
1518 #define OTP_SW_LOCK37_NSEC_VALUE_READ_WRITE _u(0x0)
1519 #define OTP_SW_LOCK37_NSEC_VALUE_READ_ONLY _u(0x1)
1520 #define OTP_SW_LOCK37_NSEC_VALUE_INACCESSIBLE _u(0x3)
1521 // -----------------------------------------------------------------------------
1522 // Field       : OTP_SW_LOCK37_SEC
1523 // Description : Secure lock status. Writes are OR'd with the current value.
1524 //               This field is read-only to Non-secure code.
1525 //               0x0 -> read_write
1526 //               0x1 -> read_only
1527 //               0x3 -> inaccessible
1528 #define OTP_SW_LOCK37_SEC_RESET  "-"
1529 #define OTP_SW_LOCK37_SEC_BITS   _u(0x00000003)
1530 #define OTP_SW_LOCK37_SEC_MSB    _u(1)
1531 #define OTP_SW_LOCK37_SEC_LSB    _u(0)
1532 #define OTP_SW_LOCK37_SEC_ACCESS "RW"
1533 #define OTP_SW_LOCK37_SEC_VALUE_READ_WRITE _u(0x0)
1534 #define OTP_SW_LOCK37_SEC_VALUE_READ_ONLY _u(0x1)
1535 #define OTP_SW_LOCK37_SEC_VALUE_INACCESSIBLE _u(0x3)
1536 // =============================================================================
1537 // Register    : OTP_SW_LOCK38
1538 // Description : Software lock register for page 38.
1539 //
1540 //               Locks are initialised from the OTP lock pages at reset. This
1541 //               register can be written to further advance the lock state of
1542 //               each page (until next reset), and read to check the current
1543 //               lock state of a page.
1544 #define OTP_SW_LOCK38_OFFSET _u(0x00000098)
1545 #define OTP_SW_LOCK38_BITS   _u(0x0000000f)
1546 #define OTP_SW_LOCK38_RESET  _u(0x00000000)
1547 // -----------------------------------------------------------------------------
1548 // Field       : OTP_SW_LOCK38_NSEC
1549 // Description : Non-secure lock status. Writes are OR'd with the current value.
1550 //               0x0 -> read_write
1551 //               0x1 -> read_only
1552 //               0x3 -> inaccessible
1553 #define OTP_SW_LOCK38_NSEC_RESET  "-"
1554 #define OTP_SW_LOCK38_NSEC_BITS   _u(0x0000000c)
1555 #define OTP_SW_LOCK38_NSEC_MSB    _u(3)
1556 #define OTP_SW_LOCK38_NSEC_LSB    _u(2)
1557 #define OTP_SW_LOCK38_NSEC_ACCESS "RW"
1558 #define OTP_SW_LOCK38_NSEC_VALUE_READ_WRITE _u(0x0)
1559 #define OTP_SW_LOCK38_NSEC_VALUE_READ_ONLY _u(0x1)
1560 #define OTP_SW_LOCK38_NSEC_VALUE_INACCESSIBLE _u(0x3)
1561 // -----------------------------------------------------------------------------
1562 // Field       : OTP_SW_LOCK38_SEC
1563 // Description : Secure lock status. Writes are OR'd with the current value.
1564 //               This field is read-only to Non-secure code.
1565 //               0x0 -> read_write
1566 //               0x1 -> read_only
1567 //               0x3 -> inaccessible
1568 #define OTP_SW_LOCK38_SEC_RESET  "-"
1569 #define OTP_SW_LOCK38_SEC_BITS   _u(0x00000003)
1570 #define OTP_SW_LOCK38_SEC_MSB    _u(1)
1571 #define OTP_SW_LOCK38_SEC_LSB    _u(0)
1572 #define OTP_SW_LOCK38_SEC_ACCESS "RW"
1573 #define OTP_SW_LOCK38_SEC_VALUE_READ_WRITE _u(0x0)
1574 #define OTP_SW_LOCK38_SEC_VALUE_READ_ONLY _u(0x1)
1575 #define OTP_SW_LOCK38_SEC_VALUE_INACCESSIBLE _u(0x3)
1576 // =============================================================================
1577 // Register    : OTP_SW_LOCK39
1578 // Description : Software lock register for page 39.
1579 //
1580 //               Locks are initialised from the OTP lock pages at reset. This
1581 //               register can be written to further advance the lock state of
1582 //               each page (until next reset), and read to check the current
1583 //               lock state of a page.
1584 #define OTP_SW_LOCK39_OFFSET _u(0x0000009c)
1585 #define OTP_SW_LOCK39_BITS   _u(0x0000000f)
1586 #define OTP_SW_LOCK39_RESET  _u(0x00000000)
1587 // -----------------------------------------------------------------------------
1588 // Field       : OTP_SW_LOCK39_NSEC
1589 // Description : Non-secure lock status. Writes are OR'd with the current value.
1590 //               0x0 -> read_write
1591 //               0x1 -> read_only
1592 //               0x3 -> inaccessible
1593 #define OTP_SW_LOCK39_NSEC_RESET  "-"
1594 #define OTP_SW_LOCK39_NSEC_BITS   _u(0x0000000c)
1595 #define OTP_SW_LOCK39_NSEC_MSB    _u(3)
1596 #define OTP_SW_LOCK39_NSEC_LSB    _u(2)
1597 #define OTP_SW_LOCK39_NSEC_ACCESS "RW"
1598 #define OTP_SW_LOCK39_NSEC_VALUE_READ_WRITE _u(0x0)
1599 #define OTP_SW_LOCK39_NSEC_VALUE_READ_ONLY _u(0x1)
1600 #define OTP_SW_LOCK39_NSEC_VALUE_INACCESSIBLE _u(0x3)
1601 // -----------------------------------------------------------------------------
1602 // Field       : OTP_SW_LOCK39_SEC
1603 // Description : Secure lock status. Writes are OR'd with the current value.
1604 //               This field is read-only to Non-secure code.
1605 //               0x0 -> read_write
1606 //               0x1 -> read_only
1607 //               0x3 -> inaccessible
1608 #define OTP_SW_LOCK39_SEC_RESET  "-"
1609 #define OTP_SW_LOCK39_SEC_BITS   _u(0x00000003)
1610 #define OTP_SW_LOCK39_SEC_MSB    _u(1)
1611 #define OTP_SW_LOCK39_SEC_LSB    _u(0)
1612 #define OTP_SW_LOCK39_SEC_ACCESS "RW"
1613 #define OTP_SW_LOCK39_SEC_VALUE_READ_WRITE _u(0x0)
1614 #define OTP_SW_LOCK39_SEC_VALUE_READ_ONLY _u(0x1)
1615 #define OTP_SW_LOCK39_SEC_VALUE_INACCESSIBLE _u(0x3)
1616 // =============================================================================
1617 // Register    : OTP_SW_LOCK40
1618 // Description : Software lock register for page 40.
1619 //
1620 //               Locks are initialised from the OTP lock pages at reset. This
1621 //               register can be written to further advance the lock state of
1622 //               each page (until next reset), and read to check the current
1623 //               lock state of a page.
1624 #define OTP_SW_LOCK40_OFFSET _u(0x000000a0)
1625 #define OTP_SW_LOCK40_BITS   _u(0x0000000f)
1626 #define OTP_SW_LOCK40_RESET  _u(0x00000000)
1627 // -----------------------------------------------------------------------------
1628 // Field       : OTP_SW_LOCK40_NSEC
1629 // Description : Non-secure lock status. Writes are OR'd with the current value.
1630 //               0x0 -> read_write
1631 //               0x1 -> read_only
1632 //               0x3 -> inaccessible
1633 #define OTP_SW_LOCK40_NSEC_RESET  "-"
1634 #define OTP_SW_LOCK40_NSEC_BITS   _u(0x0000000c)
1635 #define OTP_SW_LOCK40_NSEC_MSB    _u(3)
1636 #define OTP_SW_LOCK40_NSEC_LSB    _u(2)
1637 #define OTP_SW_LOCK40_NSEC_ACCESS "RW"
1638 #define OTP_SW_LOCK40_NSEC_VALUE_READ_WRITE _u(0x0)
1639 #define OTP_SW_LOCK40_NSEC_VALUE_READ_ONLY _u(0x1)
1640 #define OTP_SW_LOCK40_NSEC_VALUE_INACCESSIBLE _u(0x3)
1641 // -----------------------------------------------------------------------------
1642 // Field       : OTP_SW_LOCK40_SEC
1643 // Description : Secure lock status. Writes are OR'd with the current value.
1644 //               This field is read-only to Non-secure code.
1645 //               0x0 -> read_write
1646 //               0x1 -> read_only
1647 //               0x3 -> inaccessible
1648 #define OTP_SW_LOCK40_SEC_RESET  "-"
1649 #define OTP_SW_LOCK40_SEC_BITS   _u(0x00000003)
1650 #define OTP_SW_LOCK40_SEC_MSB    _u(1)
1651 #define OTP_SW_LOCK40_SEC_LSB    _u(0)
1652 #define OTP_SW_LOCK40_SEC_ACCESS "RW"
1653 #define OTP_SW_LOCK40_SEC_VALUE_READ_WRITE _u(0x0)
1654 #define OTP_SW_LOCK40_SEC_VALUE_READ_ONLY _u(0x1)
1655 #define OTP_SW_LOCK40_SEC_VALUE_INACCESSIBLE _u(0x3)
1656 // =============================================================================
1657 // Register    : OTP_SW_LOCK41
1658 // Description : Software lock register for page 41.
1659 //
1660 //               Locks are initialised from the OTP lock pages at reset. This
1661 //               register can be written to further advance the lock state of
1662 //               each page (until next reset), and read to check the current
1663 //               lock state of a page.
1664 #define OTP_SW_LOCK41_OFFSET _u(0x000000a4)
1665 #define OTP_SW_LOCK41_BITS   _u(0x0000000f)
1666 #define OTP_SW_LOCK41_RESET  _u(0x00000000)
1667 // -----------------------------------------------------------------------------
1668 // Field       : OTP_SW_LOCK41_NSEC
1669 // Description : Non-secure lock status. Writes are OR'd with the current value.
1670 //               0x0 -> read_write
1671 //               0x1 -> read_only
1672 //               0x3 -> inaccessible
1673 #define OTP_SW_LOCK41_NSEC_RESET  "-"
1674 #define OTP_SW_LOCK41_NSEC_BITS   _u(0x0000000c)
1675 #define OTP_SW_LOCK41_NSEC_MSB    _u(3)
1676 #define OTP_SW_LOCK41_NSEC_LSB    _u(2)
1677 #define OTP_SW_LOCK41_NSEC_ACCESS "RW"
1678 #define OTP_SW_LOCK41_NSEC_VALUE_READ_WRITE _u(0x0)
1679 #define OTP_SW_LOCK41_NSEC_VALUE_READ_ONLY _u(0x1)
1680 #define OTP_SW_LOCK41_NSEC_VALUE_INACCESSIBLE _u(0x3)
1681 // -----------------------------------------------------------------------------
1682 // Field       : OTP_SW_LOCK41_SEC
1683 // Description : Secure lock status. Writes are OR'd with the current value.
1684 //               This field is read-only to Non-secure code.
1685 //               0x0 -> read_write
1686 //               0x1 -> read_only
1687 //               0x3 -> inaccessible
1688 #define OTP_SW_LOCK41_SEC_RESET  "-"
1689 #define OTP_SW_LOCK41_SEC_BITS   _u(0x00000003)
1690 #define OTP_SW_LOCK41_SEC_MSB    _u(1)
1691 #define OTP_SW_LOCK41_SEC_LSB    _u(0)
1692 #define OTP_SW_LOCK41_SEC_ACCESS "RW"
1693 #define OTP_SW_LOCK41_SEC_VALUE_READ_WRITE _u(0x0)
1694 #define OTP_SW_LOCK41_SEC_VALUE_READ_ONLY _u(0x1)
1695 #define OTP_SW_LOCK41_SEC_VALUE_INACCESSIBLE _u(0x3)
1696 // =============================================================================
1697 // Register    : OTP_SW_LOCK42
1698 // Description : Software lock register for page 42.
1699 //
1700 //               Locks are initialised from the OTP lock pages at reset. This
1701 //               register can be written to further advance the lock state of
1702 //               each page (until next reset), and read to check the current
1703 //               lock state of a page.
1704 #define OTP_SW_LOCK42_OFFSET _u(0x000000a8)
1705 #define OTP_SW_LOCK42_BITS   _u(0x0000000f)
1706 #define OTP_SW_LOCK42_RESET  _u(0x00000000)
1707 // -----------------------------------------------------------------------------
1708 // Field       : OTP_SW_LOCK42_NSEC
1709 // Description : Non-secure lock status. Writes are OR'd with the current value.
1710 //               0x0 -> read_write
1711 //               0x1 -> read_only
1712 //               0x3 -> inaccessible
1713 #define OTP_SW_LOCK42_NSEC_RESET  "-"
1714 #define OTP_SW_LOCK42_NSEC_BITS   _u(0x0000000c)
1715 #define OTP_SW_LOCK42_NSEC_MSB    _u(3)
1716 #define OTP_SW_LOCK42_NSEC_LSB    _u(2)
1717 #define OTP_SW_LOCK42_NSEC_ACCESS "RW"
1718 #define OTP_SW_LOCK42_NSEC_VALUE_READ_WRITE _u(0x0)
1719 #define OTP_SW_LOCK42_NSEC_VALUE_READ_ONLY _u(0x1)
1720 #define OTP_SW_LOCK42_NSEC_VALUE_INACCESSIBLE _u(0x3)
1721 // -----------------------------------------------------------------------------
1722 // Field       : OTP_SW_LOCK42_SEC
1723 // Description : Secure lock status. Writes are OR'd with the current value.
1724 //               This field is read-only to Non-secure code.
1725 //               0x0 -> read_write
1726 //               0x1 -> read_only
1727 //               0x3 -> inaccessible
1728 #define OTP_SW_LOCK42_SEC_RESET  "-"
1729 #define OTP_SW_LOCK42_SEC_BITS   _u(0x00000003)
1730 #define OTP_SW_LOCK42_SEC_MSB    _u(1)
1731 #define OTP_SW_LOCK42_SEC_LSB    _u(0)
1732 #define OTP_SW_LOCK42_SEC_ACCESS "RW"
1733 #define OTP_SW_LOCK42_SEC_VALUE_READ_WRITE _u(0x0)
1734 #define OTP_SW_LOCK42_SEC_VALUE_READ_ONLY _u(0x1)
1735 #define OTP_SW_LOCK42_SEC_VALUE_INACCESSIBLE _u(0x3)
1736 // =============================================================================
1737 // Register    : OTP_SW_LOCK43
1738 // Description : Software lock register for page 43.
1739 //
1740 //               Locks are initialised from the OTP lock pages at reset. This
1741 //               register can be written to further advance the lock state of
1742 //               each page (until next reset), and read to check the current
1743 //               lock state of a page.
1744 #define OTP_SW_LOCK43_OFFSET _u(0x000000ac)
1745 #define OTP_SW_LOCK43_BITS   _u(0x0000000f)
1746 #define OTP_SW_LOCK43_RESET  _u(0x00000000)
1747 // -----------------------------------------------------------------------------
1748 // Field       : OTP_SW_LOCK43_NSEC
1749 // Description : Non-secure lock status. Writes are OR'd with the current value.
1750 //               0x0 -> read_write
1751 //               0x1 -> read_only
1752 //               0x3 -> inaccessible
1753 #define OTP_SW_LOCK43_NSEC_RESET  "-"
1754 #define OTP_SW_LOCK43_NSEC_BITS   _u(0x0000000c)
1755 #define OTP_SW_LOCK43_NSEC_MSB    _u(3)
1756 #define OTP_SW_LOCK43_NSEC_LSB    _u(2)
1757 #define OTP_SW_LOCK43_NSEC_ACCESS "RW"
1758 #define OTP_SW_LOCK43_NSEC_VALUE_READ_WRITE _u(0x0)
1759 #define OTP_SW_LOCK43_NSEC_VALUE_READ_ONLY _u(0x1)
1760 #define OTP_SW_LOCK43_NSEC_VALUE_INACCESSIBLE _u(0x3)
1761 // -----------------------------------------------------------------------------
1762 // Field       : OTP_SW_LOCK43_SEC
1763 // Description : Secure lock status. Writes are OR'd with the current value.
1764 //               This field is read-only to Non-secure code.
1765 //               0x0 -> read_write
1766 //               0x1 -> read_only
1767 //               0x3 -> inaccessible
1768 #define OTP_SW_LOCK43_SEC_RESET  "-"
1769 #define OTP_SW_LOCK43_SEC_BITS   _u(0x00000003)
1770 #define OTP_SW_LOCK43_SEC_MSB    _u(1)
1771 #define OTP_SW_LOCK43_SEC_LSB    _u(0)
1772 #define OTP_SW_LOCK43_SEC_ACCESS "RW"
1773 #define OTP_SW_LOCK43_SEC_VALUE_READ_WRITE _u(0x0)
1774 #define OTP_SW_LOCK43_SEC_VALUE_READ_ONLY _u(0x1)
1775 #define OTP_SW_LOCK43_SEC_VALUE_INACCESSIBLE _u(0x3)
1776 // =============================================================================
1777 // Register    : OTP_SW_LOCK44
1778 // Description : Software lock register for page 44.
1779 //
1780 //               Locks are initialised from the OTP lock pages at reset. This
1781 //               register can be written to further advance the lock state of
1782 //               each page (until next reset), and read to check the current
1783 //               lock state of a page.
1784 #define OTP_SW_LOCK44_OFFSET _u(0x000000b0)
1785 #define OTP_SW_LOCK44_BITS   _u(0x0000000f)
1786 #define OTP_SW_LOCK44_RESET  _u(0x00000000)
1787 // -----------------------------------------------------------------------------
1788 // Field       : OTP_SW_LOCK44_NSEC
1789 // Description : Non-secure lock status. Writes are OR'd with the current value.
1790 //               0x0 -> read_write
1791 //               0x1 -> read_only
1792 //               0x3 -> inaccessible
1793 #define OTP_SW_LOCK44_NSEC_RESET  "-"
1794 #define OTP_SW_LOCK44_NSEC_BITS   _u(0x0000000c)
1795 #define OTP_SW_LOCK44_NSEC_MSB    _u(3)
1796 #define OTP_SW_LOCK44_NSEC_LSB    _u(2)
1797 #define OTP_SW_LOCK44_NSEC_ACCESS "RW"
1798 #define OTP_SW_LOCK44_NSEC_VALUE_READ_WRITE _u(0x0)
1799 #define OTP_SW_LOCK44_NSEC_VALUE_READ_ONLY _u(0x1)
1800 #define OTP_SW_LOCK44_NSEC_VALUE_INACCESSIBLE _u(0x3)
1801 // -----------------------------------------------------------------------------
1802 // Field       : OTP_SW_LOCK44_SEC
1803 // Description : Secure lock status. Writes are OR'd with the current value.
1804 //               This field is read-only to Non-secure code.
1805 //               0x0 -> read_write
1806 //               0x1 -> read_only
1807 //               0x3 -> inaccessible
1808 #define OTP_SW_LOCK44_SEC_RESET  "-"
1809 #define OTP_SW_LOCK44_SEC_BITS   _u(0x00000003)
1810 #define OTP_SW_LOCK44_SEC_MSB    _u(1)
1811 #define OTP_SW_LOCK44_SEC_LSB    _u(0)
1812 #define OTP_SW_LOCK44_SEC_ACCESS "RW"
1813 #define OTP_SW_LOCK44_SEC_VALUE_READ_WRITE _u(0x0)
1814 #define OTP_SW_LOCK44_SEC_VALUE_READ_ONLY _u(0x1)
1815 #define OTP_SW_LOCK44_SEC_VALUE_INACCESSIBLE _u(0x3)
1816 // =============================================================================
1817 // Register    : OTP_SW_LOCK45
1818 // Description : Software lock register for page 45.
1819 //
1820 //               Locks are initialised from the OTP lock pages at reset. This
1821 //               register can be written to further advance the lock state of
1822 //               each page (until next reset), and read to check the current
1823 //               lock state of a page.
1824 #define OTP_SW_LOCK45_OFFSET _u(0x000000b4)
1825 #define OTP_SW_LOCK45_BITS   _u(0x0000000f)
1826 #define OTP_SW_LOCK45_RESET  _u(0x00000000)
1827 // -----------------------------------------------------------------------------
1828 // Field       : OTP_SW_LOCK45_NSEC
1829 // Description : Non-secure lock status. Writes are OR'd with the current value.
1830 //               0x0 -> read_write
1831 //               0x1 -> read_only
1832 //               0x3 -> inaccessible
1833 #define OTP_SW_LOCK45_NSEC_RESET  "-"
1834 #define OTP_SW_LOCK45_NSEC_BITS   _u(0x0000000c)
1835 #define OTP_SW_LOCK45_NSEC_MSB    _u(3)
1836 #define OTP_SW_LOCK45_NSEC_LSB    _u(2)
1837 #define OTP_SW_LOCK45_NSEC_ACCESS "RW"
1838 #define OTP_SW_LOCK45_NSEC_VALUE_READ_WRITE _u(0x0)
1839 #define OTP_SW_LOCK45_NSEC_VALUE_READ_ONLY _u(0x1)
1840 #define OTP_SW_LOCK45_NSEC_VALUE_INACCESSIBLE _u(0x3)
1841 // -----------------------------------------------------------------------------
1842 // Field       : OTP_SW_LOCK45_SEC
1843 // Description : Secure lock status. Writes are OR'd with the current value.
1844 //               This field is read-only to Non-secure code.
1845 //               0x0 -> read_write
1846 //               0x1 -> read_only
1847 //               0x3 -> inaccessible
1848 #define OTP_SW_LOCK45_SEC_RESET  "-"
1849 #define OTP_SW_LOCK45_SEC_BITS   _u(0x00000003)
1850 #define OTP_SW_LOCK45_SEC_MSB    _u(1)
1851 #define OTP_SW_LOCK45_SEC_LSB    _u(0)
1852 #define OTP_SW_LOCK45_SEC_ACCESS "RW"
1853 #define OTP_SW_LOCK45_SEC_VALUE_READ_WRITE _u(0x0)
1854 #define OTP_SW_LOCK45_SEC_VALUE_READ_ONLY _u(0x1)
1855 #define OTP_SW_LOCK45_SEC_VALUE_INACCESSIBLE _u(0x3)
1856 // =============================================================================
1857 // Register    : OTP_SW_LOCK46
1858 // Description : Software lock register for page 46.
1859 //
1860 //               Locks are initialised from the OTP lock pages at reset. This
1861 //               register can be written to further advance the lock state of
1862 //               each page (until next reset), and read to check the current
1863 //               lock state of a page.
1864 #define OTP_SW_LOCK46_OFFSET _u(0x000000b8)
1865 #define OTP_SW_LOCK46_BITS   _u(0x0000000f)
1866 #define OTP_SW_LOCK46_RESET  _u(0x00000000)
1867 // -----------------------------------------------------------------------------
1868 // Field       : OTP_SW_LOCK46_NSEC
1869 // Description : Non-secure lock status. Writes are OR'd with the current value.
1870 //               0x0 -> read_write
1871 //               0x1 -> read_only
1872 //               0x3 -> inaccessible
1873 #define OTP_SW_LOCK46_NSEC_RESET  "-"
1874 #define OTP_SW_LOCK46_NSEC_BITS   _u(0x0000000c)
1875 #define OTP_SW_LOCK46_NSEC_MSB    _u(3)
1876 #define OTP_SW_LOCK46_NSEC_LSB    _u(2)
1877 #define OTP_SW_LOCK46_NSEC_ACCESS "RW"
1878 #define OTP_SW_LOCK46_NSEC_VALUE_READ_WRITE _u(0x0)
1879 #define OTP_SW_LOCK46_NSEC_VALUE_READ_ONLY _u(0x1)
1880 #define OTP_SW_LOCK46_NSEC_VALUE_INACCESSIBLE _u(0x3)
1881 // -----------------------------------------------------------------------------
1882 // Field       : OTP_SW_LOCK46_SEC
1883 // Description : Secure lock status. Writes are OR'd with the current value.
1884 //               This field is read-only to Non-secure code.
1885 //               0x0 -> read_write
1886 //               0x1 -> read_only
1887 //               0x3 -> inaccessible
1888 #define OTP_SW_LOCK46_SEC_RESET  "-"
1889 #define OTP_SW_LOCK46_SEC_BITS   _u(0x00000003)
1890 #define OTP_SW_LOCK46_SEC_MSB    _u(1)
1891 #define OTP_SW_LOCK46_SEC_LSB    _u(0)
1892 #define OTP_SW_LOCK46_SEC_ACCESS "RW"
1893 #define OTP_SW_LOCK46_SEC_VALUE_READ_WRITE _u(0x0)
1894 #define OTP_SW_LOCK46_SEC_VALUE_READ_ONLY _u(0x1)
1895 #define OTP_SW_LOCK46_SEC_VALUE_INACCESSIBLE _u(0x3)
1896 // =============================================================================
1897 // Register    : OTP_SW_LOCK47
1898 // Description : Software lock register for page 47.
1899 //
1900 //               Locks are initialised from the OTP lock pages at reset. This
1901 //               register can be written to further advance the lock state of
1902 //               each page (until next reset), and read to check the current
1903 //               lock state of a page.
1904 #define OTP_SW_LOCK47_OFFSET _u(0x000000bc)
1905 #define OTP_SW_LOCK47_BITS   _u(0x0000000f)
1906 #define OTP_SW_LOCK47_RESET  _u(0x00000000)
1907 // -----------------------------------------------------------------------------
1908 // Field       : OTP_SW_LOCK47_NSEC
1909 // Description : Non-secure lock status. Writes are OR'd with the current value.
1910 //               0x0 -> read_write
1911 //               0x1 -> read_only
1912 //               0x3 -> inaccessible
1913 #define OTP_SW_LOCK47_NSEC_RESET  "-"
1914 #define OTP_SW_LOCK47_NSEC_BITS   _u(0x0000000c)
1915 #define OTP_SW_LOCK47_NSEC_MSB    _u(3)
1916 #define OTP_SW_LOCK47_NSEC_LSB    _u(2)
1917 #define OTP_SW_LOCK47_NSEC_ACCESS "RW"
1918 #define OTP_SW_LOCK47_NSEC_VALUE_READ_WRITE _u(0x0)
1919 #define OTP_SW_LOCK47_NSEC_VALUE_READ_ONLY _u(0x1)
1920 #define OTP_SW_LOCK47_NSEC_VALUE_INACCESSIBLE _u(0x3)
1921 // -----------------------------------------------------------------------------
1922 // Field       : OTP_SW_LOCK47_SEC
1923 // Description : Secure lock status. Writes are OR'd with the current value.
1924 //               This field is read-only to Non-secure code.
1925 //               0x0 -> read_write
1926 //               0x1 -> read_only
1927 //               0x3 -> inaccessible
1928 #define OTP_SW_LOCK47_SEC_RESET  "-"
1929 #define OTP_SW_LOCK47_SEC_BITS   _u(0x00000003)
1930 #define OTP_SW_LOCK47_SEC_MSB    _u(1)
1931 #define OTP_SW_LOCK47_SEC_LSB    _u(0)
1932 #define OTP_SW_LOCK47_SEC_ACCESS "RW"
1933 #define OTP_SW_LOCK47_SEC_VALUE_READ_WRITE _u(0x0)
1934 #define OTP_SW_LOCK47_SEC_VALUE_READ_ONLY _u(0x1)
1935 #define OTP_SW_LOCK47_SEC_VALUE_INACCESSIBLE _u(0x3)
1936 // =============================================================================
1937 // Register    : OTP_SW_LOCK48
1938 // Description : Software lock register for page 48.
1939 //
1940 //               Locks are initialised from the OTP lock pages at reset. This
1941 //               register can be written to further advance the lock state of
1942 //               each page (until next reset), and read to check the current
1943 //               lock state of a page.
1944 #define OTP_SW_LOCK48_OFFSET _u(0x000000c0)
1945 #define OTP_SW_LOCK48_BITS   _u(0x0000000f)
1946 #define OTP_SW_LOCK48_RESET  _u(0x00000000)
1947 // -----------------------------------------------------------------------------
1948 // Field       : OTP_SW_LOCK48_NSEC
1949 // Description : Non-secure lock status. Writes are OR'd with the current value.
1950 //               0x0 -> read_write
1951 //               0x1 -> read_only
1952 //               0x3 -> inaccessible
1953 #define OTP_SW_LOCK48_NSEC_RESET  "-"
1954 #define OTP_SW_LOCK48_NSEC_BITS   _u(0x0000000c)
1955 #define OTP_SW_LOCK48_NSEC_MSB    _u(3)
1956 #define OTP_SW_LOCK48_NSEC_LSB    _u(2)
1957 #define OTP_SW_LOCK48_NSEC_ACCESS "RW"
1958 #define OTP_SW_LOCK48_NSEC_VALUE_READ_WRITE _u(0x0)
1959 #define OTP_SW_LOCK48_NSEC_VALUE_READ_ONLY _u(0x1)
1960 #define OTP_SW_LOCK48_NSEC_VALUE_INACCESSIBLE _u(0x3)
1961 // -----------------------------------------------------------------------------
1962 // Field       : OTP_SW_LOCK48_SEC
1963 // Description : Secure lock status. Writes are OR'd with the current value.
1964 //               This field is read-only to Non-secure code.
1965 //               0x0 -> read_write
1966 //               0x1 -> read_only
1967 //               0x3 -> inaccessible
1968 #define OTP_SW_LOCK48_SEC_RESET  "-"
1969 #define OTP_SW_LOCK48_SEC_BITS   _u(0x00000003)
1970 #define OTP_SW_LOCK48_SEC_MSB    _u(1)
1971 #define OTP_SW_LOCK48_SEC_LSB    _u(0)
1972 #define OTP_SW_LOCK48_SEC_ACCESS "RW"
1973 #define OTP_SW_LOCK48_SEC_VALUE_READ_WRITE _u(0x0)
1974 #define OTP_SW_LOCK48_SEC_VALUE_READ_ONLY _u(0x1)
1975 #define OTP_SW_LOCK48_SEC_VALUE_INACCESSIBLE _u(0x3)
1976 // =============================================================================
1977 // Register    : OTP_SW_LOCK49
1978 // Description : Software lock register for page 49.
1979 //
1980 //               Locks are initialised from the OTP lock pages at reset. This
1981 //               register can be written to further advance the lock state of
1982 //               each page (until next reset), and read to check the current
1983 //               lock state of a page.
1984 #define OTP_SW_LOCK49_OFFSET _u(0x000000c4)
1985 #define OTP_SW_LOCK49_BITS   _u(0x0000000f)
1986 #define OTP_SW_LOCK49_RESET  _u(0x00000000)
1987 // -----------------------------------------------------------------------------
1988 // Field       : OTP_SW_LOCK49_NSEC
1989 // Description : Non-secure lock status. Writes are OR'd with the current value.
1990 //               0x0 -> read_write
1991 //               0x1 -> read_only
1992 //               0x3 -> inaccessible
1993 #define OTP_SW_LOCK49_NSEC_RESET  "-"
1994 #define OTP_SW_LOCK49_NSEC_BITS   _u(0x0000000c)
1995 #define OTP_SW_LOCK49_NSEC_MSB    _u(3)
1996 #define OTP_SW_LOCK49_NSEC_LSB    _u(2)
1997 #define OTP_SW_LOCK49_NSEC_ACCESS "RW"
1998 #define OTP_SW_LOCK49_NSEC_VALUE_READ_WRITE _u(0x0)
1999 #define OTP_SW_LOCK49_NSEC_VALUE_READ_ONLY _u(0x1)
2000 #define OTP_SW_LOCK49_NSEC_VALUE_INACCESSIBLE _u(0x3)
2001 // -----------------------------------------------------------------------------
2002 // Field       : OTP_SW_LOCK49_SEC
2003 // Description : Secure lock status. Writes are OR'd with the current value.
2004 //               This field is read-only to Non-secure code.
2005 //               0x0 -> read_write
2006 //               0x1 -> read_only
2007 //               0x3 -> inaccessible
2008 #define OTP_SW_LOCK49_SEC_RESET  "-"
2009 #define OTP_SW_LOCK49_SEC_BITS   _u(0x00000003)
2010 #define OTP_SW_LOCK49_SEC_MSB    _u(1)
2011 #define OTP_SW_LOCK49_SEC_LSB    _u(0)
2012 #define OTP_SW_LOCK49_SEC_ACCESS "RW"
2013 #define OTP_SW_LOCK49_SEC_VALUE_READ_WRITE _u(0x0)
2014 #define OTP_SW_LOCK49_SEC_VALUE_READ_ONLY _u(0x1)
2015 #define OTP_SW_LOCK49_SEC_VALUE_INACCESSIBLE _u(0x3)
2016 // =============================================================================
2017 // Register    : OTP_SW_LOCK50
2018 // Description : Software lock register for page 50.
2019 //
2020 //               Locks are initialised from the OTP lock pages at reset. This
2021 //               register can be written to further advance the lock state of
2022 //               each page (until next reset), and read to check the current
2023 //               lock state of a page.
2024 #define OTP_SW_LOCK50_OFFSET _u(0x000000c8)
2025 #define OTP_SW_LOCK50_BITS   _u(0x0000000f)
2026 #define OTP_SW_LOCK50_RESET  _u(0x00000000)
2027 // -----------------------------------------------------------------------------
2028 // Field       : OTP_SW_LOCK50_NSEC
2029 // Description : Non-secure lock status. Writes are OR'd with the current value.
2030 //               0x0 -> read_write
2031 //               0x1 -> read_only
2032 //               0x3 -> inaccessible
2033 #define OTP_SW_LOCK50_NSEC_RESET  "-"
2034 #define OTP_SW_LOCK50_NSEC_BITS   _u(0x0000000c)
2035 #define OTP_SW_LOCK50_NSEC_MSB    _u(3)
2036 #define OTP_SW_LOCK50_NSEC_LSB    _u(2)
2037 #define OTP_SW_LOCK50_NSEC_ACCESS "RW"
2038 #define OTP_SW_LOCK50_NSEC_VALUE_READ_WRITE _u(0x0)
2039 #define OTP_SW_LOCK50_NSEC_VALUE_READ_ONLY _u(0x1)
2040 #define OTP_SW_LOCK50_NSEC_VALUE_INACCESSIBLE _u(0x3)
2041 // -----------------------------------------------------------------------------
2042 // Field       : OTP_SW_LOCK50_SEC
2043 // Description : Secure lock status. Writes are OR'd with the current value.
2044 //               This field is read-only to Non-secure code.
2045 //               0x0 -> read_write
2046 //               0x1 -> read_only
2047 //               0x3 -> inaccessible
2048 #define OTP_SW_LOCK50_SEC_RESET  "-"
2049 #define OTP_SW_LOCK50_SEC_BITS   _u(0x00000003)
2050 #define OTP_SW_LOCK50_SEC_MSB    _u(1)
2051 #define OTP_SW_LOCK50_SEC_LSB    _u(0)
2052 #define OTP_SW_LOCK50_SEC_ACCESS "RW"
2053 #define OTP_SW_LOCK50_SEC_VALUE_READ_WRITE _u(0x0)
2054 #define OTP_SW_LOCK50_SEC_VALUE_READ_ONLY _u(0x1)
2055 #define OTP_SW_LOCK50_SEC_VALUE_INACCESSIBLE _u(0x3)
2056 // =============================================================================
2057 // Register    : OTP_SW_LOCK51
2058 // Description : Software lock register for page 51.
2059 //
2060 //               Locks are initialised from the OTP lock pages at reset. This
2061 //               register can be written to further advance the lock state of
2062 //               each page (until next reset), and read to check the current
2063 //               lock state of a page.
2064 #define OTP_SW_LOCK51_OFFSET _u(0x000000cc)
2065 #define OTP_SW_LOCK51_BITS   _u(0x0000000f)
2066 #define OTP_SW_LOCK51_RESET  _u(0x00000000)
2067 // -----------------------------------------------------------------------------
2068 // Field       : OTP_SW_LOCK51_NSEC
2069 // Description : Non-secure lock status. Writes are OR'd with the current value.
2070 //               0x0 -> read_write
2071 //               0x1 -> read_only
2072 //               0x3 -> inaccessible
2073 #define OTP_SW_LOCK51_NSEC_RESET  "-"
2074 #define OTP_SW_LOCK51_NSEC_BITS   _u(0x0000000c)
2075 #define OTP_SW_LOCK51_NSEC_MSB    _u(3)
2076 #define OTP_SW_LOCK51_NSEC_LSB    _u(2)
2077 #define OTP_SW_LOCK51_NSEC_ACCESS "RW"
2078 #define OTP_SW_LOCK51_NSEC_VALUE_READ_WRITE _u(0x0)
2079 #define OTP_SW_LOCK51_NSEC_VALUE_READ_ONLY _u(0x1)
2080 #define OTP_SW_LOCK51_NSEC_VALUE_INACCESSIBLE _u(0x3)
2081 // -----------------------------------------------------------------------------
2082 // Field       : OTP_SW_LOCK51_SEC
2083 // Description : Secure lock status. Writes are OR'd with the current value.
2084 //               This field is read-only to Non-secure code.
2085 //               0x0 -> read_write
2086 //               0x1 -> read_only
2087 //               0x3 -> inaccessible
2088 #define OTP_SW_LOCK51_SEC_RESET  "-"
2089 #define OTP_SW_LOCK51_SEC_BITS   _u(0x00000003)
2090 #define OTP_SW_LOCK51_SEC_MSB    _u(1)
2091 #define OTP_SW_LOCK51_SEC_LSB    _u(0)
2092 #define OTP_SW_LOCK51_SEC_ACCESS "RW"
2093 #define OTP_SW_LOCK51_SEC_VALUE_READ_WRITE _u(0x0)
2094 #define OTP_SW_LOCK51_SEC_VALUE_READ_ONLY _u(0x1)
2095 #define OTP_SW_LOCK51_SEC_VALUE_INACCESSIBLE _u(0x3)
2096 // =============================================================================
2097 // Register    : OTP_SW_LOCK52
2098 // Description : Software lock register for page 52.
2099 //
2100 //               Locks are initialised from the OTP lock pages at reset. This
2101 //               register can be written to further advance the lock state of
2102 //               each page (until next reset), and read to check the current
2103 //               lock state of a page.
2104 #define OTP_SW_LOCK52_OFFSET _u(0x000000d0)
2105 #define OTP_SW_LOCK52_BITS   _u(0x0000000f)
2106 #define OTP_SW_LOCK52_RESET  _u(0x00000000)
2107 // -----------------------------------------------------------------------------
2108 // Field       : OTP_SW_LOCK52_NSEC
2109 // Description : Non-secure lock status. Writes are OR'd with the current value.
2110 //               0x0 -> read_write
2111 //               0x1 -> read_only
2112 //               0x3 -> inaccessible
2113 #define OTP_SW_LOCK52_NSEC_RESET  "-"
2114 #define OTP_SW_LOCK52_NSEC_BITS   _u(0x0000000c)
2115 #define OTP_SW_LOCK52_NSEC_MSB    _u(3)
2116 #define OTP_SW_LOCK52_NSEC_LSB    _u(2)
2117 #define OTP_SW_LOCK52_NSEC_ACCESS "RW"
2118 #define OTP_SW_LOCK52_NSEC_VALUE_READ_WRITE _u(0x0)
2119 #define OTP_SW_LOCK52_NSEC_VALUE_READ_ONLY _u(0x1)
2120 #define OTP_SW_LOCK52_NSEC_VALUE_INACCESSIBLE _u(0x3)
2121 // -----------------------------------------------------------------------------
2122 // Field       : OTP_SW_LOCK52_SEC
2123 // Description : Secure lock status. Writes are OR'd with the current value.
2124 //               This field is read-only to Non-secure code.
2125 //               0x0 -> read_write
2126 //               0x1 -> read_only
2127 //               0x3 -> inaccessible
2128 #define OTP_SW_LOCK52_SEC_RESET  "-"
2129 #define OTP_SW_LOCK52_SEC_BITS   _u(0x00000003)
2130 #define OTP_SW_LOCK52_SEC_MSB    _u(1)
2131 #define OTP_SW_LOCK52_SEC_LSB    _u(0)
2132 #define OTP_SW_LOCK52_SEC_ACCESS "RW"
2133 #define OTP_SW_LOCK52_SEC_VALUE_READ_WRITE _u(0x0)
2134 #define OTP_SW_LOCK52_SEC_VALUE_READ_ONLY _u(0x1)
2135 #define OTP_SW_LOCK52_SEC_VALUE_INACCESSIBLE _u(0x3)
2136 // =============================================================================
2137 // Register    : OTP_SW_LOCK53
2138 // Description : Software lock register for page 53.
2139 //
2140 //               Locks are initialised from the OTP lock pages at reset. This
2141 //               register can be written to further advance the lock state of
2142 //               each page (until next reset), and read to check the current
2143 //               lock state of a page.
2144 #define OTP_SW_LOCK53_OFFSET _u(0x000000d4)
2145 #define OTP_SW_LOCK53_BITS   _u(0x0000000f)
2146 #define OTP_SW_LOCK53_RESET  _u(0x00000000)
2147 // -----------------------------------------------------------------------------
2148 // Field       : OTP_SW_LOCK53_NSEC
2149 // Description : Non-secure lock status. Writes are OR'd with the current value.
2150 //               0x0 -> read_write
2151 //               0x1 -> read_only
2152 //               0x3 -> inaccessible
2153 #define OTP_SW_LOCK53_NSEC_RESET  "-"
2154 #define OTP_SW_LOCK53_NSEC_BITS   _u(0x0000000c)
2155 #define OTP_SW_LOCK53_NSEC_MSB    _u(3)
2156 #define OTP_SW_LOCK53_NSEC_LSB    _u(2)
2157 #define OTP_SW_LOCK53_NSEC_ACCESS "RW"
2158 #define OTP_SW_LOCK53_NSEC_VALUE_READ_WRITE _u(0x0)
2159 #define OTP_SW_LOCK53_NSEC_VALUE_READ_ONLY _u(0x1)
2160 #define OTP_SW_LOCK53_NSEC_VALUE_INACCESSIBLE _u(0x3)
2161 // -----------------------------------------------------------------------------
2162 // Field       : OTP_SW_LOCK53_SEC
2163 // Description : Secure lock status. Writes are OR'd with the current value.
2164 //               This field is read-only to Non-secure code.
2165 //               0x0 -> read_write
2166 //               0x1 -> read_only
2167 //               0x3 -> inaccessible
2168 #define OTP_SW_LOCK53_SEC_RESET  "-"
2169 #define OTP_SW_LOCK53_SEC_BITS   _u(0x00000003)
2170 #define OTP_SW_LOCK53_SEC_MSB    _u(1)
2171 #define OTP_SW_LOCK53_SEC_LSB    _u(0)
2172 #define OTP_SW_LOCK53_SEC_ACCESS "RW"
2173 #define OTP_SW_LOCK53_SEC_VALUE_READ_WRITE _u(0x0)
2174 #define OTP_SW_LOCK53_SEC_VALUE_READ_ONLY _u(0x1)
2175 #define OTP_SW_LOCK53_SEC_VALUE_INACCESSIBLE _u(0x3)
2176 // =============================================================================
2177 // Register    : OTP_SW_LOCK54
2178 // Description : Software lock register for page 54.
2179 //
2180 //               Locks are initialised from the OTP lock pages at reset. This
2181 //               register can be written to further advance the lock state of
2182 //               each page (until next reset), and read to check the current
2183 //               lock state of a page.
2184 #define OTP_SW_LOCK54_OFFSET _u(0x000000d8)
2185 #define OTP_SW_LOCK54_BITS   _u(0x0000000f)
2186 #define OTP_SW_LOCK54_RESET  _u(0x00000000)
2187 // -----------------------------------------------------------------------------
2188 // Field       : OTP_SW_LOCK54_NSEC
2189 // Description : Non-secure lock status. Writes are OR'd with the current value.
2190 //               0x0 -> read_write
2191 //               0x1 -> read_only
2192 //               0x3 -> inaccessible
2193 #define OTP_SW_LOCK54_NSEC_RESET  "-"
2194 #define OTP_SW_LOCK54_NSEC_BITS   _u(0x0000000c)
2195 #define OTP_SW_LOCK54_NSEC_MSB    _u(3)
2196 #define OTP_SW_LOCK54_NSEC_LSB    _u(2)
2197 #define OTP_SW_LOCK54_NSEC_ACCESS "RW"
2198 #define OTP_SW_LOCK54_NSEC_VALUE_READ_WRITE _u(0x0)
2199 #define OTP_SW_LOCK54_NSEC_VALUE_READ_ONLY _u(0x1)
2200 #define OTP_SW_LOCK54_NSEC_VALUE_INACCESSIBLE _u(0x3)
2201 // -----------------------------------------------------------------------------
2202 // Field       : OTP_SW_LOCK54_SEC
2203 // Description : Secure lock status. Writes are OR'd with the current value.
2204 //               This field is read-only to Non-secure code.
2205 //               0x0 -> read_write
2206 //               0x1 -> read_only
2207 //               0x3 -> inaccessible
2208 #define OTP_SW_LOCK54_SEC_RESET  "-"
2209 #define OTP_SW_LOCK54_SEC_BITS   _u(0x00000003)
2210 #define OTP_SW_LOCK54_SEC_MSB    _u(1)
2211 #define OTP_SW_LOCK54_SEC_LSB    _u(0)
2212 #define OTP_SW_LOCK54_SEC_ACCESS "RW"
2213 #define OTP_SW_LOCK54_SEC_VALUE_READ_WRITE _u(0x0)
2214 #define OTP_SW_LOCK54_SEC_VALUE_READ_ONLY _u(0x1)
2215 #define OTP_SW_LOCK54_SEC_VALUE_INACCESSIBLE _u(0x3)
2216 // =============================================================================
2217 // Register    : OTP_SW_LOCK55
2218 // Description : Software lock register for page 55.
2219 //
2220 //               Locks are initialised from the OTP lock pages at reset. This
2221 //               register can be written to further advance the lock state of
2222 //               each page (until next reset), and read to check the current
2223 //               lock state of a page.
2224 #define OTP_SW_LOCK55_OFFSET _u(0x000000dc)
2225 #define OTP_SW_LOCK55_BITS   _u(0x0000000f)
2226 #define OTP_SW_LOCK55_RESET  _u(0x00000000)
2227 // -----------------------------------------------------------------------------
2228 // Field       : OTP_SW_LOCK55_NSEC
2229 // Description : Non-secure lock status. Writes are OR'd with the current value.
2230 //               0x0 -> read_write
2231 //               0x1 -> read_only
2232 //               0x3 -> inaccessible
2233 #define OTP_SW_LOCK55_NSEC_RESET  "-"
2234 #define OTP_SW_LOCK55_NSEC_BITS   _u(0x0000000c)
2235 #define OTP_SW_LOCK55_NSEC_MSB    _u(3)
2236 #define OTP_SW_LOCK55_NSEC_LSB    _u(2)
2237 #define OTP_SW_LOCK55_NSEC_ACCESS "RW"
2238 #define OTP_SW_LOCK55_NSEC_VALUE_READ_WRITE _u(0x0)
2239 #define OTP_SW_LOCK55_NSEC_VALUE_READ_ONLY _u(0x1)
2240 #define OTP_SW_LOCK55_NSEC_VALUE_INACCESSIBLE _u(0x3)
2241 // -----------------------------------------------------------------------------
2242 // Field       : OTP_SW_LOCK55_SEC
2243 // Description : Secure lock status. Writes are OR'd with the current value.
2244 //               This field is read-only to Non-secure code.
2245 //               0x0 -> read_write
2246 //               0x1 -> read_only
2247 //               0x3 -> inaccessible
2248 #define OTP_SW_LOCK55_SEC_RESET  "-"
2249 #define OTP_SW_LOCK55_SEC_BITS   _u(0x00000003)
2250 #define OTP_SW_LOCK55_SEC_MSB    _u(1)
2251 #define OTP_SW_LOCK55_SEC_LSB    _u(0)
2252 #define OTP_SW_LOCK55_SEC_ACCESS "RW"
2253 #define OTP_SW_LOCK55_SEC_VALUE_READ_WRITE _u(0x0)
2254 #define OTP_SW_LOCK55_SEC_VALUE_READ_ONLY _u(0x1)
2255 #define OTP_SW_LOCK55_SEC_VALUE_INACCESSIBLE _u(0x3)
2256 // =============================================================================
2257 // Register    : OTP_SW_LOCK56
2258 // Description : Software lock register for page 56.
2259 //
2260 //               Locks are initialised from the OTP lock pages at reset. This
2261 //               register can be written to further advance the lock state of
2262 //               each page (until next reset), and read to check the current
2263 //               lock state of a page.
2264 #define OTP_SW_LOCK56_OFFSET _u(0x000000e0)
2265 #define OTP_SW_LOCK56_BITS   _u(0x0000000f)
2266 #define OTP_SW_LOCK56_RESET  _u(0x00000000)
2267 // -----------------------------------------------------------------------------
2268 // Field       : OTP_SW_LOCK56_NSEC
2269 // Description : Non-secure lock status. Writes are OR'd with the current value.
2270 //               0x0 -> read_write
2271 //               0x1 -> read_only
2272 //               0x3 -> inaccessible
2273 #define OTP_SW_LOCK56_NSEC_RESET  "-"
2274 #define OTP_SW_LOCK56_NSEC_BITS   _u(0x0000000c)
2275 #define OTP_SW_LOCK56_NSEC_MSB    _u(3)
2276 #define OTP_SW_LOCK56_NSEC_LSB    _u(2)
2277 #define OTP_SW_LOCK56_NSEC_ACCESS "RW"
2278 #define OTP_SW_LOCK56_NSEC_VALUE_READ_WRITE _u(0x0)
2279 #define OTP_SW_LOCK56_NSEC_VALUE_READ_ONLY _u(0x1)
2280 #define OTP_SW_LOCK56_NSEC_VALUE_INACCESSIBLE _u(0x3)
2281 // -----------------------------------------------------------------------------
2282 // Field       : OTP_SW_LOCK56_SEC
2283 // Description : Secure lock status. Writes are OR'd with the current value.
2284 //               This field is read-only to Non-secure code.
2285 //               0x0 -> read_write
2286 //               0x1 -> read_only
2287 //               0x3 -> inaccessible
2288 #define OTP_SW_LOCK56_SEC_RESET  "-"
2289 #define OTP_SW_LOCK56_SEC_BITS   _u(0x00000003)
2290 #define OTP_SW_LOCK56_SEC_MSB    _u(1)
2291 #define OTP_SW_LOCK56_SEC_LSB    _u(0)
2292 #define OTP_SW_LOCK56_SEC_ACCESS "RW"
2293 #define OTP_SW_LOCK56_SEC_VALUE_READ_WRITE _u(0x0)
2294 #define OTP_SW_LOCK56_SEC_VALUE_READ_ONLY _u(0x1)
2295 #define OTP_SW_LOCK56_SEC_VALUE_INACCESSIBLE _u(0x3)
2296 // =============================================================================
2297 // Register    : OTP_SW_LOCK57
2298 // Description : Software lock register for page 57.
2299 //
2300 //               Locks are initialised from the OTP lock pages at reset. This
2301 //               register can be written to further advance the lock state of
2302 //               each page (until next reset), and read to check the current
2303 //               lock state of a page.
2304 #define OTP_SW_LOCK57_OFFSET _u(0x000000e4)
2305 #define OTP_SW_LOCK57_BITS   _u(0x0000000f)
2306 #define OTP_SW_LOCK57_RESET  _u(0x00000000)
2307 // -----------------------------------------------------------------------------
2308 // Field       : OTP_SW_LOCK57_NSEC
2309 // Description : Non-secure lock status. Writes are OR'd with the current value.
2310 //               0x0 -> read_write
2311 //               0x1 -> read_only
2312 //               0x3 -> inaccessible
2313 #define OTP_SW_LOCK57_NSEC_RESET  "-"
2314 #define OTP_SW_LOCK57_NSEC_BITS   _u(0x0000000c)
2315 #define OTP_SW_LOCK57_NSEC_MSB    _u(3)
2316 #define OTP_SW_LOCK57_NSEC_LSB    _u(2)
2317 #define OTP_SW_LOCK57_NSEC_ACCESS "RW"
2318 #define OTP_SW_LOCK57_NSEC_VALUE_READ_WRITE _u(0x0)
2319 #define OTP_SW_LOCK57_NSEC_VALUE_READ_ONLY _u(0x1)
2320 #define OTP_SW_LOCK57_NSEC_VALUE_INACCESSIBLE _u(0x3)
2321 // -----------------------------------------------------------------------------
2322 // Field       : OTP_SW_LOCK57_SEC
2323 // Description : Secure lock status. Writes are OR'd with the current value.
2324 //               This field is read-only to Non-secure code.
2325 //               0x0 -> read_write
2326 //               0x1 -> read_only
2327 //               0x3 -> inaccessible
2328 #define OTP_SW_LOCK57_SEC_RESET  "-"
2329 #define OTP_SW_LOCK57_SEC_BITS   _u(0x00000003)
2330 #define OTP_SW_LOCK57_SEC_MSB    _u(1)
2331 #define OTP_SW_LOCK57_SEC_LSB    _u(0)
2332 #define OTP_SW_LOCK57_SEC_ACCESS "RW"
2333 #define OTP_SW_LOCK57_SEC_VALUE_READ_WRITE _u(0x0)
2334 #define OTP_SW_LOCK57_SEC_VALUE_READ_ONLY _u(0x1)
2335 #define OTP_SW_LOCK57_SEC_VALUE_INACCESSIBLE _u(0x3)
2336 // =============================================================================
2337 // Register    : OTP_SW_LOCK58
2338 // Description : Software lock register for page 58.
2339 //
2340 //               Locks are initialised from the OTP lock pages at reset. This
2341 //               register can be written to further advance the lock state of
2342 //               each page (until next reset), and read to check the current
2343 //               lock state of a page.
2344 #define OTP_SW_LOCK58_OFFSET _u(0x000000e8)
2345 #define OTP_SW_LOCK58_BITS   _u(0x0000000f)
2346 #define OTP_SW_LOCK58_RESET  _u(0x00000000)
2347 // -----------------------------------------------------------------------------
2348 // Field       : OTP_SW_LOCK58_NSEC
2349 // Description : Non-secure lock status. Writes are OR'd with the current value.
2350 //               0x0 -> read_write
2351 //               0x1 -> read_only
2352 //               0x3 -> inaccessible
2353 #define OTP_SW_LOCK58_NSEC_RESET  "-"
2354 #define OTP_SW_LOCK58_NSEC_BITS   _u(0x0000000c)
2355 #define OTP_SW_LOCK58_NSEC_MSB    _u(3)
2356 #define OTP_SW_LOCK58_NSEC_LSB    _u(2)
2357 #define OTP_SW_LOCK58_NSEC_ACCESS "RW"
2358 #define OTP_SW_LOCK58_NSEC_VALUE_READ_WRITE _u(0x0)
2359 #define OTP_SW_LOCK58_NSEC_VALUE_READ_ONLY _u(0x1)
2360 #define OTP_SW_LOCK58_NSEC_VALUE_INACCESSIBLE _u(0x3)
2361 // -----------------------------------------------------------------------------
2362 // Field       : OTP_SW_LOCK58_SEC
2363 // Description : Secure lock status. Writes are OR'd with the current value.
2364 //               This field is read-only to Non-secure code.
2365 //               0x0 -> read_write
2366 //               0x1 -> read_only
2367 //               0x3 -> inaccessible
2368 #define OTP_SW_LOCK58_SEC_RESET  "-"
2369 #define OTP_SW_LOCK58_SEC_BITS   _u(0x00000003)
2370 #define OTP_SW_LOCK58_SEC_MSB    _u(1)
2371 #define OTP_SW_LOCK58_SEC_LSB    _u(0)
2372 #define OTP_SW_LOCK58_SEC_ACCESS "RW"
2373 #define OTP_SW_LOCK58_SEC_VALUE_READ_WRITE _u(0x0)
2374 #define OTP_SW_LOCK58_SEC_VALUE_READ_ONLY _u(0x1)
2375 #define OTP_SW_LOCK58_SEC_VALUE_INACCESSIBLE _u(0x3)
2376 // =============================================================================
2377 // Register    : OTP_SW_LOCK59
2378 // Description : Software lock register for page 59.
2379 //
2380 //               Locks are initialised from the OTP lock pages at reset. This
2381 //               register can be written to further advance the lock state of
2382 //               each page (until next reset), and read to check the current
2383 //               lock state of a page.
2384 #define OTP_SW_LOCK59_OFFSET _u(0x000000ec)
2385 #define OTP_SW_LOCK59_BITS   _u(0x0000000f)
2386 #define OTP_SW_LOCK59_RESET  _u(0x00000000)
2387 // -----------------------------------------------------------------------------
2388 // Field       : OTP_SW_LOCK59_NSEC
2389 // Description : Non-secure lock status. Writes are OR'd with the current value.
2390 //               0x0 -> read_write
2391 //               0x1 -> read_only
2392 //               0x3 -> inaccessible
2393 #define OTP_SW_LOCK59_NSEC_RESET  "-"
2394 #define OTP_SW_LOCK59_NSEC_BITS   _u(0x0000000c)
2395 #define OTP_SW_LOCK59_NSEC_MSB    _u(3)
2396 #define OTP_SW_LOCK59_NSEC_LSB    _u(2)
2397 #define OTP_SW_LOCK59_NSEC_ACCESS "RW"
2398 #define OTP_SW_LOCK59_NSEC_VALUE_READ_WRITE _u(0x0)
2399 #define OTP_SW_LOCK59_NSEC_VALUE_READ_ONLY _u(0x1)
2400 #define OTP_SW_LOCK59_NSEC_VALUE_INACCESSIBLE _u(0x3)
2401 // -----------------------------------------------------------------------------
2402 // Field       : OTP_SW_LOCK59_SEC
2403 // Description : Secure lock status. Writes are OR'd with the current value.
2404 //               This field is read-only to Non-secure code.
2405 //               0x0 -> read_write
2406 //               0x1 -> read_only
2407 //               0x3 -> inaccessible
2408 #define OTP_SW_LOCK59_SEC_RESET  "-"
2409 #define OTP_SW_LOCK59_SEC_BITS   _u(0x00000003)
2410 #define OTP_SW_LOCK59_SEC_MSB    _u(1)
2411 #define OTP_SW_LOCK59_SEC_LSB    _u(0)
2412 #define OTP_SW_LOCK59_SEC_ACCESS "RW"
2413 #define OTP_SW_LOCK59_SEC_VALUE_READ_WRITE _u(0x0)
2414 #define OTP_SW_LOCK59_SEC_VALUE_READ_ONLY _u(0x1)
2415 #define OTP_SW_LOCK59_SEC_VALUE_INACCESSIBLE _u(0x3)
2416 // =============================================================================
2417 // Register    : OTP_SW_LOCK60
2418 // Description : Software lock register for page 60.
2419 //
2420 //               Locks are initialised from the OTP lock pages at reset. This
2421 //               register can be written to further advance the lock state of
2422 //               each page (until next reset), and read to check the current
2423 //               lock state of a page.
2424 #define OTP_SW_LOCK60_OFFSET _u(0x000000f0)
2425 #define OTP_SW_LOCK60_BITS   _u(0x0000000f)
2426 #define OTP_SW_LOCK60_RESET  _u(0x00000000)
2427 // -----------------------------------------------------------------------------
2428 // Field       : OTP_SW_LOCK60_NSEC
2429 // Description : Non-secure lock status. Writes are OR'd with the current value.
2430 //               0x0 -> read_write
2431 //               0x1 -> read_only
2432 //               0x3 -> inaccessible
2433 #define OTP_SW_LOCK60_NSEC_RESET  "-"
2434 #define OTP_SW_LOCK60_NSEC_BITS   _u(0x0000000c)
2435 #define OTP_SW_LOCK60_NSEC_MSB    _u(3)
2436 #define OTP_SW_LOCK60_NSEC_LSB    _u(2)
2437 #define OTP_SW_LOCK60_NSEC_ACCESS "RW"
2438 #define OTP_SW_LOCK60_NSEC_VALUE_READ_WRITE _u(0x0)
2439 #define OTP_SW_LOCK60_NSEC_VALUE_READ_ONLY _u(0x1)
2440 #define OTP_SW_LOCK60_NSEC_VALUE_INACCESSIBLE _u(0x3)
2441 // -----------------------------------------------------------------------------
2442 // Field       : OTP_SW_LOCK60_SEC
2443 // Description : Secure lock status. Writes are OR'd with the current value.
2444 //               This field is read-only to Non-secure code.
2445 //               0x0 -> read_write
2446 //               0x1 -> read_only
2447 //               0x3 -> inaccessible
2448 #define OTP_SW_LOCK60_SEC_RESET  "-"
2449 #define OTP_SW_LOCK60_SEC_BITS   _u(0x00000003)
2450 #define OTP_SW_LOCK60_SEC_MSB    _u(1)
2451 #define OTP_SW_LOCK60_SEC_LSB    _u(0)
2452 #define OTP_SW_LOCK60_SEC_ACCESS "RW"
2453 #define OTP_SW_LOCK60_SEC_VALUE_READ_WRITE _u(0x0)
2454 #define OTP_SW_LOCK60_SEC_VALUE_READ_ONLY _u(0x1)
2455 #define OTP_SW_LOCK60_SEC_VALUE_INACCESSIBLE _u(0x3)
2456 // =============================================================================
2457 // Register    : OTP_SW_LOCK61
2458 // Description : Software lock register for page 61.
2459 //
2460 //               Locks are initialised from the OTP lock pages at reset. This
2461 //               register can be written to further advance the lock state of
2462 //               each page (until next reset), and read to check the current
2463 //               lock state of a page.
2464 #define OTP_SW_LOCK61_OFFSET _u(0x000000f4)
2465 #define OTP_SW_LOCK61_BITS   _u(0x0000000f)
2466 #define OTP_SW_LOCK61_RESET  _u(0x00000000)
2467 // -----------------------------------------------------------------------------
2468 // Field       : OTP_SW_LOCK61_NSEC
2469 // Description : Non-secure lock status. Writes are OR'd with the current value.
2470 //               0x0 -> read_write
2471 //               0x1 -> read_only
2472 //               0x3 -> inaccessible
2473 #define OTP_SW_LOCK61_NSEC_RESET  "-"
2474 #define OTP_SW_LOCK61_NSEC_BITS   _u(0x0000000c)
2475 #define OTP_SW_LOCK61_NSEC_MSB    _u(3)
2476 #define OTP_SW_LOCK61_NSEC_LSB    _u(2)
2477 #define OTP_SW_LOCK61_NSEC_ACCESS "RW"
2478 #define OTP_SW_LOCK61_NSEC_VALUE_READ_WRITE _u(0x0)
2479 #define OTP_SW_LOCK61_NSEC_VALUE_READ_ONLY _u(0x1)
2480 #define OTP_SW_LOCK61_NSEC_VALUE_INACCESSIBLE _u(0x3)
2481 // -----------------------------------------------------------------------------
2482 // Field       : OTP_SW_LOCK61_SEC
2483 // Description : Secure lock status. Writes are OR'd with the current value.
2484 //               This field is read-only to Non-secure code.
2485 //               0x0 -> read_write
2486 //               0x1 -> read_only
2487 //               0x3 -> inaccessible
2488 #define OTP_SW_LOCK61_SEC_RESET  "-"
2489 #define OTP_SW_LOCK61_SEC_BITS   _u(0x00000003)
2490 #define OTP_SW_LOCK61_SEC_MSB    _u(1)
2491 #define OTP_SW_LOCK61_SEC_LSB    _u(0)
2492 #define OTP_SW_LOCK61_SEC_ACCESS "RW"
2493 #define OTP_SW_LOCK61_SEC_VALUE_READ_WRITE _u(0x0)
2494 #define OTP_SW_LOCK61_SEC_VALUE_READ_ONLY _u(0x1)
2495 #define OTP_SW_LOCK61_SEC_VALUE_INACCESSIBLE _u(0x3)
2496 // =============================================================================
2497 // Register    : OTP_SW_LOCK62
2498 // Description : Software lock register for page 62.
2499 //
2500 //               Locks are initialised from the OTP lock pages at reset. This
2501 //               register can be written to further advance the lock state of
2502 //               each page (until next reset), and read to check the current
2503 //               lock state of a page.
2504 #define OTP_SW_LOCK62_OFFSET _u(0x000000f8)
2505 #define OTP_SW_LOCK62_BITS   _u(0x0000000f)
2506 #define OTP_SW_LOCK62_RESET  _u(0x00000000)
2507 // -----------------------------------------------------------------------------
2508 // Field       : OTP_SW_LOCK62_NSEC
2509 // Description : Non-secure lock status. Writes are OR'd with the current value.
2510 //               0x0 -> read_write
2511 //               0x1 -> read_only
2512 //               0x3 -> inaccessible
2513 #define OTP_SW_LOCK62_NSEC_RESET  "-"
2514 #define OTP_SW_LOCK62_NSEC_BITS   _u(0x0000000c)
2515 #define OTP_SW_LOCK62_NSEC_MSB    _u(3)
2516 #define OTP_SW_LOCK62_NSEC_LSB    _u(2)
2517 #define OTP_SW_LOCK62_NSEC_ACCESS "RW"
2518 #define OTP_SW_LOCK62_NSEC_VALUE_READ_WRITE _u(0x0)
2519 #define OTP_SW_LOCK62_NSEC_VALUE_READ_ONLY _u(0x1)
2520 #define OTP_SW_LOCK62_NSEC_VALUE_INACCESSIBLE _u(0x3)
2521 // -----------------------------------------------------------------------------
2522 // Field       : OTP_SW_LOCK62_SEC
2523 // Description : Secure lock status. Writes are OR'd with the current value.
2524 //               This field is read-only to Non-secure code.
2525 //               0x0 -> read_write
2526 //               0x1 -> read_only
2527 //               0x3 -> inaccessible
2528 #define OTP_SW_LOCK62_SEC_RESET  "-"
2529 #define OTP_SW_LOCK62_SEC_BITS   _u(0x00000003)
2530 #define OTP_SW_LOCK62_SEC_MSB    _u(1)
2531 #define OTP_SW_LOCK62_SEC_LSB    _u(0)
2532 #define OTP_SW_LOCK62_SEC_ACCESS "RW"
2533 #define OTP_SW_LOCK62_SEC_VALUE_READ_WRITE _u(0x0)
2534 #define OTP_SW_LOCK62_SEC_VALUE_READ_ONLY _u(0x1)
2535 #define OTP_SW_LOCK62_SEC_VALUE_INACCESSIBLE _u(0x3)
2536 // =============================================================================
2537 // Register    : OTP_SW_LOCK63
2538 // Description : Software lock register for page 63.
2539 //
2540 //               Locks are initialised from the OTP lock pages at reset. This
2541 //               register can be written to further advance the lock state of
2542 //               each page (until next reset), and read to check the current
2543 //               lock state of a page.
2544 #define OTP_SW_LOCK63_OFFSET _u(0x000000fc)
2545 #define OTP_SW_LOCK63_BITS   _u(0x0000000f)
2546 #define OTP_SW_LOCK63_RESET  _u(0x00000000)
2547 // -----------------------------------------------------------------------------
2548 // Field       : OTP_SW_LOCK63_NSEC
2549 // Description : Non-secure lock status. Writes are OR'd with the current value.
2550 //               0x0 -> read_write
2551 //               0x1 -> read_only
2552 //               0x3 -> inaccessible
2553 #define OTP_SW_LOCK63_NSEC_RESET  "-"
2554 #define OTP_SW_LOCK63_NSEC_BITS   _u(0x0000000c)
2555 #define OTP_SW_LOCK63_NSEC_MSB    _u(3)
2556 #define OTP_SW_LOCK63_NSEC_LSB    _u(2)
2557 #define OTP_SW_LOCK63_NSEC_ACCESS "RW"
2558 #define OTP_SW_LOCK63_NSEC_VALUE_READ_WRITE _u(0x0)
2559 #define OTP_SW_LOCK63_NSEC_VALUE_READ_ONLY _u(0x1)
2560 #define OTP_SW_LOCK63_NSEC_VALUE_INACCESSIBLE _u(0x3)
2561 // -----------------------------------------------------------------------------
2562 // Field       : OTP_SW_LOCK63_SEC
2563 // Description : Secure lock status. Writes are OR'd with the current value.
2564 //               This field is read-only to Non-secure code.
2565 //               0x0 -> read_write
2566 //               0x1 -> read_only
2567 //               0x3 -> inaccessible
2568 #define OTP_SW_LOCK63_SEC_RESET  "-"
2569 #define OTP_SW_LOCK63_SEC_BITS   _u(0x00000003)
2570 #define OTP_SW_LOCK63_SEC_MSB    _u(1)
2571 #define OTP_SW_LOCK63_SEC_LSB    _u(0)
2572 #define OTP_SW_LOCK63_SEC_ACCESS "RW"
2573 #define OTP_SW_LOCK63_SEC_VALUE_READ_WRITE _u(0x0)
2574 #define OTP_SW_LOCK63_SEC_VALUE_READ_ONLY _u(0x1)
2575 #define OTP_SW_LOCK63_SEC_VALUE_INACCESSIBLE _u(0x3)
2576 // =============================================================================
2577 // Register    : OTP_SBPI_INSTR
2578 // Description : Dispatch instructions to the SBPI interface, used for
2579 //               programming the OTP fuses.
2580 #define OTP_SBPI_INSTR_OFFSET _u(0x00000100)
2581 #define OTP_SBPI_INSTR_BITS   _u(0x7fffffff)
2582 #define OTP_SBPI_INSTR_RESET  _u(0x00000000)
2583 // -----------------------------------------------------------------------------
2584 // Field       : OTP_SBPI_INSTR_EXEC
2585 // Description : Execute instruction
2586 #define OTP_SBPI_INSTR_EXEC_RESET  _u(0x0)
2587 #define OTP_SBPI_INSTR_EXEC_BITS   _u(0x40000000)
2588 #define OTP_SBPI_INSTR_EXEC_MSB    _u(30)
2589 #define OTP_SBPI_INSTR_EXEC_LSB    _u(30)
2590 #define OTP_SBPI_INSTR_EXEC_ACCESS "SC"
2591 // -----------------------------------------------------------------------------
2592 // Field       : OTP_SBPI_INSTR_IS_WR
2593 // Description : Payload type is write
2594 #define OTP_SBPI_INSTR_IS_WR_RESET  _u(0x0)
2595 #define OTP_SBPI_INSTR_IS_WR_BITS   _u(0x20000000)
2596 #define OTP_SBPI_INSTR_IS_WR_MSB    _u(29)
2597 #define OTP_SBPI_INSTR_IS_WR_LSB    _u(29)
2598 #define OTP_SBPI_INSTR_IS_WR_ACCESS "RW"
2599 // -----------------------------------------------------------------------------
2600 // Field       : OTP_SBPI_INSTR_HAS_PAYLOAD
2601 // Description : Instruction has payload (data to be written or to be read)
2602 #define OTP_SBPI_INSTR_HAS_PAYLOAD_RESET  _u(0x0)
2603 #define OTP_SBPI_INSTR_HAS_PAYLOAD_BITS   _u(0x10000000)
2604 #define OTP_SBPI_INSTR_HAS_PAYLOAD_MSB    _u(28)
2605 #define OTP_SBPI_INSTR_HAS_PAYLOAD_LSB    _u(28)
2606 #define OTP_SBPI_INSTR_HAS_PAYLOAD_ACCESS "RW"
2607 // -----------------------------------------------------------------------------
2608 // Field       : OTP_SBPI_INSTR_PAYLOAD_SIZE_M1
2609 // Description : Instruction payload size in bytes minus 1
2610 #define OTP_SBPI_INSTR_PAYLOAD_SIZE_M1_RESET  _u(0x0)
2611 #define OTP_SBPI_INSTR_PAYLOAD_SIZE_M1_BITS   _u(0x0f000000)
2612 #define OTP_SBPI_INSTR_PAYLOAD_SIZE_M1_MSB    _u(27)
2613 #define OTP_SBPI_INSTR_PAYLOAD_SIZE_M1_LSB    _u(24)
2614 #define OTP_SBPI_INSTR_PAYLOAD_SIZE_M1_ACCESS "RW"
2615 // -----------------------------------------------------------------------------
2616 // Field       : OTP_SBPI_INSTR_TARGET
2617 // Description : Instruction target, it can be PMC (0x3a) or DAP (0x02)
2618 #define OTP_SBPI_INSTR_TARGET_RESET  _u(0x00)
2619 #define OTP_SBPI_INSTR_TARGET_BITS   _u(0x00ff0000)
2620 #define OTP_SBPI_INSTR_TARGET_MSB    _u(23)
2621 #define OTP_SBPI_INSTR_TARGET_LSB    _u(16)
2622 #define OTP_SBPI_INSTR_TARGET_ACCESS "RW"
2623 // -----------------------------------------------------------------------------
2624 // Field       : OTP_SBPI_INSTR_CMD
2625 #define OTP_SBPI_INSTR_CMD_RESET  _u(0x00)
2626 #define OTP_SBPI_INSTR_CMD_BITS   _u(0x0000ff00)
2627 #define OTP_SBPI_INSTR_CMD_MSB    _u(15)
2628 #define OTP_SBPI_INSTR_CMD_LSB    _u(8)
2629 #define OTP_SBPI_INSTR_CMD_ACCESS "RW"
2630 // -----------------------------------------------------------------------------
2631 // Field       : OTP_SBPI_INSTR_SHORT_WDATA
2632 // Description : wdata to be used only when payload_size_m1=0
2633 #define OTP_SBPI_INSTR_SHORT_WDATA_RESET  _u(0x00)
2634 #define OTP_SBPI_INSTR_SHORT_WDATA_BITS   _u(0x000000ff)
2635 #define OTP_SBPI_INSTR_SHORT_WDATA_MSB    _u(7)
2636 #define OTP_SBPI_INSTR_SHORT_WDATA_LSB    _u(0)
2637 #define OTP_SBPI_INSTR_SHORT_WDATA_ACCESS "RW"
2638 // =============================================================================
2639 // Register    : OTP_SBPI_WDATA_0
2640 // Description : SBPI write payload bytes 3..0
2641 #define OTP_SBPI_WDATA_0_OFFSET _u(0x00000104)
2642 #define OTP_SBPI_WDATA_0_BITS   _u(0xffffffff)
2643 #define OTP_SBPI_WDATA_0_RESET  _u(0x00000000)
2644 #define OTP_SBPI_WDATA_0_MSB    _u(31)
2645 #define OTP_SBPI_WDATA_0_LSB    _u(0)
2646 #define OTP_SBPI_WDATA_0_ACCESS "RW"
2647 // =============================================================================
2648 // Register    : OTP_SBPI_WDATA_1
2649 // Description : SBPI write payload bytes 7..4
2650 #define OTP_SBPI_WDATA_1_OFFSET _u(0x00000108)
2651 #define OTP_SBPI_WDATA_1_BITS   _u(0xffffffff)
2652 #define OTP_SBPI_WDATA_1_RESET  _u(0x00000000)
2653 #define OTP_SBPI_WDATA_1_MSB    _u(31)
2654 #define OTP_SBPI_WDATA_1_LSB    _u(0)
2655 #define OTP_SBPI_WDATA_1_ACCESS "RW"
2656 // =============================================================================
2657 // Register    : OTP_SBPI_WDATA_2
2658 // Description : SBPI write payload bytes 11..8
2659 #define OTP_SBPI_WDATA_2_OFFSET _u(0x0000010c)
2660 #define OTP_SBPI_WDATA_2_BITS   _u(0xffffffff)
2661 #define OTP_SBPI_WDATA_2_RESET  _u(0x00000000)
2662 #define OTP_SBPI_WDATA_2_MSB    _u(31)
2663 #define OTP_SBPI_WDATA_2_LSB    _u(0)
2664 #define OTP_SBPI_WDATA_2_ACCESS "RW"
2665 // =============================================================================
2666 // Register    : OTP_SBPI_WDATA_3
2667 // Description : SBPI write payload bytes 15..12
2668 #define OTP_SBPI_WDATA_3_OFFSET _u(0x00000110)
2669 #define OTP_SBPI_WDATA_3_BITS   _u(0xffffffff)
2670 #define OTP_SBPI_WDATA_3_RESET  _u(0x00000000)
2671 #define OTP_SBPI_WDATA_3_MSB    _u(31)
2672 #define OTP_SBPI_WDATA_3_LSB    _u(0)
2673 #define OTP_SBPI_WDATA_3_ACCESS "RW"
2674 // =============================================================================
2675 // Register    : OTP_SBPI_RDATA_0
2676 // Description : Read payload bytes 3..0. Once read, the data in the register
2677 //               will automatically clear to 0.
2678 #define OTP_SBPI_RDATA_0_OFFSET _u(0x00000114)
2679 #define OTP_SBPI_RDATA_0_BITS   _u(0xffffffff)
2680 #define OTP_SBPI_RDATA_0_RESET  _u(0x00000000)
2681 #define OTP_SBPI_RDATA_0_MSB    _u(31)
2682 #define OTP_SBPI_RDATA_0_LSB    _u(0)
2683 #define OTP_SBPI_RDATA_0_ACCESS "RO"
2684 // =============================================================================
2685 // Register    : OTP_SBPI_RDATA_1
2686 // Description : Read payload bytes 7..4. Once read, the data in the register
2687 //               will automatically clear to 0.
2688 #define OTP_SBPI_RDATA_1_OFFSET _u(0x00000118)
2689 #define OTP_SBPI_RDATA_1_BITS   _u(0xffffffff)
2690 #define OTP_SBPI_RDATA_1_RESET  _u(0x00000000)
2691 #define OTP_SBPI_RDATA_1_MSB    _u(31)
2692 #define OTP_SBPI_RDATA_1_LSB    _u(0)
2693 #define OTP_SBPI_RDATA_1_ACCESS "RO"
2694 // =============================================================================
2695 // Register    : OTP_SBPI_RDATA_2
2696 // Description : Read payload bytes 11..8. Once read, the data in the register
2697 //               will automatically clear to 0.
2698 #define OTP_SBPI_RDATA_2_OFFSET _u(0x0000011c)
2699 #define OTP_SBPI_RDATA_2_BITS   _u(0xffffffff)
2700 #define OTP_SBPI_RDATA_2_RESET  _u(0x00000000)
2701 #define OTP_SBPI_RDATA_2_MSB    _u(31)
2702 #define OTP_SBPI_RDATA_2_LSB    _u(0)
2703 #define OTP_SBPI_RDATA_2_ACCESS "RO"
2704 // =============================================================================
2705 // Register    : OTP_SBPI_RDATA_3
2706 // Description : Read payload bytes 15..12. Once read, the data in the register
2707 //               will automatically clear to 0.
2708 #define OTP_SBPI_RDATA_3_OFFSET _u(0x00000120)
2709 #define OTP_SBPI_RDATA_3_BITS   _u(0xffffffff)
2710 #define OTP_SBPI_RDATA_3_RESET  _u(0x00000000)
2711 #define OTP_SBPI_RDATA_3_MSB    _u(31)
2712 #define OTP_SBPI_RDATA_3_LSB    _u(0)
2713 #define OTP_SBPI_RDATA_3_ACCESS "RO"
2714 // =============================================================================
2715 // Register    : OTP_SBPI_STATUS
2716 #define OTP_SBPI_STATUS_OFFSET _u(0x00000124)
2717 #define OTP_SBPI_STATUS_BITS   _u(0x00ff1111)
2718 #define OTP_SBPI_STATUS_RESET  _u(0x00000000)
2719 // -----------------------------------------------------------------------------
2720 // Field       : OTP_SBPI_STATUS_MISO
2721 // Description : SBPI MISO (master in - slave out): response from SBPI
2722 #define OTP_SBPI_STATUS_MISO_RESET  "-"
2723 #define OTP_SBPI_STATUS_MISO_BITS   _u(0x00ff0000)
2724 #define OTP_SBPI_STATUS_MISO_MSB    _u(23)
2725 #define OTP_SBPI_STATUS_MISO_LSB    _u(16)
2726 #define OTP_SBPI_STATUS_MISO_ACCESS "RO"
2727 // -----------------------------------------------------------------------------
2728 // Field       : OTP_SBPI_STATUS_FLAG
2729 // Description : SBPI flag
2730 #define OTP_SBPI_STATUS_FLAG_RESET  "-"
2731 #define OTP_SBPI_STATUS_FLAG_BITS   _u(0x00001000)
2732 #define OTP_SBPI_STATUS_FLAG_MSB    _u(12)
2733 #define OTP_SBPI_STATUS_FLAG_LSB    _u(12)
2734 #define OTP_SBPI_STATUS_FLAG_ACCESS "RO"
2735 // -----------------------------------------------------------------------------
2736 // Field       : OTP_SBPI_STATUS_INSTR_MISS
2737 // Description : Last instruction missed (dropped), as the previous has not
2738 //               finished running
2739 #define OTP_SBPI_STATUS_INSTR_MISS_RESET  _u(0x0)
2740 #define OTP_SBPI_STATUS_INSTR_MISS_BITS   _u(0x00000100)
2741 #define OTP_SBPI_STATUS_INSTR_MISS_MSB    _u(8)
2742 #define OTP_SBPI_STATUS_INSTR_MISS_LSB    _u(8)
2743 #define OTP_SBPI_STATUS_INSTR_MISS_ACCESS "WC"
2744 // -----------------------------------------------------------------------------
2745 // Field       : OTP_SBPI_STATUS_INSTR_DONE
2746 // Description : Last instruction done
2747 #define OTP_SBPI_STATUS_INSTR_DONE_RESET  _u(0x0)
2748 #define OTP_SBPI_STATUS_INSTR_DONE_BITS   _u(0x00000010)
2749 #define OTP_SBPI_STATUS_INSTR_DONE_MSB    _u(4)
2750 #define OTP_SBPI_STATUS_INSTR_DONE_LSB    _u(4)
2751 #define OTP_SBPI_STATUS_INSTR_DONE_ACCESS "WC"
2752 // -----------------------------------------------------------------------------
2753 // Field       : OTP_SBPI_STATUS_RDATA_VLD
2754 // Description : Read command has returned data
2755 #define OTP_SBPI_STATUS_RDATA_VLD_RESET  _u(0x0)
2756 #define OTP_SBPI_STATUS_RDATA_VLD_BITS   _u(0x00000001)
2757 #define OTP_SBPI_STATUS_RDATA_VLD_MSB    _u(0)
2758 #define OTP_SBPI_STATUS_RDATA_VLD_LSB    _u(0)
2759 #define OTP_SBPI_STATUS_RDATA_VLD_ACCESS "WC"
2760 // =============================================================================
2761 // Register    : OTP_USR
2762 // Description : Controls for APB data read interface (USER interface)
2763 #define OTP_USR_OFFSET _u(0x00000128)
2764 #define OTP_USR_BITS   _u(0x00000011)
2765 #define OTP_USR_RESET  _u(0x00000001)
2766 // -----------------------------------------------------------------------------
2767 // Field       : OTP_USR_PD
2768 // Description : Power-down; 1 disables current reference. Must be 0 to read
2769 //               data from the OTP.
2770 #define OTP_USR_PD_RESET  _u(0x0)
2771 #define OTP_USR_PD_BITS   _u(0x00000010)
2772 #define OTP_USR_PD_MSB    _u(4)
2773 #define OTP_USR_PD_LSB    _u(4)
2774 #define OTP_USR_PD_ACCESS "RW"
2775 // -----------------------------------------------------------------------------
2776 // Field       : OTP_USR_DCTRL
2777 // Description : 1 enables USER interface; 0 disables USER interface (enables
2778 //               SBPI).
2779 //
2780 //               This bit must be cleared before performing any SBPI access,
2781 //               such as when programming the OTP. The APB data read interface
2782 //               (USER interface) will be inaccessible during this time, and
2783 //               will return a bus error if any read is attempted.
2784 #define OTP_USR_DCTRL_RESET  _u(0x1)
2785 #define OTP_USR_DCTRL_BITS   _u(0x00000001)
2786 #define OTP_USR_DCTRL_MSB    _u(0)
2787 #define OTP_USR_DCTRL_LSB    _u(0)
2788 #define OTP_USR_DCTRL_ACCESS "RW"
2789 // =============================================================================
2790 // Register    : OTP_DBG
2791 // Description : Debug for OTP power-on state machine
2792 #define OTP_DBG_OFFSET _u(0x0000012c)
2793 #define OTP_DBG_BITS   _u(0x000010ff)
2794 #define OTP_DBG_RESET  _u(0x00000000)
2795 // -----------------------------------------------------------------------------
2796 // Field       : OTP_DBG_CUSTOMER_RMA_FLAG
2797 // Description : The chip is in RMA mode
2798 #define OTP_DBG_CUSTOMER_RMA_FLAG_RESET  "-"
2799 #define OTP_DBG_CUSTOMER_RMA_FLAG_BITS   _u(0x00001000)
2800 #define OTP_DBG_CUSTOMER_RMA_FLAG_MSB    _u(12)
2801 #define OTP_DBG_CUSTOMER_RMA_FLAG_LSB    _u(12)
2802 #define OTP_DBG_CUSTOMER_RMA_FLAG_ACCESS "RO"
2803 // -----------------------------------------------------------------------------
2804 // Field       : OTP_DBG_PSM_STATE
2805 // Description : Monitor the PSM FSM's state
2806 #define OTP_DBG_PSM_STATE_RESET  "-"
2807 #define OTP_DBG_PSM_STATE_BITS   _u(0x000000f0)
2808 #define OTP_DBG_PSM_STATE_MSB    _u(7)
2809 #define OTP_DBG_PSM_STATE_LSB    _u(4)
2810 #define OTP_DBG_PSM_STATE_ACCESS "RO"
2811 // -----------------------------------------------------------------------------
2812 // Field       : OTP_DBG_ROSC_UP
2813 // Description : Ring oscillator is up and running
2814 #define OTP_DBG_ROSC_UP_RESET  "-"
2815 #define OTP_DBG_ROSC_UP_BITS   _u(0x00000008)
2816 #define OTP_DBG_ROSC_UP_MSB    _u(3)
2817 #define OTP_DBG_ROSC_UP_LSB    _u(3)
2818 #define OTP_DBG_ROSC_UP_ACCESS "RO"
2819 // -----------------------------------------------------------------------------
2820 // Field       : OTP_DBG_ROSC_UP_SEEN
2821 // Description : Ring oscillator was seen up and running
2822 #define OTP_DBG_ROSC_UP_SEEN_RESET  _u(0x0)
2823 #define OTP_DBG_ROSC_UP_SEEN_BITS   _u(0x00000004)
2824 #define OTP_DBG_ROSC_UP_SEEN_MSB    _u(2)
2825 #define OTP_DBG_ROSC_UP_SEEN_LSB    _u(2)
2826 #define OTP_DBG_ROSC_UP_SEEN_ACCESS "WC"
2827 // -----------------------------------------------------------------------------
2828 // Field       : OTP_DBG_BOOT_DONE
2829 // Description : PSM boot done status flag
2830 #define OTP_DBG_BOOT_DONE_RESET  "-"
2831 #define OTP_DBG_BOOT_DONE_BITS   _u(0x00000002)
2832 #define OTP_DBG_BOOT_DONE_MSB    _u(1)
2833 #define OTP_DBG_BOOT_DONE_LSB    _u(1)
2834 #define OTP_DBG_BOOT_DONE_ACCESS "RO"
2835 // -----------------------------------------------------------------------------
2836 // Field       : OTP_DBG_PSM_DONE
2837 // Description : PSM done status flag
2838 #define OTP_DBG_PSM_DONE_RESET  "-"
2839 #define OTP_DBG_PSM_DONE_BITS   _u(0x00000001)
2840 #define OTP_DBG_PSM_DONE_MSB    _u(0)
2841 #define OTP_DBG_PSM_DONE_LSB    _u(0)
2842 #define OTP_DBG_PSM_DONE_ACCESS "RO"
2843 // =============================================================================
2844 // Register    : OTP_BIST
2845 // Description : During BIST, count address locations that have at least one
2846 //               leaky bit
2847 #define OTP_BIST_OFFSET _u(0x00000134)
2848 #define OTP_BIST_BITS   _u(0x7fff1fff)
2849 #define OTP_BIST_RESET  _u(0x0fff0000)
2850 // -----------------------------------------------------------------------------
2851 // Field       : OTP_BIST_CNT_FAIL
2852 // Description : Flag if the count of address locations with at least one leaky
2853 //               bit exceeds cnt_max
2854 #define OTP_BIST_CNT_FAIL_RESET  "-"
2855 #define OTP_BIST_CNT_FAIL_BITS   _u(0x40000000)
2856 #define OTP_BIST_CNT_FAIL_MSB    _u(30)
2857 #define OTP_BIST_CNT_FAIL_LSB    _u(30)
2858 #define OTP_BIST_CNT_FAIL_ACCESS "RO"
2859 // -----------------------------------------------------------------------------
2860 // Field       : OTP_BIST_CNT_CLR
2861 // Description : Clear counter before use
2862 #define OTP_BIST_CNT_CLR_RESET  _u(0x0)
2863 #define OTP_BIST_CNT_CLR_BITS   _u(0x20000000)
2864 #define OTP_BIST_CNT_CLR_MSB    _u(29)
2865 #define OTP_BIST_CNT_CLR_LSB    _u(29)
2866 #define OTP_BIST_CNT_CLR_ACCESS "SC"
2867 // -----------------------------------------------------------------------------
2868 // Field       : OTP_BIST_CNT_ENA
2869 // Description : Enable the counter before the BIST function is initiated
2870 #define OTP_BIST_CNT_ENA_RESET  _u(0x0)
2871 #define OTP_BIST_CNT_ENA_BITS   _u(0x10000000)
2872 #define OTP_BIST_CNT_ENA_MSB    _u(28)
2873 #define OTP_BIST_CNT_ENA_LSB    _u(28)
2874 #define OTP_BIST_CNT_ENA_ACCESS "RW"
2875 // -----------------------------------------------------------------------------
2876 // Field       : OTP_BIST_CNT_MAX
2877 // Description : The cnt_fail flag will be set if the number of leaky locations
2878 //               exceeds this number
2879 #define OTP_BIST_CNT_MAX_RESET  _u(0xfff)
2880 #define OTP_BIST_CNT_MAX_BITS   _u(0x0fff0000)
2881 #define OTP_BIST_CNT_MAX_MSB    _u(27)
2882 #define OTP_BIST_CNT_MAX_LSB    _u(16)
2883 #define OTP_BIST_CNT_MAX_ACCESS "RW"
2884 // -----------------------------------------------------------------------------
2885 // Field       : OTP_BIST_CNT
2886 // Description : Number of locations that have at least one leaky bit. Note:
2887 //               This count is true only if the BIST was initiated without the
2888 //               fix option.
2889 #define OTP_BIST_CNT_RESET  "-"
2890 #define OTP_BIST_CNT_BITS   _u(0x00001fff)
2891 #define OTP_BIST_CNT_MSB    _u(12)
2892 #define OTP_BIST_CNT_LSB    _u(0)
2893 #define OTP_BIST_CNT_ACCESS "RO"
2894 // =============================================================================
2895 // Register    : OTP_CRT_KEY_W0
2896 // Description : Word 0 (bits 31..0) of the key. Write only, read returns 0x0
2897 #define OTP_CRT_KEY_W0_OFFSET _u(0x00000138)
2898 #define OTP_CRT_KEY_W0_BITS   _u(0xffffffff)
2899 #define OTP_CRT_KEY_W0_RESET  _u(0x00000000)
2900 #define OTP_CRT_KEY_W0_MSB    _u(31)
2901 #define OTP_CRT_KEY_W0_LSB    _u(0)
2902 #define OTP_CRT_KEY_W0_ACCESS "WO"
2903 // =============================================================================
2904 // Register    : OTP_CRT_KEY_W1
2905 // Description : Word 1 (bits 63..32) of the key. Write only, read returns 0x0
2906 #define OTP_CRT_KEY_W1_OFFSET _u(0x0000013c)
2907 #define OTP_CRT_KEY_W1_BITS   _u(0xffffffff)
2908 #define OTP_CRT_KEY_W1_RESET  _u(0x00000000)
2909 #define OTP_CRT_KEY_W1_MSB    _u(31)
2910 #define OTP_CRT_KEY_W1_LSB    _u(0)
2911 #define OTP_CRT_KEY_W1_ACCESS "WO"
2912 // =============================================================================
2913 // Register    : OTP_CRT_KEY_W2
2914 // Description : Word 2 (bits 95..64) of the key. Write only, read returns 0x0
2915 #define OTP_CRT_KEY_W2_OFFSET _u(0x00000140)
2916 #define OTP_CRT_KEY_W2_BITS   _u(0xffffffff)
2917 #define OTP_CRT_KEY_W2_RESET  _u(0x00000000)
2918 #define OTP_CRT_KEY_W2_MSB    _u(31)
2919 #define OTP_CRT_KEY_W2_LSB    _u(0)
2920 #define OTP_CRT_KEY_W2_ACCESS "WO"
2921 // =============================================================================
2922 // Register    : OTP_CRT_KEY_W3
2923 // Description : Word 3 (bits 127..96) of the key. Write only, read returns 0x0
2924 #define OTP_CRT_KEY_W3_OFFSET _u(0x00000144)
2925 #define OTP_CRT_KEY_W3_BITS   _u(0xffffffff)
2926 #define OTP_CRT_KEY_W3_RESET  _u(0x00000000)
2927 #define OTP_CRT_KEY_W3_MSB    _u(31)
2928 #define OTP_CRT_KEY_W3_LSB    _u(0)
2929 #define OTP_CRT_KEY_W3_ACCESS "WO"
2930 // =============================================================================
2931 // Register    : OTP_CRITICAL
2932 // Description : Quickly check values of critical flags read during boot up
2933 #define OTP_CRITICAL_OFFSET _u(0x00000148)
2934 #define OTP_CRITICAL_BITS   _u(0x0003007f)
2935 #define OTP_CRITICAL_RESET  _u(0x00000000)
2936 // -----------------------------------------------------------------------------
2937 // Field       : OTP_CRITICAL_RISCV_DISABLE
2938 #define OTP_CRITICAL_RISCV_DISABLE_RESET  _u(0x0)
2939 #define OTP_CRITICAL_RISCV_DISABLE_BITS   _u(0x00020000)
2940 #define OTP_CRITICAL_RISCV_DISABLE_MSB    _u(17)
2941 #define OTP_CRITICAL_RISCV_DISABLE_LSB    _u(17)
2942 #define OTP_CRITICAL_RISCV_DISABLE_ACCESS "RO"
2943 // -----------------------------------------------------------------------------
2944 // Field       : OTP_CRITICAL_ARM_DISABLE
2945 #define OTP_CRITICAL_ARM_DISABLE_RESET  _u(0x0)
2946 #define OTP_CRITICAL_ARM_DISABLE_BITS   _u(0x00010000)
2947 #define OTP_CRITICAL_ARM_DISABLE_MSB    _u(16)
2948 #define OTP_CRITICAL_ARM_DISABLE_LSB    _u(16)
2949 #define OTP_CRITICAL_ARM_DISABLE_ACCESS "RO"
2950 // -----------------------------------------------------------------------------
2951 // Field       : OTP_CRITICAL_GLITCH_DETECTOR_SENS
2952 #define OTP_CRITICAL_GLITCH_DETECTOR_SENS_RESET  _u(0x0)
2953 #define OTP_CRITICAL_GLITCH_DETECTOR_SENS_BITS   _u(0x00000060)
2954 #define OTP_CRITICAL_GLITCH_DETECTOR_SENS_MSB    _u(6)
2955 #define OTP_CRITICAL_GLITCH_DETECTOR_SENS_LSB    _u(5)
2956 #define OTP_CRITICAL_GLITCH_DETECTOR_SENS_ACCESS "RO"
2957 // -----------------------------------------------------------------------------
2958 // Field       : OTP_CRITICAL_GLITCH_DETECTOR_ENABLE
2959 #define OTP_CRITICAL_GLITCH_DETECTOR_ENABLE_RESET  _u(0x0)
2960 #define OTP_CRITICAL_GLITCH_DETECTOR_ENABLE_BITS   _u(0x00000010)
2961 #define OTP_CRITICAL_GLITCH_DETECTOR_ENABLE_MSB    _u(4)
2962 #define OTP_CRITICAL_GLITCH_DETECTOR_ENABLE_LSB    _u(4)
2963 #define OTP_CRITICAL_GLITCH_DETECTOR_ENABLE_ACCESS "RO"
2964 // -----------------------------------------------------------------------------
2965 // Field       : OTP_CRITICAL_DEFAULT_ARCHSEL
2966 #define OTP_CRITICAL_DEFAULT_ARCHSEL_RESET  _u(0x0)
2967 #define OTP_CRITICAL_DEFAULT_ARCHSEL_BITS   _u(0x00000008)
2968 #define OTP_CRITICAL_DEFAULT_ARCHSEL_MSB    _u(3)
2969 #define OTP_CRITICAL_DEFAULT_ARCHSEL_LSB    _u(3)
2970 #define OTP_CRITICAL_DEFAULT_ARCHSEL_ACCESS "RO"
2971 // -----------------------------------------------------------------------------
2972 // Field       : OTP_CRITICAL_DEBUG_DISABLE
2973 #define OTP_CRITICAL_DEBUG_DISABLE_RESET  _u(0x0)
2974 #define OTP_CRITICAL_DEBUG_DISABLE_BITS   _u(0x00000004)
2975 #define OTP_CRITICAL_DEBUG_DISABLE_MSB    _u(2)
2976 #define OTP_CRITICAL_DEBUG_DISABLE_LSB    _u(2)
2977 #define OTP_CRITICAL_DEBUG_DISABLE_ACCESS "RO"
2978 // -----------------------------------------------------------------------------
2979 // Field       : OTP_CRITICAL_SECURE_DEBUG_DISABLE
2980 #define OTP_CRITICAL_SECURE_DEBUG_DISABLE_RESET  _u(0x0)
2981 #define OTP_CRITICAL_SECURE_DEBUG_DISABLE_BITS   _u(0x00000002)
2982 #define OTP_CRITICAL_SECURE_DEBUG_DISABLE_MSB    _u(1)
2983 #define OTP_CRITICAL_SECURE_DEBUG_DISABLE_LSB    _u(1)
2984 #define OTP_CRITICAL_SECURE_DEBUG_DISABLE_ACCESS "RO"
2985 // -----------------------------------------------------------------------------
2986 // Field       : OTP_CRITICAL_SECURE_BOOT_ENABLE
2987 #define OTP_CRITICAL_SECURE_BOOT_ENABLE_RESET  _u(0x0)
2988 #define OTP_CRITICAL_SECURE_BOOT_ENABLE_BITS   _u(0x00000001)
2989 #define OTP_CRITICAL_SECURE_BOOT_ENABLE_MSB    _u(0)
2990 #define OTP_CRITICAL_SECURE_BOOT_ENABLE_LSB    _u(0)
2991 #define OTP_CRITICAL_SECURE_BOOT_ENABLE_ACCESS "RO"
2992 // =============================================================================
2993 // Register    : OTP_KEY_VALID
2994 // Description : Which keys were valid (enrolled) at boot time
2995 #define OTP_KEY_VALID_OFFSET _u(0x0000014c)
2996 #define OTP_KEY_VALID_BITS   _u(0x000000ff)
2997 #define OTP_KEY_VALID_RESET  _u(0x00000000)
2998 #define OTP_KEY_VALID_MSB    _u(7)
2999 #define OTP_KEY_VALID_LSB    _u(0)
3000 #define OTP_KEY_VALID_ACCESS "RO"
3001 // =============================================================================
3002 // Register    : OTP_DEBUGEN
3003 // Description : Enable a debug feature that has been disabled. Debug features
3004 //               are disabled if one of the relevant critical boot flags is set
3005 //               in OTP (DEBUG_DISABLE or SECURE_DEBUG_DISABLE), OR if a debug
3006 //               key is marked valid in OTP, and the matching key value has not
3007 //               been supplied over SWD.
3008 //
3009 //               Specifically:
3010 //
3011 //               - The DEBUG_DISABLE flag disables all debug features. This can
3012 //               be fully overridden by setting all bits of this register.
3013 //
3014 //               - The SECURE_DEBUG_DISABLE flag disables secure processor
3015 //               debug. This can be fully overridden by setting the PROC0_SECURE
3016 //               and PROC1_SECURE bits of this register.
3017 //
3018 //               - If a single debug key has been registered, and no matching
3019 //               key value has been supplied over SWD, then all debug features
3020 //               are disabled. This can be fully overridden by setting all bits
3021 //               of this register.
3022 //
3023 //               - If both debug keys have been registered, and the Non-secure
3024 //               key's value (key 6) has been supplied over SWD, secure
3025 //               processor debug is disabled. This can be fully overridden by
3026 //               setting the PROC0_SECURE and PROC1_SECURE bits of this
3027 //               register.
3028 //
3029 //               - If both debug keys have been registered, and the Secure key's
3030 //               value (key 5) has been supplied over SWD, then no debug
3031 //               features are disabled by the key mechanism. However, note that
3032 //               in this case debug features may still be disabled by the
3033 //               critical boot flags.
3034 #define OTP_DEBUGEN_OFFSET _u(0x00000150)
3035 #define OTP_DEBUGEN_BITS   _u(0x0000010f)
3036 #define OTP_DEBUGEN_RESET  _u(0x00000000)
3037 // -----------------------------------------------------------------------------
3038 // Field       : OTP_DEBUGEN_MISC
3039 // Description : Enable other debug components. Specifically, the CTI, and the
3040 //               APB-AP used to access the RISC-V Debug Module.
3041 //
3042 //               These components are disabled by default if either of the debug
3043 //               disable critical flags is set, or if at least one debug key has
3044 //               been enrolled and the least secure of these enrolled key values
3045 //               has not been provided over SWD.
3046 #define OTP_DEBUGEN_MISC_RESET  _u(0x0)
3047 #define OTP_DEBUGEN_MISC_BITS   _u(0x00000100)
3048 #define OTP_DEBUGEN_MISC_MSB    _u(8)
3049 #define OTP_DEBUGEN_MISC_LSB    _u(8)
3050 #define OTP_DEBUGEN_MISC_ACCESS "RW"
3051 // -----------------------------------------------------------------------------
3052 // Field       : OTP_DEBUGEN_PROC1_SECURE
3053 // Description : Permit core 1's Mem-AP to generate Secure accesses, assuming it
3054 //               is enabled at all. Also enable secure debug of core 1 (SPIDEN
3055 //               and SPNIDEN).
3056 //
3057 //               Secure debug of core 1 is disabled by default if the secure
3058 //               debug disable critical flag is set, or if at least one debug
3059 //               key has been enrolled and the most secure of these enrolled key
3060 //               values not yet provided over SWD.
3061 #define OTP_DEBUGEN_PROC1_SECURE_RESET  _u(0x0)
3062 #define OTP_DEBUGEN_PROC1_SECURE_BITS   _u(0x00000008)
3063 #define OTP_DEBUGEN_PROC1_SECURE_MSB    _u(3)
3064 #define OTP_DEBUGEN_PROC1_SECURE_LSB    _u(3)
3065 #define OTP_DEBUGEN_PROC1_SECURE_ACCESS "RW"
3066 // -----------------------------------------------------------------------------
3067 // Field       : OTP_DEBUGEN_PROC1
3068 // Description : Enable core 1's Mem-AP if it is currently disabled.
3069 //
3070 //               The Mem-AP is disabled by default if either of the debug
3071 //               disable critical flags is set, or if at least one debug key has
3072 //               been enrolled and the least secure of these enrolled key values
3073 //               has not been provided over SWD.
3074 #define OTP_DEBUGEN_PROC1_RESET  _u(0x0)
3075 #define OTP_DEBUGEN_PROC1_BITS   _u(0x00000004)
3076 #define OTP_DEBUGEN_PROC1_MSB    _u(2)
3077 #define OTP_DEBUGEN_PROC1_LSB    _u(2)
3078 #define OTP_DEBUGEN_PROC1_ACCESS "RW"
3079 // -----------------------------------------------------------------------------
3080 // Field       : OTP_DEBUGEN_PROC0_SECURE
3081 // Description : Permit core 0's Mem-AP to generate Secure accesses, assuming it
3082 //               is enabled at all. Also enable secure debug of core 0 (SPIDEN
3083 //               and SPNIDEN).
3084 //
3085 //               Secure debug of core 0 is disabled by default if the secure
3086 //               debug disable critical flag is set, or if at least one debug
3087 //               key has been enrolled and the most secure of these enrolled key
3088 //               values not yet provided over SWD.
3089 //
3090 //               Note also that core Mem-APs are unconditionally disabled when a
3091 //               core is switched to RISC-V mode (by setting the ARCHSEL bit and
3092 //               performing a warm reset of the core).
3093 #define OTP_DEBUGEN_PROC0_SECURE_RESET  _u(0x0)
3094 #define OTP_DEBUGEN_PROC0_SECURE_BITS   _u(0x00000002)
3095 #define OTP_DEBUGEN_PROC0_SECURE_MSB    _u(1)
3096 #define OTP_DEBUGEN_PROC0_SECURE_LSB    _u(1)
3097 #define OTP_DEBUGEN_PROC0_SECURE_ACCESS "RW"
3098 // -----------------------------------------------------------------------------
3099 // Field       : OTP_DEBUGEN_PROC0
3100 // Description : Enable core 0's Mem-AP if it is currently disabled.
3101 //
3102 //               The Mem-AP is disabled by default if either of the debug
3103 //               disable critical flags is set, or if at least one debug key has
3104 //               been enrolled and the least secure of these enrolled key values
3105 //               has not been provided over SWD.
3106 //
3107 //               Note also that core Mem-APs are unconditionally disabled when a
3108 //               core is switched to RISC-V mode (by setting the ARCHSEL bit and
3109 //               performing a warm reset of the core).
3110 #define OTP_DEBUGEN_PROC0_RESET  _u(0x0)
3111 #define OTP_DEBUGEN_PROC0_BITS   _u(0x00000001)
3112 #define OTP_DEBUGEN_PROC0_MSB    _u(0)
3113 #define OTP_DEBUGEN_PROC0_LSB    _u(0)
3114 #define OTP_DEBUGEN_PROC0_ACCESS "RW"
3115 // =============================================================================
3116 // Register    : OTP_DEBUGEN_LOCK
3117 // Description : Write 1s to lock corresponding bits in DEBUGEN. This register
3118 //               is reset by the processor cold reset.
3119 #define OTP_DEBUGEN_LOCK_OFFSET _u(0x00000154)
3120 #define OTP_DEBUGEN_LOCK_BITS   _u(0x0000010f)
3121 #define OTP_DEBUGEN_LOCK_RESET  _u(0x00000000)
3122 // -----------------------------------------------------------------------------
3123 // Field       : OTP_DEBUGEN_LOCK_MISC
3124 // Description : Write 1 to lock the MISC bit of DEBUGEN. Can't be cleared once
3125 //               set.
3126 #define OTP_DEBUGEN_LOCK_MISC_RESET  _u(0x0)
3127 #define OTP_DEBUGEN_LOCK_MISC_BITS   _u(0x00000100)
3128 #define OTP_DEBUGEN_LOCK_MISC_MSB    _u(8)
3129 #define OTP_DEBUGEN_LOCK_MISC_LSB    _u(8)
3130 #define OTP_DEBUGEN_LOCK_MISC_ACCESS "RW"
3131 // -----------------------------------------------------------------------------
3132 // Field       : OTP_DEBUGEN_LOCK_PROC1_SECURE
3133 // Description : Write 1 to lock the PROC1_SECURE bit of DEBUGEN. Can't be
3134 //               cleared once set.
3135 #define OTP_DEBUGEN_LOCK_PROC1_SECURE_RESET  _u(0x0)
3136 #define OTP_DEBUGEN_LOCK_PROC1_SECURE_BITS   _u(0x00000008)
3137 #define OTP_DEBUGEN_LOCK_PROC1_SECURE_MSB    _u(3)
3138 #define OTP_DEBUGEN_LOCK_PROC1_SECURE_LSB    _u(3)
3139 #define OTP_DEBUGEN_LOCK_PROC1_SECURE_ACCESS "RW"
3140 // -----------------------------------------------------------------------------
3141 // Field       : OTP_DEBUGEN_LOCK_PROC1
3142 // Description : Write 1 to lock the PROC1 bit of DEBUGEN. Can't be cleared once
3143 //               set.
3144 #define OTP_DEBUGEN_LOCK_PROC1_RESET  _u(0x0)
3145 #define OTP_DEBUGEN_LOCK_PROC1_BITS   _u(0x00000004)
3146 #define OTP_DEBUGEN_LOCK_PROC1_MSB    _u(2)
3147 #define OTP_DEBUGEN_LOCK_PROC1_LSB    _u(2)
3148 #define OTP_DEBUGEN_LOCK_PROC1_ACCESS "RW"
3149 // -----------------------------------------------------------------------------
3150 // Field       : OTP_DEBUGEN_LOCK_PROC0_SECURE
3151 // Description : Write 1 to lock the PROC0_SECURE bit of DEBUGEN. Can't be
3152 //               cleared once set.
3153 #define OTP_DEBUGEN_LOCK_PROC0_SECURE_RESET  _u(0x0)
3154 #define OTP_DEBUGEN_LOCK_PROC0_SECURE_BITS   _u(0x00000002)
3155 #define OTP_DEBUGEN_LOCK_PROC0_SECURE_MSB    _u(1)
3156 #define OTP_DEBUGEN_LOCK_PROC0_SECURE_LSB    _u(1)
3157 #define OTP_DEBUGEN_LOCK_PROC0_SECURE_ACCESS "RW"
3158 // -----------------------------------------------------------------------------
3159 // Field       : OTP_DEBUGEN_LOCK_PROC0
3160 // Description : Write 1 to lock the PROC0 bit of DEBUGEN. Can't be cleared once
3161 //               set.
3162 #define OTP_DEBUGEN_LOCK_PROC0_RESET  _u(0x0)
3163 #define OTP_DEBUGEN_LOCK_PROC0_BITS   _u(0x00000001)
3164 #define OTP_DEBUGEN_LOCK_PROC0_MSB    _u(0)
3165 #define OTP_DEBUGEN_LOCK_PROC0_LSB    _u(0)
3166 #define OTP_DEBUGEN_LOCK_PROC0_ACCESS "RW"
3167 // =============================================================================
3168 // Register    : OTP_ARCHSEL
3169 // Description : Architecture select (Arm/RISC-V). The default and allowable
3170 //               values of this register are constrained by the critical boot
3171 //               flags.
3172 //
3173 //               This register is reset by the earliest reset in the switched
3174 //               core power domain (before a processor cold reset).
3175 //
3176 //               Cores sample their architecture select signal on a warm reset.
3177 //               The source of the warm reset could be the system power-up state
3178 //               machine, the watchdog timer, Arm SYSRESETREQ or from RISC-V
3179 //               hartresetreq.
3180 //
3181 //               Note that when an Arm core is deselected, its cold reset domain
3182 //               is also held in reset, since in particular the SYSRESETREQ bit
3183 //               becomes inaccessible once the core is deselected. Note also the
3184 //               RISC-V cores do not have a cold reset domain, since their
3185 //               corresponding controls are located in the Debug Module.
3186 #define OTP_ARCHSEL_OFFSET _u(0x00000158)
3187 #define OTP_ARCHSEL_BITS   _u(0x00000003)
3188 #define OTP_ARCHSEL_RESET  _u(0x00000000)
3189 // -----------------------------------------------------------------------------
3190 // Field       : OTP_ARCHSEL_CORE1
3191 // Description : Select architecture for core 1.
3192 //               0x0 -> Switch core 1 to Arm (Cortex-M33)
3193 //               0x1 -> Switch core 1 to RISC-V (Hazard3)
3194 #define OTP_ARCHSEL_CORE1_RESET  _u(0x0)
3195 #define OTP_ARCHSEL_CORE1_BITS   _u(0x00000002)
3196 #define OTP_ARCHSEL_CORE1_MSB    _u(1)
3197 #define OTP_ARCHSEL_CORE1_LSB    _u(1)
3198 #define OTP_ARCHSEL_CORE1_ACCESS "RW"
3199 #define OTP_ARCHSEL_CORE1_VALUE_ARM _u(0x0)
3200 #define OTP_ARCHSEL_CORE1_VALUE_RISCV _u(0x1)
3201 // -----------------------------------------------------------------------------
3202 // Field       : OTP_ARCHSEL_CORE0
3203 // Description : Select architecture for core 0.
3204 //               0x0 -> Switch core 0 to Arm (Cortex-M33)
3205 //               0x1 -> Switch core 0 to RISC-V (Hazard3)
3206 #define OTP_ARCHSEL_CORE0_RESET  _u(0x0)
3207 #define OTP_ARCHSEL_CORE0_BITS   _u(0x00000001)
3208 #define OTP_ARCHSEL_CORE0_MSB    _u(0)
3209 #define OTP_ARCHSEL_CORE0_LSB    _u(0)
3210 #define OTP_ARCHSEL_CORE0_ACCESS "RW"
3211 #define OTP_ARCHSEL_CORE0_VALUE_ARM _u(0x0)
3212 #define OTP_ARCHSEL_CORE0_VALUE_RISCV _u(0x1)
3213 // =============================================================================
3214 // Register    : OTP_ARCHSEL_STATUS
3215 // Description : Get the current architecture select state of each core. Cores
3216 //               sample the current value of the ARCHSEL register when their
3217 //               warm reset is released, at which point the corresponding bit in
3218 //               this register will also update.
3219 #define OTP_ARCHSEL_STATUS_OFFSET _u(0x0000015c)
3220 #define OTP_ARCHSEL_STATUS_BITS   _u(0x00000003)
3221 #define OTP_ARCHSEL_STATUS_RESET  _u(0x00000000)
3222 // -----------------------------------------------------------------------------
3223 // Field       : OTP_ARCHSEL_STATUS_CORE1
3224 // Description : Current architecture for core 0. Updated on processor warm
3225 //               reset.
3226 //               0x0 -> Core 1 is currently Arm (Cortex-M33)
3227 //               0x1 -> Core 1 is currently RISC-V (Hazard3)
3228 #define OTP_ARCHSEL_STATUS_CORE1_RESET  _u(0x0)
3229 #define OTP_ARCHSEL_STATUS_CORE1_BITS   _u(0x00000002)
3230 #define OTP_ARCHSEL_STATUS_CORE1_MSB    _u(1)
3231 #define OTP_ARCHSEL_STATUS_CORE1_LSB    _u(1)
3232 #define OTP_ARCHSEL_STATUS_CORE1_ACCESS "RO"
3233 #define OTP_ARCHSEL_STATUS_CORE1_VALUE_ARM _u(0x0)
3234 #define OTP_ARCHSEL_STATUS_CORE1_VALUE_RISCV _u(0x1)
3235 // -----------------------------------------------------------------------------
3236 // Field       : OTP_ARCHSEL_STATUS_CORE0
3237 // Description : Current architecture for core 0. Updated on processor warm
3238 //               reset.
3239 //               0x0 -> Core 0 is currently Arm (Cortex-M33)
3240 //               0x1 -> Core 0 is currently RISC-V (Hazard3)
3241 #define OTP_ARCHSEL_STATUS_CORE0_RESET  _u(0x0)
3242 #define OTP_ARCHSEL_STATUS_CORE0_BITS   _u(0x00000001)
3243 #define OTP_ARCHSEL_STATUS_CORE0_MSB    _u(0)
3244 #define OTP_ARCHSEL_STATUS_CORE0_LSB    _u(0)
3245 #define OTP_ARCHSEL_STATUS_CORE0_ACCESS "RO"
3246 #define OTP_ARCHSEL_STATUS_CORE0_VALUE_ARM _u(0x0)
3247 #define OTP_ARCHSEL_STATUS_CORE0_VALUE_RISCV _u(0x1)
3248 // =============================================================================
3249 // Register    : OTP_BOOTDIS
3250 // Description : Tell the bootrom to ignore scratch register boot vectors (both
3251 //               power manager and watchdog) on the next power up.
3252 //
3253 //               If an early boot stage has soft-locked some OTP pages in order
3254 //               to protect their contents from later stages, there is a risk
3255 //               that Secure code running at a later stage can unlock the pages
3256 //               by performing a watchdog reset that resets the OTP.
3257 //
3258 //               This register can be used to ensure that the bootloader runs as
3259 //               normal on the next power up, preventing Secure code at a later
3260 //               stage from accessing OTP in its unlocked state.
3261 //
3262 //               Should be used in conjunction with the power manager BOOTDIS
3263 //               register.
3264 #define OTP_BOOTDIS_OFFSET _u(0x00000160)
3265 #define OTP_BOOTDIS_BITS   _u(0x00000003)
3266 #define OTP_BOOTDIS_RESET  _u(0x00000000)
3267 // -----------------------------------------------------------------------------
3268 // Field       : OTP_BOOTDIS_NEXT
3269 // Description : This flag always ORs writes into its current contents. It can
3270 //               be set but not cleared by software.
3271 //
3272 //               The BOOTDIS_NEXT bit is OR'd into the BOOTDIS_NOW bit when the
3273 //               core is powered down. Simultaneously, the BOOTDIS_NEXT bit is
3274 //               cleared. Setting this bit means that the boot scratch registers
3275 //               will be ignored following the next core power down.
3276 //
3277 //               This flag should be set by an early boot stage that has soft-
3278 //               locked OTP pages, to prevent later stages from unlocking it via
3279 //               watchdog reset.
3280 #define OTP_BOOTDIS_NEXT_RESET  _u(0x0)
3281 #define OTP_BOOTDIS_NEXT_BITS   _u(0x00000002)
3282 #define OTP_BOOTDIS_NEXT_MSB    _u(1)
3283 #define OTP_BOOTDIS_NEXT_LSB    _u(1)
3284 #define OTP_BOOTDIS_NEXT_ACCESS "RW"
3285 // -----------------------------------------------------------------------------
3286 // Field       : OTP_BOOTDIS_NOW
3287 // Description : When the core is powered down, the current value of
3288 //               BOOTDIS_NEXT is OR'd into BOOTDIS_NOW, and BOOTDIS_NEXT is
3289 //               cleared.
3290 //
3291 //               The bootrom checks this flag before reading the boot scratch
3292 //               registers. If it is set, the bootrom clears it, and ignores the
3293 //               BOOT registers. This prevents Secure software from diverting
3294 //               the boot path before a bootloader has had the chance to soft
3295 //               lock OTP pages containing sensitive data.
3296 #define OTP_BOOTDIS_NOW_RESET  _u(0x0)
3297 #define OTP_BOOTDIS_NOW_BITS   _u(0x00000001)
3298 #define OTP_BOOTDIS_NOW_MSB    _u(0)
3299 #define OTP_BOOTDIS_NOW_LSB    _u(0)
3300 #define OTP_BOOTDIS_NOW_ACCESS "WC"
3301 // =============================================================================
3302 // Register    : OTP_INTR
3303 // Description : Raw Interrupts
3304 #define OTP_INTR_OFFSET _u(0x00000164)
3305 #define OTP_INTR_BITS   _u(0x0000001f)
3306 #define OTP_INTR_RESET  _u(0x00000000)
3307 // -----------------------------------------------------------------------------
3308 // Field       : OTP_INTR_APB_RD_NSEC_FAIL
3309 #define OTP_INTR_APB_RD_NSEC_FAIL_RESET  _u(0x0)
3310 #define OTP_INTR_APB_RD_NSEC_FAIL_BITS   _u(0x00000010)
3311 #define OTP_INTR_APB_RD_NSEC_FAIL_MSB    _u(4)
3312 #define OTP_INTR_APB_RD_NSEC_FAIL_LSB    _u(4)
3313 #define OTP_INTR_APB_RD_NSEC_FAIL_ACCESS "WC"
3314 // -----------------------------------------------------------------------------
3315 // Field       : OTP_INTR_APB_RD_SEC_FAIL
3316 #define OTP_INTR_APB_RD_SEC_FAIL_RESET  _u(0x0)
3317 #define OTP_INTR_APB_RD_SEC_FAIL_BITS   _u(0x00000008)
3318 #define OTP_INTR_APB_RD_SEC_FAIL_MSB    _u(3)
3319 #define OTP_INTR_APB_RD_SEC_FAIL_LSB    _u(3)
3320 #define OTP_INTR_APB_RD_SEC_FAIL_ACCESS "WC"
3321 // -----------------------------------------------------------------------------
3322 // Field       : OTP_INTR_APB_DCTRL_FAIL
3323 #define OTP_INTR_APB_DCTRL_FAIL_RESET  _u(0x0)
3324 #define OTP_INTR_APB_DCTRL_FAIL_BITS   _u(0x00000004)
3325 #define OTP_INTR_APB_DCTRL_FAIL_MSB    _u(2)
3326 #define OTP_INTR_APB_DCTRL_FAIL_LSB    _u(2)
3327 #define OTP_INTR_APB_DCTRL_FAIL_ACCESS "WC"
3328 // -----------------------------------------------------------------------------
3329 // Field       : OTP_INTR_SBPI_WR_FAIL
3330 #define OTP_INTR_SBPI_WR_FAIL_RESET  _u(0x0)
3331 #define OTP_INTR_SBPI_WR_FAIL_BITS   _u(0x00000002)
3332 #define OTP_INTR_SBPI_WR_FAIL_MSB    _u(1)
3333 #define OTP_INTR_SBPI_WR_FAIL_LSB    _u(1)
3334 #define OTP_INTR_SBPI_WR_FAIL_ACCESS "WC"
3335 // -----------------------------------------------------------------------------
3336 // Field       : OTP_INTR_SBPI_FLAG_N
3337 #define OTP_INTR_SBPI_FLAG_N_RESET  _u(0x0)
3338 #define OTP_INTR_SBPI_FLAG_N_BITS   _u(0x00000001)
3339 #define OTP_INTR_SBPI_FLAG_N_MSB    _u(0)
3340 #define OTP_INTR_SBPI_FLAG_N_LSB    _u(0)
3341 #define OTP_INTR_SBPI_FLAG_N_ACCESS "RO"
3342 // =============================================================================
3343 // Register    : OTP_INTE
3344 // Description : Interrupt Enable
3345 #define OTP_INTE_OFFSET _u(0x00000168)
3346 #define OTP_INTE_BITS   _u(0x0000001f)
3347 #define OTP_INTE_RESET  _u(0x00000000)
3348 // -----------------------------------------------------------------------------
3349 // Field       : OTP_INTE_APB_RD_NSEC_FAIL
3350 #define OTP_INTE_APB_RD_NSEC_FAIL_RESET  _u(0x0)
3351 #define OTP_INTE_APB_RD_NSEC_FAIL_BITS   _u(0x00000010)
3352 #define OTP_INTE_APB_RD_NSEC_FAIL_MSB    _u(4)
3353 #define OTP_INTE_APB_RD_NSEC_FAIL_LSB    _u(4)
3354 #define OTP_INTE_APB_RD_NSEC_FAIL_ACCESS "RW"
3355 // -----------------------------------------------------------------------------
3356 // Field       : OTP_INTE_APB_RD_SEC_FAIL
3357 #define OTP_INTE_APB_RD_SEC_FAIL_RESET  _u(0x0)
3358 #define OTP_INTE_APB_RD_SEC_FAIL_BITS   _u(0x00000008)
3359 #define OTP_INTE_APB_RD_SEC_FAIL_MSB    _u(3)
3360 #define OTP_INTE_APB_RD_SEC_FAIL_LSB    _u(3)
3361 #define OTP_INTE_APB_RD_SEC_FAIL_ACCESS "RW"
3362 // -----------------------------------------------------------------------------
3363 // Field       : OTP_INTE_APB_DCTRL_FAIL
3364 #define OTP_INTE_APB_DCTRL_FAIL_RESET  _u(0x0)
3365 #define OTP_INTE_APB_DCTRL_FAIL_BITS   _u(0x00000004)
3366 #define OTP_INTE_APB_DCTRL_FAIL_MSB    _u(2)
3367 #define OTP_INTE_APB_DCTRL_FAIL_LSB    _u(2)
3368 #define OTP_INTE_APB_DCTRL_FAIL_ACCESS "RW"
3369 // -----------------------------------------------------------------------------
3370 // Field       : OTP_INTE_SBPI_WR_FAIL
3371 #define OTP_INTE_SBPI_WR_FAIL_RESET  _u(0x0)
3372 #define OTP_INTE_SBPI_WR_FAIL_BITS   _u(0x00000002)
3373 #define OTP_INTE_SBPI_WR_FAIL_MSB    _u(1)
3374 #define OTP_INTE_SBPI_WR_FAIL_LSB    _u(1)
3375 #define OTP_INTE_SBPI_WR_FAIL_ACCESS "RW"
3376 // -----------------------------------------------------------------------------
3377 // Field       : OTP_INTE_SBPI_FLAG_N
3378 #define OTP_INTE_SBPI_FLAG_N_RESET  _u(0x0)
3379 #define OTP_INTE_SBPI_FLAG_N_BITS   _u(0x00000001)
3380 #define OTP_INTE_SBPI_FLAG_N_MSB    _u(0)
3381 #define OTP_INTE_SBPI_FLAG_N_LSB    _u(0)
3382 #define OTP_INTE_SBPI_FLAG_N_ACCESS "RW"
3383 // =============================================================================
3384 // Register    : OTP_INTF
3385 // Description : Interrupt Force
3386 #define OTP_INTF_OFFSET _u(0x0000016c)
3387 #define OTP_INTF_BITS   _u(0x0000001f)
3388 #define OTP_INTF_RESET  _u(0x00000000)
3389 // -----------------------------------------------------------------------------
3390 // Field       : OTP_INTF_APB_RD_NSEC_FAIL
3391 #define OTP_INTF_APB_RD_NSEC_FAIL_RESET  _u(0x0)
3392 #define OTP_INTF_APB_RD_NSEC_FAIL_BITS   _u(0x00000010)
3393 #define OTP_INTF_APB_RD_NSEC_FAIL_MSB    _u(4)
3394 #define OTP_INTF_APB_RD_NSEC_FAIL_LSB    _u(4)
3395 #define OTP_INTF_APB_RD_NSEC_FAIL_ACCESS "RW"
3396 // -----------------------------------------------------------------------------
3397 // Field       : OTP_INTF_APB_RD_SEC_FAIL
3398 #define OTP_INTF_APB_RD_SEC_FAIL_RESET  _u(0x0)
3399 #define OTP_INTF_APB_RD_SEC_FAIL_BITS   _u(0x00000008)
3400 #define OTP_INTF_APB_RD_SEC_FAIL_MSB    _u(3)
3401 #define OTP_INTF_APB_RD_SEC_FAIL_LSB    _u(3)
3402 #define OTP_INTF_APB_RD_SEC_FAIL_ACCESS "RW"
3403 // -----------------------------------------------------------------------------
3404 // Field       : OTP_INTF_APB_DCTRL_FAIL
3405 #define OTP_INTF_APB_DCTRL_FAIL_RESET  _u(0x0)
3406 #define OTP_INTF_APB_DCTRL_FAIL_BITS   _u(0x00000004)
3407 #define OTP_INTF_APB_DCTRL_FAIL_MSB    _u(2)
3408 #define OTP_INTF_APB_DCTRL_FAIL_LSB    _u(2)
3409 #define OTP_INTF_APB_DCTRL_FAIL_ACCESS "RW"
3410 // -----------------------------------------------------------------------------
3411 // Field       : OTP_INTF_SBPI_WR_FAIL
3412 #define OTP_INTF_SBPI_WR_FAIL_RESET  _u(0x0)
3413 #define OTP_INTF_SBPI_WR_FAIL_BITS   _u(0x00000002)
3414 #define OTP_INTF_SBPI_WR_FAIL_MSB    _u(1)
3415 #define OTP_INTF_SBPI_WR_FAIL_LSB    _u(1)
3416 #define OTP_INTF_SBPI_WR_FAIL_ACCESS "RW"
3417 // -----------------------------------------------------------------------------
3418 // Field       : OTP_INTF_SBPI_FLAG_N
3419 #define OTP_INTF_SBPI_FLAG_N_RESET  _u(0x0)
3420 #define OTP_INTF_SBPI_FLAG_N_BITS   _u(0x00000001)
3421 #define OTP_INTF_SBPI_FLAG_N_MSB    _u(0)
3422 #define OTP_INTF_SBPI_FLAG_N_LSB    _u(0)
3423 #define OTP_INTF_SBPI_FLAG_N_ACCESS "RW"
3424 // =============================================================================
3425 // Register    : OTP_INTS
3426 // Description : Interrupt status after masking & forcing
3427 #define OTP_INTS_OFFSET _u(0x00000170)
3428 #define OTP_INTS_BITS   _u(0x0000001f)
3429 #define OTP_INTS_RESET  _u(0x00000000)
3430 // -----------------------------------------------------------------------------
3431 // Field       : OTP_INTS_APB_RD_NSEC_FAIL
3432 #define OTP_INTS_APB_RD_NSEC_FAIL_RESET  _u(0x0)
3433 #define OTP_INTS_APB_RD_NSEC_FAIL_BITS   _u(0x00000010)
3434 #define OTP_INTS_APB_RD_NSEC_FAIL_MSB    _u(4)
3435 #define OTP_INTS_APB_RD_NSEC_FAIL_LSB    _u(4)
3436 #define OTP_INTS_APB_RD_NSEC_FAIL_ACCESS "RO"
3437 // -----------------------------------------------------------------------------
3438 // Field       : OTP_INTS_APB_RD_SEC_FAIL
3439 #define OTP_INTS_APB_RD_SEC_FAIL_RESET  _u(0x0)
3440 #define OTP_INTS_APB_RD_SEC_FAIL_BITS   _u(0x00000008)
3441 #define OTP_INTS_APB_RD_SEC_FAIL_MSB    _u(3)
3442 #define OTP_INTS_APB_RD_SEC_FAIL_LSB    _u(3)
3443 #define OTP_INTS_APB_RD_SEC_FAIL_ACCESS "RO"
3444 // -----------------------------------------------------------------------------
3445 // Field       : OTP_INTS_APB_DCTRL_FAIL
3446 #define OTP_INTS_APB_DCTRL_FAIL_RESET  _u(0x0)
3447 #define OTP_INTS_APB_DCTRL_FAIL_BITS   _u(0x00000004)
3448 #define OTP_INTS_APB_DCTRL_FAIL_MSB    _u(2)
3449 #define OTP_INTS_APB_DCTRL_FAIL_LSB    _u(2)
3450 #define OTP_INTS_APB_DCTRL_FAIL_ACCESS "RO"
3451 // -----------------------------------------------------------------------------
3452 // Field       : OTP_INTS_SBPI_WR_FAIL
3453 #define OTP_INTS_SBPI_WR_FAIL_RESET  _u(0x0)
3454 #define OTP_INTS_SBPI_WR_FAIL_BITS   _u(0x00000002)
3455 #define OTP_INTS_SBPI_WR_FAIL_MSB    _u(1)
3456 #define OTP_INTS_SBPI_WR_FAIL_LSB    _u(1)
3457 #define OTP_INTS_SBPI_WR_FAIL_ACCESS "RO"
3458 // -----------------------------------------------------------------------------
3459 // Field       : OTP_INTS_SBPI_FLAG_N
3460 #define OTP_INTS_SBPI_FLAG_N_RESET  _u(0x0)
3461 #define OTP_INTS_SBPI_FLAG_N_BITS   _u(0x00000001)
3462 #define OTP_INTS_SBPI_FLAG_N_MSB    _u(0)
3463 #define OTP_INTS_SBPI_FLAG_N_LSB    _u(0)
3464 #define OTP_INTS_SBPI_FLAG_N_ACCESS "RO"
3465 // =============================================================================
3466 #endif // _HARDWARE_REGS_OTP_H
3467 
3468