summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx8x_parallel-rgb_overlay.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/colibri-imx8x_parallel-rgb_overlay.dtsi')
-rw-r--r--overlays/colibri-imx8x_parallel-rgb_overlay.dtsi42
1 files changed, 42 insertions, 0 deletions
diff --git a/overlays/colibri-imx8x_parallel-rgb_overlay.dtsi b/overlays/colibri-imx8x_parallel-rgb_overlay.dtsi
new file mode 100644
index 0000000..00f8668
--- /dev/null
+++ b/overlays/colibri-imx8x_parallel-rgb_overlay.dtsi
@@ -0,0 +1,42 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2021-2022 Toradex
+ */
+
+// Enable the parallel RGB interface on the Colibri iMX8X.
+&adma_lcdif {
+ status = "okay";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ adma_lcdif_out: endpoint {
+ remote-endpoint = <&lcd_panel_in>;
+ };
+ };
+};
+
+&adma_pwm {
+ status = "okay";
+};
+
+&adma_pwm_lpcg {
+ status = "okay";
+};
+
+&backlight {
+ status = "okay";
+};
+
+&panel_dpi {
+ status = "okay";
+
+ data-mapping = "bgr666";
+ port {
+ lcd_panel_in: endpoint {
+ remote-endpoint = <&adma_lcdif_out>;
+ };
+ };
+};