sunxi-u-boot.dtsi 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #include <config.h>
  2. / {
  3. aliases {
  4. mmc1 = &mmc2;
  5. };
  6. binman: binman {
  7. multiple-images;
  8. };
  9. };
  10. &binman {
  11. u-boot-sunxi-with-spl {
  12. filename = "u-boot-sunxi-with-spl.bin";
  13. pad-byte = <0xff>;
  14. blob {
  15. filename = "spl/sunxi-spl.bin";
  16. };
  17. #ifdef CONFIG_ARM64
  18. fit {
  19. description = "Configuration to load ATF before U-Boot";
  20. #address-cells = <1>;
  21. fit,fdt-list = "of-list";
  22. images {
  23. uboot {
  24. description = "U-Boot (64-bit)";
  25. type = "standalone";
  26. arch = "arm64";
  27. compression = "none";
  28. load = <0x4a000000>;
  29. u-boot-nodtb {
  30. };
  31. };
  32. atf {
  33. description = "ARM Trusted Firmware";
  34. type = "firmware";
  35. arch = "arm64";
  36. compression = "none";
  37. /* TODO: Do this with an overwrite in this board's dtb? */
  38. #ifdef CONFIG_MACH_SUN50I_H6
  39. load = <0x104000>;
  40. entry = <0x104000>;
  41. #else
  42. load = <0x44000>;
  43. entry = <0x44000>;
  44. #endif
  45. atf-bl31 {
  46. missing-msg = "atf-bl31-sunxi";
  47. };
  48. };
  49. @fdt-SEQ {
  50. description = "NAME";
  51. type = "flat_dt";
  52. compression = "none";
  53. };
  54. };
  55. configurations {
  56. default = "config-1";
  57. @config-SEQ {
  58. description = "NAME";
  59. firmware = "uboot";
  60. loadables = "atf";
  61. fdt = "fdt-SEQ";
  62. };
  63. };
  64. };
  65. #else
  66. u-boot-img {
  67. offset = <CONFIG_SPL_PAD_TO>;
  68. };
  69. #endif
  70. };
  71. };