summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGray Huang <gray.huang@wesion.com>2026-03-25 08:46:12 +0300
committerHeiko Stuebner <heiko@sntech.de>2026-04-27 15:18:57 +0300
commite9ec83fbc3d46b39fe92a0cbda4795ece30717f5 (patch)
tree54398c8f4a5e2123462afea8af75197243e64dd4
parent6d72e0d07145449a33678624436c73da09873c43 (diff)
downloadlinux-e9ec83fbc3d46b39fe92a0cbda4795ece30717f5.tar.xz
arm64: dts: rockchip: Add HDMI and VOP support for Khadas Edge 2L
Enable the Video Output Processor (VOP) and the HDMI TX controller to support HDMI display output on the Khadas Edge 2L. Also, enable the associated HDMI PHY. Signed-off-by: Gray Huang <gray.huang@wesion.com> Link: https://patch.msgid.link/20260325054614.1497147-5-gray.huang@wesion.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts51
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts b/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
index 59e5e7e25bee..c39c7f90b6fb 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
@@ -4,6 +4,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
+#include <dt-bindings/soc/rockchip,vop2.h>
#include "rk3576.dtsi"
/ {
@@ -18,6 +19,17 @@
stdout-path = "serial0:1500000n8";
};
+ hdmi-con {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con_in: endpoint {
+ remote-endpoint = <&hdmi_out_con>;
+ };
+ };
+ };
+
vcc_sys: regulator-vcc5v0-sys {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
@@ -61,6 +73,30 @@
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>;
+ };
+};
+
+&hdmi_sound {
+ status = "okay";
+};
+
+&hdptxphy {
+ status = "okay";
+};
+
&i2c1 {
status = "okay";
@@ -447,3 +483,18 @@
&uart0 {
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>;
+ };
+};