imx6ull-colibri-aster.dtsi 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Copyright 2017-2022 Toradex
  4. */
  5. / {
  6. chosen {
  7. stdout-path = "serial0:115200n8";
  8. };
  9. gpio-keys {
  10. compatible = "gpio-keys";
  11. pinctrl-names = "default";
  12. pinctrl-0 = <&pinctrl_snvs_gpiokeys>;
  13. power {
  14. label = "Wake-Up";
  15. gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
  16. linux,code = <KEY_WAKEUP>;
  17. debounce-interval = <10>;
  18. wakeup-source;
  19. };
  20. };
  21. reg_3v3: regulator-3v3 {
  22. compatible = "regulator-fixed";
  23. regulator-name = "3.3V";
  24. regulator-min-microvolt = <3300000>;
  25. regulator-max-microvolt = <3300000>;
  26. };
  27. reg_5v0: regulator-5v0 {
  28. compatible = "regulator-fixed";
  29. regulator-name = "5V";
  30. regulator-min-microvolt = <5000000>;
  31. regulator-max-microvolt = <5000000>;
  32. };
  33. reg_usbh_vbus: regulator-usbh-vbus {
  34. compatible = "regulator-fixed";
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&pinctrl_usbh_reg>;
  37. regulator-name = "VCC_USB[1-4]";
  38. regulator-min-microvolt = <5000000>;
  39. regulator-max-microvolt = <5000000>;
  40. gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
  41. vin-supply = <&reg_5v0>;
  42. };
  43. };
  44. &adc1 {
  45. status = "okay";
  46. };
  47. &ecspi1 {
  48. status = "okay";
  49. num-cs = <2>;
  50. cs-gpios = <
  51. &gpio3 26 GPIO_ACTIVE_HIGH /* SODIMM 86 LCD_DATA21 */
  52. &gpio4 28 GPIO_ACTIVE_HIGH /* SODIMM 65 CSI_DATA07 */
  53. >;
  54. };
  55. /*
  56. * Following SODIMM Pins should not be accessed as GPIO on Aster board:
  57. * 134 - AIN5_SCL (no connection)
  58. * 127 - Voltage Level Translator OE# signal (IC11 and IC12)
  59. *
  60. * To configure GPIO to LED5, please disable FEC2 and uncomment the following:
  61. * &iomuxc {
  62. * pinctrl-names = "default";
  63. * pinctrl-0 = <
  64. * &pinctrl_gpio1
  65. * &pinctrl_gpio2
  66. * &pinctrl_gpio3
  67. * &pinctrl_gpio4
  68. * &pinctrl_gpio6 - for non-WiFi modules only
  69. * &pinctrl_gpio7
  70. * &pinctrl_gpio_aster
  71. * >;
  72. *
  73. * pinctrl_gpio_aster: gpio-aster {
  74. * fsl,pins = <
  75. * MX6UL_PAD_GPIO1_IO07__GPIO1_IO07 0x1b0b0
  76. * >;
  77. * };
  78. * };
  79. */
  80. &i2c1 {
  81. status = "okay";
  82. m41t0m6: rtc@68 {
  83. compatible = "st,m41t0";
  84. reg = <0x68>;
  85. };
  86. };
  87. /* PWM <A> */
  88. &pwm4 {
  89. status = "okay";
  90. };
  91. /* PWM <B> */
  92. &pwm5 {
  93. status = "okay";
  94. };
  95. /* PWM <C> */
  96. &pwm6 {
  97. status = "okay";
  98. };
  99. /* PWM <D> */
  100. &pwm7 {
  101. status = "okay";
  102. };
  103. &uart1 {
  104. status = "okay";
  105. };
  106. &uart2 {
  107. status = "okay";
  108. };
  109. &uart5 {
  110. status = "okay";
  111. };
  112. &usbotg1 {
  113. vbus-supply = <&reg_usbh_vbus>;
  114. status = "okay";
  115. };
  116. &usbotg2 {
  117. vbus-supply = <&reg_usbh_vbus>;
  118. status = "okay";
  119. };
  120. &usdhc1 {
  121. vmmc-supply = <&reg_3v3>;
  122. status = "okay";
  123. };