imx6q-tx6q-1110.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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-1110 Module";
  16. compatible = "karo,imx6q-tx6q", "fsl,imx6q";
  17. aliases {
  18. display = &lvds0;
  19. lvds0 = &lvds0;
  20. lvds1 = &lvds1;
  21. };
  22. backlight0: backlight0 {
  23. compatible = "pwm-backlight";
  24. pwms = <&pwm2 0 500000 0>;
  25. power-supply = <&reg_lcd0_pwr>;
  26. /*
  27. * a poor man's way to create a 1:1 relationship between
  28. * the PWM value and the actual duty cycle
  29. */
  30. brightness-levels = < 0 1 2 3 4 5 6 7 8 9
  31. 10 11 12 13 14 15 16 17 18 19
  32. 20 21 22 23 24 25 26 27 28 29
  33. 30 31 32 33 34 35 36 37 38 39
  34. 40 41 42 43 44 45 46 47 48 49
  35. 50 51 52 53 54 55 56 57 58 59
  36. 60 61 62 63 64 65 66 67 68 69
  37. 70 71 72 73 74 75 76 77 78 79
  38. 80 81 82 83 84 85 86 87 88 89
  39. 90 91 92 93 94 95 96 97 98 99
  40. 100>;
  41. default-brightness-level = <50>;
  42. };
  43. backlight1: backlight1 {
  44. compatible = "pwm-backlight";
  45. pwms = <&pwm1 0 500000 0>;
  46. power-supply = <&reg_lcd1_pwr>;
  47. /*
  48. * a poor man's way to create a 1:1 relationship between
  49. * the PWM value and the actual duty cycle
  50. */
  51. brightness-levels = < 0 1 2 3 4 5 6 7 8 9
  52. 10 11 12 13 14 15 16 17 18 19
  53. 20 21 22 23 24 25 26 27 28 29
  54. 30 31 32 33 34 35 36 37 38 39
  55. 40 41 42 43 44 45 46 47 48 49
  56. 50 51 52 53 54 55 56 57 58 59
  57. 60 61 62 63 64 65 66 67 68 69
  58. 70 71 72 73 74 75 76 77 78 79
  59. 80 81 82 83 84 85 86 87 88 89
  60. 90 91 92 93 94 95 96 97 98 99
  61. 100>;
  62. default-brightness-level = <50>;
  63. };
  64. };
  65. &i2c3 {
  66. polytouch1: eeti@04 {
  67. compatible = "eeti,egalax_ts";
  68. reg = <0x04>;
  69. pinctrl-names = "default";
  70. pinctrl-0 = <&pinctrl_eeti>;
  71. interrupt-parent = <&gpio3>;
  72. interrupts = <22 0>;
  73. wakeup-gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
  74. linux,wakeup;
  75. };
  76. };
  77. &iomuxc {
  78. imx6q-tx6q-1110 {
  79. pinctrl_eeti: eetigrp {
  80. fsl,pins = <
  81. MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b1 /* Interrupt */
  82. >;
  83. };
  84. };
  85. };
  86. &kpp {
  87. status = "disabled"; /* pad conflict with backlight1 PWM */
  88. };
  89. &ldb {
  90. status = "okay";
  91. lvds0: lvds-channel@0 {
  92. fsl,data-mapping = "spwg";
  93. fsl,data-width = <18>;
  94. status = "okay";
  95. display-timings {
  96. native-mode = <&lvds_timing0>;
  97. lvds_timing0: hsd100pxn1 {
  98. clock-frequency = <65000000>;
  99. hactive = <1024>;
  100. vactive = <768>;
  101. hback-porch = <220>;
  102. hfront-porch = <40>;
  103. vback-porch = <21>;
  104. vfront-porch = <7>;
  105. hsync-len = <60>;
  106. vsync-len = <10>;
  107. de-active = <1>;
  108. pixelclk-active = <1>;
  109. };
  110. };
  111. };
  112. lvds1: lvds-channel@1 {
  113. fsl,data-mapping = "spwg";
  114. fsl,data-width = <18>;
  115. status = "disabled";
  116. display-timings {
  117. native-mode = <&lvds_timing1>;
  118. lvds_timing1: hsd100pxn1 {
  119. clock-frequency = <65000000>;
  120. hactive = <1024>;
  121. vactive = <768>;
  122. hback-porch = <220>;
  123. hfront-porch = <40>;
  124. vback-porch = <21>;
  125. vfront-porch = <7>;
  126. hsync-len = <60>;
  127. vsync-len = <10>;
  128. de-active = <1>;
  129. pixelclk-active = <1>;
  130. };
  131. };
  132. };
  133. };
  134. &pwm1 {
  135. status = "okay";
  136. };
  137. &sata {
  138. status = "okay";
  139. };