imx8mn-evk-u-boot.dtsi 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright 2019 NXP
  4. */
  5. #include "imx8mn-ddr4-evk-u-boot.dtsi"
  6. &i2c1 {
  7. u-boot,dm-spl;
  8. };
  9. &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25} {
  10. u-boot,dm-spl;
  11. };
  12. &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25/regulators} {
  13. u-boot,dm-spl;
  14. };
  15. &pinctrl_i2c1 {
  16. u-boot,dm-spl;
  17. };
  18. &pinctrl_pmic {
  19. u-boot,dm-spl;
  20. };
  21. &binman {
  22. u-boot-spl-ddr {
  23. filename = "u-boot-spl-ddr.bin";
  24. pad-byte = <0xff>;
  25. align-size = <4>;
  26. align = <4>;
  27. u-boot-spl {
  28. align-end = <4>;
  29. };
  30. blob_1: blob-ext@1 {
  31. filename = "lpddr4_pmu_train_1d_imem.bin";
  32. size = <0x8000>;
  33. };
  34. blob_2: blob-ext@2 {
  35. filename = "lpddr4_pmu_train_1d_dmem.bin";
  36. size = <0x4000>;
  37. };
  38. blob_3: blob-ext@3 {
  39. filename = "lpddr4_pmu_train_2d_imem.bin";
  40. size = <0x8000>;
  41. };
  42. blob_4: blob-ext@4 {
  43. filename = "lpddr4_pmu_train_2d_dmem.bin";
  44. size = <0x4000>;
  45. };
  46. };
  47. flash {
  48. mkimage {
  49. args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
  50. blob {
  51. filename = "u-boot-spl-ddr.bin";
  52. };
  53. };
  54. };
  55. itb {
  56. filename = "u-boot.itb";
  57. fit {
  58. description = "Configuration to load ATF before U-Boot";
  59. #address-cells = <1>;
  60. fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
  61. images {
  62. uboot {
  63. description = "U-Boot (64-bit)";
  64. type = "standalone";
  65. arch = "arm64";
  66. compression = "none";
  67. load = <CONFIG_SYS_TEXT_BASE>;
  68. uboot_blob: blob-ext {
  69. filename = "u-boot-nodtb.bin";
  70. };
  71. };
  72. atf {
  73. description = "ARM Trusted Firmware";
  74. type = "firmware";
  75. arch = "arm64";
  76. compression = "none";
  77. load = <0x960000>;
  78. entry = <0x960000>;
  79. atf_blob: blob-ext {
  80. filename = "bl31.bin";
  81. };
  82. };
  83. fdt {
  84. description = "NAME";
  85. type = "flat_dt";
  86. compression = "none";
  87. uboot_fdt_blob: blob-ext {
  88. filename = "u-boot.dtb";
  89. };
  90. };
  91. };
  92. configurations {
  93. default = "conf";
  94. conf {
  95. description = "NAME";
  96. firmware = "uboot";
  97. loadables = "atf";
  98. fdt = "fdt";
  99. };
  100. };
  101. };
  102. };
  103. };