1 2 /* 3 * Hawkview ISP - sun50iw9p1_vin_cfg.h module 4 * 5 * Copyright (c) 2019 by Allwinnertech Co., Ltd. http://www.allwinnertech.com 6 * 7 * Authors: Zhao Wei <zhaowei@allwinnertech.com> 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License version 2 as 11 * published by the Free Software Foundation. 12 */ 13 14 #ifndef _SUN50IW9P1_VIN_CFG_H_ 15 #define _SUN50IW9P1_VIN_CFG_H_ 16 17 #define CSI_CCU_REGS_BASE 0x06600000 18 #define CSI_TOP_REGS_BASE 0x06600800 19 20 #define CSI0_REGS_BASE 0x06601000 21 #define CSI1_REGS_BASE 0x06602000 22 23 #define CSI_CCI0_REG_BASE 0x06614000 24 #define CSI_CCI1_REG_BASE 0x06614400 25 26 #define VIPP0_REGS_BASE 0x02101000 27 #define VIPP1_REGS_BASE 0x02101400 28 #define VIPP2_REGS_BASE 0x02101800 29 #define VIPP3_REGS_BASE 0x02101c00 30 31 #define ISP_REGS_BASE 0x02100000 32 #define ISP0_REGS_BASE 0x02100000 33 #define ISP1_REGS_BASE 0x02100800 34 35 #define GPIO_REGS_VBASE 0x0300b000 36 37 /*CSI & ISP size configs*/ 38 39 #define CSI_REG_SIZE 0x1000 40 #define CSI_CCI_REG_SIZE 0x0400 41 42 #define MIPI_CSI2_REG_SIZE 0x1000 43 #define MIPI_DPHY_REG_SIZE 0x1000 44 45 #define VIN_MAX_DEV 6 46 #define VIN_MAX_CSI 2 47 #define VIN_MAX_CCI 2 48 #define VIN_MAX_TDM 0 49 #define VIN_MAX_MIPI 1 50 #define VIN_MAX_ISP 2 51 #define VIN_MAX_SCALER 6 52 53 #define MAX_CH_NUM 4 54 55 #endif /*_SUN50IW9P1_VIN_CFG_H_*/ 56