summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dts
diff options
context:
space:
mode:
authorOleksii Bidnichenko <oleksii.bidnichenko@toradex.com>2021-08-22 13:38:22 +0300
committerOleksii Bidnichenko <oleksii.bidnichenko@toradex.com>2021-09-02 15:53:44 +0300
commit653cb21b42a735b8dca99489837c0baa61ec1503 (patch)
tree96f1a8fdb0dfab2aa8d57f906fde70bdbaa5a0b6 /overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dts
parentf4b74d8a48e76a626d66cdd9d5e358f630940005 (diff)
imx6ull-emmc: add overlays
Add following overlays: - Parallel RGB support - Parallel RGB LVDS support - Atmel MXT TS for boards with Capacitive Touch Connector - Atmel MXT TS for Capacitive Touch Adapter - Toradex 7" resistive touchscreen ad7879 Related-to: ELB-4065 Related-to: ELB-4080 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
Diffstat (limited to 'overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dts')
-rw-r--r--overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dts75
1 files changed, 75 insertions, 0 deletions
diff --git a/overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dts b/overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dts
new file mode 100644
index 0000000..e4a740e
--- /dev/null
+++ b/overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dts
@@ -0,0 +1,75 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2020-2021 Toradex
+ */
+
+// Enable the parallel RGB interface on the Colibri iMX6ULL and the LVDS
+// trasceiver on the Iris v2.0A.
+
+#include <dt-bindings/gpio/gpio.h>
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "toradex,colibri-imx6ull-emmc";
+};
+
+&backlight {
+ status = "okay";
+};
+
+&can1 {
+ // Disabled due to the SODIMM 55 and 63 pins overlapping
+ status = "disabled";
+};
+
+&gpio1 {
+ // This turns the LVDS transceiver on
+ LVDS_PWRDWN {
+ gpio-hog;
+ gpios = <14 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
+ line-name = "LVDS_PWRDWN";
+ output-high;
+ };
+};
+
+&gpio2 {
+ // This switches the LVDS transceiver to the single-channel output mode
+ LVDS_MODE {
+ gpio-hog;
+ gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
+ line-name = "LVDS_MODE";
+ output-high;
+ };
+
+ // This switches the LVDS transceiver to the 24-bit RGB mode
+ LVDS_RGB_MODE {
+ gpio-hog;
+ gpios = <1 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
+ line-name = "LVDS_RGB_MODE";
+ output-low;
+ };
+};
+
+&gpio5 {
+ // This switches the LVDS transceiver to VESA color mapping mode
+ LVDS_COLOR_MAP {
+ gpio-hog;
+ gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
+ line-name = "LVDS_COLOR_MAP";
+ output-low;
+ };
+};
+
+&lcdif {
+ status = "okay";
+};
+
+&panel_dpi {
+ status = "okay";
+};
+
+&pwm4 {
+ status = "okay";
+};