socfpga_soc64_fit-u-boot.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * U-Boot additions
  4. *
  5. * Copyright (C) 2020 Intel Corporation <www.intel.com>
  6. */
  7. #if defined(CONFIG_FIT)
  8. / {
  9. binman: binman {
  10. multiple-images;
  11. };
  12. };
  13. &binman {
  14. u-boot {
  15. filename = "u-boot.itb";
  16. fit {
  17. fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
  18. description = "FIT with firmware and bootloader";
  19. #address-cells = <1>;
  20. images {
  21. uboot {
  22. description = "U-Boot SoC64";
  23. type = "standalone";
  24. os = "U-Boot";
  25. arch = "arm64";
  26. compression = "none";
  27. load = <0x00200000>;
  28. uboot_blob: blob-ext {
  29. filename = "u-boot-nodtb.bin";
  30. };
  31. };
  32. atf {
  33. description = "ARM Trusted Firmware";
  34. type = "firmware";
  35. os = "arm-trusted-firmware";
  36. arch = "arm64";
  37. compression = "none";
  38. load = <0x00001000>;
  39. entry = <0x00001000>;
  40. atf_blob: blob-ext {
  41. filename = "bl31.bin";
  42. };
  43. };
  44. fdt {
  45. description = "U-Boot SoC64 flat device-tree";
  46. type = "flat_dt";
  47. compression = "none";
  48. uboot_fdt_blob: blob-ext {
  49. filename = "u-boot.dtb";
  50. };
  51. };
  52. };
  53. configurations {
  54. default = "conf";
  55. conf {
  56. description = "Intel SoC64 FPGA";
  57. firmware = "atf";
  58. loadables = "uboot";
  59. fdt = "fdt";
  60. };
  61. };
  62. };
  63. };
  64. kernel {
  65. filename = "kernel.itb";
  66. fit {
  67. description = "FIT with Linux kernel image and FDT blob";
  68. #address-cells = <1>;
  69. images {
  70. kernel {
  71. description = "Linux Kernel";
  72. type = "kernel";
  73. arch = "arm64";
  74. os = "linux";
  75. compression = "none";
  76. load = <0x4080000>;
  77. entry = <0x4080000>;
  78. kernel_blob: blob-ext {
  79. filename = "Image";
  80. };
  81. };
  82. fdt {
  83. description = "Linux DTB";
  84. type = "flat_dt";
  85. arch = "arm64";
  86. compression = "none";
  87. kernel_fdt_blob: blob-ext {
  88. filename = "linux.dtb";
  89. };
  90. };
  91. };
  92. configurations {
  93. default = "conf";
  94. conf {
  95. description = "Intel SoC64 FPGA";
  96. kernel = "kernel";
  97. fdt = "fdt";
  98. };
  99. };
  100. };
  101. };
  102. };
  103. #if defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH)
  104. &uboot_blob {
  105. filename = "signed-u-boot-nodtb.bin";
  106. };
  107. &atf_blob {
  108. filename = "signed-bl31.bin";
  109. };
  110. &uboot_fdt_blob {
  111. filename = "signed-u-boot.dtb";
  112. };
  113. &kernel_blob {
  114. filename = "signed-Image";
  115. };
  116. &kernel_fdt_blob {
  117. filename = "signed-linux.dtb";
  118. };
  119. #endif
  120. #endif