summaryrefslogtreecommitdiff
path: root/drivers/mxc/vpu-malone/VPU_regdef.h
blob: 4753a900f7a8a2bdaf87c3861ee78452a914b2ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
 * Copyright 2017 NXP
 */

/* The following programs are the sole property of NXP Semiconductor Inc.,
 * and contain its proprietary and confidential information. */

/*
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */


///////////////////////////////////////////////////////////////////////////////
//
// vpu_regdef.h
//
// Description: 
//
// Register definition
//
// Authors:
//
///////////////////////////////////////////////////////////////////////////////

#ifndef __VPU_REGDEF_H__
#define __VPU_REGDEF_H__

#define SCB_XREG_SLV_BASE                               0x00000000
#define SCB_SCB_BLK_CTRL                                0x00070000
#define SCB_BLK_CTRL_XMEM_RESET_SET                     0x00000090
#define SCB_BLK_CTRL_CACHE_RESET_SET                    0x000000A0
#define SCB_BLK_CTRL_CACHE_RESET_CLR                    0x000000A4
#define SCB_BLK_CTRL_SCB_CLK_ENABLE_SET                 0x00000100

#define XMEM_CONTROL                                    0x00041000

#define DEC_MFD_XREG_SLV_BASE                           0x00180000

#define MFD_HIF                                         0x0001C000
#define MFD_HIF_MSD_REG_HOST_INTERRUPT_ENABLE           0x00000014
#define MFD_HIF_MSD_REG_INTERRUPT_STATUS                0x00000018
#define MFD_HIF_MSD_REG_FAST_INTERRUPT_ENABLE           0x0000001C
#define MFD_SIF                                         0x0001D000
#define MFD_SIF_CTRL_STATUS                             0x000000F0
#define MFD_SIF_INTR_STATUS                             0x000000F4
#define MFD_SIF_INTR_FORCE                              0x000000F8
#define MFD_MCX                                         0x00020800

#define MFD_BLK_CTRL                                    0x00030000
#define MFD_BLK_CTRL_MFD_SYS_RESET_SET                  0x00000000
#define MFD_BLK_CTRL_MFD_SYS_RESET_CLR                  0x00000004
#define MFD_BLK_CTRL_MFD_SYS_CLOCK_ENABLE_SET           0x00000100
#define MFD_BLK_CTRL_MFD_SYS_CLOCK_ENABLE_CLR           0x00000104

#endif //__VPU_REGDEF_H__