]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Enable HDMI1 on Orange Pi 5 Max
authorJimmy Hon <honyuenkwun@gmail.com>
Thu, 9 Jan 2025 05:16:18 +0000 (23:16 -0600)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 12 Feb 2025 09:19:46 +0000 (10:19 +0100)
Enable the second HDMI output port on the Orange Pi 5 Max

Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com>
Link: https://lore.kernel.org/r/20250109051619.1825-5-honyuenkwun@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts

index 9baca7f9ce4830fbba0cdc5f9be6026c6bf11500..26421ca7843b65be57b4c1491c3c3bf066ead332 100644 (file)
                        };
                };
        };
+
+       hdmi1-con {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi1_con_in: endpoint {
+                               remote-endpoint = <&hdmi1_out_con>;
+                       };
+               };
+       };
 };
 
 &hdmi0 {
        };
 };
 
+&hdmi1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&hdmim0_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";
+};
+
 &pinctrl {
 
        usb {
                remote-endpoint = <&hdmi0_in_vp0>;
        };
 };
+
+&vp1 {
+       vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 {
+               reg = <ROCKCHIP_VOP2_EP_HDMI1>;
+               remote-endpoint = <&hdmi1_in_vp1>;
+       };
+};