stm32mp157a-microgea-stm32mp1.dtsi 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
  2. /*
  3. * Copyright (c) STMicroelectronics 2019 - All Rights Reserved
  4. * Copyright (c) 2020 Engicam srl
  5. * Copyright (c) 2020 Amarula Solutions(India)
  6. */
  7. / {
  8. compatible = "engicam,microgea-stm32mp1", "st,stm32mp157";
  9. memory@c0000000 {
  10. device_type = "memory";
  11. reg = <0xc0000000 0x10000000>;
  12. };
  13. reserved-memory {
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. ranges;
  17. mcuram2: mcuram2@10000000 {
  18. compatible = "shared-dma-pool";
  19. reg = <0x10000000 0x40000>;
  20. no-map;
  21. };
  22. vdev0vring0: vdev0vring0@10040000 {
  23. compatible = "shared-dma-pool";
  24. reg = <0x10040000 0x1000>;
  25. no-map;
  26. };
  27. vdev0vring1: vdev0vring1@10041000 {
  28. compatible = "shared-dma-pool";
  29. reg = <0x10041000 0x1000>;
  30. no-map;
  31. };
  32. vdev0buffer: vdev0buffer@10042000 {
  33. compatible = "shared-dma-pool";
  34. reg = <0x10042000 0x4000>;
  35. no-map;
  36. };
  37. mcuram: mcuram@30000000 {
  38. compatible = "shared-dma-pool";
  39. reg = <0x30000000 0x40000>;
  40. no-map;
  41. };
  42. retram: retram@38000000 {
  43. compatible = "shared-dma-pool";
  44. reg = <0x38000000 0x10000>;
  45. no-map;
  46. };
  47. };
  48. vin: regulator-vin {
  49. compatible = "regulator-fixed";
  50. regulator-name = "vin";
  51. regulator-min-microvolt = <5000000>;
  52. regulator-max-microvolt = <5000000>;
  53. regulator-always-on;
  54. };
  55. vddcore: regulator-vddcore {
  56. compatible = "regulator-fixed";
  57. regulator-name = "vddcore";
  58. regulator-min-microvolt = <1200000>;
  59. regulator-max-microvolt = <1200000>;
  60. regulator-always-on;
  61. vin-supply = <&vin>;
  62. };
  63. vdd: regulator-vdd {
  64. compatible = "regulator-fixed";
  65. regulator-name = "vdd";
  66. regulator-min-microvolt = <3300000>;
  67. regulator-max-microvolt = <3300000>;
  68. regulator-always-on;
  69. vin-supply = <&vin>;
  70. };
  71. vddq_ddr: regulator-vddq-ddr {
  72. compatible = "regulator-fixed";
  73. regulator-name = "vddq_ddr";
  74. regulator-min-microvolt = <1350000>;
  75. regulator-max-microvolt = <1350000>;
  76. regulator-always-on;
  77. vin-supply = <&vin>;
  78. };
  79. };
  80. &dts {
  81. status = "okay";
  82. };
  83. &fmc {
  84. pinctrl-names = "default", "sleep";
  85. pinctrl-0 = <&fmc_pins_a>;
  86. pinctrl-1 = <&fmc_sleep_pins_a>;
  87. status = "okay";
  88. nand-controller@4,0 {
  89. status = "okay";
  90. nand@0 {
  91. reg = <0>;
  92. nand-on-flash-bbt;
  93. #address-cells = <1>;
  94. #size-cells = <1>;
  95. };
  96. };
  97. };
  98. &ipcc {
  99. status = "okay";
  100. };
  101. &iwdg2{
  102. timeout-sec = <32>;
  103. status = "okay";
  104. };
  105. &m4_rproc{
  106. memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
  107. <&vdev0vring1>, <&vdev0buffer>;
  108. mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
  109. mbox-names = "vq0", "vq1", "shutdown";
  110. interrupt-parent = <&exti>;
  111. interrupts = <68 1>;
  112. status = "okay";
  113. };
  114. &rng1 {
  115. status = "okay";
  116. };
  117. &rtc{
  118. status = "okay";
  119. };
  120. &vrefbuf {
  121. regulator-min-microvolt = <2500000>;
  122. regulator-max-microvolt = <2500000>;
  123. vdda-supply = <&vdd>;
  124. status = "okay";
  125. };