blob: 967bde54c86688b330b71107983e2e7d54927147 [file] [log] [blame]
Thomas Fitzsimmons4c851ef2018-08-22 18:37:55 -04001/* 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 BCM7260 SoC family.
8 */
9
10#ifndef __CONFIG_H
11#define __CONFIG_H
12
13#define CONFIG_SYS_NS16550_COM1 0xf040c000
14
15#define CONFIG_SYS_TEXT_BASE 0x10100000
16#define CONFIG_SYS_INIT_RAM_ADDR 0x10200000
17
18#define CONFIG_SYS_MALLOC_LEN ((40 * 1024) << 10) /* 40 MiB */
19
20#include "bcmstb.h"
21
Thomas Fitzsimmons4c851ef2018-08-22 18:37:55 -040022#define BCMSTB_TIMER_LOW 0xf0412008
23#define BCMSTB_TIMER_HIGH 0xf041200c
24#define BCMSTB_TIMER_FREQUENCY 0xf0412020
25#define BCMSTB_HIF_MSPI_BASE 0xf0203c00
26#define BCMSTB_BSPI_BASE 0xf0203a00
27#define BCMSTB_HIF_SPI_INTR2 0xf0201a00
28#define BCMSTB_CS_REG 0xf0200920
29
30/*
31 * Environment configuration for eMMC.
32 */
33#define CONFIG_ENV_OFFSET (0x000040a4 * 512)
34#define CONFIG_SYS_MMC_ENV_DEV 0
35#define CONFIG_SYS_MMC_ENV_PART 0
36
37#define CONFIG_CMD_GPT
38
39#endif /* __CONFIG_H */