imx8mn-ddr4-evk-u-boot.dtsi 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright 2019 NXP
  4. */
  5. / {
  6. binman: binman {
  7. multiple-images;
  8. };
  9. wdt-reboot {
  10. compatible = "wdt-reboot";
  11. wdt = <&wdog1>;
  12. u-boot,dm-spl;
  13. };
  14. firmware {
  15. optee {
  16. compatible = "linaro,optee-tz";
  17. method = "smc";
  18. };
  19. };
  20. };
  21. &{/soc@0} {
  22. u-boot,dm-pre-reloc;
  23. u-boot,dm-spl;
  24. };
  25. &clk {
  26. u-boot,dm-spl;
  27. u-boot,dm-pre-reloc;
  28. /delete-property/ assigned-clocks;
  29. /delete-property/ assigned-clock-parents;
  30. /delete-property/ assigned-clock-rates;
  31. };
  32. &osc_24m {
  33. u-boot,dm-spl;
  34. u-boot,dm-pre-reloc;
  35. };
  36. &aips1 {
  37. u-boot,dm-spl;
  38. u-boot,dm-pre-reloc;
  39. };
  40. &aips2 {
  41. u-boot,dm-spl;
  42. };
  43. &aips3 {
  44. u-boot,dm-spl;
  45. };
  46. &iomuxc {
  47. u-boot,dm-spl;
  48. };
  49. &pinctrl_reg_usdhc2_vmmc {
  50. u-boot,dm-spl;
  51. };
  52. &reg_usdhc2_vmmc {
  53. u-boot,off-on-delay-us = <20000>;
  54. };
  55. &pinctrl_uart2 {
  56. u-boot,dm-spl;
  57. };
  58. &pinctrl_usdhc2_gpio {
  59. u-boot,dm-spl;
  60. };
  61. &pinctrl_usdhc2 {
  62. u-boot,dm-spl;
  63. };
  64. &pinctrl_usdhc3 {
  65. u-boot,dm-spl;
  66. };
  67. &gpio1 {
  68. u-boot,dm-spl;
  69. };
  70. &gpio2 {
  71. u-boot,dm-spl;
  72. };
  73. &gpio3 {
  74. u-boot,dm-spl;
  75. };
  76. &gpio4 {
  77. u-boot,dm-spl;
  78. };
  79. &gpio5 {
  80. u-boot,dm-spl;
  81. };
  82. &uart2 {
  83. u-boot,dm-spl;
  84. };
  85. &usdhc1 {
  86. u-boot,dm-spl;
  87. };
  88. &usdhc2 {
  89. u-boot,dm-spl;
  90. sd-uhs-sdr104;
  91. sd-uhs-ddr50;
  92. };
  93. &usdhc3 {
  94. u-boot,dm-spl;
  95. mmc-hs400-1_8v;
  96. mmc-hs400-enhanced-strobe;
  97. };
  98. &wdog1 {
  99. u-boot,dm-spl;
  100. };
  101. &binman {
  102. u-boot-spl-ddr {
  103. filename = "u-boot-spl-ddr.bin";
  104. pad-byte = <0xff>;
  105. align-size = <4>;
  106. align = <4>;
  107. u-boot-spl {
  108. align-end = <4>;
  109. };
  110. blob_1: blob-ext@1 {
  111. filename = "ddr4_imem_1d_201810.bin";
  112. size = <0x8000>;
  113. };
  114. blob_2: blob-ext@2 {
  115. filename = "ddr4_dmem_1d_201810.bin";
  116. size = <0x4000>;
  117. };
  118. blob_3: blob-ext@3 {
  119. filename = "ddr4_imem_2d_201810.bin";
  120. size = <0x8000>;
  121. };
  122. blob_4: blob-ext@4 {
  123. filename = "ddr4_dmem_2d_201810.bin";
  124. size = <0x4000>;
  125. };
  126. };
  127. flash {
  128. mkimage {
  129. args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
  130. blob {
  131. filename = "u-boot-spl-ddr.bin";
  132. };
  133. };
  134. };
  135. itb {
  136. filename = "u-boot.itb";
  137. fit {
  138. description = "Configuration to load ATF before U-Boot";
  139. #address-cells = <1>;
  140. fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
  141. images {
  142. uboot {
  143. description = "U-Boot (64-bit)";
  144. type = "standalone";
  145. arch = "arm64";
  146. compression = "none";
  147. load = <CONFIG_SYS_TEXT_BASE>;
  148. uboot_blob: blob-ext {
  149. filename = "u-boot-nodtb.bin";
  150. };
  151. };
  152. atf {
  153. description = "ARM Trusted Firmware";
  154. type = "firmware";
  155. arch = "arm64";
  156. compression = "none";
  157. load = <0x960000>;
  158. entry = <0x960000>;
  159. atf_blob: blob-ext {
  160. filename = "bl31.bin";
  161. };
  162. };
  163. fdt {
  164. description = "NAME";
  165. type = "flat_dt";
  166. compression = "none";
  167. uboot_fdt_blob: blob-ext {
  168. filename = "u-boot.dtb";
  169. };
  170. };
  171. };
  172. configurations {
  173. default = "conf";
  174. conf {
  175. description = "NAME";
  176. firmware = "uboot";
  177. loadables = "atf";
  178. fdt = "fdt";
  179. };
  180. };
  181. };
  182. };
  183. };