xref: /openbmc/u-boot/include/configs/bcm7445.h (revision 323ba02d)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2018  Cisco Systems, Inc.
4  *
5  * Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
6  *
7  * Configuration settings for the Broadcom BCM7445 SoC family.
8  */
9 
10 #ifndef __CONFIG_H
11 #define __CONFIG_H
12 
13 #define CONFIG_SYS_NS16550_COM3	0xf040ab00
14 
15 #define CONFIG_NR_DRAM_BANKS		3
16 
17 #define CONFIG_SYS_TEXT_BASE		0x80100000
18 #define CONFIG_SYS_INIT_RAM_ADDR	0x80200000
19 
20 #define CONFIG_SYS_MALLOC_LEN		((10 * 1024) << 10) /* 10 MiB */
21 
22 #include "bcmstb.h"
23 
24 #define BCMSTB_SDHCI_BASE	0xf03e0200
25 #define BCMSTB_TIMER_LOW	0xf0412008
26 #define BCMSTB_TIMER_HIGH	0xf041200c
27 #define BCMSTB_TIMER_FREQUENCY	0xf0412020
28 #define BCMSTB_HIF_MSPI_BASE	0xf03e3400
29 #define BCMSTB_BSPI_BASE	0xf03e3200
30 #define BCMSTB_HIF_SPI_INTR2	0xf03e1a00
31 #define BCMSTB_CS_REG		0xf03e0920
32 
33 #define CONFIG_ENV_IS_IN_SPI_FLASH	1
34 #define CONFIG_DM_SPI			1
35 #define CONFIG_SYS_MAX_FLASH_BANKS	1
36 #define CONFIG_CMD_SF
37 #define CONFIG_CMD_SPI
38 #define CONFIG_CMD_SF_TEST
39 
40 #endif	/* __CONFIG_H */
41