arm64: dts: rockchip: Add HDMI support for roc-rk3576-pc
authorHeiko Stuebner <heiko@sntech.de>
Mon, 14 Apr 2025 18:37:45 +0000 (20:37 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 28 Apr 2025 12:10:19 +0000 (14:10 +0200)
Enable HDMI and VOP nodes for the roc-rk3576-pc board.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250414183745.1352470-1-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts

index 612b7bb0b7493b453f2f2dc4e6931ef2287ed0a7..d4e437ea6cd8606f8d06639cb16d7257dc623aaf 100644 (file)
@@ -10,6 +10,7 @@
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/pinctrl/rockchip.h>
 #include <dt-bindings/pwm/pwm.h>
+#include <dt-bindings/soc/rockchip,vop2.h>
 #include <dt-bindings/usb/pd.h>
 #include "rk3576.dtsi"
 
                };
        };
 
+       hdmi-con {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi_con_in: endpoint {
+                               remote-endpoint = <&hdmi_out_con>;
+                       };
+               };
+       };
+
        vbus5v0_typec: regulator-vbus5v0-typec {
                compatible = "regulator-fixed";
                enable-active-high;
        status = "okay";
 };
 
+&hdmi {
+       status = "okay";
+};
+
+&hdmi_in {
+       hdmi_in_vp0: endpoint {
+               remote-endpoint = <&vp0_out_hdmi>;
+       };
+};
+
+&hdmi_out {
+       hdmi_out_con: endpoint {
+               remote-endpoint = <&hdmi_con_in>;
+       };
+};
+
+&hdptxphy {
+       status = "okay";
+};
+
 &mdio0 {
        status = "okay";
 
        pinctrl-0 = <&uart6m3_xfer>;
        status = "okay";
 };
+
+&vop {
+       status = "okay";
+};
+
+&vop_mmu {
+       status = "okay";
+};
+
+&vp0 {
+       vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
+               reg = <ROCKCHIP_VOP2_EP_HDMI0>;
+               remote-endpoint = <&hdmi_in_vp0>;
+       };
+};