imx7s-colibri-iris-v2.dts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Copyright 2022 Toradex
  4. */
  5. /dts-v1/;
  6. #include "imx7s-colibri.dtsi"
  7. #include "imx7-colibri-iris-v2.dtsi"
  8. / {
  9. model = "Toradex Colibri iMX7S on Iris V2 Carrier Board";
  10. compatible = "toradex,colibri-imx7s-iris-v2",
  11. "toradex,colibri-imx7s",
  12. "fsl,imx7s";
  13. };
  14. &ad7879_ts {
  15. status = "okay";
  16. };
  17. &atmel_mxt_ts {
  18. status = "okay";
  19. };
  20. &backlight {
  21. status = "okay";
  22. };
  23. &gpio2 {
  24. /*
  25. * This switches the LVDS transceiver to VESA color mapping mode.
  26. */
  27. lvds-color-map-hog {
  28. gpio-hog;
  29. gpios = <13 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
  30. line-name = "LVDS_COLOR_MAP";
  31. output-low;
  32. };
  33. };
  34. &gpio7 {
  35. /*
  36. * This switches the LVDS transceiver to the 24-bit RGB mode.
  37. */
  38. lvds-rgb-mode-hog {
  39. gpio-hog;
  40. gpios = <2 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
  41. line-name = "LVDS_RGB_MODE";
  42. output-low;
  43. };
  44. /*
  45. * This switches the LVDS transceiver to the single-channel
  46. * output mode.
  47. */
  48. lvds-ch-mode-hog {
  49. gpio-hog;
  50. gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
  51. line-name = "LVDS_CH_MODE";
  52. output-high;
  53. };
  54. /* This turns the LVDS transceiver on */
  55. lvds-power-on-hog {
  56. gpio-hog;
  57. gpios = <11 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
  58. line-name = "LVDS_POWER_ON";
  59. output-high;
  60. };
  61. };
  62. &lcdif {
  63. status = "okay";
  64. };
  65. &panel_dpi {
  66. status = "okay";
  67. };