Skip to content

Commit 8d6cb84

Browse files
andyshrkmmind
authored andcommitted
arm64: dts: rockchip: Enable HDMI display for rk3588 Cool Pi 4B
Enable the micro HDMI on Cool Pi 4B. Signed-off-by: Andy Yan <andyshrk@163.com> Link: https://lore.kernel.org/r/20241028123503.384866-3-andyshrk@163.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent ec70819 commit 8d6cb84

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <dt-bindings/gpio/gpio.h>
1212
#include <dt-bindings/leds/common.h>
1313
#include <dt-bindings/pinctrl/rockchip.h>
14+
#include <dt-bindings/soc/rockchip,vop2.h>
1415
#include "rk3588s.dtsi"
1516

1617
/ {
@@ -38,6 +39,17 @@
3839
stdout-path = "serial2:1500000n8";
3940
};
4041

42+
hdmi-con {
43+
compatible = "hdmi-connector";
44+
type = "d";
45+
46+
port {
47+
hdmi_con_in: endpoint {
48+
remote-endpoint = <&hdmi0_out_con>;
49+
};
50+
};
51+
};
52+
4153
leds: leds {
4254
compatible = "gpio-leds";
4355
pinctrl-names = "default";
@@ -208,6 +220,26 @@
208220
status = "okay";
209221
};
210222

223+
&hdmi0 {
224+
status = "okay";
225+
};
226+
227+
&hdmi0_in {
228+
hdmi0_in_vp0: endpoint {
229+
remote-endpoint = <&vp0_out_hdmi0>;
230+
};
231+
};
232+
233+
&hdmi0_out {
234+
hdmi0_out_con: endpoint {
235+
remote-endpoint = <&hdmi_con_in>;
236+
};
237+
};
238+
239+
&hdptxphy_hdmi0 {
240+
status = "okay";
241+
};
242+
211243
&i2c0 {
212244
pinctrl-0 = <&i2c0m2_xfer>;
213245
status = "okay";
@@ -815,3 +847,18 @@
815847
&usb_host1_ohci {
816848
status = "okay";
817849
};
850+
851+
&vop {
852+
status = "okay";
853+
};
854+
855+
&vop_mmu {
856+
status = "okay";
857+
};
858+
859+
&vp0 {
860+
vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
861+
reg = <ROCKCHIP_VOP2_EP_HDMI0>;
862+
remote-endpoint = <&hdmi0_in_vp0>;
863+
};
864+
};

0 commit comments

Comments
 (0)