aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi')
-rw-r--r--roms/u-boot/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi58
1 files changed, 58 insertions, 0 deletions
diff --git a/roms/u-boot/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi b/roms/u-boot/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
new file mode 100644
index 000000000..51b566116
--- /dev/null
+++ b/roms/u-boot/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
@@ -0,0 +1,58 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
+ */
+
+#include "binman.dtsi"
+#include "fu540-c000-u-boot.dtsi"
+#include "fu540-hifive-unleashed-a00-ddr.dtsi"
+
+/ {
+ aliases {
+ cpu1 = &cpu1;
+ cpu2 = &cpu2;
+ cpu3 = &cpu3;
+ cpu4 = &cpu4;
+ spi0 = &qspi0;
+ spi2 = &qspi2;
+ };
+
+ config {
+ u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */
+ };
+
+ memory@80000000 {
+ u-boot,dm-spl;
+ };
+
+ hfclk {
+ u-boot,dm-spl;
+ };
+
+ rtcclk {
+ u-boot,dm-spl;
+ };
+
+};
+
+&clint {
+ clocks = <&rtcclk>;
+};
+
+&qspi0 {
+ u-boot,dm-spl;
+
+ flash@0 {
+ u-boot,dm-spl;
+ };
+};
+
+&qspi2 {
+ mmc@0 {
+ u-boot,dm-spl;
+ };
+};
+
+&gpio {
+ u-boot,dm-spl;
+};