Skip to content

Commit ec70819

Browse files
andyshrkmmind
authored andcommitted
arm64: dts: rockchip: Enable HDMI0 for rk3588 Cool Pi CM5 EVB
As the hdmi-qp controller recently get merged, we can enable the HDMI0 display on this board now. Signed-off-by: Andy Yan <andyshrk@163.com> Link: https://lore.kernel.org/r/20241028123503.384866-2-andyshrk@163.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 5ec7566 commit ec70819

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/dts-v1/;
88

99
#include <dt-bindings/leds/common.h>
10+
#include <dt-bindings/soc/rockchip,vop2.h>
1011
#include "rk3588-coolpi-cm5.dtsi"
1112

1213
/ {
@@ -22,6 +23,17 @@
2223
pwms = <&pwm2 0 25000 0>;
2324
};
2425

26+
hdmi-con {
27+
compatible = "hdmi-connector";
28+
type = "a";
29+
30+
port {
31+
hdmi_con_in: endpoint {
32+
remote-endpoint = <&hdmi0_out_con>;
33+
};
34+
};
35+
};
36+
2537
leds: leds {
2638
compatible = "gpio-leds";
2739

@@ -101,6 +113,26 @@
101113
};
102114
};
103115

116+
&hdmi0 {
117+
status = "okay";
118+
};
119+
120+
&hdmi0_in {
121+
hdmi0_in_vp0: endpoint {
122+
remote-endpoint = <&vp0_out_hdmi0>;
123+
};
124+
};
125+
126+
&hdmi0_out {
127+
hdmi0_out_con: endpoint {
128+
remote-endpoint = <&hdmi_con_in>;
129+
};
130+
};
131+
132+
&hdptxphy_hdmi0 {
133+
status = "okay";
134+
};
135+
104136
/* M.2 E-Key */
105137
&pcie2x1l1 {
106138
reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
@@ -214,3 +246,18 @@
214246
&usb_host1_ohci {
215247
status = "okay";
216248
};
249+
250+
&vop {
251+
status = "okay";
252+
};
253+
254+
&vop_mmu {
255+
status = "okay";
256+
};
257+
258+
&vp0 {
259+
vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
260+
reg = <ROCKCHIP_VOP2_EP_HDMI0>;
261+
remote-endpoint = <&hdmi0_in_vp0>;
262+
};
263+
};

0 commit comments

Comments
 (0)