imx7-colibri-eval-v3.dtsi 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Copyright 2016-2022 Toradex
  4. */
  5. / {
  6. /* Fixed crystal dedicated to MCP2515. */
  7. clk16m: clk16m {
  8. compatible = "fixed-clock";
  9. #clock-cells = <0>;
  10. clock-frequency = <16000000>;
  11. };
  12. };
  13. /* Colibri AD0 to AD3 */
  14. &adc1 {
  15. status = "okay";
  16. };
  17. /*
  18. * The Atmel maxtouch controller uses SODIMM 28/30, also used for PWM<B>, PWM<C>, aka pwm2, pwm3.
  19. * So if you enable following capacitive touch controller, disable pwm2/pwm3 first.
  20. */
  21. &atmel_mxt_ts {
  22. interrupt-parent = <&gpio1>;
  23. interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 / INT */
  24. pinctrl-0 = <&pinctrl_atmel_adapter>;
  25. reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; /* SODIMM 30 / RST */
  26. status = "disabled";
  27. };
  28. /* Colibri SSP */
  29. &ecspi3 {
  30. status = "okay";
  31. mcp2515: can@0 {
  32. clocks = <&clk16m>;
  33. compatible = "microchip,mcp2515";
  34. interrupt-parent = <&gpio5>;
  35. interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
  36. pinctrl-names = "default";
  37. pinctrl-0 = <&pinctrl_can_int>;
  38. reg = <0>;
  39. spi-max-frequency = <10000000>;
  40. vdd-supply = <&reg_3v3>;
  41. xceiver-supply = <&reg_5v0>;
  42. };
  43. };
  44. /* Colibri Fast Ethernet */
  45. &fec1 {
  46. status = "okay";
  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. /* The pwm2 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
  59. status = "okay";
  60. };
  61. /* Colibri PWM<C> */
  62. &pwm3 {
  63. /* The pwm3 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
  64. status = "okay";
  65. };
  66. /* Colibri PWM<D> */
  67. &pwm4 {
  68. status = "okay";
  69. };
  70. /* M41T0M6 real time clock */
  71. &rtc {
  72. status = "okay";
  73. };
  74. /* Colibri UART_A */
  75. &uart1 {
  76. status = "okay";
  77. };
  78. /* Colibri UART_B */
  79. &uart2 {
  80. status = "okay";
  81. };
  82. /* Colibri UART_C */
  83. &uart3 {
  84. status = "okay";
  85. };
  86. /* Colibri USBC */
  87. &usbotg1 {
  88. status = "okay";
  89. };
  90. /* Colibri MMC/SD */
  91. &usdhc1 {
  92. status = "okay";
  93. };