imx6q-tx6q-1010-comtft.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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-1010 Module on CoMpact TFT";
  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 0>;
  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. native-mode = <&ET070001DM6>;
  54. ET070001DM6: CoMTFT { /* same as ET0700 but with inverted pixel clock */
  55. clock-frequency = <33264000>;
  56. hactive = <800>;
  57. vactive = <480>;
  58. hback-porch = <88>;
  59. hsync-len = <128>;
  60. hfront-porch = <40>;
  61. vback-porch = <33>;
  62. vsync-len = <2>;
  63. vfront-porch = <10>;
  64. hsync-active = <0>;
  65. vsync-active = <0>;
  66. de-active = <1>;
  67. pixelclk-active = <1>;
  68. };
  69. };
  70. };
  71. };
  72. &can1 {
  73. status = "disabled";
  74. };
  75. &can2 {
  76. xceiver-supply = <&reg_3v3>;
  77. };
  78. &ipu1_di0_disp0 {
  79. remote-endpoint = <&display0_in>;
  80. };
  81. &kpp {
  82. status = "disabled";
  83. };
  84. &reg_can_xcvr {
  85. status = "disabled";
  86. };
  87. &touchscreen {
  88. status = "disabled";
  89. };