From 5a139d07d03076be7972db4b022558dffcfd685b Mon Sep 17 00:00:00 2001
From: Lukas Rusak <lorusak@gmail.com>
Date: Tue, 9 Mar 2021 10:47:27 -0800
Subject: [PATCH 47/49] arm64: dts: fsl: imx8mq-pico-pi: enable DCSS and HDMI

---
 .../boot/dts/freescale/imx8mq-pico-pi.dts     | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts b/arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts
index 89cbec5c41b2..03734145c50e 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts
@@ -37,6 +37,16 @@ reg_usb_otg_vbus: regulator-usb-otg-vbus {
 	};
 };
 
+&dcss {
+	status = "okay";
+
+	port {
+		dcss_out: endpoint {
+			remote-endpoint = <&hdmi_in>;
+		};
+	};
+};
+
 &fec1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_fec1 &pinctrl_enet_3v3>;
@@ -56,6 +66,18 @@ ethphy0: ethernet-phy@1 {
 	};
 };
 
+&hdmi {
+    compatible = "cdn,imx8mq-hdmi";
+    lane-mapping = <0xe4>;
+    status = "okay";
+
+    port {
+        hdmi_in: endpoint {
+            remote-endpoint = <&dcss_out>;
+        };
+    };
+};
+
 &i2c1 {
 	clock-frequency = <100000>;
 	pinctrl-names = "default";
-- 
2.29.2

