arm64: dts: rockchip: Enable HDMI1 on Cool Pi CM5 EVB
authorAndy Yan <andyshrk@163.com>
Sat, 19 Apr 2025 12:13:17 +0000 (20:13 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 22 Apr 2025 11:30:37 +0000 (13:30 +0200)
Enable the second HDMI output port on Cool Pi CM5 EVB

Signed-off-by: Andy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20250419121326.388298-2-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts

index 56ff58c67f9774675f4c53cdb84ecb0b2173e8af..54c279399f9a8f36349e2f4c6c59007e31af2a59 100644 (file)
                };
        };
 
+       hdmi1-con {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi1_con_in: endpoint {
+                               remote-endpoint = <&hdmi1_out_con>;
+                       };
+               };
+       };
+
        leds: leds {
                compatible = "gpio-leds";
 
        };
 };
 
+&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>;
                remote-endpoint = <&hdmi0_in_vp0>;
        };
 };
+
+&vp1 {
+       vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 {
+               reg = <ROCKCHIP_VOP2_EP_HDMI1>;
+               remote-endpoint = <&hdmi1_in_vp1>;
+       };
+};