CC35xxDriverLibrary
hw_soc_ic.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: hw_soc_ic.h
3 *
4 * Description: Defines and prototypes for the SOC_IC peripheral.
5 *
6 * Copyright (c) 2023-2025, Texas Instruments Incorporated
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are met:
11 *
12 * 1) Redistributions of source code must retain the above copyright notice,
13 * this list of conditions and the following disclaimer.
14 *
15 * 2) Redistributions in binary form must reproduce the above copyright notice,
16 * this list of conditions and the following disclaimer in the documentation
17 * and/or other materials provided with the distribution.
18 *
19 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
20 * be used to endorse or promote products derived from this software without
21 * specific prior written permission.
22 *
23  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 *
35 ******************************************************************************/
36 #ifndef __HW_SOC_IC_H__
37 #define __HW_SOC_IC_H__
38 /*-------------------------------------------------------------------------------
39 
40 This section defines the register offsets of the SOC_IC component
41 
42 --------------------------------------------------------------------------------- */
43 
44 //SOC Interconnect priority registers
45 #define SOC_IC_O_PRIO0 0x00000000U
46 
47 //SOC Interconnect priority registers
48 #define SOC_IC_O_PRIO1 0x00000004U
49 
50 //SOC Interconnect priority registers
51 #define SOC_IC_O_PRIO2 0x00000008U
52 
53 //SOC Interconnect priority registers
54 #define SOC_IC_O_PRIO3 0x0000000CU
55 
56 //SOC Interconnect priority registers
57 #define SOC_IC_O_PRIO4 0x00000010U
58 
59 //OCP Slave serror and Time-out Status 1
60 #define SOC_IC_O_ERRSTA1 0x00000014U
61 
62 //OCP Slave serror and Time-out Status 2
63 #define SOC_IC_O_ERRSTA2 0x00000018U
64 
65 //Address Watch Configuration 1
66 #define SOC_IC_O_ADDRCFG1 0x0000001CU
67 
68 //Address Watch Configuration 2
69 #define SOC_IC_O_ADDRCFG2 0x00000020U
70 
71 //Address Watch Configuration 3
72 #define SOC_IC_O_ADDRCFG3 0x00000024U
73 
74 //Address Watch Configuration 4
75 #define SOC_IC_O_ADDRCFG4 0x00000028U
76 
77 //Address Watch Status 1
78 #define SOC_IC_O_ADDRSTA1 0x0000002CU
79 
80 //Address Watch Status 2
81 #define SOC_IC_O_ADDRSTA2 0x00000030U
82 
83 //Time-out Masters Configuration
84 #define SOC_IC_O_TOMSTCFG 0x00000034U
85 
86 //Time-out Slave Configuration
87 #define SOC_IC_O_TOSLVCFG 0x00000038U
88 
89 
90 
91 /*-----------------------------------REGISTER------------------------------------
92  Register name: PRIO0
93  Offset name: SOC_IC_O_PRIO0
94  Relative address: 0x0
95  Description: SOC Interconnect priority registers. Define the priority in which master will be arbitered toward each slave.
96  Default Value: 0x00000001
97 
98  Field: L3WSOCIC
99  From..to bits: 0...2
100  DefaultValue: 0x1
101  Access type: read-write
102  Description: <Slave-name><Master-name>
103  Set the priority for specific Master transaction toward a specific slave.
104  priority values:
105  0 - N.A
106  1 - Lowest priority
107  2 - Higher priority
108  3- ...
109  N - Highest priority
110  where N is NUM_OF_MASTERS
111 
112 
113 */
114 #define SOC_IC_PRIO0_L3WSOCIC_W 3U
115 #define SOC_IC_PRIO0_L3WSOCIC_M 0x00000007U
116 #define SOC_IC_PRIO0_L3WSOCIC_S 0U
117 /*
118 
119  Field: L3DMARD
120  From..to bits: 3...5
121  DefaultValue: 0x0
122  Access type: read-write
123  Description: <Slave-name><Master-name>
124  Set the priority for specific Master transaction toward a specific slave.
125  priority values:
126  0 - N.A
127  1 - Lowest priority
128  2 - Higher priority
129  3- ...
130  N - Highest priority
131  where N is NUM_OF_MASTERS
132 
133 
134 */
135 #define SOC_IC_PRIO0_L3DMARD_W 3U
136 #define SOC_IC_PRIO0_L3DMARD_M 0x00000038U
137 #define SOC_IC_PRIO0_L3DMARD_S 3U
138 /*
139 
140  Field: L3DMAWR
141  From..to bits: 6...8
142  DefaultValue: 0x0
143  Access type: read-write
144  Description: <Slave-name><Master-name>
145  Set the priority for specific Master transaction toward a specific slave.
146  priority values:
147  0 - N.A
148  1 - Lowest priority
149  2 - Higher priority
150  3- ...
151  N - Highest priority
152  where N is NUM_OF_MASTERS
153 
154 
155 */
156 #define SOC_IC_PRIO0_L3DMAWR_W 3U
157 #define SOC_IC_PRIO0_L3DMAWR_M 0x000001C0U
158 #define SOC_IC_PRIO0_L3DMAWR_S 6U
159 /*
160 
161  Field: L3HMCU
162  From..to bits: 9...11
163  DefaultValue: 0x0
164  Access type: read-write
165  Description: <Slave-name><Master-name>
166  Set the priority for specific Master transaction toward a specific slave.
167  priority values:
168  0 - N.A
169  1 - Lowest priority
170  2 - Higher priority
171  3- ...
172  N - Highest priority
173  where N is NUM_OF_MASTERS
174 
175 
176 */
177 #define SOC_IC_PRIO0_L3HMCU_W 3U
178 #define SOC_IC_PRIO0_L3HMCU_M 0x00000E00U
179 #define SOC_IC_PRIO0_L3HMCU_S 9U
180 /*
181 
182  Field: L3I2S
183  From..to bits: 12...14
184  DefaultValue: 0x0
185  Access type: read-write
186  Description: <Slave-name><Master-name>
187  Set the priority for specific Master transaction toward a specific slave.
188  priority values:
189  0 - N.A
190  1 - Lowest priority
191  2 - Higher priority
192  3- ...
193  N - Highest priority
194  where N is NUM_OF_MASTERS
195 
196 
197 */
198 #define SOC_IC_PRIO0_L3I2S_W 3U
199 #define SOC_IC_PRIO0_L3I2S_M 0x00007000U
200 #define SOC_IC_PRIO0_L3I2S_S 12U
201 /*
202 
203  Field: L3HSM
204  From..to bits: 15...17
205  DefaultValue: 0x0
206  Access type: read-write
207  Description: <Slave-name><Master-name>
208  Set the priority for specific Master transaction toward a specific slave.
209  priority values:
210  0 - N.A
211  1 - Lowest priority
212  2 - Higher priority
213  3- ...
214  N - Highest priority
215  where N is NUM_OF_MASTERS
216 
217 
218 */
219 #define SOC_IC_PRIO0_L3HSM_W 3U
220 #define SOC_IC_PRIO0_L3HSM_M 0x00038000U
221 #define SOC_IC_PRIO0_L3HSM_S 15U
222 /*
223 
224  Field: HMCUWSOCIC
225  From..to bits: 18...20
226  DefaultValue: 0x0
227  Access type: read-write
228  Description: <Slave-name><Master-name>
229  Set the priority for specific Master transaction toward a specific slave.
230  priority values:
231  0 - N.A
232  1 - Lowest priority
233  2 - Higher priority
234  3- ...
235  N - Highest priority
236  where N is NUM_OF_MASTERS
237 
238 
239 */
240 #define SOC_IC_PRIO0_HMCUWSOCIC_W 3U
241 #define SOC_IC_PRIO0_HMCUWSOCIC_M 0x001C0000U
242 #define SOC_IC_PRIO0_HMCUWSOCIC_S 18U
243 /*
244 
245  Field: HMCUDMARD
246  From..to bits: 21...23
247  DefaultValue: 0x0
248  Access type: read-write
249  Description: <Slave-name><Master-name>
250  Set the priority for specific Master transaction toward a specific slave.
251  priority values:
252  0 - N.A
253  1 - Lowest priority
254  2 - Higher priority
255  3- ...
256  N - Highest priority
257  where N is NUM_OF_MASTERS
258 
259 
260 */
261 #define SOC_IC_PRIO0_HMCUDMARD_W 3U
262 #define SOC_IC_PRIO0_HMCUDMARD_M 0x00E00000U
263 #define SOC_IC_PRIO0_HMCUDMARD_S 21U
264 /*
265 
266  Field: HMCUDMAWR
267  From..to bits: 24...26
268  DefaultValue: 0x0
269  Access type: read-write
270  Description: <Slave-name><Master-name>
271  Set the priority for specific Master transaction toward a specific slave.
272  priority values:
273  0 - N.A
274  1 - Lowest priority
275  2 - Higher priority
276  3- ...
277  N - Highest priority
278  where N is NUM_OF_MASTERS
279 
280 
281 */
282 #define SOC_IC_PRIO0_HMCUDMAWR_W 3U
283 #define SOC_IC_PRIO0_HMCUDMAWR_M 0x07000000U
284 #define SOC_IC_PRIO0_HMCUDMAWR_S 24U
285 /*
286 
287  Field: HMCUI2S
288  From..to bits: 27...29
289  DefaultValue: 0x0
290  Access type: read-write
291  Description: <Slave-name><Master-name>
292  Set the priority for specific Master transaction toward a specific slave.
293  priority values:
294  0 - N.A
295  1 - Lowest priority
296  2 - Higher priority
297  3- ...
298  N - Highest priority
299  where N is NUM_OF_MASTERS
300 
301 
302 */
303 #define SOC_IC_PRIO0_HMCUI2S_W 3U
304 #define SOC_IC_PRIO0_HMCUI2S_M 0x38000000U
305 #define SOC_IC_PRIO0_HMCUI2S_S 27U
306 
307 
308 /*-----------------------------------REGISTER------------------------------------
309  Register name: PRIO1
310  Offset name: SOC_IC_O_PRIO1
311  Relative address: 0x4
312  Description: SOC Interconnect priority registers. Define the priority in which master will be arbitered toward each slave.
313  Default Value: 0x00000001
314 
315  Field: HMCUHSM
316  From..to bits: 0...2
317  DefaultValue: 0x1
318  Access type: read-write
319  Description: <Slave-name><Master-name>
320  Set the priority for specific Master transaction toward a specific slave.
321  priority values:
322  0 - N.A
323  1 - Lowest priority
324  2 - Higher priority
325  3- ...
326  N - Highest priority
327  where N is NUM_OF_MASTERS
328 
329 
330 */
331 #define SOC_IC_PRIO1_HMCUHSM_W 3U
332 #define SOC_IC_PRIO1_HMCUHSM_M 0x00000007U
333 #define SOC_IC_PRIO1_HMCUHSM_S 0U
334 /*
335 
336  Field: SPWSOCIC
337  From..to bits: 3...5
338  DefaultValue: 0x0
339  Access type: read-write
340  Description: <Slave-name><Master-name>
341  Set the priority for specific Master transaction toward a specific slave.
342  priority values:
343  0 - N.A
344  1 - Lowest priority
345  2 - Higher priority
346  3- ...
347  N - Highest priority
348  where N is NUM_OF_MASTERS
349 
350 
351 */
352 #define SOC_IC_PRIO1_SPWSOCIC_W 3U
353 #define SOC_IC_PRIO1_SPWSOCIC_M 0x00000038U
354 #define SOC_IC_PRIO1_SPWSOCIC_S 3U
355 /*
356 
357  Field: SPDMARD
358  From..to bits: 6...8
359  DefaultValue: 0x0
360  Access type: read-write
361  Description: <Slave-name><Master-name>
362  Set the priority for specific Master transaction toward a specific slave.
363  priority values:
364  0 - N.A
365  1 - Lowest priority
366  2 - Higher priority
367  3- ...
368  N - Highest priority
369  where N is NUM_OF_MASTERS
370 
371 
372 */
373 #define SOC_IC_PRIO1_SPDMARD_W 3U
374 #define SOC_IC_PRIO1_SPDMARD_M 0x000001C0U
375 #define SOC_IC_PRIO1_SPDMARD_S 6U
376 /*
377 
378  Field: SPDMAWR
379  From..to bits: 9...11
380  DefaultValue: 0x0
381  Access type: read-write
382  Description: <Slave-name><Master-name>
383  Set the priority for specific Master transaction toward a specific slave.
384  priority values:
385  0 - N.A
386  1 - Lowest priority
387  2 - Higher priority
388  3- ...
389  N - Highest priority
390  where N is NUM_OF_MASTERS
391 
392 
393 */
394 #define SOC_IC_PRIO1_SPDMAWR_W 3U
395 #define SOC_IC_PRIO1_SPDMAWR_M 0x00000E00U
396 #define SOC_IC_PRIO1_SPDMAWR_S 9U
397 /*
398 
399  Field: SPHMCU
400  From..to bits: 12...14
401  DefaultValue: 0x0
402  Access type: read-write
403  Description: <Slave-name><Master-name>
404  Set the priority for specific Master transaction toward a specific slave.
405  priority values:
406  0 - N.A
407  1 - Lowest priority
408  2 - Higher priority
409  3- ...
410  N - Highest priority
411  where N is NUM_OF_MASTERS
412 
413 
414 */
415 #define SOC_IC_PRIO1_SPHMCU_W 3U
416 #define SOC_IC_PRIO1_SPHMCU_M 0x00007000U
417 #define SOC_IC_PRIO1_SPHMCU_S 12U
418 /*
419 
420  Field: SPHSM
421  From..to bits: 15...17
422  DefaultValue: 0x0
423  Access type: read-write
424  Description: <Slave-name><Master-name>
425  Set the priority for specific Master transaction toward a specific slave.
426  priority values:
427  0 - N.A
428  1 - Lowest priority
429  2 - Higher priority
430  3- ...
431  N - Highest priority
432  where N is NUM_OF_MASTERS
433 
434 
435 */
436 #define SOC_IC_PRIO1_SPHSM_W 3U
437 #define SOC_IC_PRIO1_SPHSM_M 0x00038000U
438 #define SOC_IC_PRIO1_SPHSM_S 15U
439 /*
440 
441  Field: COREDMARD
442  From..to bits: 18...20
443  DefaultValue: 0x0
444  Access type: read-write
445  Description: <Slave-name><Master-name>
446  Set the priority for specific Master transaction toward a specific slave.
447  priority values:
448  0 - N.A
449  1 - Lowest priority
450  2 - Higher priority
451  3- ...
452  N - Highest priority
453  where N is NUM_OF_MASTERS
454 
455 
456 */
457 #define SOC_IC_PRIO1_COREDMARD_W 3U
458 #define SOC_IC_PRIO1_COREDMARD_M 0x001C0000U
459 #define SOC_IC_PRIO1_COREDMARD_S 18U
460 /*
461 
462  Field: COREDMAWR
463  From..to bits: 21...23
464  DefaultValue: 0x0
465  Access type: read-write
466  Description: <Slave-name><Master-name>
467  Set the priority for specific Master transaction toward a specific slave.
468  priority values:
469  0 - N.A
470  1 - Lowest priority
471  2 - Higher priority
472  3- ...
473  N - Highest priority
474  where N is NUM_OF_MASTERS
475 
476 
477 */
478 #define SOC_IC_PRIO1_COREDMAWR_W 3U
479 #define SOC_IC_PRIO1_COREDMAWR_M 0x00E00000U
480 #define SOC_IC_PRIO1_COREDMAWR_S 21U
481 /*
482 
483  Field: COREHMCU
484  From..to bits: 24...26
485  DefaultValue: 0x0
486  Access type: read-write
487  Description: <Slave-name><Master-name>
488  Set the priority for specific Master transaction toward a specific slave.
489  priority values:
490  0 - N.A
491  1 - Lowest priority
492  2 - Higher priority
493  3- ...
494  N - Highest priority
495  where N is NUM_OF_MASTERS
496 
497 
498 */
499 #define SOC_IC_PRIO1_COREHMCU_W 3U
500 #define SOC_IC_PRIO1_COREHMCU_M 0x07000000U
501 #define SOC_IC_PRIO1_COREHMCU_S 24U
502 /*
503 
504  Field: COREHSM
505  From..to bits: 27...29
506  DefaultValue: 0x0
507  Access type: read-write
508  Description: <Slave-name><Master-name>
509  Set the priority for specific Master transaction toward a specific slave.
510  priority values:
511  0 - N.A
512  1 - Lowest priority
513  2 - Higher priority
514  3- ...
515  N - Highest priority
516  where N is NUM_OF_MASTERS
517 
518 
519 */
520 #define SOC_IC_PRIO1_COREHSM_W 3U
521 #define SOC_IC_PRIO1_COREHSM_M 0x38000000U
522 #define SOC_IC_PRIO1_COREHSM_S 27U
523 
524 
525 /*-----------------------------------REGISTER------------------------------------
526  Register name: PRIO2
527  Offset name: SOC_IC_O_PRIO2
528  Relative address: 0x8
529  Description: SOC Interconnect priority registers. Define the priority in which master will be arbitered toward each slave.
530  Default Value: 0x00000004
531 
532  Field: XIPWSOCIC
533  From..to bits: 0...2
534  DefaultValue: 0x4
535  Access type: read-write
536  Description: <Slave-name><Master-name>
537  Set the priority for specific Master transaction toward a specific slave.
538  priority values:
539  0 - N.A
540  1 - Lowest priority
541  2 - Higher priority
542  3- ...
543  N - Highest priority
544  where N is NUM_OF_MASTERS
545 
546 
547 */
548 #define SOC_IC_PRIO2_XIPWSOCIC_W 3U
549 #define SOC_IC_PRIO2_XIPWSOCIC_M 0x00000007U
550 #define SOC_IC_PRIO2_XIPWSOCIC_S 0U
551 /*
552 
553  Field: XIPDMARD
554  From..to bits: 3...5
555  DefaultValue: 0x0
556  Access type: read-write
557  Description: <Slave-name><Master-name>
558  Set the priority for specific Master transaction toward a specific slave.
559  priority values:
560  0 - N.A
561  1 - Lowest priority
562  2 - Higher priority
563  3- ...
564  N - Highest priority
565  where N is NUM_OF_MASTERS
566 
567 
568 */
569 #define SOC_IC_PRIO2_XIPDMARD_W 3U
570 #define SOC_IC_PRIO2_XIPDMARD_M 0x00000038U
571 #define SOC_IC_PRIO2_XIPDMARD_S 3U
572 /*
573 
574  Field: XIPDMAWR
575  From..to bits: 6...8
576  DefaultValue: 0x0
577  Access type: read-write
578  Description: <Slave-name><Master-name>
579  Set the priority for specific Master transaction toward a specific slave.
580  priority values:
581  0 - N.A
582  1 - Lowest priority
583  2 - Higher priority
584  3- ...
585  N - Highest priority
586  where N is NUM_OF_MASTERS
587 
588 
589 */
590 #define SOC_IC_PRIO2_XIPDMAWR_W 3U
591 #define SOC_IC_PRIO2_XIPDMAWR_M 0x000001C0U
592 #define SOC_IC_PRIO2_XIPDMAWR_S 6U
593 /*
594 
595  Field: XIPHMCU
596  From..to bits: 9...11
597  DefaultValue: 0x0
598  Access type: read-write
599  Description: <Slave-name><Master-name>
600  Set the priority for specific Master transaction toward a specific slave.
601  priority values:
602  0 - N.A
603  1 - Lowest priority
604  2 - Higher priority
605  3- ...
606  N - Highest priority
607  where N is NUM_OF_MASTERS
608 
609 
610 */
611 #define SOC_IC_PRIO2_XIPHMCU_W 3U
612 #define SOC_IC_PRIO2_XIPHMCU_M 0x00000E00U
613 #define SOC_IC_PRIO2_XIPHMCU_S 9U
614 /*
615 
616  Field: XIPHSM
617  From..to bits: 12...14
618  DefaultValue: 0x0
619  Access type: read-write
620  Description: <Slave-name><Master-name>
621  Set the priority for specific Master transaction toward a specific slave.
622  priority values:
623  0 - N.A
624  1 - Lowest priority
625  2 - Higher priority
626  3- ...
627  N - Highest priority
628  where N is NUM_OF_MASTERS
629 
630 
631 */
632 #define SOC_IC_PRIO2_XIPHSM_W 3U
633 #define SOC_IC_PRIO2_XIPHSM_M 0x00007000U
634 #define SOC_IC_PRIO2_XIPHSM_S 12U
635 /*
636 
637  Field: HDMAWSOCIC
638  From..to bits: 15...16
639  DefaultValue: 0x0
640  Access type: read-write
641  Description: <Slave-name><Master-name>
642  Set the priority for specific Master transaction toward a specific slave.
643  priority values:
644  0 - N.A
645  1 - Lowest priority
646  2 - Higher priority
647  3- ...
648  N - Highest priority
649  where N is NUM_OF_MASTERS
650 
651 
652 */
653 #define SOC_IC_PRIO2_HDMAWSOCIC_W 2U
654 #define SOC_IC_PRIO2_HDMAWSOCIC_M 0x00018000U
655 #define SOC_IC_PRIO2_HDMAWSOCIC_S 15U
656 /*
657 
658  Field: HDMAHOSTMCU
659  From..to bits: 17...18
660  DefaultValue: 0x0
661  Access type: read-write
662  Description: <Slave-name><Master-name>
663  Set the priority for specific Master transaction toward a specific slave.
664  priority values:
665  0 - N.A
666  1 - Lowest priority
667  2 - Higher priority
668  3- ...
669  N - Highest priority
670  where N is NUM_OF_MASTERS
671 
672 
673 */
674 #define SOC_IC_PRIO2_HDMAHOSTMCU_W 2U
675 #define SOC_IC_PRIO2_HDMAHOSTMCU_M 0x00060000U
676 #define SOC_IC_PRIO2_HDMAHOSTMCU_S 17U
677 /*
678 
679  Field: HDMAHSM
680  From..to bits: 19...20
681  DefaultValue: 0x0
682  Access type: read-write
683  Description: <Slave-name><Master-name>
684  Set the priority for specific Master transaction toward a specific slave.
685  priority values:
686  0 - N.A
687  1 - Lowest priority
688  2 - Higher priority
689  3- ...
690  N - Highest priority
691  where N is NUM_OF_MASTERS
692 
693 
694 */
695 #define SOC_IC_PRIO2_HDMAHSM_W 2U
696 #define SOC_IC_PRIO2_HDMAHSM_M 0x00180000U
697 #define SOC_IC_PRIO2_HDMAHSM_S 19U
698 /*
699 
700  Field: HSMWSOCIC
701  From..to bits: 21...23
702  DefaultValue: 0x0
703  Access type: read-write
704  Description: <Slave-name><Master-name>
705  Set the priority for specific Master transaction toward a specific slave.
706  priority values:
707  0 - N.A
708  1 - Lowest priority
709  2 - Higher priority
710  3- ...
711  N - Highest priority
712  where N is NUM_OF_MASTERS
713 
714 
715 */
716 #define SOC_IC_PRIO2_HSMWSOCIC_W 3U
717 #define SOC_IC_PRIO2_HSMWSOCIC_M 0x00E00000U
718 #define SOC_IC_PRIO2_HSMWSOCIC_S 21U
719 /*
720 
721  Field: HSMDMARD
722  From..to bits: 24...26
723  DefaultValue: 0x0
724  Access type: read-write
725  Description: <Slave-name><Master-name>
726  Set the priority for specific Master transaction toward a specific slave.
727  priority values:
728  0 - N.A
729  1 - Lowest priority
730  2 - Higher priority
731  3- ...
732  N - Highest priority
733  where N is NUM_OF_MASTERS
734 
735 
736 */
737 #define SOC_IC_PRIO2_HSMDMARD_W 3U
738 #define SOC_IC_PRIO2_HSMDMARD_M 0x07000000U
739 #define SOC_IC_PRIO2_HSMDMARD_S 24U
740 /*
741 
742  Field: HSMDMAWR
743  From..to bits: 27...29
744  DefaultValue: 0x0
745  Access type: read-write
746  Description: <Slave-name><Master-name>
747  Set the priority for specific Master transaction toward a specific slave.
748  priority values:
749  0 - N.A
750  1 - Lowest priority
751  2 - Higher priority
752  3- ...
753  N - Highest priority
754  where N is NUM_OF_MASTERS
755 
756 
757 */
758 #define SOC_IC_PRIO2_HSMDMAWR_W 3U
759 #define SOC_IC_PRIO2_HSMDMAWR_M 0x38000000U
760 #define SOC_IC_PRIO2_HSMDMAWR_S 27U
761 
762 
763 /*-----------------------------------REGISTER------------------------------------
764  Register name: PRIO3
765  Offset name: SOC_IC_O_PRIO3
766  Relative address: 0xC
767  Description: SOC Interconnect priority registers. Define the priority in which master will be arbitered toward each slave.
768  Default Value: 0x00000004
769 
770  Field: HSMHMCU
771  From..to bits: 0...2
772  DefaultValue: 0x4
773  Access type: read-write
774  Description: <Slave-name><Master-name>
775  Set the priority for specific Master transaction toward a specific slave.
776  priority values:
777  0 - N.A
778  1 - Lowest priority
779  2 - Higher priority
780  3- ...
781  N - Highest priority
782  where N is NUM_OF_MASTERS
783 
784 
785 */
786 #define SOC_IC_PRIO3_HSMHMCU_W 3U
787 #define SOC_IC_PRIO3_HSMHMCU_M 0x00000007U
788 #define SOC_IC_PRIO3_HSMHMCU_S 0U
789 /*
790 
791  Field: A2NDMARD
792  From..to bits: 3...5
793  DefaultValue: 0x0
794  Access type: read-write
795  Description: <Slave-name><Master-name>
796  Set the priority for specific Master transaction toward a specific slave.
797  priority values:
798  0 - N.A
799  1 - Lowest priority
800  2 - Higher priority
801  3- ...
802  N - Highest priority
803  where N is NUM_OF_MASTERS
804 
805 
806 */
807 #define SOC_IC_PRIO3_A2NDMARD_W 3U
808 #define SOC_IC_PRIO3_A2NDMARD_M 0x00000038U
809 #define SOC_IC_PRIO3_A2NDMARD_S 3U
810 /*
811 
812  Field: A2NDMAWR
813  From..to bits: 6...8
814  DefaultValue: 0x0
815  Access type: read-write
816  Description: <Slave-name><Master-name>
817  Set the priority for specific Master transaction toward a specific slave.
818  priority values:
819  0 - N.A
820  1 - Lowest priority
821  2 - Higher priority
822  3- ...
823  N - Highest priority
824  where N is NUM_OF_MASTERS
825 
826 
827 */
828 #define SOC_IC_PRIO3_A2NDMAWR_W 3U
829 #define SOC_IC_PRIO3_A2NDMAWR_M 0x000001C0U
830 #define SOC_IC_PRIO3_A2NDMAWR_S 6U
831 /*
832 
833  Field: A2NHMCU
834  From..to bits: 9...11
835  DefaultValue: 0x0
836  Access type: read-write
837  Description: <Slave-name><Master-name>
838  Set the priority for specific Master transaction toward a specific slave.
839  priority values:
840  0 - N.A
841  1 - Lowest priority
842  2 - Higher priority
843  3- ...
844  N - Highest priority
845  where N is NUM_OF_MASTERS
846 
847 
848 */
849 #define SOC_IC_PRIO3_A2NHMCU_W 3U
850 #define SOC_IC_PRIO3_A2NHMCU_M 0x00000E00U
851 #define SOC_IC_PRIO3_A2NHMCU_S 9U
852 /*
853 
854  Field: A2NHSM
855  From..to bits: 12...14
856  DefaultValue: 0x0
857  Access type: read-write
858  Description: <Slave-name><Master-name>
859  Set the priority for specific Master transaction toward a specific slave.
860  priority values:
861  0 - N.A
862  1 - Lowest priority
863  2 - Higher priority
864  3- ...
865  N - Highest priority
866  where N is NUM_OF_MASTERS
867 
868 
869 */
870 #define SOC_IC_PRIO3_A2NHSM_W 3U
871 #define SOC_IC_PRIO3_A2NHSM_M 0x00007000U
872 #define SOC_IC_PRIO3_A2NHSM_S 12U
873 /*
874 
875  Field: HMCUHMCU
876  From..to bits: 15...17
877  DefaultValue: 0x0
878  Access type: read-write
879  Description: <Slave-name><Master-name>
880  Set the priority for specific Master transaction toward a specific slave.
881  priority values:
882  0 - N.A
883  1 - Lowest priority
884  2 - Higher priority
885  3- ...
886  N - Highest priority
887  where N is NUM_OF_MASTERS
888 
889 
890 */
891 #define SOC_IC_PRIO3_HMCUHMCU_W 3U
892 #define SOC_IC_PRIO3_HMCUHMCU_M 0x00038000U
893 #define SOC_IC_PRIO3_HMCUHMCU_S 15U
894 /*
895 
896  Field: CAONWSOCIC
897  From..to bits: 18...20
898  DefaultValue: 0x0
899  Access type: read-write
900  Description: <Slave-name><Master-name>
901  Set the priority for specific Master transaction toward a specific slave.
902  priority values:
903  0 - N.A
904  1 - Lowest priority
905  2 - Higher priority
906  3- ...
907  N - Highest priority
908  where N is NUM_OF_MASTERS
909 
910 
911 */
912 #define SOC_IC_PRIO3_CAONWSOCIC_W 3U
913 #define SOC_IC_PRIO3_CAONWSOCIC_M 0x001C0000U
914 #define SOC_IC_PRIO3_CAONWSOCIC_S 18U
915 /*
916 
917  Field: CAONHMCU
918  From..to bits: 21...23
919  DefaultValue: 0x0
920  Access type: read-write
921  Description: <Slave-name><Master-name>
922  Set the priority for specific Master transaction toward a specific slave.
923  priority values:
924  0 - N.A
925  1 - Lowest priority
926  2 - Higher priority
927  3- ...
928  N - Highest priority
929  where N is NUM_OF_MASTERS
930 
931 
932 */
933 #define SOC_IC_PRIO3_CAONHMCU_W 3U
934 #define SOC_IC_PRIO3_CAONHMCU_M 0x00E00000U
935 #define SOC_IC_PRIO3_CAONHMCU_S 21U
936 /*
937 
938  Field: CAONDMARD
939  From..to bits: 24...26
940  DefaultValue: 0x0
941  Access type: read-write
942  Description: <Slave-name><Master-name>
943  Set the priority for specific Master transaction toward a specific slave.
944  priority values:
945  0 - N.A
946  1 - Lowest priority
947  2 - Higher priority
948  3- ...
949  N - Highest priority
950  where N is NUM_OF_MASTERS
951 
952 
953 */
954 #define SOC_IC_PRIO3_CAONDMARD_W 3U
955 #define SOC_IC_PRIO3_CAONDMARD_M 0x07000000U
956 #define SOC_IC_PRIO3_CAONDMARD_S 24U
957 /*
958 
959  Field: CAONDMAWR
960  From..to bits: 27...29
961  DefaultValue: 0x0
962  Access type: read-write
963  Description: <Slave-name><Master-name>
964  Set the priority for specific Master transaction toward a specific slave.
965  priority values:
966  0 - N.A
967  1 - Lowest priority
968  2 - Higher priority
969  3- ...
970  N - Highest priority
971  where N is NUM_OF_MASTERS
972 
973 
974 */
975 #define SOC_IC_PRIO3_CAONDMAWR_W 3U
976 #define SOC_IC_PRIO3_CAONDMAWR_M 0x38000000U
977 #define SOC_IC_PRIO3_CAONDMAWR_S 27U
978 
979 
980 /*-----------------------------------REGISTER------------------------------------
981  Register name: PRIO4
982  Offset name: SOC_IC_O_PRIO4
983  Relative address: 0x10
984  Description: SOC Interconnect priority registers. Define the priority in which master will be arbitered toward each slave.
985  Default Value: 0x00000002
986 
987  Field: CAONI2S
988  From..to bits: 0...2
989  DefaultValue: 0x2
990  Access type: read-write
991  Description: <Slave-name><Master-name>
992  Set the priority for specific Master transaction toward a specific slave.
993  priority values:
994  0 - N.A
995  1 - Lowest priority
996  2 - Higher priority
997  3- ...
998  N - Highest priority
999  where N is NUM_OF_MASTERS
1000 
1001 
1002 */
1003 #define SOC_IC_PRIO4_CAONI2S_W 3U
1004 #define SOC_IC_PRIO4_CAONI2S_M 0x00000007U
1005 #define SOC_IC_PRIO4_CAONI2S_S 0U
1006 /*
1007 
1008  Field: CAONHSM
1009  From..to bits: 3...5
1010  DefaultValue: 0x0
1011  Access type: read-write
1012  Description: <Slave-name><Master-name>
1013  Set the priority for specific Master transaction toward a specific slave.
1014  priority values:
1015  0 - N.A
1016  1 - Lowest priority
1017  2 - Higher priority
1018  3- ...
1019  N - Highest priority
1020  where N is NUM_OF_MASTERS
1021 
1022 
1023 */
1024 #define SOC_IC_PRIO4_CAONHSM_W 3U
1025 #define SOC_IC_PRIO4_CAONHSM_M 0x00000038U
1026 #define SOC_IC_PRIO4_CAONHSM_S 3U
1027 
1028 
1029 /*-----------------------------------REGISTER------------------------------------
1030  Register name: ERRSTA1
1031  Offset name: SOC_IC_O_ERRSTA1
1032  Relative address: 0x14
1033  Description: OCP Slave serror and Time-out Status 1.
1034 
1035  status bits when ocp slave response with serror
1036  clear on write
1037  sticky - catch the first error, until register is cleared to 0
1038  Default Value: 0x00000000
1039 
1040  Field: STA1
1041  From..to bits: 0...31
1042  DefaultValue: 0x0
1043  Access type: read-write
1044  Description: status bits when ocp slave response with serror
1045  clear on write
1046  sticky - catch the first error, until register is cleared to 0
1047 
1048  [31:0] - maddr
1049  *note - can only clear on write to 32'b0
1050  writing 1 byte will clear all 4 bytes
1051 
1052 */
1053 #define SOC_IC_ERRSTA1_STA1_W 32U
1054 #define SOC_IC_ERRSTA1_STA1_M 0xFFFFFFFFU
1055 #define SOC_IC_ERRSTA1_STA1_S 0U
1056 
1057 
1058 /*-----------------------------------REGISTER------------------------------------
1059  Register name: ERRSTA2
1060  Offset name: SOC_IC_O_ERRSTA2
1061  Relative address: 0x18
1062  Description: OCP Slave serror and Time-out Status 2.
1063 
1064  Default Value: 0x00000000
1065 
1066  Field: STA2
1067  From..to bits: 0...9
1068  DefaultValue: 0x0
1069  Access type: read-write
1070  Description: status bits when ocp slave response with serror or timeout:
1071  clear on write
1072  sticky - catch the first error, until register is cleared to 0
1073  for serror and timeout handeling:
1074  [9:6] cause
1075  [5:4] mcmd - command type: 2=RD ; 1=WR
1076  [3:0] masterid
1077  cause mapping:
1078  0 - masters
1079  1 - core aon
1080  2 - hsm
1081  3 - host xip
1082  4 - host dma
1083  5 - host mcu
1084  6 - shared periph
1085  7 - app2nab
1086  8 - core wsocic
1087  9 - l3 slaves
1088  if cuase is 'masters' - masterid mapped as it mapped in [TOMSTCFG.SEL].
1089  else - masterid mapping:
1090  0 - M33NS
1091  1 - M33S
1092  6 - Core (wsoc_ic)
1093  8 - I2S/HSM M33NS access
1094  9 - I2S/HSM M33S access
1095  10 - I2S/HSM Core access
1096  12 - DMA M33NS access
1097  13 - DMA M33S access
1098  14 - DMA Core access
1099 
1100  *note - can only clear on write to 10'b0
1101  writing 1 byte will clear all 2 bytes
1102 
1103 */
1104 #define SOC_IC_ERRSTA2_STA2_W 10U
1105 #define SOC_IC_ERRSTA2_STA2_M 0x000003FFU
1106 #define SOC_IC_ERRSTA2_STA2_S 0U
1107 
1108 
1109 /*-----------------------------------REGISTER------------------------------------
1110  Register name: ADDRCFG1
1111  Offset name: SOC_IC_O_ADDRCFG1
1112  Relative address: 0x1C
1113  Description: Address Watch Configuration 1.
1114  Default Value: NA
1115 
1116  Field: SEL
1117  From..to bits: 0...3
1118  DefaultValue: NA
1119  Access type: read-write
1120  Description: select which slave port of ocp_ic is checked in address-watch:
1121  0 - core_aon
1122  1 - hsm
1123  2 - host_xip_cfg
1124  3 - host_dma
1125  4 - host_mcu
1126  5 - shared_periph (all shared peripheral I2C,UART,I2S,SDMMC,SPI,CAN,PDM,GPTIMERS,AFA,ADC,SDIO)
1127  6 - app2nab
1128  7 - core_wsocic
1129  8 - all l3 peripherals under bridge (COEX,IOMUX,PRCM,SCRTCHPAD,PRCM_AON,CKM,FUSE_FARM,GPADC_CTRL,DEBUGSS,
1130  SOC_IC,SOC_AON_SECURED/NON_SECURED,RTC,OCLA,MEMSS_GLOBALPORT,HOST_AON,SYSREASOURCES,SYSTIMER)
1131 
1132 
1133 */
1134 #define SOC_IC_ADDRCFG1_SEL_W 4U
1135 #define SOC_IC_ADDRCFG1_SEL_M 0x0000000FU
1136 #define SOC_IC_ADDRCFG1_SEL_S 0U
1137 
1138 
1139 /*-----------------------------------REGISTER------------------------------------
1140  Register name: ADDRCFG2
1141  Offset name: SOC_IC_O_ADDRCFG2
1142  Relative address: 0x20
1143  Description: Address Watch Configuration 2.
1144  Default Value: NA
1145 
1146  Field: LOW
1147  From..to bits: 0...31
1148  DefaultValue: NA
1149  Access type: read-write
1150  Description: lower maddr threshold for address-watch
1151  addr_hit = (maddr >= thr_low) & (maddr <= thr_high)
1152 
1153 */
1154 #define SOC_IC_ADDRCFG2_LOW_W 32U
1155 #define SOC_IC_ADDRCFG2_LOW_M 0xFFFFFFFFU
1156 #define SOC_IC_ADDRCFG2_LOW_S 0U
1157 
1158 
1159 /*-----------------------------------REGISTER------------------------------------
1160  Register name: ADDRCFG3
1161  Offset name: SOC_IC_O_ADDRCFG3
1162  Relative address: 0x24
1163  Description: Address Watch Configuration 3.
1164  Default Value: NA
1165 
1166  Field: HIGH
1167  From..to bits: 0...31
1168  DefaultValue: NA
1169  Access type: read-write
1170  Description: upper maddr threshold for address-watch
1171  addr_hit = (maddr >= thr_low) & (maddr <= thr_high)
1172 
1173 */
1174 #define SOC_IC_ADDRCFG3_HIGH_W 32U
1175 #define SOC_IC_ADDRCFG3_HIGH_M 0xFFFFFFFFU
1176 #define SOC_IC_ADDRCFG3_HIGH_S 0U
1177 
1178 
1179 /*-----------------------------------REGISTER------------------------------------
1180  Register name: ADDRCFG4
1181  Offset name: SOC_IC_O_ADDRCFG4
1182  Relative address: 0x28
1183  Description: Address Watch Configuration 4.
1184  Default Value: NA
1185 
1186  Field: MSTIDWR
1187  From..to bits: 0...15
1188  DefaultValue: NA
1189  Access type: read-write
1190  Description: each bit enables check on MCMD=WR per MASTERID
1191  for example value of 0x0120 will enable check of masterid=5 and masterid=8
1192  if check_wr=0x0000 and check_rd=0x0000 then the clock for address-watch is disabled locally to save power
1193 
1194 */
1195 #define SOC_IC_ADDRCFG4_MSTIDWR_W 16U
1196 #define SOC_IC_ADDRCFG4_MSTIDWR_M 0x0000FFFFU
1197 #define SOC_IC_ADDRCFG4_MSTIDWR_S 0U
1198 /*
1199 
1200  Field: MSTIDRD
1201  From..to bits: 16...31
1202  DefaultValue: NA
1203  Access type: read-write
1204  Description: each bit enables check on MCMD=RD per MASTERID
1205  for example value of 0x0120 will enable check of masterid=5 and masterid=8
1206  if check_wr=0x0000 and check_rd=0x0000 then the clock for address-watch is disabled locally to save power
1207 
1208 */
1209 #define SOC_IC_ADDRCFG4_MSTIDRD_W 16U
1210 #define SOC_IC_ADDRCFG4_MSTIDRD_M 0xFFFF0000U
1211 #define SOC_IC_ADDRCFG4_MSTIDRD_S 16U
1212 
1213 
1214 /*-----------------------------------REGISTER------------------------------------
1215  Register name: ADDRSTA1
1216  Offset name: SOC_IC_O_ADDRSTA1
1217  Relative address: 0x2C
1218  Description: Address Watch Status 1.
1219  Default Value: 0x00000000
1220 
1221  Field: STA1
1222  From..to bits: 0...31
1223  DefaultValue: 0x0
1224  Access type: read-write
1225  Description: keep when hit - Clear on Write
1226  [31:0] - maddr
1227 
1228 
1229 */
1230 #define SOC_IC_ADDRSTA1_STA1_W 32U
1231 #define SOC_IC_ADDRSTA1_STA1_M 0xFFFFFFFFU
1232 #define SOC_IC_ADDRSTA1_STA1_S 0U
1233 
1234 
1235 /*-----------------------------------REGISTER------------------------------------
1236  Register name: ADDRSTA2
1237  Offset name: SOC_IC_O_ADDRSTA2
1238  Relative address: 0x30
1239  Description: Address Watch Status 2.
1240  Default Value: 0x00000000
1241 
1242  Field: STA2
1243  From..to bits: 0...4
1244  DefaultValue: 0x0
1245  Access type: read-write
1246  Description: keep when hit - Clear on Write
1247  [4] - command type: 0=RD ; 1=WR
1248  [3:0] - masterid
1249 
1250  masterid mapping:
1251  0 - M33NS
1252  1 - M33S
1253  6 - Core (wsoc_ic)
1254  8 - I2S/HSM M33NS access
1255  9 - I2S/HSM M33S access
1256  10 - I2S/HSM Core access
1257  12 - DMA M33NS access
1258  13 - DMA M33S access
1259  14 - DMA Core access
1260 
1261 */
1262 #define SOC_IC_ADDRSTA2_STA2_W 5U
1263 #define SOC_IC_ADDRSTA2_STA2_M 0x0000001FU
1264 #define SOC_IC_ADDRSTA2_STA2_S 0U
1265 
1266 
1267 /*-----------------------------------REGISTER------------------------------------
1268  Register name: TOMSTCFG
1269  Offset name: SOC_IC_O_TOMSTCFG
1270  Relative address: 0x34
1271  Description: Time-out Masters Configuration.
1272  Default Value: 0x00010084
1273 
1274  Field: VAL
1275  From..to bits: 4...8
1276  DefaultValue: 0x8
1277  Access type: read-write
1278  Description: value for timeout for all slaves:
1279  valid value - 0x0- 0x1F
1280 
1281  if value is 0 timeout feature is disabled for all slaves
1282 
1283  Granulation is double word (64b): 1 - means 16 clocks period, 2 - means 32 clocks period...
1284 
1285  in h/w the value in FIELD is shifted left 4 times (x16). example: 0x08 => 0x80 (8 means 128)
1286 
1287 
1288 */
1289 #define SOC_IC_TOMSTCFG_VAL_W 5U
1290 #define SOC_IC_TOMSTCFG_VAL_M 0x000001F0U
1291 #define SOC_IC_TOMSTCFG_VAL_S 4U
1292 /*
1293 
1294  Field: SEL
1295  From..to bits: 10...13
1296  DefaultValue: 0x0
1297  Access type: read-write
1298  Description: select master for timeout by masterid.
1299 
1300  0x0. M33NS
1301  0x1. M33S
1302  0x6. Core (wsoc_ic)
1303  0x8. I2S/HSM M33NS access
1304  0x9. I2S/HSM M33S access
1305  0xA. I2S/HSM Core access
1306  0xC. DMA M33NS access
1307  0xD. DMA M33S access
1308  0xE. DMA Core access
1309 
1310 
1311 */
1312 #define SOC_IC_TOMSTCFG_SEL_W 4U
1313 #define SOC_IC_TOMSTCFG_SEL_M 0x00003C00U
1314 #define SOC_IC_TOMSTCFG_SEL_S 10U
1315 
1316 
1317 /*-----------------------------------REGISTER------------------------------------
1318  Register name: TOSLVCFG
1319  Offset name: SOC_IC_O_TOSLVCFG
1320  Relative address: 0x38
1321  Description: Time-out Slave Configuration.
1322  Default Value: 0x00010088
1323 
1324  Field: VAL
1325  From..to bits: 4...8
1326  DefaultValue: 0x8
1327  Access type: read-write
1328  Description: value for timeout for all slaves:
1329  valid value - 0x0- 0x1F
1330 
1331  if value is 0 timeout feature is disabled for all slaves
1332 
1333  Granulation is double word (64b): 1 - means 16 clocks period, 2 - means 32 clocks period...
1334 
1335  in h/w the value in FIELD is shifted left 4 times (x16). example: 0x08 => 0x80 (8 means 128)
1336 
1337 
1338 */
1339 #define SOC_IC_TOSLVCFG_VAL_W 5U
1340 #define SOC_IC_TOSLVCFG_VAL_M 0x000001F0U
1341 #define SOC_IC_TOSLVCFG_VAL_S 4U
1342 
1343 #endif /* __HW_SOC_IC_H__*/