Chris Packham | 67b7d50 | 2022-11-05 17:24:00 +1300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2018 Marvell International Ltd |
| 4 | */ |
| 5 | |
| 6 | #ifndef _CONFIG_MVEBU_ALLEYCAY_5_H |
| 7 | #define _CONFIG_MVEBU_ALLEYCAY_5_H |
| 8 | |
| 9 | #include <asm/arch/soc.h> |
| 10 | |
| 11 | /* additions for new ARM relocation support */ |
Tom Rini | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 12 | #define CFG_SYS_SDRAM_BASE 0x200000000 |
Chris Packham | 67b7d50 | 2022-11-05 17:24:00 +1300 | [diff] [blame] | 13 | |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 14 | #define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ |
Chris Packham | 67b7d50 | 2022-11-05 17:24:00 +1300 | [diff] [blame] | 15 | 115200, 230400, 460800, 921600 } |
| 16 | |
| 17 | /* Default Env vars */ |
Chris Packham | 67b7d50 | 2022-11-05 17:24:00 +1300 | [diff] [blame] | 18 | |
| 19 | #define BOOT_TARGET_DEVICES(func) \ |
| 20 | func(USB, usb, 0) \ |
| 21 | func(DHCP, dhcp, na) |
| 22 | |
| 23 | #include <config_distro_bootcmd.h> |
| 24 | |
| 25 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 26 | BOOTENV \ |
| 27 | "kernel_addr_r=0x202000000\0" \ |
| 28 | "fdt_addr_r=0x201000000\0" \ |
| 29 | "ramdisk_addr_r=0x206000000\0" \ |
| 30 | "fdtfile=marvell/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" |
| 31 | |
| 32 | /* |
| 33 | * High Level Configuration Options (easy to change) |
| 34 | */ |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 35 | #define CFG_SYS_TCLK 325000000 |
Chris Packham | 67b7d50 | 2022-11-05 17:24:00 +1300 | [diff] [blame] | 36 | |
| 37 | #endif /* _CONFIG_MVEBU_ALLEYCAY_5_H */ |