820bdaf835c2332441b983bcf721370ad778a968
[k3conf/k3conf.git] / soc / j7200 / j7200_sec_proxy_info.c
1 /*
2  * J7200 Sec Proxy 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_sec_proxy_info j7200_main_sp_info[] = {
39         [0] = {0, "read", 2, "A72_0", "notify"},
40         [1] = {1, "read", 30, "A72_0", "response"},
41         [2] = {2, "write", 10, "A72_0", "high_priority"},
42         [3] = {3, "write", 20, "A72_0", "low_priority"},
43         [4] = {4, "write", 2, "A72_0", "notify_resp"},
44         [5] = {5, "read", 2, "A72_1", "notify"},
45         [6] = {6, "read", 30, "A72_1", "response"},
46         [7] = {7, "write", 10, "A72_1", "high_priority"},
47         [8] = {8, "write", 20, "A72_1", "low_priority"},
48         [9] = {9, "write", 2, "A72_1", "notify_resp"},
49         [10] = {10, "read", 2, "A72_2", "notify"},
50         [11] = {11, "read", 22, "A72_2", "response"},
51         [12] = {12, "write", 2, "A72_2", "high_priority"},
52         [13] = {13, "write", 20, "A72_2", "low_priority"},
53         [14] = {14, "write", 2, "A72_2", "notify_resp"},
54         [15] = {15, "read", 2, "A72_3", "notify"},
55         [16] = {16, "read", 7, "A72_3", "response"},
56         [17] = {17, "write", 2, "A72_3", "high_priority"},
57         [18] = {18, "write", 5, "A72_3", "low_priority"},
58         [19] = {19, "write", 2, "A72_3", "notify_resp"},
59         [20] = {20, "read", 2, "A72_4", "notify"},
60         [21] = {21, "read", 7, "A72_4", "response"},
61         [22] = {22, "write", 2, "A72_4", "high_priority"},
62         [23] = {23, "write", 5, "A72_4", "low_priority"},
63         [24] = {24, "write", 2, "A72_4", "notify_resp"},
64         [25] = {25, "read", 2, "MAIN_0_R5_0", "notify"},
65         [26] = {26, "read", 7, "MAIN_0_R5_0", "response"},
66         [27] = {27, "write", 2, "MAIN_0_R5_0", "high_priority"},
67         [28] = {28, "write", 5, "MAIN_0_R5_0", "low_priority"},
68         [29] = {29, "write", 2, "MAIN_0_R5_0", "notify_resp"},
69         [30] = {30, "read", 2, "MAIN_0_R5_1", "notify"},
70         [31] = {31, "read", 7, "MAIN_0_R5_1", "response"},
71         [32] = {32, "write", 2, "MAIN_0_R5_1", "high_priority"},
72         [33] = {33, "write", 5, "MAIN_0_R5_1", "low_priority"},
73         [34] = {34, "write", 2, "MAIN_0_R5_1", "notify_resp"},
74         [35] = {35, "read", 1, "MAIN_0_R5_2", "notify"},
75         [36] = {36, "read", 2, "MAIN_0_R5_2", "response"},
76         [37] = {37, "write", 1, "MAIN_0_R5_2", "high_priority"},
77         [38] = {38, "write", 1, "MAIN_0_R5_2", "low_priority"},
78         [39] = {39, "write", 1, "MAIN_0_R5_2", "notify_resp"},
79         [40] = {40, "read", 1, "MAIN_0_R5_3", "notify"},
80         [41] = {41, "read", 2, "MAIN_0_R5_3", "response"},
81         [42] = {42, "write", 1, "MAIN_0_R5_3", "high_priority"},
82         [43] = {43, "write", 1, "MAIN_0_R5_3", "low_priority"},
83         [44] = {44, "write", 1, "MAIN_0_R5_3", "notify_resp"},
84 };
86 struct ti_sci_sec_proxy_info j7200_mcu_sp_info[] = {
87         [0] = {0, "read", 2, "MCU_0_R5_0", "notify"},
88         [1] = {1, "read", 20, "MCU_0_R5_0", "response"},
89         [2] = {2, "write", 10, "MCU_0_R5_0", "high_priority"},
90         [3] = {3, "write", 10, "MCU_0_R5_0", "low_priority"},
91         [4] = {4, "write", 2, "MCU_0_R5_0", "notify_resp"},
92         [5] = {5, "read", 2, "MCU_0_R5_1", "notify"},
93         [6] = {6, "read", 20, "MCU_0_R5_1", "response"},
94         [7] = {7, "write", 10, "MCU_0_R5_1", "high_priority"},
95         [8] = {8, "write", 10, "MCU_0_R5_1", "low_priority"},
96         [9] = {9, "write", 2, "MCU_0_R5_1", "notify_resp"},
97         [10] = {10, "read", 1, "MCU_0_R5_2", "notify"},
98         [11] = {11, "read", 2, "MCU_0_R5_2", "response"},
99         [12] = {12, "write", 1, "MCU_0_R5_2", "high_priority"},
100         [13] = {13, "write", 1, "MCU_0_R5_2", "low_priority"},
101         [14] = {14, "write", 1, "MCU_0_R5_2", "notify_resp"},
102         [15] = {15, "read", 1, "MCU_0_R5_3", "notify"},
103         [16] = {16, "read", 2, "MCU_0_R5_3", "response"},
104         [17] = {17, "write", 1, "MCU_0_R5_3", "high_priority"},
105         [18] = {18, "write", 1, "MCU_0_R5_3", "low_priority"},
106         [19] = {19, "write", 1, "MCU_0_R5_3", "notify_resp"},
107 };