k3-j721e-som-p0.dtsi 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (C) 2019-2020 Texas Instruments Incorporated - https://www.ti.com/
  4. */
  5. /dts-v1/;
  6. #include "k3-j721e.dtsi"
  7. / {
  8. memory@80000000 {
  9. device_type = "memory";
  10. /* 4G RAM */
  11. reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
  12. <0x00000008 0x80000000 0x00000000 0x80000000>;
  13. };
  14. reserved_memory: reserved-memory {
  15. #address-cells = <2>;
  16. #size-cells = <2>;
  17. ranges;
  18. secure_ddr: optee@9e800000 {
  19. reg = <0x00 0x9e800000 0x00 0x01800000>;
  20. alignment = <0x1000>;
  21. no-map;
  22. };
  23. mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
  24. compatible = "shared-dma-pool";
  25. reg = <0x00 0xa0000000 0x00 0x100000>;
  26. no-map;
  27. };
  28. mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
  29. compatible = "shared-dma-pool";
  30. reg = <0x00 0xa0100000 0x00 0xf00000>;
  31. no-map;
  32. };
  33. mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
  34. compatible = "shared-dma-pool";
  35. reg = <0x00 0xa1000000 0x00 0x100000>;
  36. no-map;
  37. };
  38. mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
  39. compatible = "shared-dma-pool";
  40. reg = <0x00 0xa1100000 0x00 0xf00000>;
  41. no-map;
  42. };
  43. main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a2000000 {
  44. compatible = "shared-dma-pool";
  45. reg = <0x00 0xa2000000 0x00 0x100000>;
  46. no-map;
  47. };
  48. main_r5fss0_core0_memory_region: r5f-memory@a2100000 {
  49. compatible = "shared-dma-pool";
  50. reg = <0x00 0xa2100000 0x00 0xf00000>;
  51. no-map;
  52. };
  53. main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a3000000 {
  54. compatible = "shared-dma-pool";
  55. reg = <0x00 0xa3000000 0x00 0x100000>;
  56. no-map;
  57. };
  58. main_r5fss0_core1_memory_region: r5f-memory@a3100000 {
  59. compatible = "shared-dma-pool";
  60. reg = <0x00 0xa3100000 0x00 0xf00000>;
  61. no-map;
  62. };
  63. main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a4000000 {
  64. compatible = "shared-dma-pool";
  65. reg = <0x00 0xa4000000 0x00 0x100000>;
  66. no-map;
  67. };
  68. main_r5fss1_core0_memory_region: r5f-memory@a4100000 {
  69. compatible = "shared-dma-pool";
  70. reg = <0x00 0xa4100000 0x00 0xf00000>;
  71. no-map;
  72. };
  73. main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a5000000 {
  74. compatible = "shared-dma-pool";
  75. reg = <0x00 0xa5000000 0x00 0x100000>;
  76. no-map;
  77. };
  78. main_r5fss1_core1_memory_region: r5f-memory@a5100000 {
  79. compatible = "shared-dma-pool";
  80. reg = <0x00 0xa5100000 0x00 0xf00000>;
  81. no-map;
  82. };
  83. c66_1_dma_memory_region: c66-dma-memory@a6000000 {
  84. compatible = "shared-dma-pool";
  85. reg = <0x00 0xa6000000 0x00 0x100000>;
  86. no-map;
  87. };
  88. c66_0_memory_region: c66-memory@a6100000 {
  89. compatible = "shared-dma-pool";
  90. reg = <0x00 0xa6100000 0x00 0xf00000>;
  91. no-map;
  92. };
  93. c66_0_dma_memory_region: c66-dma-memory@a7000000 {
  94. compatible = "shared-dma-pool";
  95. reg = <0x00 0xa7000000 0x00 0x100000>;
  96. no-map;
  97. };
  98. c66_1_memory_region: c66-memory@a7100000 {
  99. compatible = "shared-dma-pool";
  100. reg = <0x00 0xa7100000 0x00 0xf00000>;
  101. no-map;
  102. };
  103. c71_0_dma_memory_region: c71-dma-memory@a8000000 {
  104. compatible = "shared-dma-pool";
  105. reg = <0x00 0xa8000000 0x00 0x100000>;
  106. no-map;
  107. };
  108. c71_0_memory_region: c71-memory@a8100000 {
  109. compatible = "shared-dma-pool";
  110. reg = <0x00 0xa8100000 0x00 0xf00000>;
  111. no-map;
  112. };
  113. rtos_ipc_memory_region: ipc-memories@aa000000 {
  114. reg = <0x00 0xaa000000 0x00 0x01c00000>;
  115. alignment = <0x1000>;
  116. no-map;
  117. };
  118. };
  119. };
  120. &wkup_pmx0 {
  121. wkup_i2c0_pins_default: wkup-i2c0-pins-default {
  122. pinctrl-single,pins = <
  123. J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
  124. J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
  125. >;
  126. };
  127. mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default {
  128. pinctrl-single,pins = <
  129. J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_OSPI0_CLK */
  130. J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* MCU_OSPI0_DQS */
  131. J721E_WKUP_IOPAD(0x000c, PIN_INPUT, 0) /* MCU_OSPI0_D0 */
  132. J721E_WKUP_IOPAD(0x0010, PIN_INPUT, 0) /* MCU_OSPI0_D1 */
  133. J721E_WKUP_IOPAD(0x0014, PIN_INPUT, 0) /* MCU_OSPI0_D2 */
  134. J721E_WKUP_IOPAD(0x0018, PIN_INPUT, 0) /* MCU_OSPI0_D3 */
  135. J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_OSPI0_D4 */
  136. J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* MCU_OSPI0_D5 */
  137. J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* MCU_OSPI0_D6 */
  138. J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_OSPI0_D7 */
  139. J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */
  140. >;
  141. };
  142. };
  143. &ospi0 {
  144. pinctrl-names = "default";
  145. pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
  146. flash@0 {
  147. compatible = "jedec,spi-nor";
  148. reg = <0x0>;
  149. spi-tx-bus-width = <8>;
  150. spi-rx-bus-width = <8>;
  151. spi-max-frequency = <25000000>;
  152. cdns,tshsl-ns = <60>;
  153. cdns,tsd2d-ns = <60>;
  154. cdns,tchsh-ns = <60>;
  155. cdns,tslch-ns = <60>;
  156. cdns,read-delay = <0>;
  157. };
  158. };
  159. &mailbox0_cluster0 {
  160. interrupts = <436>;
  161. mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
  162. ti,mbox-rx = <0 0 0>;
  163. ti,mbox-tx = <1 0 0>;
  164. };
  165. mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
  166. ti,mbox-rx = <2 0 0>;
  167. ti,mbox-tx = <3 0 0>;
  168. };
  169. };
  170. &mailbox0_cluster1 {
  171. interrupts = <432>;
  172. mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
  173. ti,mbox-rx = <0 0 0>;
  174. ti,mbox-tx = <1 0 0>;
  175. };
  176. mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
  177. ti,mbox-rx = <2 0 0>;
  178. ti,mbox-tx = <3 0 0>;
  179. };
  180. };
  181. &mailbox0_cluster2 {
  182. interrupts = <428>;
  183. mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
  184. ti,mbox-rx = <0 0 0>;
  185. ti,mbox-tx = <1 0 0>;
  186. };
  187. mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 {
  188. ti,mbox-rx = <2 0 0>;
  189. ti,mbox-tx = <3 0 0>;
  190. };
  191. };
  192. &mailbox0_cluster3 {
  193. interrupts = <424>;
  194. mbox_c66_0: mbox-c66-0 {
  195. ti,mbox-rx = <0 0 0>;
  196. ti,mbox-tx = <1 0 0>;
  197. };
  198. mbox_c66_1: mbox-c66-1 {
  199. ti,mbox-rx = <2 0 0>;
  200. ti,mbox-tx = <3 0 0>;
  201. };
  202. };
  203. &mailbox0_cluster4 {
  204. interrupts = <420>;
  205. mbox_c71_0: mbox-c71-0 {
  206. ti,mbox-rx = <0 0 0>;
  207. ti,mbox-tx = <1 0 0>;
  208. };
  209. };
  210. &mailbox0_cluster5 {
  211. status = "disabled";
  212. };
  213. &mailbox0_cluster6 {
  214. status = "disabled";
  215. };
  216. &mailbox0_cluster7 {
  217. status = "disabled";
  218. };
  219. &mailbox0_cluster8 {
  220. status = "disabled";
  221. };
  222. &mailbox0_cluster9 {
  223. status = "disabled";
  224. };
  225. &mailbox0_cluster10 {
  226. status = "disabled";
  227. };
  228. &mailbox0_cluster11 {
  229. status = "disabled";
  230. };
  231. &mcu_r5fss0_core0 {
  232. mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>;
  233. memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
  234. <&mcu_r5fss0_core0_memory_region>;
  235. };
  236. &mcu_r5fss0_core1 {
  237. mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>;
  238. memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
  239. <&mcu_r5fss0_core1_memory_region>;
  240. };
  241. &main_r5fss0_core0 {
  242. mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>;
  243. memory-region = <&main_r5fss0_core0_dma_memory_region>,
  244. <&main_r5fss0_core0_memory_region>;
  245. };
  246. &main_r5fss0_core1 {
  247. mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>;
  248. memory-region = <&main_r5fss0_core1_dma_memory_region>,
  249. <&main_r5fss0_core1_memory_region>;
  250. };
  251. &main_r5fss1_core0 {
  252. mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>;
  253. memory-region = <&main_r5fss1_core0_dma_memory_region>,
  254. <&main_r5fss1_core0_memory_region>;
  255. };
  256. &main_r5fss1_core1 {
  257. mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>;
  258. memory-region = <&main_r5fss1_core1_dma_memory_region>,
  259. <&main_r5fss1_core1_memory_region>;
  260. };
  261. &c66_0 {
  262. mboxes = <&mailbox0_cluster3 &mbox_c66_0>;
  263. memory-region = <&c66_0_dma_memory_region>,
  264. <&c66_0_memory_region>;
  265. };
  266. &c66_1 {
  267. mboxes = <&mailbox0_cluster3 &mbox_c66_1>;
  268. memory-region = <&c66_1_dma_memory_region>,
  269. <&c66_1_memory_region>;
  270. };
  271. &c71_0 {
  272. mboxes = <&mailbox0_cluster4 &mbox_c71_0>;
  273. memory-region = <&c71_0_dma_memory_region>,
  274. <&c71_0_memory_region>;
  275. };