imx6dl-aristainetos2_4.dts 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. /*
  2. * support for the imx6 based aristainetos2 board
  3. *
  4. * Copyright (C) 2015 Heiko Schocher <[email protected]>
  5. *
  6. * This file is dual-licensed: you can use it either under the terms
  7. * of the GPL or the X11 license, at your option. Note that this dual
  8. * licensing only applies to this file, and not this project as a
  9. * whole.
  10. *
  11. * a) This file is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU General Public License
  13. * version 2 as published by the Free Software Foundation.
  14. *
  15. * This file is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * Or, alternatively,
  21. *
  22. * b) Permission is hereby granted, free of charge, to any person
  23. * obtaining a copy of this software and associated documentation
  24. * files (the "Software"), to deal in the Software without
  25. * restriction, including without limitation the rights to use,
  26. * copy, modify, merge, publish, distribute, sublicense, and/or
  27. * sell copies of the Software, and to permit persons to whom the
  28. * Software is furnished to do so, subject to the following
  29. * conditions:
  30. *
  31. * The above copyright notice and this permission notice shall be
  32. * included in all copies or substantial portions of the Software.
  33. *
  34. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  35. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  36. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  37. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  38. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  39. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  40. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  41. * OTHER DEALINGS IN THE SOFTWARE.
  42. */
  43. /dts-v1/;
  44. #include "imx6dl.dtsi"
  45. #include "imx6qdl-aristainetos2.dtsi"
  46. / {
  47. model = "aristainetos2 i.MX6 Dual Lite Board 4";
  48. compatible = "abb,aristainetos2-imx6dl-4", "fsl,imx6dl";
  49. memory@10000000 {
  50. device_type = "memory";
  51. reg = <0x10000000 0x40000000>;
  52. };
  53. display0: disp0 {
  54. #address-cells = <1>;
  55. #size-cells = <0>;
  56. compatible = "fsl,imx-parallel-display";
  57. interface-pix-fmt = "rgb24";
  58. pinctrl-names = "default";
  59. pinctrl-0 = <&pinctrl_ipu_disp>;
  60. port@0 {
  61. reg = <0>;
  62. display0_in: endpoint {
  63. remote-endpoint = <&ipu1_di0_disp0>;
  64. };
  65. };
  66. port@1 {
  67. reg = <1>;
  68. display_out: endpoint {
  69. remote-endpoint = <&panel_in>;
  70. };
  71. };
  72. };
  73. };
  74. &ecspi1 {
  75. lcd_panel: display@0 {
  76. compatible = "lg,lg4573";
  77. spi-max-frequency = <10000000>;
  78. reg = <0>;
  79. power-on-delay = <10>;
  80. display-timings {
  81. 480x800p57 {
  82. native-mode;
  83. clock-frequency = <27000027>;
  84. hactive = <480>;
  85. vactive = <800>;
  86. hfront-porch = <10>;
  87. hback-porch = <59>;
  88. hsync-len = <10>;
  89. vback-porch = <15>;
  90. vfront-porch = <15>;
  91. vsync-len = <15>;
  92. hsync-active = <1>;
  93. vsync-active = <1>;
  94. };
  95. };
  96. port {
  97. panel_in: endpoint {
  98. remote-endpoint = <&display_out>;
  99. };
  100. };
  101. };
  102. };
  103. &i2c3 {
  104. touch: touch@4b {
  105. compatible = "atmel,maxtouch";
  106. reg = <0x4b>;
  107. interrupt-parent = <&gpio2>;
  108. interrupts = <9 8>;
  109. };
  110. };
  111. &ipu1_di0_disp0 {
  112. remote-endpoint = <&display0_in>;
  113. };
  114. &iomuxc {
  115. pinctrl_ipu_disp: ipudisp1grp {
  116. fsl,pins = <
  117. MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x31
  118. MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0xE1
  119. MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10
  120. MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10
  121. MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0xE1
  122. MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0xE1
  123. MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0xE1
  124. MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0xE1
  125. MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0xE1
  126. MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0xE1
  127. MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0xE1
  128. MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0xE1
  129. MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0xE1
  130. MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0xE1
  131. MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0xE1
  132. MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0xE1
  133. MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0xE1
  134. MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0xE1
  135. MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0xe1
  136. MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0xE1
  137. MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0xE1
  138. MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0xE1
  139. MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0xE1
  140. MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0xE1
  141. MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0xE1
  142. MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0xE1
  143. MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0xE1
  144. MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0xE1
  145. >;
  146. };
  147. };