imx6ull-colibri-iris.dtsi 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Copyright 2018-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. &gpio1 {
  48. /*
  49. * uart25_tx_on turns the UART transceiver on. If one wants to turn the
  50. * transceiver off, that property has to be deleted and the gpio handled
  51. * in userspace.
  52. * The same applies to uart1_tx_on.
  53. */
  54. uart25_tx_on {
  55. gpio-hog;
  56. gpios = <15 0>;
  57. output-high;
  58. };
  59. };
  60. &gpio2 {
  61. uart1_tx_on {
  62. gpio-hog;
  63. gpios = <7 0>;
  64. output-high;
  65. };
  66. };
  67. &i2c1 {
  68. status = "okay";
  69. /* M41T0M6 real time clock on carrier board */
  70. m41t0m6: rtc@68 {
  71. compatible = "st,m41t0";
  72. reg = <0x68>;
  73. };
  74. };
  75. /* PWM <A> */
  76. &pwm4 {
  77. status = "okay";
  78. };
  79. /* PWM <B> */
  80. &pwm5 {
  81. status = "okay";
  82. };
  83. /* PWM <C> */
  84. &pwm6 {
  85. status = "okay";
  86. };
  87. /* PWM <D> */
  88. &pwm7 {
  89. status = "okay";
  90. };
  91. &uart1 {
  92. status = "okay";
  93. };
  94. &uart2 {
  95. status = "okay";
  96. };
  97. &uart5 {
  98. status = "okay";
  99. };
  100. &usbotg1 {
  101. vbus-supply = <&reg_usbh_vbus>;
  102. status = "okay";
  103. };
  104. &usbotg2 {
  105. vbus-supply = <&reg_usbh_vbus>;
  106. status = "okay";
  107. };
  108. &usdhc1 {
  109. vmmc-supply = <&reg_3v3>;
  110. status = "okay";
  111. };