blob: cec39842104b7adb7c2f8f895643348aa66beefd (
plain)
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
|
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright 2019 Broadcom.
*/
#ifndef PLATFORM_CONFIG_H
#define PLATFORM_CONFIG_H
#include <mm/generic_ram_layout.h>
#define STACK_ALIGNMENT 64
#define CONSOLE_UART_CLK_IN_HZ 25000000
#define CONSOLE_BAUDRATE 115200
#define CONSOLE_UART_BASE 0x68a10000
#define GICD_BASE 0x63c00000
#define SMBUS0_BASE 0x689b0000
#define SMBUS0_END (SMBUS0_BASE + 0xB0)
#define SECURE_GPIO_BASE0 0x689d0000
#define ASIU_GPIO_INTR 190
#define GPIO_NUM_START0 0
#define NUM_GPIOS0 256
#define SPI_0_BASE 0x68a80000
#define SPI_0_END (SPI_0_BASE + 0x1000)
#define SPI_0_CLK_HZ 175000000
#define SPI_0_CS_MUX_PAD 0x68a40490
#define HWRNG_BASE 0x68b20000
#define HWRNG_END (HWRNG_BASE + 0x28)
#define SOTP_BASE 0x68b50000
/* device memory ranges */
#define BCM_DEVICE0_BASE GICD_BASE
#define BCM_DEVICE0_SIZE CORE_MMU_PGDIR_SIZE
#define BCM_DEVICE1_BASE SMBUS0_BASE
#define BCM_DEVICE1_SIZE CORE_MMU_PGDIR_SIZE
/* NS DDR ranges */
#define BCM_DRAM0_NS_BASE 0x80000000
#define BCM_DRAM0_NS_SIZE 0x0d000000
#define BCM_DRAM1_NS_BASE 0x90000000
#define BCM_DRAM1_NS_SIZE 0x70000000
#define BCM_DRAM2_NS_BASE 0x880400000
#define BCM_DRAM2_NS_SIZE 0x17fbfffff
#endif /*PLATFORM_CONFIG_H*/
|