summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authormaxims@google.com <maxims@google.com>2017-01-18 21:44:58 (GMT)
committerTom Rini <trini@konsulko.com>2017-01-28 19:04:33 (GMT)
commitd9b88d2547bcea1ef17e29255fd716b6315b2aec (patch)
tree57a76ea6c3c34bc45106076337112b914254dba6 /arch/arm
parentf6a6a9f0497a9ec9f48966b2ee89d762f26092d2 (diff)
downloadu-boot-fsl-qoriq-d9b88d2547bcea1ef17e29255fd716b6315b2aec.tar.xz
aspeed: Support for ast2500 Eval Board
ast2500 Eval Board device tree and board specific configuration. Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/Makefile2
-rw-r--r--arch/arm/dts/ast2500-evb.dts23
-rw-r--r--arch/arm/mach-aspeed/ast2500/Kconfig2
3 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 6a7924e..9ac5862 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -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
diff --git a/arch/arm/dts/ast2500-evb.dts b/arch/arm/dts/ast2500-evb.dts
new file mode 100644
index 0000000..dc13952
--- /dev/null
+++ b/arch/arm/dts/ast2500-evb.dts
@@ -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>;
+};
diff --git a/arch/arm/mach-aspeed/ast2500/Kconfig b/arch/arm/mach-aspeed/ast2500/Kconfig
index 05cb27e..b815153 100644
--- a/arch/arm/mach-aspeed/ast2500/Kconfig
+++ b/arch/arm/mach-aspeed/ast2500/Kconfig
@@ -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