aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/dts
diff options
context:
space:
mode:
authorPragnesh Patel <pragnesh.patel@sifive.com>2020-05-29 11:33:35 +0530
committerAndes <uboot@andestech.com>2020-06-04 09:44:09 +0800
commit01cdef22ee455a4e67775b91e7f4c2a38c896159 (patch)
treeb9fd0d28c43f59bcb44d7ac6a06961b595b8b4b4 /arch/riscv/dts
parent7c45fc9870ad7cb3f4516e39454c3e75ab0c4cfb (diff)
downloadu-boot-01cdef22ee455a4e67775b91e7f4c2a38c896159.zip
u-boot-01cdef22ee455a4e67775b91e7f4c2a38c896159.tar.gz
u-boot-01cdef22ee455a4e67775b91e7f4c2a38c896159.tar.bz2
riscv: sifive: fu540: add SPL configuration
Add a support for SPL which will boot from L2 LIM (0x0800_0000) and then SPL will boot U-Boot FIT image (OpenSBI FW_DYNAMIC + u-boot.bin) from MMC boot devices. SPL related code is leveraged from FSBL (https://github.com/sifive/freedom-u540-c000-bootloader.git) Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'arch/riscv/dts')
-rw-r--r--arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
index 9787332..3038064 100644
--- a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
+++ b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
@@ -4,6 +4,7 @@
*/
#include "fu540-c000-u-boot.dtsi"
+#include "fu540-hifive-unleashed-a00-ddr.dtsi"
/ {
aliases {
@@ -26,3 +27,7 @@
u-boot,dm-spl;
};
};
+
+&gpio {
+ u-boot,dm-spl;
+};