1*cff2f5f0SNobuhiro Iwamatsu /* 2*cff2f5f0SNobuhiro Iwamatsu * board/renesas/alt/qos.c 3*cff2f5f0SNobuhiro Iwamatsu * 4*cff2f5f0SNobuhiro Iwamatsu * Copyright (C) 2014 Renesas Electronics Corporation 5*cff2f5f0SNobuhiro Iwamatsu * 6*cff2f5f0SNobuhiro Iwamatsu * SPDX-License-Identifier: GPL-2.0 7*cff2f5f0SNobuhiro Iwamatsu * 8*cff2f5f0SNobuhiro Iwamatsu */ 9*cff2f5f0SNobuhiro Iwamatsu 10*cff2f5f0SNobuhiro Iwamatsu #include <common.h> 11*cff2f5f0SNobuhiro Iwamatsu #include <asm/processor.h> 12*cff2f5f0SNobuhiro Iwamatsu #include <asm/mach-types.h> 13*cff2f5f0SNobuhiro Iwamatsu #include <asm/io.h> 14*cff2f5f0SNobuhiro Iwamatsu #include <asm/arch/rmobile.h> 15*cff2f5f0SNobuhiro Iwamatsu 16*cff2f5f0SNobuhiro Iwamatsu /* QoS version 0.10 */ 17*cff2f5f0SNobuhiro Iwamatsu 18*cff2f5f0SNobuhiro Iwamatsu enum { 19*cff2f5f0SNobuhiro Iwamatsu DBSC3_00, DBSC3_01, DBSC3_02, DBSC3_03, DBSC3_04, 20*cff2f5f0SNobuhiro Iwamatsu DBSC3_05, DBSC3_06, DBSC3_07, DBSC3_08, DBSC3_09, 21*cff2f5f0SNobuhiro Iwamatsu DBSC3_10, DBSC3_11, DBSC3_12, DBSC3_13, DBSC3_14, 22*cff2f5f0SNobuhiro Iwamatsu DBSC3_15, 23*cff2f5f0SNobuhiro Iwamatsu DBSC3_NR, 24*cff2f5f0SNobuhiro Iwamatsu }; 25*cff2f5f0SNobuhiro Iwamatsu 26*cff2f5f0SNobuhiro Iwamatsu static u32 dbsc3_0_r_qos_addr[DBSC3_NR] = { 27*cff2f5f0SNobuhiro Iwamatsu [DBSC3_00] = DBSC3_0_QOS_R0_BASE, 28*cff2f5f0SNobuhiro Iwamatsu [DBSC3_01] = DBSC3_0_QOS_R1_BASE, 29*cff2f5f0SNobuhiro Iwamatsu [DBSC3_02] = DBSC3_0_QOS_R2_BASE, 30*cff2f5f0SNobuhiro Iwamatsu [DBSC3_03] = DBSC3_0_QOS_R3_BASE, 31*cff2f5f0SNobuhiro Iwamatsu [DBSC3_04] = DBSC3_0_QOS_R4_BASE, 32*cff2f5f0SNobuhiro Iwamatsu [DBSC3_05] = DBSC3_0_QOS_R5_BASE, 33*cff2f5f0SNobuhiro Iwamatsu [DBSC3_06] = DBSC3_0_QOS_R6_BASE, 34*cff2f5f0SNobuhiro Iwamatsu [DBSC3_07] = DBSC3_0_QOS_R7_BASE, 35*cff2f5f0SNobuhiro Iwamatsu [DBSC3_08] = DBSC3_0_QOS_R8_BASE, 36*cff2f5f0SNobuhiro Iwamatsu [DBSC3_09] = DBSC3_0_QOS_R9_BASE, 37*cff2f5f0SNobuhiro Iwamatsu [DBSC3_10] = DBSC3_0_QOS_R10_BASE, 38*cff2f5f0SNobuhiro Iwamatsu [DBSC3_11] = DBSC3_0_QOS_R11_BASE, 39*cff2f5f0SNobuhiro Iwamatsu [DBSC3_12] = DBSC3_0_QOS_R12_BASE, 40*cff2f5f0SNobuhiro Iwamatsu [DBSC3_13] = DBSC3_0_QOS_R13_BASE, 41*cff2f5f0SNobuhiro Iwamatsu [DBSC3_14] = DBSC3_0_QOS_R14_BASE, 42*cff2f5f0SNobuhiro Iwamatsu [DBSC3_15] = DBSC3_0_QOS_R15_BASE, 43*cff2f5f0SNobuhiro Iwamatsu }; 44*cff2f5f0SNobuhiro Iwamatsu 45*cff2f5f0SNobuhiro Iwamatsu static u32 dbsc3_0_w_qos_addr[DBSC3_NR] = { 46*cff2f5f0SNobuhiro Iwamatsu [DBSC3_00] = DBSC3_0_QOS_W0_BASE, 47*cff2f5f0SNobuhiro Iwamatsu [DBSC3_01] = DBSC3_0_QOS_W1_BASE, 48*cff2f5f0SNobuhiro Iwamatsu [DBSC3_02] = DBSC3_0_QOS_W2_BASE, 49*cff2f5f0SNobuhiro Iwamatsu [DBSC3_03] = DBSC3_0_QOS_W3_BASE, 50*cff2f5f0SNobuhiro Iwamatsu [DBSC3_04] = DBSC3_0_QOS_W4_BASE, 51*cff2f5f0SNobuhiro Iwamatsu [DBSC3_05] = DBSC3_0_QOS_W5_BASE, 52*cff2f5f0SNobuhiro Iwamatsu [DBSC3_06] = DBSC3_0_QOS_W6_BASE, 53*cff2f5f0SNobuhiro Iwamatsu [DBSC3_07] = DBSC3_0_QOS_W7_BASE, 54*cff2f5f0SNobuhiro Iwamatsu [DBSC3_08] = DBSC3_0_QOS_W8_BASE, 55*cff2f5f0SNobuhiro Iwamatsu [DBSC3_09] = DBSC3_0_QOS_W9_BASE, 56*cff2f5f0SNobuhiro Iwamatsu [DBSC3_10] = DBSC3_0_QOS_W10_BASE, 57*cff2f5f0SNobuhiro Iwamatsu [DBSC3_11] = DBSC3_0_QOS_W11_BASE, 58*cff2f5f0SNobuhiro Iwamatsu [DBSC3_12] = DBSC3_0_QOS_W12_BASE, 59*cff2f5f0SNobuhiro Iwamatsu [DBSC3_13] = DBSC3_0_QOS_W13_BASE, 60*cff2f5f0SNobuhiro Iwamatsu [DBSC3_14] = DBSC3_0_QOS_W14_BASE, 61*cff2f5f0SNobuhiro Iwamatsu [DBSC3_15] = DBSC3_0_QOS_W15_BASE, 62*cff2f5f0SNobuhiro Iwamatsu }; 63*cff2f5f0SNobuhiro Iwamatsu 64*cff2f5f0SNobuhiro Iwamatsu void qos_init(void) 65*cff2f5f0SNobuhiro Iwamatsu { 66*cff2f5f0SNobuhiro Iwamatsu int i; 67*cff2f5f0SNobuhiro Iwamatsu struct rcar_s3c *s3c; 68*cff2f5f0SNobuhiro Iwamatsu struct rcar_s3c_qos *s3c_qos; 69*cff2f5f0SNobuhiro Iwamatsu struct rcar_dbsc3_qos *qos_addr; 70*cff2f5f0SNobuhiro Iwamatsu struct rcar_mxi *mxi; 71*cff2f5f0SNobuhiro Iwamatsu struct rcar_mxi_qos *mxi_qos; 72*cff2f5f0SNobuhiro Iwamatsu struct rcar_axi_qos *axi_qos; 73*cff2f5f0SNobuhiro Iwamatsu 74*cff2f5f0SNobuhiro Iwamatsu /* DBSC DBADJ2 */ 75*cff2f5f0SNobuhiro Iwamatsu writel(0x20042004, DBSC3_0_DBADJ2); 76*cff2f5f0SNobuhiro Iwamatsu 77*cff2f5f0SNobuhiro Iwamatsu /* S3C -QoS */ 78*cff2f5f0SNobuhiro Iwamatsu s3c = (struct rcar_s3c *)S3C_BASE; 79*cff2f5f0SNobuhiro Iwamatsu writel(0x1F0D0B0A, &s3c->s3crorr); 80*cff2f5f0SNobuhiro Iwamatsu writel(0x1F0D0B09, &s3c->s3cworr); 81*cff2f5f0SNobuhiro Iwamatsu 82*cff2f5f0SNobuhiro Iwamatsu /* QoS Control Registers */ 83*cff2f5f0SNobuhiro Iwamatsu s3c_qos = (struct rcar_s3c_qos *)S3C_QOS_CCI0_BASE; 84*cff2f5f0SNobuhiro Iwamatsu writel(0x00890089, &s3c_qos->s3cqos0); 85*cff2f5f0SNobuhiro Iwamatsu writel(0x20960010, &s3c_qos->s3cqos1); 86*cff2f5f0SNobuhiro Iwamatsu writel(0x20302030, &s3c_qos->s3cqos2); 87*cff2f5f0SNobuhiro Iwamatsu writel(0x20AA2200, &s3c_qos->s3cqos3); 88*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &s3c_qos->s3cqos4); 89*cff2f5f0SNobuhiro Iwamatsu writel(0x20960010, &s3c_qos->s3cqos5); 90*cff2f5f0SNobuhiro Iwamatsu writel(0x20302030, &s3c_qos->s3cqos6); 91*cff2f5f0SNobuhiro Iwamatsu writel(0x20AA2200, &s3c_qos->s3cqos7); 92*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &s3c_qos->s3cqos8); 93*cff2f5f0SNobuhiro Iwamatsu 94*cff2f5f0SNobuhiro Iwamatsu s3c_qos = (struct rcar_s3c_qos *)S3C_QOS_CCI1_BASE; 95*cff2f5f0SNobuhiro Iwamatsu writel(0x00890089, &s3c_qos->s3cqos0); 96*cff2f5f0SNobuhiro Iwamatsu writel(0x20960010, &s3c_qos->s3cqos1); 97*cff2f5f0SNobuhiro Iwamatsu writel(0x20302030, &s3c_qos->s3cqos2); 98*cff2f5f0SNobuhiro Iwamatsu writel(0x20AA2200, &s3c_qos->s3cqos3); 99*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &s3c_qos->s3cqos4); 100*cff2f5f0SNobuhiro Iwamatsu writel(0x20960010, &s3c_qos->s3cqos5); 101*cff2f5f0SNobuhiro Iwamatsu writel(0x20302030, &s3c_qos->s3cqos6); 102*cff2f5f0SNobuhiro Iwamatsu writel(0x20AA2200, &s3c_qos->s3cqos7); 103*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &s3c_qos->s3cqos8); 104*cff2f5f0SNobuhiro Iwamatsu 105*cff2f5f0SNobuhiro Iwamatsu s3c_qos = (struct rcar_s3c_qos *)S3C_QOS_MXI_BASE; 106*cff2f5f0SNobuhiro Iwamatsu writel(0x80928092, &s3c_qos->s3cqos0); 107*cff2f5f0SNobuhiro Iwamatsu writel(0x20960020, &s3c_qos->s3cqos1); 108*cff2f5f0SNobuhiro Iwamatsu writel(0x20302030, &s3c_qos->s3cqos2); 109*cff2f5f0SNobuhiro Iwamatsu writel(0x20AA20DC, &s3c_qos->s3cqos3); 110*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &s3c_qos->s3cqos4); 111*cff2f5f0SNobuhiro Iwamatsu writel(0x20960020, &s3c_qos->s3cqos5); 112*cff2f5f0SNobuhiro Iwamatsu writel(0x20302030, &s3c_qos->s3cqos6); 113*cff2f5f0SNobuhiro Iwamatsu writel(0x20AA20DC, &s3c_qos->s3cqos7); 114*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &s3c_qos->s3cqos8); 115*cff2f5f0SNobuhiro Iwamatsu 116*cff2f5f0SNobuhiro Iwamatsu s3c_qos = (struct rcar_s3c_qos *)S3C_QOS_AXI_BASE; 117*cff2f5f0SNobuhiro Iwamatsu writel(0x00820082, &s3c_qos->s3cqos0); 118*cff2f5f0SNobuhiro Iwamatsu writel(0x20960020, &s3c_qos->s3cqos1); 119*cff2f5f0SNobuhiro Iwamatsu writel(0x20302030, &s3c_qos->s3cqos2); 120*cff2f5f0SNobuhiro Iwamatsu writel(0x20AA20FA, &s3c_qos->s3cqos3); 121*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &s3c_qos->s3cqos4); 122*cff2f5f0SNobuhiro Iwamatsu writel(0x20960020, &s3c_qos->s3cqos5); 123*cff2f5f0SNobuhiro Iwamatsu writel(0x20302030, &s3c_qos->s3cqos6); 124*cff2f5f0SNobuhiro Iwamatsu writel(0x20AA20FA, &s3c_qos->s3cqos7); 125*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &s3c_qos->s3cqos8); 126*cff2f5f0SNobuhiro Iwamatsu 127*cff2f5f0SNobuhiro Iwamatsu /* DBSC -QoS */ 128*cff2f5f0SNobuhiro Iwamatsu /* DBSC0 - Read */ 129*cff2f5f0SNobuhiro Iwamatsu for (i = DBSC3_00; i < DBSC3_NR; i++) { 130*cff2f5f0SNobuhiro Iwamatsu qos_addr = (struct rcar_dbsc3_qos *)dbsc3_0_r_qos_addr[i]; 131*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &qos_addr->dblgcnt); 132*cff2f5f0SNobuhiro Iwamatsu writel(0x0000207D, &qos_addr->dbtmval0); 133*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &qos_addr->dbtmval1); 134*cff2f5f0SNobuhiro Iwamatsu writel(0x0000202A, &qos_addr->dbtmval2); 135*cff2f5f0SNobuhiro Iwamatsu writel(0x00001FBD, &qos_addr->dbtmval3); 136*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &qos_addr->dbrqctr); 137*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &qos_addr->dbthres0); 138*cff2f5f0SNobuhiro Iwamatsu writel(0x0000203E, &qos_addr->dbthres1); 139*cff2f5f0SNobuhiro Iwamatsu writel(0x00002019, &qos_addr->dbthres2); 140*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &qos_addr->dblgqon); 141*cff2f5f0SNobuhiro Iwamatsu } 142*cff2f5f0SNobuhiro Iwamatsu 143*cff2f5f0SNobuhiro Iwamatsu /* DBSC0 - Write */ 144*cff2f5f0SNobuhiro Iwamatsu for (i = DBSC3_00; i < DBSC3_NR; i++) { 145*cff2f5f0SNobuhiro Iwamatsu qos_addr = (struct rcar_dbsc3_qos *)dbsc3_0_w_qos_addr[i]; 146*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &qos_addr->dblgcnt); 147*cff2f5f0SNobuhiro Iwamatsu writel(0x0000207D, &qos_addr->dbtmval0); 148*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &qos_addr->dbtmval1); 149*cff2f5f0SNobuhiro Iwamatsu writel(0x00002043, &qos_addr->dbtmval2); 150*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &qos_addr->dbtmval3); 151*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &qos_addr->dbrqctr); 152*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &qos_addr->dbthres0); 153*cff2f5f0SNobuhiro Iwamatsu writel(0x0000203E, &qos_addr->dbthres1); 154*cff2f5f0SNobuhiro Iwamatsu writel(0x00002031, &qos_addr->dbthres2); 155*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &qos_addr->dblgqon); 156*cff2f5f0SNobuhiro Iwamatsu } 157*cff2f5f0SNobuhiro Iwamatsu 158*cff2f5f0SNobuhiro Iwamatsu /* CCI-400 -QoS */ 159*cff2f5f0SNobuhiro Iwamatsu writel(0x20001000, CCI_400_MAXOT_1); 160*cff2f5f0SNobuhiro Iwamatsu writel(0x20001000, CCI_400_MAXOT_2); 161*cff2f5f0SNobuhiro Iwamatsu writel(0x0000000C, CCI_400_QOSCNTL_1); 162*cff2f5f0SNobuhiro Iwamatsu writel(0x0000000C, CCI_400_QOSCNTL_2); 163*cff2f5f0SNobuhiro Iwamatsu 164*cff2f5f0SNobuhiro Iwamatsu /* MXI -QoS */ 165*cff2f5f0SNobuhiro Iwamatsu /* Transaction Control (MXI) */ 166*cff2f5f0SNobuhiro Iwamatsu mxi = (struct rcar_mxi *)MXI_BASE; 167*cff2f5f0SNobuhiro Iwamatsu writel(0x00000013, &mxi->mxrtcr); 168*cff2f5f0SNobuhiro Iwamatsu writel(0x00000013, &mxi->mxwtcr); 169*cff2f5f0SNobuhiro Iwamatsu writel(0x00780080, &mxi->mxsaar0); 170*cff2f5f0SNobuhiro Iwamatsu writel(0x02000800, &mxi->mxsaar1); 171*cff2f5f0SNobuhiro Iwamatsu 172*cff2f5f0SNobuhiro Iwamatsu /* QoS Control (MXI) */ 173*cff2f5f0SNobuhiro Iwamatsu mxi_qos = (struct rcar_mxi_qos *)MXI_QOS_BASE; 174*cff2f5f0SNobuhiro Iwamatsu writel(0x0000000C, &mxi_qos->vspdu0); 175*cff2f5f0SNobuhiro Iwamatsu writel(0x0000000E, &mxi_qos->du0); 176*cff2f5f0SNobuhiro Iwamatsu 177*cff2f5f0SNobuhiro Iwamatsu /* AXI -QoS */ 178*cff2f5f0SNobuhiro Iwamatsu /* Transaction Control (MXI) */ 179*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_SYX64TO128_BASE; 180*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 181*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 182*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 183*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 184*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 185*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 186*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 187*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 188*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 189*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 190*cff2f5f0SNobuhiro Iwamatsu 191*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_AVB_BASE; 192*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 193*cff2f5f0SNobuhiro Iwamatsu writel(0x000020A6, &axi_qos->qosctset0); 194*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 195*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 196*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 197*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 198*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 199*cff2f5f0SNobuhiro Iwamatsu 200*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_IMUX0_BASE; 201*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 202*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 203*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 204*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 205*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 206*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 207*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 208*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 209*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 210*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 211*cff2f5f0SNobuhiro Iwamatsu 212*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_IMUX1_BASE; 213*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 214*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 215*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 216*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 217*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 218*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 219*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 220*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 221*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 222*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 223*cff2f5f0SNobuhiro Iwamatsu 224*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_IMUX2_BASE; 225*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 226*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 227*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 228*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 229*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 230*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 231*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 232*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 233*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 234*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 235*cff2f5f0SNobuhiro Iwamatsu 236*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_LBS_BASE; 237*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 238*cff2f5f0SNobuhiro Iwamatsu writel(0x0000214C, &axi_qos->qosctset0); 239*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 240*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 241*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 242*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 243*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 244*cff2f5f0SNobuhiro Iwamatsu 245*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_MMUDS_BASE; 246*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 247*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 248*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 249*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 250*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 251*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 252*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 253*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 254*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 255*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 256*cff2f5f0SNobuhiro Iwamatsu 257*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_MMUM_BASE; 258*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 259*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 260*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 261*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 262*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 263*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 264*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 265*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 266*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 267*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 268*cff2f5f0SNobuhiro Iwamatsu 269*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_MMUS0_BASE; 270*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 271*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 272*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 273*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 274*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 275*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 276*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 277*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 278*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 279*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 280*cff2f5f0SNobuhiro Iwamatsu 281*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_MMUS1_BASE; 282*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 283*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 284*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 285*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 286*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 287*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 288*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 289*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 290*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 291*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 292*cff2f5f0SNobuhiro Iwamatsu 293*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_RTX_BASE; 294*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 295*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 296*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 297*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 298*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 299*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 300*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 301*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 302*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 303*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 304*cff2f5f0SNobuhiro Iwamatsu 305*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_SDS0_BASE; 306*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 307*cff2f5f0SNobuhiro Iwamatsu writel(0x000020A6, &axi_qos->qosctset0); 308*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 309*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 310*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 311*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 312*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 313*cff2f5f0SNobuhiro Iwamatsu 314*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_SDS1_BASE; 315*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 316*cff2f5f0SNobuhiro Iwamatsu writel(0x000020A6, &axi_qos->qosctset0); 317*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 318*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 319*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 320*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 321*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 322*cff2f5f0SNobuhiro Iwamatsu 323*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_USB20_BASE; 324*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 325*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &axi_qos->qosctset0); 326*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 327*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 328*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 329*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 330*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 331*cff2f5f0SNobuhiro Iwamatsu 332*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_USB22_BASE; 333*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 334*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &axi_qos->qosctset0); 335*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 336*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 337*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 338*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 339*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 340*cff2f5f0SNobuhiro Iwamatsu 341*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_AX2M_BASE; 342*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 343*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 344*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 345*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 346*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 347*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 348*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 349*cff2f5f0SNobuhiro Iwamatsu 350*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_CC50_BASE; 351*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 352*cff2f5f0SNobuhiro Iwamatsu writel(0x00002029, &axi_qos->qosctset0); 353*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 354*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 355*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 356*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 357*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 358*cff2f5f0SNobuhiro Iwamatsu 359*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_CCI_BASE; 360*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 361*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 362*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 363*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 364*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 365*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 366*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 367*cff2f5f0SNobuhiro Iwamatsu 368*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_CS_BASE; 369*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 370*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &axi_qos->qosctset0); 371*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 372*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 373*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 374*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 375*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 376*cff2f5f0SNobuhiro Iwamatsu 377*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_DDM_BASE; 378*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 379*cff2f5f0SNobuhiro Iwamatsu writel(0x000020A6, &axi_qos->qosctset0); 380*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 381*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 382*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 383*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 384*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 385*cff2f5f0SNobuhiro Iwamatsu 386*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_ETH_BASE; 387*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 388*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &axi_qos->qosctset0); 389*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 390*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 391*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 392*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 393*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 394*cff2f5f0SNobuhiro Iwamatsu 395*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_MPXM_BASE; 396*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 397*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 398*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 399*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 400*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 401*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 402*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 403*cff2f5f0SNobuhiro Iwamatsu 404*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_SDM0_BASE; 405*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 406*cff2f5f0SNobuhiro Iwamatsu writel(0x0000214C, &axi_qos->qosctset0); 407*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 408*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 409*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 410*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 411*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 412*cff2f5f0SNobuhiro Iwamatsu 413*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_SDM1_BASE; 414*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 415*cff2f5f0SNobuhiro Iwamatsu writel(0x0000214C, &axi_qos->qosctset0); 416*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 417*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 418*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 419*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 420*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 421*cff2f5f0SNobuhiro Iwamatsu 422*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_TRAB_BASE; 423*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 424*cff2f5f0SNobuhiro Iwamatsu writel(0x000020A6, &axi_qos->qosctset0); 425*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 426*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 427*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 428*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 429*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 430*cff2f5f0SNobuhiro Iwamatsu 431*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_UDM0_BASE; 432*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 433*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &axi_qos->qosctset0); 434*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 435*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 436*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 437*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 438*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 439*cff2f5f0SNobuhiro Iwamatsu 440*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI_UDM1_BASE; 441*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 442*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &axi_qos->qosctset0); 443*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 444*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 445*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 446*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 447*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 448*cff2f5f0SNobuhiro Iwamatsu 449*cff2f5f0SNobuhiro Iwamatsu /* QoS Register (RT-AXI) */ 450*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)RT_AXI_SHX_BASE; 451*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 452*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &axi_qos->qosctset0); 453*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 454*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 455*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 456*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 457*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 458*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 459*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 460*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 461*cff2f5f0SNobuhiro Iwamatsu 462*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)RT_AXI_DBG_BASE; 463*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 464*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &axi_qos->qosctset0); 465*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 466*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 467*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 468*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 469*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 470*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 471*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 472*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 473*cff2f5f0SNobuhiro Iwamatsu 474*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)RT_AXI_RTX64TO128_BASE; 475*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 476*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 477*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 478*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 479*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 480*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 481*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 482*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 483*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 484*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 485*cff2f5f0SNobuhiro Iwamatsu 486*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)RT_AXI_SY2RT_BASE; 487*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 488*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 489*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 490*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 491*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 492*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 493*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 494*cff2f5f0SNobuhiro Iwamatsu 495*cff2f5f0SNobuhiro Iwamatsu /* QoS Register (MP-AXI) */ 496*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MP_AXI_ADSP_BASE; 497*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 498*cff2f5f0SNobuhiro Iwamatsu writel(0x00002037, &axi_qos->qosctset0); 499*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 500*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 501*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 502*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 503*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 504*cff2f5f0SNobuhiro Iwamatsu 505*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MP_AXI_ASDS0_BASE; 506*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 507*cff2f5f0SNobuhiro Iwamatsu writel(0x00002014, &axi_qos->qosctset0); 508*cff2f5f0SNobuhiro Iwamatsu writel(0x00000040, &axi_qos->qosreqctr); 509*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 510*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 511*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 512*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 513*cff2f5f0SNobuhiro Iwamatsu 514*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MP_AXI_ASDS1_BASE; 515*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 516*cff2f5f0SNobuhiro Iwamatsu writel(0x00002014, &axi_qos->qosctset0); 517*cff2f5f0SNobuhiro Iwamatsu writel(0x00000040, &axi_qos->qosreqctr); 518*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 519*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 520*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 521*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 522*cff2f5f0SNobuhiro Iwamatsu 523*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MP_AXI_MLP_BASE; 524*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 525*cff2f5f0SNobuhiro Iwamatsu writel(0x00001FF0, &axi_qos->qosctset0); 526*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 527*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 528*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 529*cff2f5f0SNobuhiro Iwamatsu writel(0x00002001, &axi_qos->qosthres2); 530*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 531*cff2f5f0SNobuhiro Iwamatsu 532*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MP_AXI_MMUMP_BASE; 533*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 534*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 535*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 536*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 537*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 538*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 539*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 540*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 541*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 542*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 543*cff2f5f0SNobuhiro Iwamatsu 544*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MP_AXI_SPU_BASE; 545*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 546*cff2f5f0SNobuhiro Iwamatsu writel(0x00002053, &axi_qos->qosctset0); 547*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 548*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 549*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 550*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 551*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 552*cff2f5f0SNobuhiro Iwamatsu 553*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MP_AXI_SPUC_BASE; 554*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosconf); 555*cff2f5f0SNobuhiro Iwamatsu writel(0x0000206E, &axi_qos->qosctset0); 556*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 557*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 558*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 559*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 560*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 561*cff2f5f0SNobuhiro Iwamatsu 562*cff2f5f0SNobuhiro Iwamatsu /* QoS Register (SYS-AXI256) */ 563*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI256_AXI128TO256_BASE; 564*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 565*cff2f5f0SNobuhiro Iwamatsu writel(0x000020EB, &axi_qos->qosctset0); 566*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 567*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 568*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 569*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 570*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 571*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 572*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 573*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 574*cff2f5f0SNobuhiro Iwamatsu 575*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI256_SYX_BASE; 576*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 577*cff2f5f0SNobuhiro Iwamatsu writel(0x000020EB, &axi_qos->qosctset0); 578*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 579*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 580*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 581*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 582*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 583*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 584*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 585*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 586*cff2f5f0SNobuhiro Iwamatsu 587*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI256_MPX_BASE; 588*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 589*cff2f5f0SNobuhiro Iwamatsu writel(0x000020EB, &axi_qos->qosctset0); 590*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 591*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 592*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 593*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 594*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 595*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 596*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 597*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 598*cff2f5f0SNobuhiro Iwamatsu 599*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)SYS_AXI256_MXI_BASE; 600*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 601*cff2f5f0SNobuhiro Iwamatsu writel(0x000020EB, &axi_qos->qosctset0); 602*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 603*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 604*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 605*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 606*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 607*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 608*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 609*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 610*cff2f5f0SNobuhiro Iwamatsu 611*cff2f5f0SNobuhiro Iwamatsu /* QoS Register (CCI-AXI) */ 612*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)CCI_AXI_MMUS0_BASE; 613*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 614*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 615*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 616*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 617*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 618*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 619*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 620*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 621*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 622*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 623*cff2f5f0SNobuhiro Iwamatsu 624*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)CCI_AXI_SYX2_BASE; 625*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 626*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 627*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 628*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 629*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 630*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 631*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 632*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 633*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 634*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 635*cff2f5f0SNobuhiro Iwamatsu 636*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)CCI_AXI_MMUR_BASE; 637*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 638*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 639*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 640*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 641*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 642*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 643*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 644*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 645*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 646*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 647*cff2f5f0SNobuhiro Iwamatsu 648*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)CCI_AXI_MMUDS_BASE; 649*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 650*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 651*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 652*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 653*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 654*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 655*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 656*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 657*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 658*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 659*cff2f5f0SNobuhiro Iwamatsu 660*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)CCI_AXI_MMUM_BASE; 661*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 662*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 663*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 664*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 665*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 666*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 667*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 668*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 669*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 670*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 671*cff2f5f0SNobuhiro Iwamatsu 672*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)CCI_AXI_MXI_BASE; 673*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 674*cff2f5f0SNobuhiro Iwamatsu writel(0x00002245, &axi_qos->qosctset0); 675*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 676*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 677*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 678*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 679*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 680*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 681*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 682*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 683*cff2f5f0SNobuhiro Iwamatsu 684*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)CCI_AXI_MMUS1_BASE; 685*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 686*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 687*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 688*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 689*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 690*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 691*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 692*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 693*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 694*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 695*cff2f5f0SNobuhiro Iwamatsu 696*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)CCI_AXI_MMUMP_BASE; 697*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 698*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosctset0); 699*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 700*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 701*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 702*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 703*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 704*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 705*cff2f5f0SNobuhiro Iwamatsu writel(0x00000000, &axi_qos->qosthres2); 706*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 707*cff2f5f0SNobuhiro Iwamatsu 708*cff2f5f0SNobuhiro Iwamatsu /* QoS Register (Media-AXI) */ 709*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_MXR_BASE; 710*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 711*cff2f5f0SNobuhiro Iwamatsu writel(0x000020DC, &axi_qos->qosctset0); 712*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 713*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 714*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 715*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 716*cff2f5f0SNobuhiro Iwamatsu writel(0x000020AA, &axi_qos->qosthres0); 717*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &axi_qos->qosthres1); 718*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 719*cff2f5f0SNobuhiro Iwamatsu 720*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_MXW_BASE; 721*cff2f5f0SNobuhiro Iwamatsu writel(0x00000002, &axi_qos->qosconf); 722*cff2f5f0SNobuhiro Iwamatsu writel(0x000020DC, &axi_qos->qosctset0); 723*cff2f5f0SNobuhiro Iwamatsu writel(0x00002096, &axi_qos->qosctset1); 724*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset2); 725*cff2f5f0SNobuhiro Iwamatsu writel(0x00002030, &axi_qos->qosctset3); 726*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 727*cff2f5f0SNobuhiro Iwamatsu writel(0x000020AA, &axi_qos->qosthres0); 728*cff2f5f0SNobuhiro Iwamatsu writel(0x00002032, &axi_qos->qosthres1); 729*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 730*cff2f5f0SNobuhiro Iwamatsu 731*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_TDMR_BASE; 732*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 733*cff2f5f0SNobuhiro Iwamatsu writel(0x00002190, &axi_qos->qosctset0); 734*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 735*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 736*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 737*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 738*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 739*cff2f5f0SNobuhiro Iwamatsu 740*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_TDMW_BASE; 741*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 742*cff2f5f0SNobuhiro Iwamatsu writel(0x00002190, &axi_qos->qosctset0); 743*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 744*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres0); 745*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres1); 746*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 747*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 748*cff2f5f0SNobuhiro Iwamatsu 749*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VSP1CR_BASE; 750*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 751*cff2f5f0SNobuhiro Iwamatsu writel(0x00002190, &axi_qos->qosctset0); 752*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 753*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 754*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 755*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 756*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 757*cff2f5f0SNobuhiro Iwamatsu 758*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VSP1CW_BASE; 759*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 760*cff2f5f0SNobuhiro Iwamatsu writel(0x00002190, &axi_qos->qosctset0); 761*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 762*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres0); 763*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres1); 764*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 765*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 766*cff2f5f0SNobuhiro Iwamatsu 767*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VSPDU0CR_BASE; 768*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 769*cff2f5f0SNobuhiro Iwamatsu writel(0x00002190, &axi_qos->qosctset0); 770*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 771*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 772*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 773*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 774*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 775*cff2f5f0SNobuhiro Iwamatsu 776*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VSPDU0CW_BASE; 777*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 778*cff2f5f0SNobuhiro Iwamatsu writel(0x00002190, &axi_qos->qosctset0); 779*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 780*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres0); 781*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres1); 782*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 783*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 784*cff2f5f0SNobuhiro Iwamatsu 785*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VIN0W_BASE; 786*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 787*cff2f5f0SNobuhiro Iwamatsu writel(0x00001FF0, &axi_qos->qosctset0); 788*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 789*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 790*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 791*cff2f5f0SNobuhiro Iwamatsu writel(0x00002001, &axi_qos->qosthres2); 792*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 793*cff2f5f0SNobuhiro Iwamatsu 794*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_FDP0R_BASE; 795*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 796*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 797*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 798*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 799*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 800*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 801*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 802*cff2f5f0SNobuhiro Iwamatsu 803*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_FDP0W_BASE; 804*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 805*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 806*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 807*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres0); 808*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres1); 809*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 810*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 811*cff2f5f0SNobuhiro Iwamatsu 812*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_IMSR_BASE; 813*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 814*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 815*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 816*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 817*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 818*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 819*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 820*cff2f5f0SNobuhiro Iwamatsu 821*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_IMSW_BASE; 822*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 823*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 824*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 825*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 826*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 827*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 828*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 829*cff2f5f0SNobuhiro Iwamatsu 830*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VSP1R_BASE; 831*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 832*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 833*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 834*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 835*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 836*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 837*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 838*cff2f5f0SNobuhiro Iwamatsu 839*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VSP1W_BASE; 840*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 841*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 842*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 843*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres0); 844*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres1); 845*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 846*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 847*cff2f5f0SNobuhiro Iwamatsu 848*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_IMRR_BASE; 849*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 850*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 851*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 852*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 853*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 854*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 855*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 856*cff2f5f0SNobuhiro Iwamatsu 857*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_IMRW_BASE; 858*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 859*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 860*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 861*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 862*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 863*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 864*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 865*cff2f5f0SNobuhiro Iwamatsu 866*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VSPD0R_BASE; 867*cff2f5f0SNobuhiro Iwamatsu writel(0x00000003, &axi_qos->qosconf); 868*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 869*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 870*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 871*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 872*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 873*cff2f5f0SNobuhiro Iwamatsu 874*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VSPD0W_BASE; 875*cff2f5f0SNobuhiro Iwamatsu writel(0x00000003, &axi_qos->qosconf); 876*cff2f5f0SNobuhiro Iwamatsu writel(0x000020C8, &axi_qos->qosctset0); 877*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 878*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 879*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 880*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 881*cff2f5f0SNobuhiro Iwamatsu 882*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_DU0R_BASE; 883*cff2f5f0SNobuhiro Iwamatsu writel(0x00000003, &axi_qos->qosconf); 884*cff2f5f0SNobuhiro Iwamatsu writel(0x00002063, &axi_qos->qosctset0); 885*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 886*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 887*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 888*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 889*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 890*cff2f5f0SNobuhiro Iwamatsu 891*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_DU0W_BASE; 892*cff2f5f0SNobuhiro Iwamatsu writel(0x00000003, &axi_qos->qosconf); 893*cff2f5f0SNobuhiro Iwamatsu writel(0x00002063, &axi_qos->qosctset0); 894*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosreqctr); 895*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 896*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 897*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 898*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 899*cff2f5f0SNobuhiro Iwamatsu 900*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VCP0CR_BASE; 901*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 902*cff2f5f0SNobuhiro Iwamatsu writel(0x00002073, &axi_qos->qosctset0); 903*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 904*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 905*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 906*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 907*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 908*cff2f5f0SNobuhiro Iwamatsu 909*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VCP0CW_BASE; 910*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 911*cff2f5f0SNobuhiro Iwamatsu writel(0x00002073, &axi_qos->qosctset0); 912*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 913*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres0); 914*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres1); 915*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 916*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 917*cff2f5f0SNobuhiro Iwamatsu 918*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VCP0VR_BASE; 919*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 920*cff2f5f0SNobuhiro Iwamatsu writel(0x00002073, &axi_qos->qosctset0); 921*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 922*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 923*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 924*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 925*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 926*cff2f5f0SNobuhiro Iwamatsu 927*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VCP0VW_BASE; 928*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 929*cff2f5f0SNobuhiro Iwamatsu writel(0x00002073, &axi_qos->qosctset0); 930*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 931*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres0); 932*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres1); 933*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 934*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 935*cff2f5f0SNobuhiro Iwamatsu 936*cff2f5f0SNobuhiro Iwamatsu axi_qos = (struct rcar_axi_qos *)MEDIA_AXI_VPC0R_BASE; 937*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosconf); 938*cff2f5f0SNobuhiro Iwamatsu writel(0x00002073, &axi_qos->qosctset0); 939*cff2f5f0SNobuhiro Iwamatsu writel(0x00000020, &axi_qos->qosreqctr); 940*cff2f5f0SNobuhiro Iwamatsu writel(0x00002064, &axi_qos->qosthres0); 941*cff2f5f0SNobuhiro Iwamatsu writel(0x00002004, &axi_qos->qosthres1); 942*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosthres2); 943*cff2f5f0SNobuhiro Iwamatsu writel(0x00000001, &axi_qos->qosqon); 944*cff2f5f0SNobuhiro Iwamatsu } 945