arm-trusted-firmware/plat/nxp/common/include/default/ch_3/soc_default_base_addr.h

101 lines
2.4 KiB
C

/*
* Copyright 2021-2022 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#ifndef SOC_DEFAULT_BASE_ADDR_H
#define SOC_DEFAULT_BASE_ADDR_H
/* CCSR mmu_def.h */
#define NXP_CCSR_ADDR 0x1000000
#define NXP_CCSR_SIZE 0xF000000
#define NXP_DCSR_ADDR 0x700000000
#define NXP_DCSR_SIZE 0x40000000
/* Quad SPI Region #1 base address */
#define NXP_QSPI_FLASH_ADDR 0x20000000
/* IFC Region #1 base address */
#define NXP_NOR_FLASH_ADDR 0x30000000
/* MMU 500 */
#define NXP_SMMU_ADDR 0x05000000
#define NXP_SNVS_ADDR 0x01E90000
#define NXP_DCFG_ADDR 0x01E00000
#define NXP_PMU_CCSR_ADDR 0x01E30000
#define NXP_PMU_DCSR_ADDR 0x700123000
#define NXP_PMU_ADDR NXP_PMU_CCSR_ADDR
#define NXP_SFP_ADDR 0x01E80000
#define NXP_SCFG_ADDR 0x01FC0000
#define NXP_I2C_ADDR 0x02000000
#define NXP_ESDHC_ADDR 0x02140000
#define NXP_ESDHC2_ADDR 0x02150000
#ifndef NXP_UART_ADDR
#define NXP_UART_ADDR 0x021C0500
#endif
#ifndef NXP_UART1_ADDR
#define NXP_UART1_ADDR 0x021C0600
#endif
#define NXP_GPIO1_ADDR 0x02300000
#define NXP_GPIO2_ADDR 0x02310000
#define NXP_GPIO3_ADDR 0x02320000
#define NXP_GPIO4_ADDR 0x02330000
#define NXP_WDOG1_NS_ADDR 0x02390000
#define NXP_WDOG2_NS_ADDR 0x023A0000
#define NXP_WDOG1_TZ_ADDR 0x023B0000
#define NXP_WDOG2_TZ_ADDR 0x023C0000
#define NXP_TIMER_STATUS_ADDR 0x023F0000
#define NXP_GICD_ADDR 0x06000000
#define NXP_GICR_ADDR 0x06100000
#define NXP_GICR_SGI_ADDR 0x06110000
#define NXP_CAAM_ADDR 0x08000000
#define NXP_TZC_ADDR 0x01100000
#define NXP_TZC2_ADDR 0x01110000
#define NXP_TZC3_ADDR 0x01120000
#define NXP_RESET_ADDR 0x01E60000
#define NXP_SEC_REGFILE_ADDR 0x01E88000
#define NXP_RST_ADDR 0x01E88000
/* DDR memory Map */
#define NXP_DDR_ADDR 0x01080000
#define NXP_DDR2_ADDR 0x01090000
#define NXP_DDR3_ADDR 0x08210000
/* QuadSPI base address */
#define NXP_QSPI_ADDR 0x020C0000
/* IFC base address */
#define NXP_IFC_ADDR 0x02240000
/* CCI400 base address */
#define NXP_CCI_ADDR 0x04090000
/* Global Generic Reference Timer base address */
#define NXP_TIMER_ADDR 0x023E0000
/* OCRAM TZPC base address */
#define NXP_OCRAM_TZPC_ADDR 0x02200000
#define NXP_EPU_ADDR 0x700060000
#define NXP_CCN_ADDR 0x04000000
#define NXP_CCN_HNI_ADDR 0x04080000
#define NXP_CCN_HN_F_0_ADDR 0x04200000
#define NXP_CCN_HN_F_1_ADDR 0x04210000
#define TPMWAKEMR0_ADDR 0x700123c50
#endif /* SOC_DEFAULT_BASE_ADDR_H */