mpfs-beaglev-fire.dts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. /* Copyright (c) 2020-2021 Microchip Technology Inc */
  3. /dts-v1/;
  4. #include <dt-bindings/gpio/gpio.h>
  5. #include "mpfs.dtsi"
  6. #include "mpfs-beaglev-fire-fabric.dtsi"
  7. /* Clock frequency (in Hz) of MTIMER */
  8. #define MTIMER_FREQ 1000000
  9. / {
  10. #address-cells = <2>;
  11. #size-cells = <2>;
  12. model = "BeagleBoard BeagleV-Fire";
  13. compatible = "beagle,beaglev-fire", "microchip,mpfs";
  14. aliases {
  15. serial0 = &mmuart0;
  16. serial1 = &mmuart1;
  17. serial2 = &mmuart2;
  18. serial3 = &mmuart3;
  19. serial4 = &mmuart4;
  20. };
  21. chosen {
  22. stdout-path = "serial0:115200n8";
  23. };
  24. cpus {
  25. timebase-frequency = <MTIMER_FREQ>;
  26. };
  27. ddrc_cache_lo: memory@80000000 {
  28. device_type = "memory";
  29. reg = <0x0 0x80000000 0x0 0x40000000>;
  30. status = "okay";
  31. };
  32. reserved-memory {
  33. #address-cells = <2>;
  34. #size-cells = <2>;
  35. ranges;
  36. hss: hss-buffer@103fc00000 {
  37. compatible = "shared-dma-pool";
  38. reg = <0x10 0x3fc00000 0x0 0x400000>;
  39. no-map;
  40. };
  41. };
  42. imx219_clk: camera-clk {
  43. compatible = "fixed-clock";
  44. #clock-cells = <0>;
  45. clock-frequency = <24000000>;
  46. };
  47. imx219_vana: fixedregulator-0 {
  48. compatible = "regulator-fixed";
  49. regulator-name = "imx219_vana";
  50. regulator-min-microvolt = <2800000>;
  51. regulator-max-microvolt = <2800000>;
  52. };
  53. imx219_vdig: fixedregulator-1 {
  54. compatible = "regulator-fixed";
  55. regulator-name = "imx219_vdig";
  56. regulator-min-microvolt = <1800000>;
  57. regulator-max-microvolt = <1800000>;
  58. };
  59. imx219_vddl: fixedregulator-2 {
  60. compatible = "regulator-fixed";
  61. regulator-name = "imx219_vddl";
  62. regulator-min-microvolt = <1200000>;
  63. regulator-max-microvolt = <1200000>;
  64. };
  65. };
  66. &gpio2 {
  67. interrupts = <53>, <53>, <53>, <53>,
  68. <53>, <53>, <53>, <53>,
  69. <53>, <53>, <53>, <53>,
  70. <53>, <53>, <53>, <53>,
  71. <53>, <53>, <53>, <53>,
  72. <53>, <53>, <53>, <53>,
  73. <53>, <53>, <53>, <53>,
  74. <53>, <53>, <53>, <53>;
  75. ngpios=<32>;
  76. gpio-line-names = "P8_PIN3_USER_LED_0", "P8_PIN4_USER_LED_1", "P8_PIN5_USER_LED_2",
  77. "P8_PIN6_USER_LED_3", "P8_PIN7_USER_LED_4", "P8_PIN8_USER_LED_5",
  78. "P8_PIN9_USER_LED_6", "P8_PIN10_USER_LED_7", "P8_PIN11_USER_LED_8",
  79. "P8_PIN12_USER_LED_9", "P8_PIN13_USER_LED_10", "P8_PIN14_USER_LED_11",
  80. "P8_PIN15", "P8_PIN16", "P8_PIN17", "P8_PIN18", "P8_PIN19", "P8_PIN20",
  81. "P8_PIN21", "P8_PIN22", "P8_PIN23", "P8_PIN24", "P8_PIN25", "P8_PIN26",
  82. "P8_PIN27", "P8_PIN28", "P8_PIN29", "P8_PIN30", "M2_W_DISABLE1",
  83. "M2_W_DISABLE2", "VIO_ENABLE", "SD_DET";
  84. status = "okay";
  85. vio-enable-hog {
  86. gpio-hog;
  87. gpios = <30 30>;
  88. output-high;
  89. line-name = "VIO_ENABLE";
  90. };
  91. sd-det-hog {
  92. gpio-hog;
  93. gpios = <31 31>;
  94. input;
  95. line-name = "SD_DET";
  96. };
  97. };
  98. &i2c0 {
  99. status = "okay";
  100. };
  101. &i2c1 {
  102. status = "okay";
  103. eeprom: eeprom@50 {
  104. compatible = "atmel,24c32";
  105. reg = <0x50>;
  106. };
  107. imx219: sensor@10 {
  108. compatible = "sony,imx219";
  109. reg = <0x10>;
  110. clocks = <&imx219_clk>;
  111. VANA-supply = <&imx219_vana>; /* 2.8v */
  112. VDIG-supply = <&imx219_vdig>; /* 1.8v */
  113. VDDL-supply = <&imx219_vddl>; /* 1.2v */
  114. port {
  115. imx219_0: endpoint {
  116. data-lanes = <1 2>;
  117. clock-noncontinuous;
  118. link-frequencies = /bits/ 64 <456000000>;
  119. };
  120. };
  121. };
  122. };
  123. &mac0 {
  124. status = "okay";
  125. phy-mode = "sgmii";
  126. phy-handle = <&phy0>;
  127. phy0: ethernet-phy@0 {
  128. reg = <0>;
  129. };
  130. };
  131. &mbox {
  132. status = "okay";
  133. };
  134. &mmc {
  135. bus-width = <4>;
  136. disable-wp;
  137. cap-sd-highspeed;
  138. cap-mmc-highspeed;
  139. mmc-ddr-1_8v;
  140. mmc-hs200-1_8v;
  141. sd-uhs-sdr12;
  142. sd-uhs-sdr25;
  143. sd-uhs-sdr50;
  144. sd-uhs-sdr104;
  145. status = "okay";
  146. };
  147. &mmuart0 {
  148. status = "okay";
  149. };
  150. &mmuart1 {
  151. status = "okay";
  152. };
  153. &refclk {
  154. clock-frequency = <125000000>;
  155. };
  156. &refclk_ccc {
  157. clock-frequency = <50000000>;
  158. };
  159. &rtc {
  160. status = "okay";
  161. };
  162. &spi0 {
  163. status = "okay";
  164. };
  165. &spi1 {
  166. status = "okay";
  167. };
  168. &syscontroller {
  169. microchip,bitstream-flash = <&sys_ctrl_flash>;
  170. status = "okay";
  171. };
  172. &syscontroller_qspi {
  173. status = "okay";
  174. sys_ctrl_flash: flash@0 { // MT25QL01GBBB8ESF-0SIT
  175. compatible = "jedec,spi-nor";
  176. #address-cells = <1>;
  177. #size-cells = <1>;
  178. spi-max-frequency = <20000000>;
  179. spi-rx-bus-width = <1>;
  180. reg = <0>;
  181. };
  182. };
  183. &usb {
  184. status = "okay";
  185. dr_mode = "otg";
  186. };