The ITE IT6263 based NXP LVDS to HDMI converter can be attached to the
i.MX943 EVK board LVDS port using the mini-SAS connector. Since this is
the default configuration for the EVK, add support for it here.

Signed-off-by: Laurentiu Palcu <[email protected]>
Reviewed-by: Frank Li <[email protected]>
---
 arch/arm64/boot/dts/freescale/imx943-evk.dts | 59 ++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx943-evk.dts 
b/arch/arm64/boot/dts/freescale/imx943-evk.dts
index 
31fa9675cee13709d6774ea3a8464168b7fead44..70f26949916ce16da3ba0a9682acf9354bd4a449
 100644
--- a/arch/arm64/boot/dts/freescale/imx943-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx943-evk.dts
@@ -53,6 +53,18 @@ dmic: dmic {
                #sound-dai-cells = <0>;
        };
 
+       hdmi-connector {
+               compatible = "hdmi-connector";
+               label = "hdmi";
+               type = "a";
+
+               port {
+                       hdmi_connector_in: endpoint {
+                               remote-endpoint = <&it6263_out>;
+                       };
+               };
+       };
+
        reg_usdhc2_vmmc: regulator-usdhc2 {
                compatible = "regulator-fixed";
                off-on-delay-us = <12000>;
@@ -146,6 +158,10 @@ memory@80000000 {
        };
 };
 
+&dcif {
+       status = "okay";
+};
+
 &enetc1 {
        clocks = <&scmi_clk IMX94_CLK_MAC4>;
        clock-names = "ref";
@@ -184,6 +200,21 @@ &flexcan4 {
        status = "okay";
 };
 
+&ldb {
+       assigned-clocks = <&scmi_clk IMX94_CLK_LDBPLL_VCO>,
+                         <&scmi_clk IMX94_CLK_LDBPLL>;
+       assigned-clock-rates = <4158000000>, <1039500000>;
+       status = "okay";
+
+       ports {
+               port@1 {
+                       lvds_out: endpoint {
+                               remote-endpoint = <&it6263_in>;
+                       };
+               };
+       };
+};
+
 &lpi2c3 {
        clock-frequency = <400000>;
        pinctrl-0 = <&pinctrl_lpi2c3>;
@@ -225,6 +256,34 @@ i2c@3 {
                        reg = <3>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       lvds-to-hdmi-bridge@4c {
+                               compatible = "ite,it6263";
+                               reg = <0x4c>;
+                               data-mapping = "jeida-24";
+                               reset-gpios = <&pcal6416_i2c3_u171 8 
GPIO_ACTIVE_HIGH>;
+
+                               ports {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       port@0 {
+                                               reg = <0>;
+
+                                               it6263_in: endpoint {
+                                                       remote-endpoint = 
<&lvds_out>;
+                                               };
+                                       };
+
+                                       port@2 {
+                                               reg = <2>;
+
+                                               it6263_out: endpoint {
+                                                       remote-endpoint = 
<&hdmi_connector_in>;
+                                               };
+                                       };
+                               };
+                       };
                };
 
                i2c@4 {

-- 
2.49.0

Reply via email to