blob: c8dd2e79e7d79bf3dd3286026db8802ae51382be [file] [log] [blame]
Neha Malcom Francis11ee3792023-07-22 00:14:27 +05301# SPDX-License-Identifier: GPL-2.0+
2# Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
3#
4# Config schema for TI K3 devices
5#
6
7---
8
9definitions:
10 u8:
11 type: integer
12 minimum: 0
13 maximum: 0xff
14 u16:
15 type: integer
16 minimum: 0
17 maximum: 0xffff
18 u32:
19 type: integer
20 minimum: 0
21 maximum: 0xffffffff
22
23
24
25type: object
26properties:
27 pm-cfg:
28 type: object
29 properties:
30 rev:
31 type: object
32 properties:
33 boardcfg_abi_maj:
34 $ref: "#/definitions/u8"
35 boardcfg_abi_min:
36 $ref: "#/definitions/u8"
37 board-cfg:
38 type: object
39 properties:
40 rev:
41 type: object
42 properties:
43 boardcfg_abi_maj:
44 $ref: "#/definitions/u8"
45 boardcfg_abi_min:
46 $ref: "#/definitions/u8"
47 control:
48 type: object
49 properties:
50 subhdr:
51 type: object
52 properties:
53 magic:
54 $ref: "#/definitions/u16"
55 size:
56 $ref: "#/definitions/u16"
57 main_isolation_enable:
58 $ref: "#/definitions/u8"
59 main_isolation_hostid:
60 $ref: "#/definitions/u16"
61
62
63 secproxy:
64 type: object
65 properties:
66 subhdr:
67 type: object
68 properties:
69 magic:
70 $ref: "#/definitions/u16"
71 size:
72 $ref: "#/definitions/u16"
73 scaling_factor:
74 $ref: "#/definitions/u8"
75 scaling_profile:
76 $ref: "#/definitions/u8"
77 disable_main_nav_secure_proxy:
78 $ref: "#/definitions/u8"
79
80 msmc:
81 type: object
82 properties:
83 subhdr:
84 type: object
85 properties:
86 magic:
87 $ref: "#/definitions/u16"
88 size:
89 $ref: "#/definitions/u16"
90 msmc_cache_size:
91 $ref: "#/definitions/u8"
92 debug_cfg:
93 type: object
94 properties:
95 subhdr:
96 type: object
97 properties:
98 magic:
99 $ref: "#/definitions/u16"
100 size:
101 $ref: "#/definitions/u16"
102 trace_dst_enables:
103 $ref: "#/definitions/u16"
104 trace_src_enables:
105 $ref: "#/definitions/u16"
106
107 sec-cfg:
108 type: object
109 properties:
110 rev:
111 type: object
112 properties:
113 boardcfg_abi_maj:
114 $ref: "#/definitions/u8"
115 boardcfg_abi_min:
116 $ref: "#/definitions/u8"
117
118 processor_acl_list:
119 type: object
120 properties:
121 subhdr:
122 type: object
123 properties:
124 magic:
125 $ref: "#/definitions/u16"
126 size:
127 $ref: "#/definitions/u16"
128 proc_acl_entries:
129 type: array
130 minItems: 32
131 maxItems: 32
132 items:
133 type: object
134 properties:
135 processor_id:
136 $ref: "#/definitions/u8"
137 proc_access_master:
138 $ref: "#/definitions/u8"
139 proc_access_secondary:
140 type: array
141 minItems: 3
142 maxItems: 3
143 items:
144 $ref: "#/definitions/u8"
145 host_hierarchy:
146 type: object
147 properties:
148 subhdr:
149 type: object
150 properties:
151 magic:
152 $ref: "#/definitions/u16"
153 size:
154 $ref: "#/definitions/u16"
155 host_hierarchy_entries:
156 type: array
157 minItems: 32
158 maxItems: 32
159 items:
160 type: object
161 properties:
162 host_id:
163 $ref: "#/definitions/u8"
164 supervisor_host_id:
165 $ref: "#/definitions/u8"
166
167 otp_config:
168 type: object
169 properties:
170 subhdr:
171 type: object
172 properties:
173 magic:
174 $ref: "#/definitions/u16"
175 size:
176 $ref: "#/definitions/u16"
177 otp_entry:
178 type: array
179 minItems: 32
180 maxItems: 32
181 items:
182 type: object
183 properties:
184 host_id:
185 $ref: "#/definitions/u8"
186 host_perms:
187 $ref: "#/definitions/u8"
188 write_host_id:
189 $ref: "#/definitions/u8"
190
191 dkek_config:
192 type: object
193 properties:
194 subhdr:
195 type: object
196 properties:
197 magic:
198 $ref: "#/definitions/u16"
199 size:
200 $ref: "#/definitions/u16"
201 allowed_hosts:
202 type: array
203 minItems: 4
204 maxItems: 4
205 items:
206 $ref: "#/definitions/u8"
207 allow_dkek_export_tisci:
208 $ref: "#/definitions/u8"
209 rsvd:
210 type: array
211 minItems: 3
212 maxItems: 3
213 items:
214 $ref: "#/definitions/u8"
215
216 sa2ul_cfg:
217 type: object
218 properties:
219 subhdr:
220 type: object
221 properties:
222 magic:
223 $ref: "#/definitions/u16"
224 size:
225 $ref: "#/definitions/u16"
226 rsvd:
227 type: array
228 minItems: 2
229 maxItems: 4
230 items:
231 $ref: "#/definitions/u8"
232 enable_saul_psil_global_config_writes:
233 $ref: "#/definitions/u8"
234 auth_resource_owner:
235 $ref: "#/definitions/u8"
236
237 sec_dbg_config:
238 type: object
239 properties:
240 subhdr:
241 type: object
242 properties:
243 magic:
244 $ref: "#/definitions/u16"
245 size:
246 $ref: "#/definitions/u16"
247 allow_jtag_unlock:
248 $ref: "#/definitions/u8"
249 allow_wildcard_unlock:
250 $ref: "#/definitions/u8"
251 allowed_debug_level_rsvd:
252 $ref: "#/definitions/u8"
253 rsvd:
254 $ref: "#/definitions/u8"
255 min_cert_rev:
256 $ref: "#/definitions/u32"
257 jtag_unlock_hosts:
258 type: array
259 minItems: 4
260 maxItems: 4
261 items:
262 $ref: "#/definitions/u8"
263
264
265 sec_handover_cfg:
266 type: object
267 properties:
268 subhdr:
269 type: object
270 properties:
271 magic:
272 $ref: "#/definitions/u16"
273 size:
274 $ref: "#/definitions/u16"
275 handover_msg_sender:
276 $ref: "#/definitions/u8"
277 handover_to_host_id:
278 $ref: "#/definitions/u8"
279 rsvd:
280 type: array
281 minItems: 4
282 maxItems: 4
283 items:
284 $ref: "#/definitions/u8"
285
286 rm-cfg:
287 type: object
288 properties:
289 rm_boardcfg:
290 type: object
291 properties:
292 rev:
293 type: object
294 properties:
295 boardcfg_abi_maj:
296 $ref: "#/definitions/u8"
297 boardcfg_abi_min:
298 $ref: "#/definitions/u8"
299
300 host_cfg:
301 type: object
302 properties:
303 subhdr:
304 type: object
305 properties:
306 magic:
307 $ref: "#/definitions/u16"
308 size:
309 $ref: "#/definitions/u16"
310 host_cfg_entries:
311 type: array
312 minItems: 0
313 maxItems: 32
314 items:
315 type: object
316 properties:
317 host_id:
318 $ref: "#/definitions/u8"
319 allowed_atype:
320 $ref: "#/definitions/u8"
321 allowed_qos:
322 $ref: "#/definitions/u16"
323 allowed_orderid:
324 $ref: "#/definitions/u32"
325 allowed_priority:
326 $ref: "#/definitions/u16"
327 allowed_sched_priority:
328 $ref: "#/definitions/u8"
329 resasg:
330 type: object
331 properties:
332 subhdr:
333 type: object
334 properties:
335 magic:
336 $ref: "#/definitions/u16"
337 size:
338 $ref: "#/definitions/u16"
339 resasg_entries_size:
340 $ref: "#/definitions/u16"
341 reserved:
342 $ref: "#/definitions/u16"
343
344 resasg_entries:
345 type: array
346 minItems: 0
347 maxItems: 468
348 items:
349 type: object
350 properties:
351 start_resource:
352 $ref: "#/definitions/u16"
353 num_resource:
354 $ref: "#/definitions/u16"
355 type:
356 $ref: "#/definitions/u16"
357 host_id:
358 $ref: "#/definitions/u8"
359 reserved:
360 $ref: "#/definitions/u8"
361
362 tifs-rm-cfg:
363 type: object
364 properties:
365 rm_boardcfg:
366 type: object
367 properties:
368 rev:
369 type: object
370 properties:
371 boardcfg_abi_maj:
372 $ref: "#/definitions/u8"
373 boardcfg_abi_min:
374 $ref: "#/definitions/u8"
375
376 host_cfg:
377 type: object
378 properties:
379 subhdr:
380 type: object
381 properties:
382 magic:
383 $ref: "#/definitions/u16"
384 size:
385 $ref: "#/definitions/u16"
386 host_cfg_entries:
387 type: array
388 minItems: 0
389 maxItems: 32
390 items:
391 type: object
392 properties:
393 host_id:
394 $ref: "#/definitions/u8"
395 allowed_atype:
396 $ref: "#/definitions/u8"
397 allowed_qos:
398 $ref: "#/definitions/u16"
399 allowed_orderid:
400 $ref: "#/definitions/u32"
401 allowed_priority:
402 $ref: "#/definitions/u16"
403 allowed_sched_priority:
404 $ref: "#/definitions/u8"
405 resasg:
406 type: object
407 properties:
408 subhdr:
409 type: object
410 properties:
411 magic:
412 $ref: "#/definitions/u16"
413 size:
414 $ref: "#/definitions/u16"
415 resasg_entries_size:
416 $ref: "#/definitions/u16"
417 reserved:
418 $ref: "#/definitions/u16"
419
420 resasg_entries:
421 type: array
422 minItems: 0
423 maxItems: 468
424 items:
425 type: object
426 properties:
427 start_resource:
428 $ref: "#/definitions/u16"
429 num_resource:
430 $ref: "#/definitions/u16"
431 type:
432 $ref: "#/definitions/u16"
433 host_id:
434 $ref: "#/definitions/u8"
435 reserved:
436 $ref: "#/definitions/u8"