imx7-colibri-iris-v2.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Copyright 2022 Toradex
  4. */
  5. / {
  6. reg_3v3_vmmc: regulator-3v3-vmmc {
  7. compatible = "regulator-fixed";
  8. enable-active-high;
  9. gpio = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* SODIMM 100 */
  10. regulator-max-microvolt = <3300000>;
  11. regulator-min-microvolt = <3300000>;
  12. regulator-name = "3v3_vmmc";
  13. startup-delay-us = <100>;
  14. };
  15. };
  16. /* Colibri AD0 to AD3 */
  17. &adc1 {
  18. status = "okay";
  19. };
  20. /* Colibri SSP */
  21. &ecspi3 {
  22. status = "okay";
  23. };
  24. /* Colibri Fast Ethernet */
  25. &fec1 {
  26. status = "okay";
  27. };
  28. &gpio2 {
  29. /*
  30. * uart_b_c_on_x14_enable turns the UART transceiver for UART2 and 5 on. If one wants to
  31. * turn the transceiver off, that property has to be deleted and the gpio handled in
  32. * userspace.
  33. * The same applies to uart_a_on_x13_enable where the UART_A transceiver is turned on.
  34. */
  35. uart-b-c-on-x14-enable-hog {
  36. gpio-hog;
  37. gpios = <27 GPIO_ACTIVE_HIGH>; /* SODIMM 104 */
  38. output-high;
  39. };
  40. };
  41. &gpio5 {
  42. uart-a-on-x13-enable-hog {
  43. gpio-hog;
  44. gpios = <17 GPIO_ACTIVE_HIGH>; /* SODIMM 102 */
  45. output-high;
  46. };
  47. };
  48. /* Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 */
  49. &i2c4 {
  50. status = "okay";
  51. };
  52. /* Colibri PWM<A> */
  53. &pwm1 {
  54. status = "okay";
  55. };
  56. /* Colibri PWM<B> */
  57. &pwm2 {
  58. status = "okay";
  59. };
  60. /* Colibri PWM<C> */
  61. &pwm3 {
  62. status = "okay";
  63. };
  64. /* Colibri PWM<D> */
  65. &pwm4 {
  66. status = "okay";
  67. };
  68. /* M41T0M6 real time clock */
  69. &rtc {
  70. status = "okay";
  71. };
  72. /* Colibri UART_A */
  73. &uart1 {
  74. status = "okay";
  75. };
  76. /* Colibri UART_B */
  77. &uart2 {
  78. status = "okay";
  79. };
  80. /* Colibri UART_C */
  81. &uart3 {
  82. status = "okay";
  83. };
  84. /* Colibri USBC */
  85. &usbotg1 {
  86. status = "okay";
  87. };
  88. /* Colibri MMC/SD, UHS-I capable uSD slot */
  89. &usdhc1 {
  90. cap-power-off-card;
  91. /delete-property/ keep-power-in-suspend;
  92. /delete-property/ no-1-8-v;
  93. vmmc-supply = <&reg_3v3_vmmc>;
  94. status = "okay";
  95. };