Thomas Fitzsimmons | 919646d | 2018-06-08 17:59:45 -0400 | [diff] [blame] | 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 | |
Thomas Fitzsimmons | 89134a9 | 2018-08-22 18:37:54 -0400 | [diff] [blame] | 13 | #define CONFIG_SYS_NS16550_COM1 0xf040ab00 |
Thomas Fitzsimmons | 919646d | 2018-06-08 17:59:45 -0400 | [diff] [blame] | 14 | |
Thomas Fitzsimmons | 4fd0540 | 2018-07-26 23:02:47 -0400 | [diff] [blame] | 15 | #define CONFIG_SYS_TEXT_BASE 0x80100000 |
| 16 | #define CONFIG_SYS_INIT_RAM_ADDR 0x80200000 |
| 17 | |
| 18 | #define CONFIG_SYS_MALLOC_LEN ((10 * 1024) << 10) /* 10 MiB */ |
| 19 | |
| 20 | #include "bcmstb.h" |
| 21 | |
Thomas Fitzsimmons | 919646d | 2018-06-08 17:59:45 -0400 | [diff] [blame] | 22 | #define BCMSTB_SDHCI_BASE 0xf03e0200 |
| 23 | #define BCMSTB_TIMER_LOW 0xf0412008 |
| 24 | #define BCMSTB_TIMER_HIGH 0xf041200c |
| 25 | #define BCMSTB_TIMER_FREQUENCY 0xf0412020 |
| 26 | #define BCMSTB_HIF_MSPI_BASE 0xf03e3400 |
| 27 | #define BCMSTB_BSPI_BASE 0xf03e3200 |
| 28 | #define BCMSTB_HIF_SPI_INTR2 0xf03e1a00 |
| 29 | #define BCMSTB_CS_REG 0xf03e0920 |
| 30 | |
Thomas Fitzsimmons | 89134a9 | 2018-08-22 18:37:54 -0400 | [diff] [blame] | 31 | /* |
| 32 | * Environment configuration for SPI flash. |
| 33 | */ |
| 34 | #define CONFIG_ENV_OFFSET 0x1e0000 |
| 35 | #define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE |
| 36 | |
Thomas Fitzsimmons | 4fd0540 | 2018-07-26 23:02:47 -0400 | [diff] [blame] | 37 | #define CONFIG_SYS_MAX_FLASH_BANKS 1 |
Thomas Fitzsimmons | 4fd0540 | 2018-07-26 23:02:47 -0400 | [diff] [blame] | 38 | |
Thomas Fitzsimmons | 919646d | 2018-06-08 17:59:45 -0400 | [diff] [blame] | 39 | #endif /* __CONFIG_H */ |