Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003  * Copyright 2018-2022 Toradex
0004  */
0005 
0006 /dts-v1/;
0007 
0008 #include "imx6ull-colibri-nonwifi.dtsi"
0009 #include "imx6ull-colibri-iris-v2.dtsi"
0010 
0011 / {
0012         model = "Toradex Colibri iMX6ULL 256M/512B on Colibri Iris V2";
0013         compatible = "toradex,colibri-imx6ull-iris-v2",
0014                      "toradex,colibri-imx6ull",
0015                      "fsl,imx6ull";
0016 };
0017 
0018 &atmel_mxt_ts {
0019         status = "okay";
0020 };
0021 
0022 &gpio1 {
0023         /* This turns the LVDS transceiver on */
0024         lvds-power-on {
0025                 gpio-hog;
0026                 gpios = <14 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
0027                 line-name = "LVDS_POWER_ON";
0028                 output-high;
0029         };
0030 };
0031 
0032 &gpio2 {
0033         /*
0034          * This switches the LVDS transceiver to the single-channel
0035          * output mode.
0036          */
0037         lvds-ch-mode {
0038                 gpio-hog;
0039                 gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
0040                 line-name = "LVDS_CH_MODE";
0041                 output-high;
0042         };
0043 
0044         /*
0045          * This switches the LVDS transceiver to the 24-bit RGB mode.
0046          */
0047         lvds-rgb-mode {
0048                 gpio-hog;
0049                 gpios = <1 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
0050                 line-name = "LVDS_RGB_MODE";
0051                 output-low;
0052         };
0053 };
0054 
0055 &gpio5 {
0056         /*
0057          * This switches the LVDS transceiver to VESA color mapping mode.
0058          */
0059         lvds-color-map {
0060                 gpio-hog;
0061                 gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
0062                 line-name = "LVDS_COLOR_MAP";
0063                 output-low;
0064         };
0065 };