summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7d-colibri-iris-v2.dts
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-03-29 00:02:08 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-04-05 19:00:38 +0300
commite126d9d3bbb3b7d553847f17694652bd3c6209c1 (patch)
treee04e218d7e066df40e98a158b3a4d24d463af154 /arch/arm/boot/dts/imx7d-colibri-iris-v2.dts
parentfc386214b3bc1bfaacf684edfe939bd6e1deb316 (diff)
ARM: dts: colibri-imx7: prepare for LVDS transceiver overlay
Add the pinmux group for LVDS transceiver related signals to use it in an overlay. Fix pinmux default values for these pins. Enable the LVDS transceiver for NAND modules on a board Iris v2.0A by default. Related-to: ELB-3898 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7d-colibri-iris-v2.dts')
-rw-r--r--arch/arm/boot/dts/imx7d-colibri-iris-v2.dts45
1 files changed, 44 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx7d-colibri-iris-v2.dts b/arch/arm/boot/dts/imx7d-colibri-iris-v2.dts
index d30880d0953c..7ddae094529f 100644
--- a/arch/arm/boot/dts/imx7d-colibri-iris-v2.dts
+++ b/arch/arm/boot/dts/imx7d-colibri-iris-v2.dts
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0+ OR MIT
/*
- * Copyright 2017-2020 Toradex
+ * Copyright 2017-2021 Toradex
*/
/dts-v1/;
@@ -15,6 +15,49 @@
"fsl,imx7d";
};
+&gpio2 {
+ /*
+ * This switches the LVDS transceiver to VESA color mapping mode.
+ */
+ LVDS_COLOR_MAP {
+ gpio-hog;
+ gpios = <13 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
+ line-name = "LVDS_COLOR_MAP";
+ output-low;
+ };
+};
+
+&gpio7 {
+ /*
+ * This switches the LVDS transceiver to the 24-bit RGB mode.
+ */
+ LVDS_RGB_MODE {
+ gpio-hog;
+ gpios = <2 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
+ line-name = "LVDS_RGB_MODE";
+ output-low;
+ };
+
+ /*
+ * This switches the LVDS transceiver to the single-channel
+ * output mode.
+ */
+ LVDS_CH_MODE {
+ gpio-hog;
+ gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
+ line-name = "LVDS_CH_MODE";
+ output-high;
+ };
+
+ /* This turns the LVDS transceiver on */
+ LVDS_POWER_ON {
+ gpio-hog;
+ gpios = <11 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
+ line-name = "LVDS_POWER_ON";
+ output-high;
+ };
+};
+
&usbotg2 {
vbus-supply = <&reg_usbh_vbus>;
status = "okay";