Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003  * Copyright 2022 Toradex
0004  */
0005 
0006 /dts-v1/;
0007 #include "imx7d-colibri.dtsi"
0008 #include "imx7-colibri-iris-v2.dtsi"
0009 
0010 / {
0011         model = "Toradex Colibri iMX7D on Iris V2 Carrier Board";
0012         compatible = "toradex,colibri-imx7d-iris-v2",
0013                      "toradex,colibri-imx7d",
0014                      "fsl,imx7d";
0015 };
0016 
0017 &ad7879_ts {
0018         status = "okay";
0019 };
0020 
0021 &atmel_mxt_ts {
0022         status = "okay";
0023 };
0024 
0025 &backlight {
0026         status = "okay";
0027 };
0028 
0029 &gpio2 {
0030         /*
0031          * This switches the LVDS transceiver to VESA color mapping mode.
0032          */
0033         lvds-color-map-hog {
0034                 gpio-hog;
0035                 gpios = <13 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
0036                 line-name = "LVDS_COLOR_MAP";
0037                 output-low;
0038         };
0039 };
0040 
0041 &gpio7 {
0042         /*
0043          * This switches the LVDS transceiver to the 24-bit RGB mode.
0044          */
0045         lvds-rgb-mode-hog {
0046                 gpio-hog;
0047                 gpios = <2 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
0048                 line-name = "LVDS_RGB_MODE";
0049                 output-low;
0050         };
0051 
0052         /*
0053          * This switches the LVDS transceiver to the single-channel
0054          * output mode.
0055          */
0056         lvds-ch-mode-hog {
0057                 gpio-hog;
0058                 gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
0059                 line-name = "LVDS_CH_MODE";
0060                 output-high;
0061         };
0062 
0063         /* This turns the LVDS transceiver on */
0064         lvds-power-on-hog {
0065                 gpio-hog;
0066                 gpios = <11 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
0067                 line-name = "LVDS_POWER_ON";
0068                 output-high;
0069         };
0070 };
0071 
0072 &lcdif {
0073         status = "okay";
0074 };
0075 
0076 &panel_dpi {
0077         status = "okay";
0078 };
0079 
0080 /* Colibri USBH */
0081 &usbotg2 {
0082         status = "okay";
0083 };