diff options
author | Amit Daniel Kachhap <amit.kachhap@arm.com> | 2018-07-20 14:56:45 +0530 |
---|---|---|
committer | ronald-cron-arm <39518861+ronald-cron-arm@users.noreply.github.com> | 2018-10-18 17:22:34 +0000 |
commit | 25001055e9998f44e444f26af251afe99b144f82 (patch) | |
tree | c0d9bad9c8895ddfbef0759b580d05cafe34cc0d /product/sgi575 | |
parent | b750d73cc1765ee30620602c44573258e9ec9042 (diff) |
sgi575: Add memory map for MCP
Change-Id: Ic94d60c07bc6a696323874ab8d8814ae355175b1
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Diffstat (limited to 'product/sgi575')
-rw-r--r-- | product/sgi575/include/mcp_sgi575_mmap.h | 52 | ||||
-rw-r--r-- | product/sgi575/include/mcp_sgi575_mmap_mcp.h | 15 |
2 files changed, 67 insertions, 0 deletions
diff --git a/product/sgi575/include/mcp_sgi575_mmap.h b/product/sgi575/include/mcp_sgi575_mmap.h new file mode 100644 index 00000000..deef5112 --- /dev/null +++ b/product/sgi575/include/mcp_sgi575_mmap.h @@ -0,0 +1,52 @@ +/* + * Arm SCP/MCP Software + * Copyright (c) 2018, Arm Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef MCP_SGI575_MMAP_H +#define MCP_SGI575_MMAP_H + +#include <stdint.h> + +/* + * Top-level base addresses + */ +#define MCP_SOC_EXPANSION1_BASE UINT32_C(0x01000000) +#define MCP_SOC_EXPANSION2_BASE UINT32_C(0x21000000) +#define MCP_SOC_EXPANSION3_BASE UINT32_C(0x40000000) +#define MCP_MHU_SCP_BASE UINT32_C(0x45600000) +#define MCP_SOC_EXPANSION4_BASE UINT32_C(0x48000000) +#define MCP_PERIPH_BASE UINT32_C(0x4C000000) +#define MCP_MEMORY_CONTROLLER UINT32_C(0x4E000000) +#define MCP_POWER_PERIPH_BASE UINT32_C(0x50000000) +#define MCP_SYS0_BASE UINT32_C(0x60000000) +#define MCP_SYS1_BASE UINT32_C(0xA0000000) +#define MCP_PPB_BASE_INTERNAL UINT32_C(0xE0000000) +#define MCP_PPB_BASE_EXTERNAL UINT32_C(0xE0040000) + +/* + * Peripherals + */ +#define MCP_REFCLK_CNTCTL_BASE (MCP_PERIPH_BASE) +#define MCP_REFCLK_CNTBASE0_BASE (MCP_PERIPH_BASE + 0x1000) +#define MCP_UART0_BASE (MCP_PERIPH_BASE + 0x2000) +#define MCP_UART1_BASE (MCP_PERIPH_BASE + 0x3000) +#define MCP_WDOG_BASE (MCP_PERIPH_BASE + 0x6000) +#define MCP_MHU_AP_BASE (MCP_PERIPH_BASE + 0x400000) + +/* + * Power control peripherals + */ +#define MCP_PIK_BASE (MCP_POWER_PERIPH_BASE) + +/* + * Base addresses of MHU devices + */ +#define MCP_MHU_SCP_MCP_NS (MCP_MHU_SCP_BASE + 0x020) +#define MCP_MHU_MCP_SCP_NS (MCP_MHU_SCP_BASE + 0x120) +#define MCP_MHU_SCP_MCP_S (MCP_MHU_SCP_BASE + 0x200) +#define MCP_MHU_MCP_SCP_S (MCP_MHU_SCP_BASE + 0x300) + +#endif /* MCP_SGI575_MMAP_H */ diff --git a/product/sgi575/include/mcp_sgi575_mmap_mcp.h b/product/sgi575/include/mcp_sgi575_mmap_mcp.h new file mode 100644 index 00000000..cab90ffa --- /dev/null +++ b/product/sgi575/include/mcp_sgi575_mmap_mcp.h @@ -0,0 +1,15 @@ +/* + * Arm SCP/MCP Software + * Copyright (c) 2018, Arm Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef MCP_SGI575_MMAP_MCP_H +#define MCP_SGI575_MMAP_MCP_H + +#define MCP_ROM_BASE 0x00000000 +#define MCP_RAM0_BASE 0x00800000 +#define MCP_RAM1_BASE 0x20000000 + +#endif /* MCP_SGI575_MMAP_MCP_H */ |