hc
2024-03-25 edb30157bad0c0001c32b854271ace01d3b9a16a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/** @file
*
* Copyright (c) 2018 - 2020, ARM Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*
**/
 
#ifndef NEOVERSEN1SOC_PLATFORM_H_
#define NEOVERSEN1SOC_PLATFORM_H_
 
#define NEOVERSEN1SOC_DRAM_BLOCK1_SIZE               SIZE_2GB
 
//******************************************************************************
// Platform Memory Map
//******************************************************************************
 
// SubSystem Peripherals - UART0
#define NEOVERSEN1SOC_UART0_BASE                     0x2A400000
#define NEOVERSEN1SOC_UART0_SZ                       SIZE_64KB
 
// SubSystem Peripherals - UART1
#define NEOVERSEN1SOC_UART1_BASE                     0x2A410000
#define NEOVERSEN1SOC_UART1_SZ                       SIZE_64KB
 
// SubSystem Peripherals - Generic Watchdog
#define NEOVERSEN1SOC_GENERIC_WDOG_BASE              0x2A440000
#define NEOVERSEN1SOC_GENERIC_WDOG_SZ                SIZE_128KB
 
// SubSystem Peripherals - GIC(600)
#define NEOVERSEN1SOC_GIC_BASE                       0x30000000
#define NEOVERSEN1SOC_GICR_BASE                      0x300C0000
#define NEOVERSEN1SOC_GIC_SZ                         SIZE_256KB
#define NEOVERSEN1SOC_GICR_SZ                        SIZE_1MB
 
// SubSystem non-secure SRAM
#define NEOVERSEN1SOC_NON_SECURE_SRAM_BASE           0x06000000
#define NEOVERSEN1SOC_NON_SECURE_SRAM_SZ             SIZE_64KB
 
// AXI Expansion peripherals
#define NEOVERSEN1SOC_EXP_PERIPH_BASE0               0x1C000000
#define NEOVERSEN1SOC_EXP_PERIPH_BASE0_SZ            0x1300000
 
// Base address to a structure of type NEOVERSEN1SOC_PLAT_INFO which is
// pre-populated by a earlier boot stage
#define NEOVERSEN1SOC_PLAT_INFO_STRUCT_BASE          (NEOVERSEN1SOC_NON_SECURE_SRAM_BASE + \
                                                      0x00008000)
 
/*
 * Platform information structure stored in Non-secure SRAM. Platform
 * information are passed from the trusted firmware with the below structure
 * format. The elements of NEOVERSEN1SOC_PLAT_INFO should be always in sync
 * with the lower level firmware.
 */
typedef struct {
  /*! 0 - Single Chip, 1 - Chip to Chip (C2C) */
  UINT8   MultichipMode;
  /*! Slave count in C2C mode */
  UINT8   SlaveCount;
  /*! Local DDR memory size in GigaBytes */
  UINT8   LocalDdrSize;
  /*! Remote DDR memory size in GigaBytes */
  UINT8   RemoteDdrSize;
} NEOVERSEN1SOC_PLAT_INFO;
 
#endif