mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 04:34:22 +08:00
aspeed: Support for ast2500 Eval Board
ast2500 Eval Board device tree and board specific configuration. Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f6a6a9f049
commit
d9b88d2547
@ -334,6 +334,8 @@ dtb-$(CONFIG_ARCH_BCM283X) += \
|
||||
bcm2836-rpi-2-b.dtb \
|
||||
bcm2837-rpi-3-b.dtb
|
||||
|
||||
dtb-$(CONFIG_ARCH_ASPEED) += ast2500-evb.dtb
|
||||
|
||||
targets += $(dtb-y)
|
||||
|
||||
# Add any required device tree compiler flags here
|
||||
|
23
arch/arm/dts/ast2500-evb.dts
Normal file
23
arch/arm/dts/ast2500-evb.dts
Normal file
@ -0,0 +1,23 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "ast2500-u-boot.dtsi"
|
||||
|
||||
/ {
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x20000000>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart5;
|
||||
};
|
||||
};
|
||||
|
||||
&uart5 {
|
||||
u-boot,dm-pre-reloc;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdrammc {
|
||||
clock-frequency = <400000000>;
|
||||
};
|
@ -11,4 +11,6 @@ config TARGET_EVB_AST2500
|
||||
4 Serial ports, 4 USB ports, VGA port, PCIe, SD card slot,
|
||||
20 pin JTAG, pinouts for 14 I2Cs, 3 SPIs and eSPI, 8 PWMs.
|
||||
|
||||
source "board/aspeed/evb_ast2500/Kconfig"
|
||||
|
||||
endif
|
||||
|
12
board/aspeed/evb_ast2500/Kconfig
Normal file
12
board/aspeed/evb_ast2500/Kconfig
Normal file
@ -0,0 +1,12 @@
|
||||
if TARGET_EVB_AST2500
|
||||
|
||||
config SYS_BOARD
|
||||
default "evb_ast2500"
|
||||
|
||||
config SYS_VENDOR
|
||||
default "aspeed"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "evb_ast2500"
|
||||
|
||||
endif
|
1
board/aspeed/evb_ast2500/Makefile
Normal file
1
board/aspeed/evb_ast2500/Makefile
Normal file
@ -0,0 +1 @@
|
||||
obj-y += evb_ast2500.o
|
6
board/aspeed/evb_ast2500/evb_ast2500.c
Normal file
6
board/aspeed/evb_ast2500/evb_ast2500.c
Normal file
@ -0,0 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016 Google, Inc
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
#include <common.h>
|
21
configs/evb-ast2500_defconfig
Normal file
21
configs/evb-ast2500_defconfig
Normal file
@ -0,0 +1,21 @@
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_ASPEED=y
|
||||
CONFIG_ASPEED_AST2500=y
|
||||
CONFIG_TARGET_EVB_AST2500=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
||||
CONFIG_DISPLAY_CPUINFO=n
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_SYSRESET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_TIMER=y
|
||||
CONFIG_RAM=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_PRE_CONSOLE_BUFFER=y
|
||||
CONFIG_PRE_CON_BUF_ADDR=0x1e720000
|
||||
CONFIG_PRE_CON_BUF_SZ=4096
|
||||
CONFIG_SYS_NO_FLASH=y
|
||||
CONFIG_CMD_IMLS=n
|
27
include/configs/evb_ast2500.h
Normal file
27
include/configs/evb_ast2500.h
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (C) 2012-2020 ASPEED Technology Inc.
|
||||
* Ryan Chen <ryan_chen@aspeedtech.com>
|
||||
*
|
||||
* Copyright 2016 Google Inc
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
#include <configs/aspeed-common.h>
|
||||
|
||||
#define CONFIG_SYS_MEMTEST_START (CONFIG_SYS_SDRAM_BASE + 0x300000)
|
||||
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 0x5000000)
|
||||
|
||||
#define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_TEXT_BASE
|
||||
|
||||
/* Memory Info */
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x83000000
|
||||
|
||||
#define CONFIG_ENV_IS_NOWHERE
|
||||
|
||||
#define CONFIG_ENV_SIZE 0x20000
|
||||
|
||||
#endif /* __CONFIG_H */
|
Loading…
Reference in New Issue
Block a user