imx7-colibri-iris.dtsi 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Copyright 2022 Toradex
  4. */
  5. /* Colibri AD0 to AD3 */
  6. &adc1 {
  7. status = "okay";
  8. };
  9. /*
  10. * The Atmel maxtouch controller uses SODIMM 28/30, also used for PWM<B>, PWM<C>, aka pwm2, pwm3.
  11. * So if you enable following capacitive touch controller, disable pwm2/pwm3 first.
  12. */
  13. &atmel_mxt_ts {
  14. interrupt-parent = <&gpio1>;
  15. interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 / INT */
  16. pinctrl-0 = <&pinctrl_atmel_adapter>;
  17. reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; /* SODIMM 30 / RST */
  18. };
  19. /* Colibri SSP */
  20. &ecspi3 {
  21. status = "okay";
  22. };
  23. /* Colibri Fast Ethernet */
  24. &fec1 {
  25. status = "okay";
  26. };
  27. &gpio2 {
  28. /*
  29. * uart25 turns the UART transceiver for UART2 and 5 on. If one wants to turn the
  30. * transceiver off, that property has to be deleted and the gpio handled in userspace.
  31. * The same applies to uart1_tx_on where the UART1 transceiver is turned on.
  32. */
  33. uart25-tx-on-hog {
  34. gpio-hog;
  35. gpios = <27 GPIO_ACTIVE_HIGH>; /* SODIMM 104 */
  36. output-high;
  37. };
  38. };
  39. &gpio5 {
  40. uart1-tx-on-hog {
  41. gpio-hog;
  42. gpios = <17 GPIO_ACTIVE_HIGH>; /* SODIMM 102 */
  43. output-high;
  44. };
  45. };
  46. /* Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 */
  47. &i2c4 {
  48. status = "okay";
  49. };
  50. /* Colibri PWM<A> */
  51. &pwm1 {
  52. status = "okay";
  53. };
  54. /* Colibri PWM<B> */
  55. &pwm2 {
  56. /* The pwm2 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
  57. status = "okay";
  58. };
  59. /* Colibri PWM<C> */
  60. &pwm3 {
  61. /* The pwm3 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
  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 */
  89. &usdhc1 {
  90. status = "okay";
  91. };