1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3/dts-v1/;
4
5#include <dt-bindings/gpio/gpio.h>
6#include <dt-bindings/pinctrl/rockchip.h>
7#include <dt-bindings/soc/rockchip,vop2.h>
8#include "rk3588-orangepi-5-compact.dtsi"
9
10/ {
11	model = "Xunlong Orange Pi 5 Max";
12	compatible = "xunlong,orangepi-5-max", "rockchip,rk3588";
13
14	hdmi0-con {
15		compatible = "hdmi-connector";
16		type = "a";
17
18		port {
19			hdmi0_con_in: endpoint {
20				remote-endpoint = <&hdmi0_out_con>;
21			};
22		};
23	};
24};
25
26&hdmi0 {
27	status = "okay";
28};
29
30&hdmi0_in {
31	hdmi0_in_vp0: endpoint {
32		remote-endpoint = <&vp0_out_hdmi0>;
33	};
34};
35
36&hdmi0_out {
37	hdmi0_out_con: endpoint {
38		remote-endpoint = <&hdmi0_con_in>;
39	};
40};
41
42&hdptxphy_hdmi0 {
43	status = "okay";
44};
45
46&pinctrl {
47
48	usb {
49		usb_otg_pwren: usb-otg-pwren {
50			rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
51		};
52	};
53};
54
55&vp0 {
56	vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
57		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
58		remote-endpoint = <&hdmi0_in_vp0>;
59	};
60};
61