imx6qdl-emcon-avari.dtsi 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. // SPDX-License-Identifier: (GPL-2.0 or MIT)
  2. //
  3. // Copyright (C) 2018 emtrion GmbH
  4. //
  5. / {
  6. aliases {
  7. boardid = &boardid;
  8. mmc0 = &usdhc3;
  9. mmc1 = &usdhc2;
  10. mmc2 = &usdhc1;
  11. mmc3 = &usdhc4;
  12. };
  13. reg_wall_5p0: reg-wall5p0 {
  14. compatible = "regulator-fixed";
  15. regulator-name = "Main-Supply";
  16. regulator-min-microvolt = <5000000>;
  17. regulator-max-microvolt = <5000000>;
  18. regulator-always-on;
  19. regulator-boot-on;
  20. };
  21. reg_base3p3: reg-base3p3 {
  22. compatible = "regulator-fixed";
  23. vin-supply = <&reg_wall_5p0>;
  24. regulator-name = "3V3-avari";
  25. regulator-min-microvolt = <3300000>;
  26. regulator-max-microvolt = <3300000>;
  27. regulator-always-on;
  28. regulator-boot-on;
  29. };
  30. reg_base1p5: reg-base1p5 {
  31. compatible = "regulator-fixed";
  32. vin-supply = <&reg_base3p3>;
  33. regulator-name = "1V5-avari";
  34. regulator-min-microvolt = <1500000>;
  35. regulator-max-microvolt = <1500000>;
  36. regulator-always-on;
  37. regulator-boot-on;
  38. };
  39. reg_usb_otg: reg-otgvbus {
  40. compatible = "regulator-fixed";
  41. vin-supply = <&reg_wall_5p0>;
  42. regulator-name = "OTG_VBUS";
  43. regulator-min-microvolt = <5000000>;
  44. regulator-max-microvolt = <5000000>;
  45. gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
  46. regulator-always-on;
  47. };
  48. clk_codec: clock-codec {
  49. compatible = "fixed-clock";
  50. #clock-cells = <0>;
  51. clock-frequency = <12000000>;
  52. };
  53. sound {
  54. compatible = "fsl,imx-audio-sgtl5000";
  55. model = "emCON-avari-sgtl5000";
  56. ssi-controller = <&ssi2>;
  57. audio-codec = <&sgtl5000>;
  58. audio-routing =
  59. "Headphone Jack", "HP_OUT";
  60. mux-int-port = <2>;
  61. mux-ext-port = <3>;
  62. };
  63. };
  64. &audmux {
  65. pinctrl-names = "default";
  66. pinctrl-0 = <&pinctrl_audmux>;
  67. status = "okay";
  68. };
  69. &can1 {
  70. status = "okay";
  71. };
  72. &can2 {
  73. status = "okay";
  74. };
  75. &ecspi2 {
  76. status = "okay";
  77. };
  78. &hdmi {
  79. ddc-i2c-bus = <&i2c2>;
  80. status = "okay";
  81. };
  82. &i2c2 {
  83. status = "okay";
  84. };
  85. &i2c3 {
  86. clock-frequency = <100000>;
  87. pinctrl-names = "default";
  88. pinctrl-0 = <&pinctrl_i2c3>;
  89. status = "okay";
  90. sgtl5000: audio-codec@a {
  91. compatible = "fsl,sgtl5000";
  92. reg = <0x0a>;
  93. #sound-dai-cells = <0>;
  94. clocks = <&clk_codec>;
  95. VDDA-supply = <&reg_base3p3>;
  96. VDDIO-supply = <&reg_base3p3>;
  97. };
  98. captouch: touchscreen@38 {
  99. compatible = "edt,edt-ft5406";
  100. reg = <0x38>;
  101. pinctrl-names = "default";
  102. pinctrl-0 = <&pinctrl_irq_touch2 &pinctrl_emcon_gpio4>;
  103. interrupt-parent = <&gpio6>;
  104. interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
  105. wake-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
  106. wakeup-source;
  107. };
  108. boardid: gpio@3a {
  109. compatible = "nxp,pca8574";
  110. reg = <0x3a>;
  111. gpio-controller;
  112. #gpio-cells = <2>;
  113. };
  114. };
  115. &pcie {
  116. status = "okay";
  117. };
  118. &rgb_encoder {
  119. status = "okay";
  120. };
  121. &rgb_panel {
  122. compatible = "edt,etm0700g0bdh6";
  123. status = "okay";
  124. };
  125. &ssi2 {
  126. status = "okay";
  127. };
  128. &uart2 {
  129. status = "okay";
  130. uart-has-rtscts;
  131. };
  132. &uart3 {
  133. status = "okay";
  134. };
  135. &uart4 {
  136. status = "okay";
  137. };
  138. &uart5 {
  139. status = "okay";
  140. };
  141. &usbh1 {
  142. status = "okay";
  143. };
  144. &usbotg {
  145. status = "okay";
  146. };
  147. &usdhc1 {
  148. status = "okay";
  149. };