stm32mp25-ddr.dtsi 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
  2. /*
  3. * Copyright (C) 2024, STMicroelectronics - All Rights Reserved
  4. */
  5. &ddr{
  6. st,mem-name = DDR_MEM_NAME;
  7. st,mem-speed = <DDR_MEM_SPEED>;
  8. st,mem-size = <(DDR_MEM_SIZE >> 32) (DDR_MEM_SIZE & 0xFFFFFFFF)>;
  9. st,ctl-reg = <
  10. DDR_MSTR
  11. DDR_MRCTRL0
  12. DDR_MRCTRL1
  13. DDR_MRCTRL2
  14. DDR_DERATEEN
  15. DDR_DERATEINT
  16. DDR_DERATECTL
  17. DDR_PWRCTL
  18. DDR_PWRTMG
  19. DDR_HWLPCTL
  20. DDR_RFSHCTL0
  21. DDR_RFSHCTL1
  22. DDR_RFSHCTL3
  23. DDR_CRCPARCTL0
  24. DDR_CRCPARCTL1
  25. DDR_INIT0
  26. DDR_INIT1
  27. DDR_INIT2
  28. DDR_INIT3
  29. DDR_INIT4
  30. DDR_INIT5
  31. DDR_INIT6
  32. DDR_INIT7
  33. DDR_DIMMCTL
  34. DDR_RANKCTL
  35. DDR_RANKCTL1
  36. DDR_ZQCTL0
  37. DDR_ZQCTL1
  38. DDR_ZQCTL2
  39. DDR_DFITMG0
  40. DDR_DFITMG1
  41. DDR_DFILPCFG0
  42. DDR_DFILPCFG1
  43. DDR_DFIUPD0
  44. DDR_DFIUPD1
  45. DDR_DFIUPD2
  46. DDR_DFIMISC
  47. DDR_DFITMG2
  48. DDR_DFITMG3
  49. DDR_DBICTL
  50. DDR_DFIPHYMSTR
  51. DDR_DBG0
  52. DDR_DBG1
  53. DDR_DBGCMD
  54. DDR_SWCTL
  55. DDR_SWCTLSTATIC
  56. DDR_POISONCFG
  57. DDR_PCCFG
  58. >;
  59. st,ctl-timing = <
  60. DDR_RFSHTMG
  61. DDR_RFSHTMG1
  62. DDR_DRAMTMG0
  63. DDR_DRAMTMG1
  64. DDR_DRAMTMG2
  65. DDR_DRAMTMG3
  66. DDR_DRAMTMG4
  67. DDR_DRAMTMG5
  68. DDR_DRAMTMG6
  69. DDR_DRAMTMG7
  70. DDR_DRAMTMG8
  71. DDR_DRAMTMG9
  72. DDR_DRAMTMG10
  73. DDR_DRAMTMG11
  74. DDR_DRAMTMG12
  75. DDR_DRAMTMG13
  76. DDR_DRAMTMG14
  77. DDR_DRAMTMG15
  78. DDR_ODTCFG
  79. DDR_ODTMAP
  80. >;
  81. st,ctl-map = <
  82. DDR_ADDRMAP0
  83. DDR_ADDRMAP1
  84. DDR_ADDRMAP2
  85. DDR_ADDRMAP3
  86. DDR_ADDRMAP4
  87. DDR_ADDRMAP5
  88. DDR_ADDRMAP6
  89. DDR_ADDRMAP7
  90. DDR_ADDRMAP8
  91. DDR_ADDRMAP9
  92. DDR_ADDRMAP10
  93. DDR_ADDRMAP11
  94. >;
  95. st,ctl-perf = <
  96. DDR_SCHED
  97. DDR_SCHED1
  98. DDR_PERFHPR1
  99. DDR_PERFLPR1
  100. DDR_PERFWR1
  101. DDR_SCHED3
  102. DDR_SCHED4
  103. DDR_PCFGR_0
  104. DDR_PCFGW_0
  105. DDR_PCTRL_0
  106. DDR_PCFGQOS0_0
  107. DDR_PCFGQOS1_0
  108. DDR_PCFGWQOS0_0
  109. DDR_PCFGWQOS1_0
  110. DDR_PCFGR_1
  111. DDR_PCFGW_1
  112. DDR_PCTRL_1
  113. DDR_PCFGQOS0_1
  114. DDR_PCFGQOS1_1
  115. DDR_PCFGWQOS0_1
  116. DDR_PCFGWQOS1_1
  117. >;
  118. st,phy-basic = <
  119. DDR_UIB_DRAMTYPE
  120. DDR_UIB_DIMMTYPE
  121. DDR_UIB_LP4XMODE
  122. DDR_UIB_NUMDBYTE
  123. DDR_UIB_NUMACTIVEDBYTEDFI0
  124. DDR_UIB_NUMACTIVEDBYTEDFI1
  125. DDR_UIB_NUMANIB
  126. DDR_UIB_NUMRANK_DFI0
  127. DDR_UIB_NUMRANK_DFI1
  128. DDR_UIB_DRAMDATAWIDTH
  129. DDR_UIB_NUMPSTATES
  130. DDR_UIB_FREQUENCY_0
  131. DDR_UIB_PLLBYPASS_0
  132. DDR_UIB_DFIFREQRATIO_0
  133. DDR_UIB_DFI1EXISTS
  134. DDR_UIB_TRAIN2D
  135. DDR_UIB_HARDMACROVER
  136. DDR_UIB_READDBIENABLE_0
  137. DDR_UIB_DFIMODE
  138. >;
  139. st,phy-advanced = <
  140. DDR_UIA_LP4RXPREAMBLEMODE_0
  141. DDR_UIA_LP4POSTAMBLEEXT_0
  142. DDR_UIA_D4RXPREAMBLELENGTH_0
  143. DDR_UIA_D4TXPREAMBLELENGTH_0
  144. DDR_UIA_EXTCALRESVAL
  145. DDR_UIA_IS2TTIMING_0
  146. DDR_UIA_ODTIMPEDANCE_0
  147. DDR_UIA_TXIMPEDANCE_0
  148. DDR_UIA_ATXIMPEDANCE
  149. DDR_UIA_MEMALERTEN
  150. DDR_UIA_MEMALERTPUIMP
  151. DDR_UIA_MEMALERTVREFLEVEL
  152. DDR_UIA_MEMALERTSYNCBYPASS
  153. DDR_UIA_DISDYNADRTRI_0
  154. DDR_UIA_PHYMSTRTRAININTERVAL_0
  155. DDR_UIA_PHYMSTRMAXREQTOACK_0
  156. DDR_UIA_WDQSEXT
  157. DDR_UIA_CALINTERVAL
  158. DDR_UIA_CALONCE
  159. DDR_UIA_LP4RL_0
  160. DDR_UIA_LP4WL_0
  161. DDR_UIA_LP4WLS_0
  162. DDR_UIA_LP4DBIRD_0
  163. DDR_UIA_LP4DBIWR_0
  164. DDR_UIA_LP4NWR_0
  165. DDR_UIA_LP4LOWPOWERDRV
  166. DDR_UIA_DRAMBYTESWAP
  167. DDR_UIA_RXENBACKOFF
  168. DDR_UIA_TRAINSEQUENCECTRL
  169. DDR_UIA_SNPSUMCTLOPT
  170. DDR_UIA_SNPSUMCTLF0RC5X_0
  171. DDR_UIA_TXSLEWRISEDQ_0
  172. DDR_UIA_TXSLEWFALLDQ_0
  173. DDR_UIA_TXSLEWRISEAC
  174. DDR_UIA_TXSLEWFALLAC
  175. DDR_UIA_DISABLERETRAINING
  176. DDR_UIA_DISABLEPHYUPDATE
  177. DDR_UIA_ENABLEHIGHCLKSKEWFIX
  178. DDR_UIA_DISABLEUNUSEDADDRLNS
  179. DDR_UIA_PHYINITSEQUENCENUM
  180. DDR_UIA_ENABLEDFICSPOLARITYFIX
  181. DDR_UIA_PHYVREF
  182. DDR_UIA_SEQUENCECTRL_0
  183. >;
  184. st,phy-mr = <
  185. DDR_UIM_MR0_0
  186. DDR_UIM_MR1_0
  187. DDR_UIM_MR2_0
  188. DDR_UIM_MR3_0
  189. DDR_UIM_MR4_0
  190. DDR_UIM_MR5_0
  191. DDR_UIM_MR6_0
  192. DDR_UIM_MR11_0
  193. DDR_UIM_MR12_0
  194. DDR_UIM_MR13_0
  195. DDR_UIM_MR14_0
  196. DDR_UIM_MR22_0
  197. >;
  198. st,phy-swizzle = <
  199. DDR_UIS_SWIZZLE_0
  200. DDR_UIS_SWIZZLE_1
  201. DDR_UIS_SWIZZLE_2
  202. DDR_UIS_SWIZZLE_3
  203. DDR_UIS_SWIZZLE_4
  204. DDR_UIS_SWIZZLE_5
  205. DDR_UIS_SWIZZLE_6
  206. DDR_UIS_SWIZZLE_7
  207. DDR_UIS_SWIZZLE_8
  208. DDR_UIS_SWIZZLE_9
  209. DDR_UIS_SWIZZLE_10
  210. DDR_UIS_SWIZZLE_11
  211. DDR_UIS_SWIZZLE_12
  212. DDR_UIS_SWIZZLE_13
  213. DDR_UIS_SWIZZLE_14
  214. DDR_UIS_SWIZZLE_15
  215. DDR_UIS_SWIZZLE_16
  216. DDR_UIS_SWIZZLE_17
  217. DDR_UIS_SWIZZLE_18
  218. DDR_UIS_SWIZZLE_19
  219. DDR_UIS_SWIZZLE_20
  220. DDR_UIS_SWIZZLE_21
  221. DDR_UIS_SWIZZLE_22
  222. DDR_UIS_SWIZZLE_23
  223. DDR_UIS_SWIZZLE_24
  224. DDR_UIS_SWIZZLE_25
  225. DDR_UIS_SWIZZLE_26
  226. DDR_UIS_SWIZZLE_27
  227. DDR_UIS_SWIZZLE_28
  228. DDR_UIS_SWIZZLE_29
  229. DDR_UIS_SWIZZLE_30
  230. DDR_UIS_SWIZZLE_31
  231. DDR_UIS_SWIZZLE_32
  232. DDR_UIS_SWIZZLE_33
  233. DDR_UIS_SWIZZLE_34
  234. DDR_UIS_SWIZZLE_35
  235. DDR_UIS_SWIZZLE_36
  236. DDR_UIS_SWIZZLE_37
  237. DDR_UIS_SWIZZLE_38
  238. DDR_UIS_SWIZZLE_39
  239. DDR_UIS_SWIZZLE_40
  240. DDR_UIS_SWIZZLE_41
  241. DDR_UIS_SWIZZLE_42
  242. DDR_UIS_SWIZZLE_43
  243. >;
  244. };