diff options
Diffstat (limited to 'arch/riscv/dts/dubhe-fpga-u-boot.dtsi')
-rw-r--r-- | arch/riscv/dts/dubhe-fpga-u-boot.dtsi | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/arch/riscv/dts/dubhe-fpga-u-boot.dtsi b/arch/riscv/dts/dubhe-fpga-u-boot.dtsi index bc853c54f5..95e0dc3f26 100644 --- a/arch/riscv/dts/dubhe-fpga-u-boot.dtsi +++ b/arch/riscv/dts/dubhe-fpga-u-boot.dtsi @@ -39,6 +39,103 @@ bootph-pre-ram; }; }; + + binman: binman { + multiple-images; + + uboot_fit { + filename = "u-boot.itb"; + + fit { + description = "Configuration to load OpenSBI before U-Boot"; + #address-cells = <1>; + fit,fdt-list = "of-list"; + + images { + uboot { + description = "U-Boot"; + type = "standalone"; + os = "U-Boot"; + arch = "riscv"; + compression = "none"; + load = <CONFIG_TEXT_BASE>; + + uboot_blob: blob-ext { + filename = "u-boot-nodtb.bin"; + }; + }; + + opensbi { + description = "OpenSBI fw_dynamic Firmware"; + type = "firmware"; + os = "opensbi"; + arch = "riscv"; + compression = "none"; + load = <CONFIG_SPL_OPENSBI_LOAD_ADDR>; + entry = <CONFIG_SPL_OPENSBI_LOAD_ADDR>; + + opensbi_blob: opensbi { + filename = "fw_dynamic.bin"; + }; + }; + + fdt-90 { + description = "U-Boot proper device tree binary"; + type = "flat_dt"; + arch = "riscv"; + compression = "none"; + fdt_90_blob: blob-ext { + filename = "arch/riscv/dts/dubhe90_fpga.dtb"; + }; + }; + + fdt-80 { + description = "U-Boot proper device tree binary"; + type = "flat_dt"; + arch = "riscv"; + compression = "none"; + fdt_80_blob: blob-ext { + filename = "arch/riscv/dts/dubhe80_fpga.dtb"; + }; + }; + + fdt-70 { + description = "U-Boot proper device tree binary"; + type = "flat_dt"; + arch = "riscv"; + compression = "none"; + fdt_70_blob: blob-ext { + filename = "arch/riscv/dts/dubhe70_fpga.dtb"; + }; + }; + }; + + configurations { + default = "conf-90"; + conf-90 { + description = "conf-90"; + firmware = "opensbi"; + loadables = "uboot"; + fdt = "fdt-90"; + }; + + conf-80 { + description = "conf-80"; + firmware = "opensbi"; + loadables = "uboot"; + fdt = "fdt-80"; + }; + + conf-70 { + description = "conf-70"; + firmware = "opensbi"; + loadables = "uboot"; + fdt = "fdt-70"; + }; + }; + }; + }; + }; }; &clint { |