summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dtsi')
-rw-r--r--overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dtsi63
1 files changed, 63 insertions, 0 deletions
diff --git a/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dtsi b/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dtsi
new file mode 100644
index 0000000..f7fc663
--- /dev/null
+++ b/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dtsi
@@ -0,0 +1,63 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2021 Toradex
+ */
+
+// Enable the parallel RGB interface on Colibri iMX8X and the LVDS tranceiver on Iris v2.0
+
+&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_lcdfif_out: endpoint {
+ remote-endpoint = <&lcd_panel_in>;
+ };
+ };
+};
+
+/* Need to be disabled due to overlapped pins SODIMM_55, SODIMM_63 */
+&flexcan2 {
+ status = "disabled";
+};
+
+&lsio_gpio1 {
+ /*
+ * This switches the LVDS transceiver to the single-channel
+ * output mode.
+ */
+ LVDS_MODE {
+ gpio-hog;
+ gpios = <18 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "LVDS_MODE";
+ };
+};
+
+&panel_dpi {
+ pinctrl-names = "default";
+ status = "okay";
+
+ data-mapping = "bgr666";
+ port {
+ lcd_panel_in: endpoint {
+ remote-endpoint = <&display_lcdfif_out>;
+ };
+ };
+};