1 /* 2 * include/linux/amlogic/media/registers/regs/amrisc_regs.h 3 * 4 * Copyright (C) 2017 Amlogic, Inc. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 14 * more details. 15 * 16 */ 17 18 #ifndef AMRISC_REGS_HEADER_ 19 #define AMRISC_REGS_HEADER_ 20 21 #define MSP 0x0300 22 #define MPSR 0x0301 23 #define MINT_VEC_BASE 0x0302 24 #define MCPU_INTR_GRP 0x0303 25 #define MCPU_INTR_MSK 0x0304 26 #define MCPU_INTR_REQ 0x0305 27 #define MPC_P 0x0306 28 #define MPC_D 0x0307 29 #define MPC_E 0x0308 30 #define MPC_W 0x0309 31 #define CPSR 0x0321 32 #define CINT_VEC_BASE 0x0322 33 #define CPC_P 0x0326 34 #define CPC_D 0x0327 35 #define CPC_E 0x0328 36 #define CPC_W 0x0329 37 #define IMEM_DMA_CTRL 0x0340 38 #define IMEM_DMA_ADR 0x0341 39 #define IMEM_DMA_COUNT 0x0342 40 #define WRRSP_IMEM 0x0343 41 #define LMEM_DMA_CTRL 0x0350 42 #define LMEM_DMA_ADR 0x0351 43 #define LMEM_DMA_COUNT 0x0352 44 #define WRRSP_LMEM 0x0353 45 #define MAC_CTRL1 0x0360 46 #define ACC0REG1 0x0361 47 #define ACC1REG1 0x0362 48 #define MAC_CTRL2 0x0370 49 #define ACC0REG2 0x0371 50 #define ACC1REG2 0x0372 51 #define CPU_TRACE 0x0380 52 53 #endif 54