Bump up version to 0.2
[k3conf/k3conf.git] / soc / am64x / am64x_rm_info.c
1 /*
2  * AM64X RM Info
3  *
4  * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
5  *
6  *  Redistribution and use in source and binary forms, with or without
7  *  modification, are permitted provided that the following conditions
8  *  are met:
9  *
10  *    Redistributions of source code must retain the above copyright
11  *    notice, this list of conditions and the following disclaimer.
12  *
13  *    Redistributions in binary form must reproduce the above copyright
14  *    notice, this list of conditions and the following disclaimer in the
15  *    documentation and/or other materials provided with the
16  *    distribution.
17  *
18  *    Neither the name of Texas Instruments Incorporated nor the names of
19  *    its contributors may be used to endorse or promote products derived
20  *    from this software without specific prior written permission.
21  *
22  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25  *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26  *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27  *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29  *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30  *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31  *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32  *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33  */
35 #include <tisci.h>
36 #include <socinfo.h>
38 struct ti_sci_rm_info am64x_rm_info[] = {
39         [0] = {0x0040, "RESASG_SUBTYPE_IR_OUTPUT"},
40         [1] = {0x00C0, "RESASG_SUBTYPE_IR_OUTPUT"},
41         [2] = {0x0140, "RESASG_SUBTYPE_IR_OUTPUT"},
42         [3] = {0x0180, "RESASG_SUBTYPE_IR_OUTPUT"},
43         [4] = {0x0682, "RESASG_SUBTYPE_GLOBAL_EVENT_TRIGGER"},
44         [5] = {0x0683, "RESASG_SUBTYPE_UDMAP_GLOBAL_CONFIG"},
45         [6] = {0x068D, "RESASG_SUBTYPE_BCDMA_RING_BLOCK_COPY_CHAN"},
46         [7] = {0x068E, "RESASG_SUBTYPE_BCDMA_RING_SPLIT_TR_RX_CHAN"},
47         [8] = {0x068F, "RESASG_SUBTYPE_BCDMA_RING_SPLIT_TR_TX_CHAN"},
48         [9] = {0x06A0, "RESASG_SUBTYPE_BCDMA_BLOCK_COPY_CHAN"},
49         [10] = {0x06A1, "RESASG_SUBTYPE_BCDMA_SPLIT_TR_RX_CHAN"},
50         [11] = {0x06A2, "RESASG_SUBTYPE_BCDMA_SPLIT_TR_TX_CHAN"},
51         [12] = {0x070A, "RESASG_SUBTYPE_IA_VINT"},
52         [13] = {0x070D, "RESASG_SUBTYPE_GLOBAL_EVENT_SEVT"},
53         [14] = {0x070F, "RESASG_SUBTYPE_IA_TIMERMGR_EVT_OES"},
54         [15] = {0x0710, "RESASG_SUBTYPE_IA_PKTDMA_TX_CHAN_ERROR_OES"},
55         [16] = {0x0711, "RESASG_SUBTYPE_IA_PKTDMA_TX_FLOW_COMPLETION_OES"},
56         [17] = {0x0712, "RESASG_SUBTYPE_IA_PKTDMA_RX_CHAN_ERROR_OES"},
57         [18] = {0x0713, "RESASG_SUBTYPE_IA_PKTDMA_RX_FLOW_COMPLETION_OES"},
58         [19] = {0x0714, "RESASG_SUBTYPE_IA_PKTDMA_RX_FLOW_STARVATION_OES"},
59         [20] = {0x0715, "RESASG_SUBTYPE_IA_PKTDMA_RX_FLOW_FIREWALL_OES"},
60         [21] = {0x0716, "RESASG_SUBTYPE_IA_BCDMA_CHAN_ERROR_OES"},
61         [22] = {0x0717, "RESASG_SUBTYPE_IA_BCDMA_CHAN_DATA_COMPLETION_OES"},
62         [23] = {0x0718, "RESASG_SUBTYPE_IA_BCDMA_CHAN_RING_COMPLETION_OES"},
63         [24] = {0x0719, "RESASG_SUBTYPE_IA_BCDMA_TX_CHAN_ERROR_OES"},
64         [25] = {0x071A, "RESASG_SUBTYPE_IA_BCDMA_TX_CHAN_DATA_COMPLETION_OES"},
65         [26] = {0x071B, "RESASG_SUBTYPE_IA_BCDMA_TX_CHAN_RING_COMPLETION_OES"},
66         [27] = {0x071C, "RESASG_SUBTYPE_IA_BCDMA_RX_CHAN_ERROR_OES"},
67         [28] = {0x071D, "RESASG_SUBTYPE_IA_BCDMA_RX_CHAN_DATA_COMPLETION_OES"},
68         [29] = {0x071E, "RESASG_SUBTYPE_IA_BCDMA_RX_CHAN_RING_COMPLETION_OES"},
69         [30] = {0x0783, "RESASG_SUBTYPE_UDMAP_GLOBAL_CONFIG"},
70         [31] = {0x0790, "RESASG_SUBTYPE_PKTDMA_RING_UNMAPPED_TX_CHAN"},
71         [32] = {0x0791, "RESASG_SUBTYPE_PKTDMA_RING_CPSW_TX_CHAN"},
72         [33] = {0x0792, "RESASG_SUBTYPE_PKTDMA_RING_SAUL_TX_0_CHAN"},
73         [34] = {0x0793, "RESASG_SUBTYPE_PKTDMA_RING_SAUL_TX_1_CHAN"},
74         [35] = {0x0794, "RESASG_SUBTYPE_PKTDMA_RING_ICSSG_0_TX_CHAN"},
75         [36] = {0x0795, "RESASG_SUBTYPE_PKTDMA_RING_ICSSG_1_TX_CHAN"},
76         [37] = {0x0796, "RESASG_SUBTYPE_PKTDMA_RING_UNMAPPED_RX_CHAN"},
77         [38] = {0x0797, "RESASG_SUBTYPE_PKTDMA_RING_CPSW_RX_CHAN"},
78         [39] = {0x0798, "RESASG_SUBTYPE_PKTDMA_RING_SAUL_RX_0_CHAN"},
79         [40] = {0x0799, "RESASG_SUBTYPE_PKTDMA_RING_SAUL_RX_1_CHAN"},
80         [41] = {0x079A, "RESASG_SUBTYPE_PKTDMA_RING_SAUL_RX_2_CHAN"},
81         [42] = {0x079B, "RESASG_SUBTYPE_PKTDMA_RING_SAUL_RX_3_CHAN"},
82         [43] = {0x079C, "RESASG_SUBTYPE_PKTDMA_RING_ICSSG_0_RX_CHAN"},
83         [44] = {0x079D, "RESASG_SUBTYPE_PKTDMA_RING_ICSSG_1_RX_CHAN"},
84         [45] = {0x07A3, "RESASG_SUBTYPE_PKTDMA_UNMAPPED_TX_CHAN"},
85         [46] = {0x07A4, "RESASG_SUBTYPE_PKTDMA_CPSW_TX_CHAN"},
86         [47] = {0x07A5, "RESASG_SUBTYPE_PKTDMA_SAUL_TX_0_CHAN"},
87         [48] = {0x07A6, "RESASG_SUBTYPE_PKTDMA_SAUL_TX_1_CHAN"},
88         [49] = {0x07A7, "RESASG_SUBTYPE_PKTDMA_ICSSG_0_TX_CHAN"},
89         [50] = {0x07A8, "RESASG_SUBTYPE_PKTDMA_ICSSG_1_TX_CHAN"},
90         [51] = {0x07A9, "RESASG_SUBTYPE_PKTDMA_UNMAPPED_RX_CHAN"},
91         [52] = {0x07AA, "RESASG_SUBTYPE_PKTDMA_FLOW_UNMAPPED_RX_CHAN"},
92         [53] = {0x07AB, "RESASG_SUBTYPE_PKTDMA_CPSW_RX_CHAN"},
93         [54] = {0x07AC, "RESASG_SUBTYPE_PKTDMA_FLOW_CPSW_RX_CHAN"},
94         [55] = {0x07AD, "RESASG_SUBTYPE_PKTDMA_SAUL_RX_0_CHAN"},
95         [56] = {0x07AE, "RESASG_SUBTYPE_PKTDMA_FLOW_SAUL_RX_0_CHAN"},
96         [57] = {0x07AF, "RESASG_SUBTYPE_PKTDMA_SAUL_RX_1_CHAN"},
97         [58] = {0x07B0, "RESASG_SUBTYPE_PKTDMA_FLOW_SAUL_RX_1_CHAN"},
98         [59] = {0x07B1, "RESASG_SUBTYPE_PKTDMA_SAUL_RX_2_CHAN"},
99         [60] = {0x07B2, "RESASG_SUBTYPE_PKTDMA_FLOW_SAUL_RX_2_CHAN"},
100         [61] = {0x07B3, "RESASG_SUBTYPE_PKTDMA_SAUL_RX_3_CHAN"},
101         [62] = {0x07B4, "RESASG_SUBTYPE_PKTDMA_FLOW_SAUL_RX_3_CHAN"},
102         [63] = {0x07B5, "RESASG_SUBTYPE_PKTDMA_ICSSG_0_RX_CHAN"},
103         [64] = {0x07B6, "RESASG_SUBTYPE_PKTDMA_FLOW_ICSSG_0_RX_CHAN"},
104         [65] = {0x07B7, "RESASG_SUBTYPE_PKTDMA_ICSSG_1_RX_CHAN"},
105         [66] = {0x07B8, "RESASG_SUBTYPE_PKTDMA_FLOW_ICSSG_1_RX_CHAN"},
106         [67] = {0x0840, "RESASG_SUBTYPE_RA_ERROR_OES"},
107         [68] = {0x084A, "RESASG_SUBTYPE_RA_VIRTID"},
108         [69] = {0x084C, "RESASG_SUBTYPE_RA_GENERIC_IPC"},
109 };