sunxi-u-boot.dtsi 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. };
  47. };
  48. @fdt-SEQ {
  49. description = "NAME";
  50. type = "flat_dt";
  51. compression = "none";
  52. };
  53. };
  54. configurations {
  55. default = "config-1";
  56. @config-SEQ {
  57. description = "NAME";
  58. firmware = "uboot";
  59. loadables = "atf";
  60. fdt = "fdt-SEQ";
  61. };
  62. };
  63. };
  64. #else
  65. u-boot-img {
  66. offset = <CONFIG_SPL_PAD_TO>;
  67. };
  68. #endif
  69. };
  70. };