imx8mm-evk-u-boot.dtsi 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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. &reg_usdhc2_vmmc {
  50. u-boot,off-on-delay-us = <20000>;
  51. };
  52. &pinctrl_reg_usdhc2_vmmc {
  53. u-boot,dm-spl;
  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. fsl,signal-voltage-switch-extra-delay-ms = <8>;
  93. };
  94. &usdhc3 {
  95. u-boot,dm-spl;
  96. mmc-hs400-1_8v;
  97. mmc-hs400-enhanced-strobe;
  98. };
  99. &i2c1 {
  100. u-boot,dm-spl;
  101. };
  102. &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25} {
  103. u-boot,dm-spl;
  104. };
  105. &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25/regulators} {
  106. u-boot,dm-spl;
  107. };
  108. &pinctrl_i2c1 {
  109. u-boot,dm-spl;
  110. };
  111. &pinctrl_pmic {
  112. u-boot,dm-spl;
  113. };
  114. &fec1 {
  115. phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
  116. };
  117. &wdog1 {
  118. u-boot,dm-spl;
  119. };
  120. &binman {
  121. u-boot-spl-ddr {
  122. filename = "u-boot-spl-ddr.bin";
  123. pad-byte = <0xff>;
  124. align-size = <4>;
  125. align = <4>;
  126. u-boot-spl {
  127. align-end = <4>;
  128. };
  129. blob_1: blob-ext@1 {
  130. filename = "lpddr4_pmu_train_1d_imem.bin";
  131. size = <0x8000>;
  132. };
  133. blob_2: blob-ext@2 {
  134. filename = "lpddr4_pmu_train_1d_dmem.bin";
  135. size = <0x4000>;
  136. };
  137. blob_3: blob-ext@3 {
  138. filename = "lpddr4_pmu_train_2d_imem.bin";
  139. size = <0x8000>;
  140. };
  141. blob_4: blob-ext@4 {
  142. filename = "lpddr4_pmu_train_2d_dmem.bin";
  143. size = <0x4000>;
  144. };
  145. };
  146. flash {
  147. mkimage {
  148. args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
  149. blob {
  150. filename = "u-boot-spl-ddr.bin";
  151. };
  152. };
  153. };
  154. itb {
  155. filename = "u-boot.itb";
  156. fit {
  157. description = "Configuration to load ATF before U-Boot";
  158. #address-cells = <1>;
  159. fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
  160. images {
  161. uboot {
  162. description = "U-Boot (64-bit)";
  163. type = "standalone";
  164. arch = "arm64";
  165. compression = "none";
  166. load = <CONFIG_SYS_TEXT_BASE>;
  167. uboot_blob: blob-ext {
  168. filename = "u-boot-nodtb.bin";
  169. };
  170. };
  171. atf {
  172. description = "ARM Trusted Firmware";
  173. type = "firmware";
  174. arch = "arm64";
  175. compression = "none";
  176. load = <0x920000>;
  177. entry = <0x920000>;
  178. atf_blob: blob-ext {
  179. filename = "bl31.bin";
  180. };
  181. };
  182. fdt {
  183. description = "NAME";
  184. type = "flat_dt";
  185. compression = "none";
  186. uboot_fdt_blob: blob-ext {
  187. filename = "u-boot.dtb";
  188. };
  189. };
  190. };
  191. configurations {
  192. default = "conf";
  193. conf {
  194. description = "NAME";
  195. firmware = "uboot";
  196. loadables = "atf";
  197. fdt = "fdt";
  198. };
  199. };
  200. };
  201. };
  202. };