Skip to content

Commit a7e2ab0

Browse files
committed
rockchip64-edge: add hdmi1 support to rock5 itx
1 parent f4e44cc commit a7e2ab0

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Jianfeng Liu <[email protected]>
3+
Date: Sat, 15 Feb 2025 23:10:42 +0800
4+
Subject: arm64: dts: rockchip: add hdmi1 support to ROCK 5 ITX
5+
6+
Enable the HDMI port next to ethernet port.
7+
8+
Signed-off-by: Jianfeng Liu <[email protected]>
9+
---
10+
arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts | 53 ++++++++++
11+
1 file changed, 53 insertions(+)
12+
13+
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
14+
index 111111111111..222222222222 100644
15+
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
16+
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
17+
@@ -11,6 +11,7 @@
18+
#include <dt-bindings/leds/common.h>
19+
#include <dt-bindings/pinctrl/rockchip.h>
20+
#include <dt-bindings/pwm/pwm.h>
21+
+#include <dt-bindings/soc/rockchip,vop2.h>
22+
#include "dt-bindings/usb/pd.h"
23+
#include "rk3588.dtsi"
24+
25+
@@ -89,6 +90,17 @@ fan0: pwm-fan {
26+
pwms = <&pwm14 0 10000 0>;
27+
};
28+
29+
+ hdmi1-con {
30+
+ compatible = "hdmi-connector";
31+
+ type = "a";
32+
+
33+
+ port {
34+
+ hdmi1_con_in: endpoint {
35+
+ remote-endpoint = <&hdmi1_out_con>;
36+
+ };
37+
+ };
38+
+ };
39+
+
40+
/* M.2 E-KEY */
41+
sdio_pwrseq: sdio-pwrseq {
42+
compatible = "mmc-pwrseq-simple";
43+
@@ -261,6 +273,32 @@ &gpu {
44+
status = "okay";
45+
};
46+
47+
+&hdmi1 {
48+
+ pinctrl-0 = <&hdmim0_tx1_cec &hdmim0_tx1_hpd
49+
+ &hdmim1_tx1_scl &hdmim1_tx1_sda>;
50+
+ status = "okay";
51+
+};
52+
+
53+
+&hdmi1_in {
54+
+ hdmi1_in_vp1: endpoint {
55+
+ remote-endpoint = <&vp1_out_hdmi1>;
56+
+ };
57+
+};
58+
+
59+
+&hdmi1_out {
60+
+ hdmi1_out_con: endpoint {
61+
+ remote-endpoint = <&hdmi1_con_in>;
62+
+ };
63+
+};
64+
+
65+
+&hdptxphy0 {
66+
+ status = "okay";
67+
+};
68+
+
69+
+&hdptxphy1 {
70+
+ status = "okay";
71+
+};
72+
+
73+
&i2c0 {
74+
pinctrl-names = "default";
75+
pinctrl-0 = <&i2c0m2_xfer>;
76+
@@ -1209,3 +1247,18 @@ &usbdp_phy1 {
77+
rockchip,dp-lane-mux = <2 3>;
78+
status = "okay";
79+
};
80+
+
81+
+&vop {
82+
+ status = "okay";
83+
+};
84+
+
85+
+&vop_mmu {
86+
+ status = "okay";
87+
+};
88+
+
89+
+&vp1 {
90+
+ vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 {
91+
+ reg = <ROCKCHIP_VOP2_EP_HDMI1>;
92+
+ remote-endpoint = <&hdmi1_in_vp1>;
93+
+ };
94+
+};
95+
--
96+
Armbian
97+

0 commit comments

Comments
 (0)