imx8mp-evk-u-boot.dtsi 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  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. };
  29. &osc_32k {
  30. u-boot,dm-spl;
  31. u-boot,dm-pre-reloc;
  32. };
  33. &osc_24m {
  34. u-boot,dm-spl;
  35. u-boot,dm-pre-reloc;
  36. };
  37. &aips1 {
  38. u-boot,dm-spl;
  39. u-boot,dm-pre-reloc;
  40. };
  41. &aips2 {
  42. u-boot,dm-spl;
  43. };
  44. &aips3 {
  45. u-boot,dm-spl;
  46. };
  47. &iomuxc {
  48. u-boot,dm-spl;
  49. };
  50. &reg_usdhc2_vmmc {
  51. u-boot,off-on-delay-us = <20000>;
  52. };
  53. &reg_usdhc2_vmmc {
  54. u-boot,dm-spl;
  55. };
  56. &pinctrl_uart2 {
  57. u-boot,dm-spl;
  58. };
  59. &pinctrl_usdhc2_gpio {
  60. u-boot,dm-spl;
  61. };
  62. &pinctrl_usdhc2 {
  63. u-boot,dm-spl;
  64. };
  65. &pinctrl_usdhc3 {
  66. u-boot,dm-spl;
  67. };
  68. &gpio1 {
  69. u-boot,dm-spl;
  70. };
  71. &gpio2 {
  72. u-boot,dm-spl;
  73. };
  74. &gpio3 {
  75. u-boot,dm-spl;
  76. };
  77. &gpio4 {
  78. u-boot,dm-spl;
  79. };
  80. &gpio5 {
  81. u-boot,dm-spl;
  82. };
  83. &uart2 {
  84. u-boot,dm-spl;
  85. };
  86. &i2c1 {
  87. u-boot,dm-spl;
  88. };
  89. &i2c2 {
  90. u-boot,dm-spl;
  91. };
  92. &i2c3 {
  93. u-boot,dm-spl;
  94. };
  95. &i2c4 {
  96. u-boot,dm-spl;
  97. };
  98. &i2c5 {
  99. u-boot,dm-spl;
  100. };
  101. &i2c6 {
  102. u-boot,dm-spl;
  103. };
  104. &usdhc1 {
  105. u-boot,dm-spl;
  106. };
  107. &usdhc2 {
  108. u-boot,dm-spl;
  109. sd-uhs-sdr104;
  110. sd-uhs-ddr50;
  111. };
  112. &usdhc3 {
  113. u-boot,dm-spl;
  114. mmc-hs400-1_8v;
  115. mmc-hs400-enhanced-strobe;
  116. };
  117. &wdog1 {
  118. u-boot,dm-spl;
  119. };
  120. &fec {
  121. phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
  122. phy-reset-duration = <15>;
  123. phy-reset-post-delay = <100>;
  124. };
  125. &binman {
  126. u-boot-spl-ddr {
  127. filename = "u-boot-spl-ddr.bin";
  128. pad-byte = <0xff>;
  129. align-size = <4>;
  130. align = <4>;
  131. u-boot-spl {
  132. align-end = <4>;
  133. };
  134. blob_1: blob-ext@1 {
  135. filename = "lpddr4_pmu_train_1d_imem_202006.bin";
  136. size = <0x8000>;
  137. };
  138. blob_2: blob-ext@2 {
  139. filename = "lpddr4_pmu_train_1d_dmem_202006.bin";
  140. size = <0x4000>;
  141. };
  142. blob_3: blob-ext@3 {
  143. filename = "lpddr4_pmu_train_2d_imem_202006.bin";
  144. size = <0x8000>;
  145. };
  146. blob_4: blob-ext@4 {
  147. filename = "lpddr4_pmu_train_2d_dmem_202006.bin";
  148. size = <0x4000>;
  149. };
  150. };
  151. flash {
  152. mkimage {
  153. args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x920000";
  154. blob {
  155. filename = "u-boot-spl-ddr.bin";
  156. };
  157. };
  158. };
  159. itb {
  160. filename = "u-boot.itb";
  161. fit {
  162. description = "Configuration to load ATF before U-Boot";
  163. #address-cells = <1>;
  164. fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
  165. images {
  166. uboot {
  167. description = "U-Boot (64-bit)";
  168. type = "standalone";
  169. arch = "arm64";
  170. compression = "none";
  171. load = <CONFIG_SYS_TEXT_BASE>;
  172. uboot_blob: blob-ext {
  173. filename = "u-boot-nodtb.bin";
  174. };
  175. };
  176. atf {
  177. description = "ARM Trusted Firmware";
  178. type = "firmware";
  179. arch = "arm64";
  180. compression = "none";
  181. load = <0x970000>;
  182. entry = <0x970000>;
  183. atf_blob: blob-ext {
  184. filename = "bl31.bin";
  185. };
  186. };
  187. fdt {
  188. description = "NAME";
  189. type = "flat_dt";
  190. compression = "none";
  191. uboot_fdt_blob: blob-ext {
  192. filename = "u-boot.dtb";
  193. };
  194. };
  195. };
  196. configurations {
  197. default = "conf";
  198. conf {
  199. description = "NAME";
  200. firmware = "uboot";
  201. loadables = "atf";
  202. fdt = "fdt";
  203. };
  204. };
  205. };
  206. };
  207. };