lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | /*******************************************************************************
|
| 2 | * Copyright (C) 2014, ZTE Corporation.
|
| 3 | *
|
| 4 | * File Name: drvs_ADDR_regmap.inc
|
| 5 | * File Mark:
|
| 6 | * Description: This file contains the register map.
|
| 7 | * Others:
|
| 8 | * Version: V1.0
|
| 9 | * Author: zhangdongdong
|
| 10 | * Date: 2015-07-31
|
| 11 | * History 1:
|
| 12 | *
|
| 13 | *********************************************************************************/
|
| 14 | #ifndef _DRVS_REGMAP_H
|
| 15 | #define _DRVS_REGMAP_H
|
| 16 |
|
| 17 | /* M2 */
|
| 18 | #define ADDR_IROM 0x00000000
|
| 19 |
|
| 20 | /* M3 */
|
| 21 | #define ADDR_IRAM2 0x00080000
|
| 22 |
|
| 23 | /* M4 -- A1 CFG */
|
| 24 | #define ADDR_IRAM1 0x00100000
|
| 25 | #define ADDR_KEY 0x00130000
|
| 26 | #define ADDR_UART0 0x00131000
|
| 27 | #define ADDR_I2C_PMIC 0x00132000
|
| 28 | #define ADDR_RTC 0x00133000
|
| 29 | #define ADDR_LPM_GSM 0x00134000
|
| 30 | #define ADDR_LPM_LTE 0x00134200
|
| 31 | #define ADDR_LPM_TD 0x00134400
|
| 32 | #define ADDR_LPM_W 0x00134600
|
| 33 | #define ADDR_PS_TIMER1 0x00138000
|
| 34 | #define ADDR_PS_TIMER2 0x00139000
|
| 35 | #define ADDR_PCU 0x0013A000
|
| 36 | #define ADDR_TOP_CRM 0x0013B000
|
| 37 | #define ADDR_PAD_CTRL_A0 0x0013C000
|
| 38 | #define ADDR_GPIO0 0x0013D000
|
| 39 | #define ADDR_GPIO1 0x0013E000
|
| 40 | #define ADDR_SOC_SYS 0x00140000
|
| 41 | #define ADDR_RM_TIMER0 0x00142000
|
| 42 | #define ADDR_AP_TIMER1 0x00143000
|
| 43 | #define ADDR_AP_TIMER2 0x00144000
|
| 44 | #define ADDR_RM_TIMER1 0x00145000
|
| 45 | #define ADDR_AP_TIMER3 0x00146000
|
| 46 | #define ADDR_PHY_TIMER1 0x00147000
|
| 47 | #define ADDR_RM_WDT 0x00148000
|
| 48 | #define ADDR_DDR_CTRL 0x00150000
|
| 49 | #define ADDR_DDR_PHY 0x00154000
|
| 50 | #define ADDR_DDR_FFC 0x00155000
|
| 51 | #define ADDR_USIM1 0x00156000
|
| 52 | #define ADDR_RM2MATRIX 0x00200000
|
| 53 |
|
| 54 | #define ADDR_NIC400_MATRIX1_CFG 0x10500000
|
| 55 |
|
| 56 | /* M2 -- AHB CFG0 */
|
| 57 | #define ADDR_EDCP 0x01200000
|
| 58 | #define ADDR_SD0 0x01210000
|
| 59 | #define ADDR_SD1 0x01211000
|
| 60 | #define ADDR_NAND_REG 0x01214000
|
| 61 | #define ADDR_NAND_DATA 0x01215000
|
| 62 | #define ADDR_EFUSE 0x0121B000
|
| 63 | #define ADDR_RSA 0x0121C000
|
| 64 | #define ADDR_HASH 0x0121D000
|
| 65 | #define ADDR_USB 0x01500000
|
| 66 | #define ADDR_HSIC 0x01600000
|
| 67 |
|
| 68 | /* M2 -- AHB2APB */
|
| 69 | #define ADDR_DMA_PHY 0x01300000
|
| 70 | #define ADDR_DMA_PS 0x01301000
|
| 71 | #define ADDR_ICP 0x01302000
|
| 72 | #define ADDR_AP_CPU_SLAVE 0x03000000
|
| 73 | #define ADDR_PS_CPU_SLAVE 0x06000000
|
| 74 |
|
| 75 | /* M2 -- APB LITE 0 */
|
| 76 | #define ADDR_PIN_MUX 0x01303000
|
| 77 | #define ADDR_SSC 0x01304000
|
| 78 | #define ADDR_STD_CRM 0x01306000 /*matrix crm*/
|
| 79 | #define ADDR_GMAC 0x01307000
|
| 80 | #define ADDR_VOU_CFG 0x01380000
|
| 81 |
|
| 82 | /* M1 -- LSP */
|
| 83 | #define ADDR_LSP_CRM 0x01400000
|
| 84 | #define ADDR_LSP_PS_TIMER0 0x01401000
|
| 85 | #define ADDR_LSP_PHY_WDT 0x01402000
|
| 86 | #define ADDR_LSP_PS_WDT 0x01403000
|
| 87 | #define ADDR_LSP_PWM 0x01404000
|
| 88 | #define ADDR_LSP_I2S0 0x01405000
|
| 89 | #define ADDR_LSP_I2S1 0x01406000
|
| 90 | #define ADDR_LSP_SPIFC0 0x01407000
|
| 91 | #define ADDR_LSP_UART1 0x01408000
|
| 92 | #define ADDR_LSP_I2C1 0x01409000
|
| 93 | #define ADDR_LSP_SSP0 0x0140A000
|
| 94 | #define ADDR_LSP_PS_RM_TIMER 0x0140B000
|
| 95 | #define ADDR_LSP_PHY_TIMER0 0x0140C000
|
| 96 | #define ADDR_LSP_UART2 0x0140D000
|
| 97 | #define ADDR_LSP_AP_WDT 0x0140E000
|
| 98 | #define ADDR_LSP_AP_TIMER0 0x0140F000
|
| 99 | #define ADDR_LSP_SSP1 0x01410000
|
| 100 | #define ADDR_LSP_AP_TIMER4 0x01411000
|
| 101 | #define ADDR_LSP_TDM 0x01412000
|
| 102 |
|
| 103 | /* DDR */
|
| 104 | #define ADDR_DDR_BASE 0x20000000
|
| 105 |
|
| 106 | /* GSM */
|
| 107 | #define ADDR_GSM_CFG 0xF3000000
|
| 108 | #define ADDR_GSM_MODEM1 0xF4000000
|
| 109 | #define ADDR_GSM_MODEM2 0xF6000000
|
| 110 |
|
| 111 | /* PHY CPU SALVE */
|
| 112 | #define ADDR_PHY_L2TCM 0x600C0000
|
| 113 | #define ADDR_PHY_DTCM 0x81000000
|
| 114 | #define ADDR_PHY_ITCM 0x81040000
|
| 115 | #define ADDR_PHY_CRM 0x81800000
|
| 116 | #define ADDR_PHY_ICU 0x81801000
|
| 117 |
|
| 118 | /* IRAM0 */
|
| 119 | #define ADDR_IRAM0 0x82000000
|
| 120 |
|
| 121 | /* PS MG */
|
| 122 | #define ADDR_MG_CRM 0xF2200000
|
| 123 |
|
| 124 | #define ADDR_MG_GICC 0x02900000
|
| 125 | #define ADDR_MG_GICD 0xF2000000
|
| 126 | #define ADDR_MG_GICR 0xF2040000
|
| 127 |
|
| 128 | /*need confirm*/
|
| 129 | #define ADDR_MG_CFG 0x00801000
|
| 130 | #define ADDR_MG_SCU 0xEF000000
|
| 131 |
|
| 132 | /* M2 MODEM */
|
| 133 | #define ADDR_LTE_MODEM_D 0xF8000000
|
| 134 | #define ADDR_WD_MODEM_D 0xF8100000
|
| 135 | #define ADDR_TD_MODEM_D 0xF8200000
|
| 136 |
|
| 137 | /* M1 MODEM */
|
| 138 | #define ADDR_LTE_MODEM_C 0xFC000000
|
| 139 | #define ADDR_WD_MODEM_C 0xFC100000
|
| 140 | #define ADDR_TD_MODEM_C 0xFC200000
|
| 141 |
|
| 142 | #define ADDR_NIC400_MATRIX0_CFG 0xF7500000
|
| 143 |
|
| 144 |
|
| 145 | #endif
|