Commit 928325d2 authored by Marek Vasut's avatar Marek Vasut Committed by Shawn Guo
Browse files

arm64: dts: imx8mp: Enable HDMI to Data Modul i.MX8M Plus eDM SBC



Enable HDMI support on Data Modul i.MX8M Plus eDM SBC.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 2d39b78e
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
@@ -59,6 +59,18 @@ clk_pwm4: clock-pwm4 {
		pwms = <&pwm4 0 83 0>;
	};

	hdmi-connector {
		compatible = "hdmi-connector";
		label = "J17";
		type = "a";

		port {
			hdmi_connector_in: endpoint {
				remote-endpoint = <&hdmi_tx_out>;
			};
		};
	};

	panel: panel {
		/* Compatible string is filled in by panel board DT Overlay. */
		backlight = <&backlight>;
@@ -311,6 +323,33 @@ &gpio5 {
		"", "SPI3_CS#", "", "", "", "", "", "";
};

&hdmi_pvi {
	status = "okay";
};

&hdmi_tx {
	ddc-i2c-bus = <&i2c5>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_hdmi>;
	status = "okay";

	ports {
		port@1 {
			hdmi_tx_out: endpoint {
				remote-endpoint = <&hdmi_connector_in>;
			};
		};
	};
};

&hdmi_tx_phy {
	status = "okay";
};

&lcdif3 {
	status = "okay";
};

&i2c1 {
	clock-frequency = <100000>;
	pinctrl-names = "default", "gpio";
@@ -681,6 +720,13 @@ MX8MP_IOMUXC_SPDIF_TX__CAN1_TX 0x154
		>;
	};

	pinctrl_hdmi: hdmi-grp {
		fsl,pins = <
			MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC		0x154
			MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD		0x154
		>;
	};

	pinctrl_hog_feature: hog-feature-grp {
		fsl,pins = <
			/* GPIO5_IO03 */