summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
Diffstat (limited to 'overlays')
-rw-r--r--overlays/Makefile1
-rw-r--r--overlays/colibri-imx8x_display-lcdif_overlay.dts48
2 files changed, 49 insertions, 0 deletions
diff --git a/overlays/Makefile b/overlays/Makefile
index d2aa3ad..f267b0b 100644
--- a/overlays/Makefile
+++ b/overlays/Makefile
@@ -64,6 +64,7 @@ dtb-y += colibri-imx7_lcd-vga_overlay.dtbo
dtb-y += colibri-imx8x_ad7879_overlay.dtbo
dtb-y += colibri-imx8x_atmel-mxt-adapter_overlay.dtbo
dtb-y += colibri-imx8x_atmel-mxt-connector_overlay.dtbo
+dtb-y += colibri-imx8x_display-lcdif_overlay.dtbo
dtb-y += colibri-imx8x_dsihdmi_overlay.dtbo
dtb-y += colibri-imx8x-eval_spidev_overlay.dtbo
dtb-y += colibri-imx8x_ov5640_overlay.dtbo
diff --git a/overlays/colibri-imx8x_display-lcdif_overlay.dts b/overlays/colibri-imx8x_display-lcdif_overlay.dts
new file mode 100644
index 0000000..be2abcd
--- /dev/null
+++ b/overlays/colibri-imx8x_display-lcdif_overlay.dts
@@ -0,0 +1,48 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2020-2021 Toradex
+ */
+
+// Enable the parallel RGB interface on Colibri iMX8X using DPU-enabled driver
+
+/dts-v1/;
+/plugin/;
+/ {
+ compatible = "toradex,colibri-imx8x";
+};
+
+&adma_pwm {
+ status = "okay";
+};
+
+&adma_pwm_lpcg {
+ status = "okay";
+};
+
+&backlight {
+ status = "okay";
+};
+
+&display_lcdif {
+ status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@1 {
+ reg = <1>;
+
+ display_lcdif_out: endpoint {
+ remote-endpoint = <&lcd_panel_in>;
+ };
+ };
+};
+
+&panel_dpi {
+ status = "okay";
+
+ port {
+ lcd_panel_in: endpoint {
+ remote-endpoint = <&display_lcdif_out>;
+ };
+ };
+};