1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * am62a Quality of Service (QoS) Configuration Data 4 * Auto generated from K3 Resource Partitioning tool 5 * 6 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ 7 */ 8 #include <common.h> 9 #include <asm/arch/hardware.h> 10 #include "common.h" 11 12 struct k3_qos_data am62a_qos_data[] = { 13 /* modules_qosConfig0 - 1 endpoints, 4 channels */ 14 { 15 .reg = K3_DSS_UL_MAIN_0_VBUSM_DMA + 0x100 + 0x4 * 0, 16 .val = ORDERID_8, 17 }, 18 { 19 .reg = K3_DSS_UL_MAIN_0_VBUSM_DMA + 0x100 + 0x4 * 1, 20 .val = ORDERID_8, 21 }, 22 { 23 .reg = K3_DSS_UL_MAIN_0_VBUSM_DMA + 0x100 + 0x4 * 2, 24 .val = ORDERID_8, 25 }, 26 { 27 .reg = K3_DSS_UL_MAIN_0_VBUSM_DMA + 0x100 + 0x4 * 3, 28 .val = ORDERID_8, 29 }, 30 31 /* Following registers set 1:1 mapping for orderID MAP1/MAP2 32 * remap registers. orderID x is remapped to orderID x again 33 * This is to ensure orderID from MAP register is unchanged 34 */ 35 36 /* K3_DSS_UL_MAIN_0_VBUSM_DMA - 1 groups */ 37 { 38 .reg = K3_DSS_UL_MAIN_0_VBUSM_DMA + 0, 39 .val = 0x76543210, 40 }, 41 { 42 .reg = K3_DSS_UL_MAIN_0_VBUSM_DMA + 4, 43 .val = 0xfedcba98, 44 }, 45 }; 46 47 uint32_t am62a_qos_count = sizeof(am62a_qos_data) / sizeof(am62a_qos_data[0]); 48