stm32mp15xx-osd32.dtsi 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */
  2. /*
  3. * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
  4. * Copyright (C) 2020 Ahmad Fatoum, Pengutronix
  5. */
  6. #include "stm32mp15-pinctrl.dtsi"
  7. #include <dt-bindings/mfd/st,stpmic1.h>
  8. / {
  9. reserved-memory {
  10. #address-cells = <1>;
  11. #size-cells = <1>;
  12. ranges;
  13. mcuram2: mcuram2@10000000 {
  14. compatible = "shared-dma-pool";
  15. reg = <0x10000000 0x40000>;
  16. no-map;
  17. };
  18. vdev0vring0: vdev0vring0@10040000 {
  19. compatible = "shared-dma-pool";
  20. reg = <0x10040000 0x1000>;
  21. no-map;
  22. };
  23. vdev0vring1: vdev0vring1@10041000 {
  24. compatible = "shared-dma-pool";
  25. reg = <0x10041000 0x1000>;
  26. no-map;
  27. };
  28. vdev0buffer: vdev0buffer@10042000 {
  29. compatible = "shared-dma-pool";
  30. reg = <0x10042000 0x4000>;
  31. no-map;
  32. };
  33. mcuram: mcuram@30000000 {
  34. compatible = "shared-dma-pool";
  35. reg = <0x30000000 0x40000>;
  36. no-map;
  37. };
  38. retram: retram@38000000 {
  39. compatible = "shared-dma-pool";
  40. reg = <0x38000000 0x10000>;
  41. no-map;
  42. };
  43. };
  44. };
  45. &i2c4 {
  46. pinctrl-names = "default", "sleep";
  47. pinctrl-0 = <&i2c4_pins_a>;
  48. pinctrl-1 = <&i2c4_sleep_pins_a>;
  49. clock-frequency = <400000>;
  50. i2c-scl-rising-time-ns = <185>;
  51. i2c-scl-falling-time-ns = <20>;
  52. status = "okay";
  53. pmic: stpmic@33 {
  54. compatible = "st,stpmic1";
  55. reg = <0x33>;
  56. interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
  57. interrupt-controller;
  58. #interrupt-cells = <2>;
  59. regulators {
  60. compatible = "st,stpmic1-regulators";
  61. ldo1-supply = <&v3v3>;
  62. ldo3-supply = <&vdd_ddr>;
  63. ldo6-supply = <&v3v3>;
  64. pwr_sw1-supply = <&bst_out>;
  65. vddcore: buck1 {
  66. regulator-name = "vddcore";
  67. regulator-min-microvolt = <1200000>;
  68. regulator-max-microvolt = <1350000>;
  69. regulator-always-on;
  70. regulator-initial-mode = <0>;
  71. regulator-over-current-protection;
  72. };
  73. vdd_ddr: buck2 {
  74. regulator-name = "vdd_ddr";
  75. regulator-min-microvolt = <1350000>;
  76. regulator-max-microvolt = <1350000>;
  77. regulator-always-on;
  78. regulator-initial-mode = <0>;
  79. regulator-over-current-protection;
  80. };
  81. vdd: buck3 {
  82. regulator-name = "vdd";
  83. regulator-min-microvolt = <3300000>;
  84. regulator-max-microvolt = <3300000>;
  85. regulator-always-on;
  86. st,mask-reset;
  87. regulator-initial-mode = <0>;
  88. regulator-over-current-protection;
  89. };
  90. v3v3: buck4 {
  91. regulator-name = "v3v3";
  92. regulator-min-microvolt = <3300000>;
  93. regulator-max-microvolt = <3300000>;
  94. regulator-always-on;
  95. regulator-over-current-protection;
  96. regulator-initial-mode = <0>;
  97. };
  98. v1v8_audio: ldo1 {
  99. regulator-name = "v1v8_audio";
  100. regulator-min-microvolt = <1800000>;
  101. regulator-max-microvolt = <1800000>;
  102. regulator-always-on;
  103. interrupts = <IT_CURLIM_LDO1 0>;
  104. };
  105. v3v3_hdmi: ldo2 {
  106. regulator-name = "v3v3_hdmi";
  107. regulator-min-microvolt = <3300000>;
  108. regulator-max-microvolt = <3300000>;
  109. regulator-always-on;
  110. interrupts = <IT_CURLIM_LDO2 0>;
  111. };
  112. vtt_ddr: ldo3 {
  113. regulator-name = "vtt_ddr";
  114. regulator-min-microvolt = <500000>;
  115. regulator-max-microvolt = <750000>;
  116. regulator-always-on;
  117. regulator-over-current-protection;
  118. };
  119. vdd_usb: ldo4 {
  120. regulator-name = "vdd_usb";
  121. interrupts = <IT_CURLIM_LDO4 0>;
  122. };
  123. vdda: ldo5 {
  124. regulator-name = "vdda";
  125. regulator-min-microvolt = <2900000>;
  126. regulator-max-microvolt = <2900000>;
  127. interrupts = <IT_CURLIM_LDO5 0>;
  128. regulator-boot-on;
  129. };
  130. v1v2_hdmi: ldo6 {
  131. regulator-name = "v1v2_hdmi";
  132. regulator-min-microvolt = <1200000>;
  133. regulator-max-microvolt = <1200000>;
  134. regulator-always-on;
  135. interrupts = <IT_CURLIM_LDO6 0>;
  136. };
  137. vref_ddr: vref_ddr {
  138. regulator-name = "vref_ddr";
  139. regulator-always-on;
  140. };
  141. bst_out: boost {
  142. regulator-name = "bst_out";
  143. interrupts = <IT_OCP_BOOST 0>;
  144. };
  145. vbus_otg: pwr_sw1 {
  146. regulator-name = "vbus_otg";
  147. interrupts = <IT_OCP_OTG 0>;
  148. regulator-active-discharge = <1>;
  149. };
  150. vbus_sw: pwr_sw2 {
  151. regulator-name = "vbus_sw";
  152. interrupts = <IT_OCP_SWOUT 0>;
  153. regulator-active-discharge = <1>;
  154. };
  155. };
  156. onkey {
  157. compatible = "st,stpmic1-onkey";
  158. interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
  159. interrupt-names = "onkey-falling", "onkey-rising";
  160. };
  161. pmic_watchdog: watchdog {
  162. compatible = "st,stpmic1-wdt";
  163. status = "disabled";
  164. };
  165. };
  166. sip_eeprom: eeprom@50 {
  167. compatible = "atmel,24c32";
  168. vcc-supply = <&vdd>;
  169. reg = <0x50>;
  170. };
  171. };
  172. &ipcc {
  173. status = "okay";
  174. };
  175. &m4_rproc {
  176. memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
  177. <&vdev0vring1>, <&vdev0buffer>;
  178. mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
  179. mbox-names = "vq0", "vq1", "shutdown";
  180. interrupt-parent = <&exti>;
  181. interrupts = <68 1>;
  182. status = "okay";
  183. };
  184. &rng1 {
  185. status = "okay";
  186. };