summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlays/Makefile1
-rw-r--r--overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts81
2 files changed, 82 insertions, 0 deletions
diff --git a/overlays/Makefile b/overlays/Makefile
index 9ad76e0..43d6980 100644
--- a/overlays/Makefile
+++ b/overlays/Makefile
@@ -52,6 +52,7 @@ dtb-y += colibri-imx7_panel-cap-touch-10inch-lvds_overlay.dtbo
dtb-y += colibri-imx7_panel-res-touch-7inch_overlay.dtbo
dtb-y += colibri-imx7_spidev_overlay.dtbo
dtb-y += colibri-imx7_vga-640x480_overlay.dtbo
+dtb-y += verdin-imx8mm_dsi-to-hdmi_overlay.dtbo
dtb-y += verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dtbo
dtb-y += verdin-imx8mm_nau8822-btl_overlay.dtbo
dtb-y += verdin-imx8mm_spidev_overlay.dtbo
diff --git a/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts b/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts
new file mode 100644
index 0000000..5edfbd0
--- /dev/null
+++ b/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts
@@ -0,0 +1,81 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2022 Toradex
+ */
+
+// Verdin DSI to HDMI Adapter orderable at Toradex.
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "toradex,verdin-imx8mm";
+};
+
+&mipi_dsi {
+ samsung,esc-clock-frequency = <16000000>;
+ status = "okay";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
+
+ mipi_dsi_bridge1_out: endpoint {
+ attach-bridge;
+ remote-endpoint = <&lt8912_1_in>;
+ };
+ };
+ };
+};
+
+&hdmi_lontium_lt8912 {
+ status = "okay";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ lt8912_1_in: endpoint {
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&mipi_dsi_bridge1_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ lt8912_1_out: endpoint {
+ remote-endpoint = <&hdmi_connector_in>;
+ };
+ };
+ };
+};
+
+&hdmi_connector {
+ status = "okay";
+
+ port {
+ hdmi_connector_in: endpoint {
+ remote-endpoint = <&lt8912_1_out>;
+ };
+ };
+};
+
+/* Verdin I2C_2_DSI */
+&i2c2 {
+ status = "okay";
+};
+
+&lcdif {
+ status = "okay";
+};
+
+&pwm1 {
+ status = "disabled";
+};