• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  /*
2   * Hawkview ISP - sun8iw19p1_vin_cfg.h module
3   *
4   * Copyright (c) 2019 by Allwinnertech Co., Ltd.  http://www.allwinnertech.com
5   *
6   * Authors:  Zhao Wei <zhaowei@allwinnertech.com>
7   *
8   * This program is free software; you can redistribute it and/or modify
9   * it under the terms of the GNU General Public License version 2 as
10   * published by the Free Software Foundation.
11   */
12 
13 #ifndef _SUN8IW19P1_VIN_CFG_H_
14 #define _SUN8IW19P1_VIN_CFG_H_
15 
16 #define CSI_CCU_REGS_BASE			0x06600000
17 #define CSI_TOP_REGS_BASE			0x06600800
18 
19 #define CSI0_REGS_BASE				0x06601000
20 #define CSI1_REGS_BASE				0x06602000
21 
22 #define ISP_REGS_BASE				0x02100000
23 
24 #define VIPP0_REGS_BASE				0x02101000
25 #define VIPP1_REGS_BASE				0x02101400
26 #define VIPP2_REGS_BASE				0x02101800
27 #define VIPP3_REGS_BASE				0x02101c00
28 
29 #define CSI_DMA0_REG_BASE			0x06609000
30 #define CSI_DMA1_REG_BASE			0x06609200
31 #define CSI_DMA2_REG_BASE			0x06609400
32 #define CSI_DMA3_REG_BASE			0x06609600
33 
34 #define GPIO_REGS_VBASE				0x0300b000
35 
36 #define VIN_MAX_DEV			4
37 #define VIN_MAX_CSI			2
38 #define VIN_MAX_CCI			2
39 #define VIN_MAX_TDM			0
40 #define VIN_MAX_MIPI			1
41 #define VIN_MAX_ISP			4
42 #define VIN_MAX_SCALER			4
43 
44 #define MAX_CH_NUM			4
45 
46 #endif /*_SUN8IW19P1_VIN_CFG_H_*/
47