stm32mp257f-ev1.dts 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
  2. /*
  3. * Copyright (C) 2023-2024, STMicroelectronics - All Rights Reserved
  4. * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
  5. */
  6. /dts-v1/;
  7. #include <dt-bindings/clock/stm32mp25-clksrc.h>
  8. #include "stm32mp257.dtsi"
  9. #include "stm32mp25xf.dtsi"
  10. #include "stm32mp257f-ev1-ca35tdcid-rcc.dtsi"
  11. #include "stm32mp25-ddr4-2x16Gbits-2x16bits-1200MHz.dtsi"
  12. #include "stm32mp25-pinctrl.dtsi"
  13. #include "stm32mp25xxai-pinctrl.dtsi"
  14. / {
  15. model = "STMicroelectronics STM32MP257F-EV1 Evaluation Board";
  16. compatible = "st,stm32mp257f-ev1", "st,stm32mp257";
  17. aliases {
  18. serial0 = &usart2;
  19. };
  20. chosen {
  21. stdout-path = "serial0:115200n8";
  22. };
  23. memory@80000000 {
  24. device_type = "memory";
  25. reg = <0x0 0x80000000 0x1 0x0>;
  26. };
  27. };
  28. &bsec {
  29. board_id: board-id@3d8 {
  30. reg = <0x3d8 0x4>;
  31. };
  32. };
  33. &ddr {
  34. vdd-supply = <&vdd_ddr>;
  35. vtt-supply = <&vtt_ddr>;
  36. vpp-supply = <&vpp_ddr>;
  37. vref-supply = <&vref_ddr>;
  38. };
  39. &i2c7 {
  40. pinctrl-names = "default";
  41. pinctrl-0 = <&i2c7_pins_a>;
  42. i2c-scl-rising-time-ns = <185>;
  43. i2c-scl-falling-time-ns = <20>;
  44. clock-frequency = <400000>;
  45. status = "okay";
  46. #address-cells = <1>;
  47. #size-cells = <0>;
  48. pmic2: stpmic@33 {
  49. compatible = "st,stpmic2";
  50. reg = <0x33>;
  51. status = "okay";
  52. regulators {
  53. compatible = "st,stpmic2-regulators";
  54. vddcpu: buck1 {
  55. regulator-name = "vddcpu";
  56. regulator-min-microvolt = <800000>;
  57. regulator-max-microvolt = <910000>;
  58. regulator-always-on;
  59. };
  60. vddcore: buck2 {
  61. regulator-name = "vddcore";
  62. regulator-min-microvolt = <820000>;
  63. regulator-max-microvolt = <820000>;
  64. regulator-always-on;
  65. };
  66. vddgpu: buck3 {
  67. regulator-name = "vddgpu";
  68. regulator-min-microvolt = <800000>;
  69. regulator-max-microvolt = <900000>;
  70. regulator-always-on;
  71. };
  72. vddio_pmic: buck4 {
  73. regulator-name = "vddio_pmic";
  74. regulator-min-microvolt = <3300000>;
  75. regulator-max-microvolt = <3300000>;
  76. regulator-always-on;
  77. };
  78. v1v8: buck5 {
  79. regulator-name = "v1v8";
  80. regulator-min-microvolt = <1800000>;
  81. regulator-max-microvolt = <1800000>;
  82. regulator-always-on;
  83. };
  84. vdd_ddr: buck6 {
  85. regulator-name = "vdd_ddr";
  86. regulator-min-microvolt = <1200000>;
  87. regulator-max-microvolt = <1200000>;
  88. };
  89. v3v3: buck7 {
  90. regulator-name = "v3v3";
  91. regulator-min-microvolt = <3300000>;
  92. regulator-max-microvolt = <3300000>;
  93. regulator-always-on;
  94. };
  95. vdda1v8_aon: ldo1 {
  96. regulator-name = "vdda1v8_aon";
  97. regulator-min-microvolt = <1800000>;
  98. regulator-max-microvolt = <1800000>;
  99. regulator-always-on;
  100. };
  101. vdd_emmc: ldo2 {
  102. regulator-name = "vdd_emmc";
  103. regulator-min-microvolt = <3300000>;
  104. regulator-max-microvolt = <3300000>;
  105. regulator-always-on;
  106. };
  107. vtt_ddr: ldo3 {
  108. regulator-name = "vtt_ddr";
  109. st,regulator-sink-source;
  110. };
  111. vdd3v3_usb: ldo4 {
  112. regulator-name = "vdd3v3_usb";
  113. regulator-min-microvolt = <3300000>;
  114. regulator-max-microvolt = <3300000>;
  115. regulator-always-on;
  116. };
  117. vpp_ddr: ldo5 {
  118. regulator-name = "vpp_ddr";
  119. regulator-min-microvolt = <2500000>;
  120. regulator-max-microvolt = <2500000>;
  121. regulator-enable-ramp-delay = <1000>;
  122. };
  123. vdd_sdcard: ldo7 {
  124. regulator-name = "vdd_sdcard";
  125. regulator-min-microvolt = <3300000>;
  126. regulator-max-microvolt = <3300000>;
  127. regulator-always-on;
  128. };
  129. vddio_sdcard: ldo8 {
  130. regulator-name = "vddio_sdcard";
  131. st,regulator-bypass-microvolt = <3300000>;
  132. regulator-min-microvolt = <1800000>;
  133. regulator-max-microvolt = <3300000>;
  134. regulator-always-on;
  135. };
  136. vref_ddr: refddr {
  137. regulator-name = "vref_ddr";
  138. };
  139. };
  140. };
  141. };
  142. &pwr {
  143. vddio1: vddio1 {
  144. vddio1-supply = <&vddio_sdcard>;
  145. };
  146. vddio2: vddio2 {
  147. vddio2-supply = <&v1v8>;
  148. };
  149. vddio3: vddio3 {
  150. vddio3-supply = <&vddio_pmic>;
  151. };
  152. vddio4: vddio4 {
  153. vddio4-supply = <&vddio_pmic>;
  154. };
  155. vddio: vddio {
  156. vdd-supply = <&vddio_pmic>;
  157. };
  158. };
  159. &sdmmc1 {
  160. pinctrl-names = "default";
  161. pinctrl-0 = <&sdmmc1_b4_pins_a>;
  162. st,neg-edge;
  163. bus-width = <4>;
  164. status = "okay";
  165. };
  166. &sdmmc2 {
  167. pinctrl-names = "default";
  168. pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
  169. non-removable;
  170. no-sd;
  171. no-sdio;
  172. st,neg-edge;
  173. bus-width = <8>;
  174. status = "okay";
  175. };
  176. &usart2 {
  177. pinctrl-names = "default";
  178. pinctrl-0 = <&usart2_pins_a>;
  179. status = "okay";
  180. };