summaryrefslogtreecommitdiff
path: root/arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts
diff options
context:
space:
mode:
authorTien Fong Chee <tien.fong.chee@intel.com>2019-05-07 17:42:28 +0800
committerMarek Vasut <marex@denx.de>2019-05-10 22:48:11 +0200
commit0a42a132a4b846031df2c4a7d04692240ed34843 (patch)
treefbe98f3a5a11b4f961a780b92041ce1bd6caedf3 /arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts
parentc1cf5391807640159edcd363ea1cbaf226a56b58 (diff)
ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading
Add FPGA driver to support program FPGA with FPGA bitstream loading from filesystem. The driver are designed based on generic firmware loader framework. The driver can handle FPGA program operation from loading FPGA bitstream in flash to memory and then to program FPGA. Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
Diffstat (limited to 'arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts')
-rw-r--r--arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts b/arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts
index 998d811210..cc761967c7 100644
--- a/arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts
+++ b/arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts
@@ -18,6 +18,23 @@
/dts-v1/;
#include "socfpga_arria10_socdk.dtsi"
+/ {
+ chosen {
+ firmware-loader = <&fs_loader0>;
+ };
+
+ fs_loader0: fs-loader {
+ u-boot,dm-pre-reloc;
+ compatible = "u-boot,fs-loader";
+ phandlepart = <&mmc 1>;
+ };
+};
+
+&fpga_mgr {
+ u-boot,dm-pre-reloc;
+ altr,bitstream = "fit_spl_fpga.itb";
+};
+
&mmc {
u-boot,dm-pre-reloc;
status = "okay";