imx6q-tx6q-1020.dts 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. /*
  2. * Copyright 2014 Lothar Waßmann <LW@KARO-electronics.de>
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. /dts-v1/;
  12. #include "imx6q.dtsi"
  13. #include "imx6qdl-tx6.dtsi"
  14. / {
  15. model = "Ka-Ro electronics TX6Q-1020 Module";
  16. compatible = "karo,imx6q-tx6q", "fsl,imx6q";
  17. aliases {
  18. display = &display;
  19. };
  20. backlight: backlight {
  21. compatible = "pwm-backlight";
  22. pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
  23. power-supply = <&reg_3v3>;
  24. /*
  25. * a poor man's way to create a 1:1 relationship between
  26. * the PWM value and the actual duty cycle
  27. */
  28. brightness-levels = < 0 1 2 3 4 5 6 7 8 9
  29. 10 11 12 13 14 15 16 17 18 19
  30. 20 21 22 23 24 25 26 27 28 29
  31. 30 31 32 33 34 35 36 37 38 39
  32. 40 41 42 43 44 45 46 47 48 49
  33. 50 51 52 53 54 55 56 57 58 59
  34. 60 61 62 63 64 65 66 67 68 69
  35. 70 71 72 73 74 75 76 77 78 79
  36. 80 81 82 83 84 85 86 87 88 89
  37. 90 91 92 93 94 95 96 97 98 99
  38. 100>;
  39. default-brightness-level = <50>;
  40. };
  41. display: display@di0 {
  42. compatible = "fsl,imx-parallel-display";
  43. interface-pix-fmt = "rgb24";
  44. pinctrl-names = "default";
  45. pinctrl-0 = <&pinctrl_disp0_1>;
  46. status = "okay";
  47. port {
  48. display0_in: endpoint {
  49. remote-endpoint = <&ipu1_di0_disp0>;
  50. };
  51. };
  52. display-timings {
  53. VGA {
  54. clock-frequency = <25200000>;
  55. hactive = <640>;
  56. vactive = <480>;
  57. hback-porch = <48>;
  58. hsync-len = <96>;
  59. hfront-porch = <16>;
  60. vback-porch = <31>;
  61. vsync-len = <2>;
  62. vfront-porch = <12>;
  63. hsync-active = <0>;
  64. vsync-active = <0>;
  65. de-active = <1>;
  66. pixelclk-active = <0>;
  67. };
  68. ETV570 {
  69. clock-frequency = <25200000>;
  70. hactive = <640>;
  71. vactive = <480>;
  72. hback-porch = <114>;
  73. hsync-len = <30>;
  74. hfront-porch = <16>;
  75. vback-porch = <32>;
  76. vsync-len = <3>;
  77. vfront-porch = <10>;
  78. hsync-active = <0>;
  79. vsync-active = <0>;
  80. de-active = <1>;
  81. pixelclk-active = <0>;
  82. };
  83. ET0350 {
  84. clock-frequency = <6413760>;
  85. hactive = <320>;
  86. vactive = <240>;
  87. hback-porch = <34>;
  88. hsync-len = <34>;
  89. hfront-porch = <20>;
  90. vback-porch = <15>;
  91. vsync-len = <3>;
  92. vfront-porch = <4>;
  93. hsync-active = <0>;
  94. vsync-active = <0>;
  95. de-active = <1>;
  96. pixelclk-active = <0>;
  97. };
  98. ET0430 {
  99. clock-frequency = <9009000>;
  100. hactive = <480>;
  101. vactive = <272>;
  102. hback-porch = <2>;
  103. hsync-len = <41>;
  104. hfront-porch = <2>;
  105. vback-porch = <2>;
  106. vsync-len = <10>;
  107. vfront-porch = <2>;
  108. hsync-active = <0>;
  109. vsync-active = <0>;
  110. de-active = <1>;
  111. pixelclk-active = <1>;
  112. };
  113. ET0500 {
  114. clock-frequency = <33264000>;
  115. hactive = <800>;
  116. vactive = <480>;
  117. hback-porch = <88>;
  118. hsync-len = <128>;
  119. hfront-porch = <40>;
  120. vback-porch = <33>;
  121. vsync-len = <2>;
  122. vfront-porch = <10>;
  123. hsync-active = <0>;
  124. vsync-active = <0>;
  125. de-active = <1>;
  126. pixelclk-active = <0>;
  127. };
  128. ET0700 { /* same as ET0500 */
  129. clock-frequency = <33264000>;
  130. hactive = <800>;
  131. vactive = <480>;
  132. hback-porch = <88>;
  133. hsync-len = <128>;
  134. hfront-porch = <40>;
  135. vback-porch = <33>;
  136. vsync-len = <2>;
  137. vfront-porch = <10>;
  138. hsync-active = <0>;
  139. vsync-active = <0>;
  140. de-active = <1>;
  141. pixelclk-active = <0>;
  142. };
  143. ETQ570 {
  144. clock-frequency = <6596040>;
  145. hactive = <320>;
  146. vactive = <240>;
  147. hback-porch = <38>;
  148. hsync-len = <30>;
  149. hfront-porch = <30>;
  150. vback-porch = <16>;
  151. vsync-len = <3>;
  152. vfront-porch = <4>;
  153. hsync-active = <0>;
  154. vsync-active = <0>;
  155. de-active = <1>;
  156. pixelclk-active = <0>;
  157. };
  158. };
  159. };
  160. };
  161. &ds1339 {
  162. status = "disabled";
  163. };
  164. &gpmi {
  165. status = "disabled";
  166. };
  167. &iomuxc {
  168. imx6qdl-tx6 {
  169. pinctrl_usdhc4: usdhc4grp {
  170. fsl,pins = <
  171. MX6QDL_PAD_SD4_CMD__SD4_CMD 0x070b1
  172. MX6QDL_PAD_SD4_CLK__SD4_CLK 0x070b1
  173. MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x070b1
  174. MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x070b1
  175. MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x070b1
  176. MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x070b1
  177. MX6QDL_PAD_NANDF_ALE__SD4_RESET 0x0b0b1
  178. >;
  179. };
  180. };
  181. };
  182. &ipu1_di0_disp0 {
  183. remote-endpoint = <&display0_in>;
  184. };
  185. &usdhc4 {
  186. pinctrl-names = "default";
  187. pinctrl-0 = <&pinctrl_usdhc4>;
  188. bus-width = <4>;
  189. no-1-8-v;
  190. fsl,wp-controller;
  191. status = "okay";
  192. };