]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Enable HDMI1 out for Edgeble-6TOPS Modules
authorJagan Teki <jagan@edgeble.ai>
Fri, 27 Dec 2024 13:29:36 +0000 (18:59 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 11 Feb 2025 09:21:11 +0000 (10:21 +0100)
Edgeble-6TOPS modules configure HDMI1 for HDMI Out from RK3588.

Enable it on Edgeble-6TOPS IO Board dtsi.

Cc: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
Link: https://lore.kernel.org/r/20241227132936.168100-1-jagan@edgeble.ai
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dtsi

index 7125790bbed2264c643ec44856ef6cc85c8b25b0..08920344a4b8d27302387d43f459ba00798a332d 100644 (file)
@@ -4,12 +4,24 @@
  */
 
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/soc/rockchip,vop2.h>
 
 / {
        chosen {
                stdout-path = "serial2:1500000n8";
        };
 
+       hdmi1-con {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi1_con_in: endpoint {
+                               remote-endpoint = <&hdmi1_out_con>;
+                       };
+               };
+       };
+
        /* Unnamed gated oscillator: 100MHz,3.3V,3225 */
        pcie30_port0_refclk: pcie30_port1_refclk: pcie-oscillator {
                compatible = "gated-fixed-clock";
        status = "okay";
 };
 
+&hdmi1 {
+       status = "okay";
+};
+
+&hdmi1_in {
+       hdmi1_in_vp0: endpoint {
+               remote-endpoint = <&vp0_out_hdmi1>;
+       };
+};
+
+&hdmi1_out {
+       hdmi1_out_con: endpoint {
+               remote-endpoint = <&hdmi1_con_in>;
+       };
+};
+
+&hdptxphy1 {
+       status = "okay";
+};
+
 &i2c6 {
        status = "okay";
 
 &usb_host2_xhci {
        status = "okay";
 };
+
+&vop_mmu {
+       status = "okay";
+};
+
+&vop {
+       status = "okay";
+};
+
+&vp0 {
+       vp0_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 {
+               reg = <ROCKCHIP_VOP2_EP_HDMI1>;
+               remote-endpoint = <&hdmi1_in_vp0>;
+       };
+};