Commit 85e3fd37 authored by Andy Yan's avatar Andy Yan Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Enable HDMI1 on Cool Pi CM5 EVB



Enable the second HDMI output port on Cool Pi CM5 EVB

Signed-off-by: default avatarAndy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20250419121326.388298-2-andyshrk@163.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 99685162
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
@@ -34,6 +34,17 @@ hdmi0_con_in: endpoint {
		};
	};

	hdmi1-con {
		compatible = "hdmi-connector";
		type = "a";

		port {
			hdmi1_con_in: endpoint {
				remote-endpoint = <&hdmi1_out_con>;
			};
		};
	};

	leds: leds {
		compatible = "gpio-leds";

@@ -129,10 +140,32 @@ hdmi0_out_con: endpoint {
	};
};

&hdmi1 {
	pinctrl-names = "default";
	pinctrl-0 = <&hdmim2_tx1_cec &hdmim0_tx1_hpd &hdmim1_tx1_scl &hdmim1_tx1_sda>;
	status = "okay";
};

&hdmi1_in {
	hdmi1_in_vp1: endpoint {
		remote-endpoint = <&vp1_out_hdmi1>;
	};
};

&hdmi1_out {
	hdmi1_out_con: endpoint {
		remote-endpoint = <&hdmi1_con_in>;
	};
};

&hdptxphy0 {
	status = "okay";
};

&hdptxphy1 {
	status = "okay";
};

/* M.2 E-Key */
&pcie2x1l1 {
	reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
@@ -261,3 +294,10 @@ vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
		remote-endpoint = <&hdmi0_in_vp0>;
	};
};

&vp1 {
	vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 {
		reg = <ROCKCHIP_VOP2_EP_HDMI1>;
		remote-endpoint = <&hdmi1_in_vp1>;
	};
};