xref: /linux/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts (revision fa15cc73121279f93757ec76312b0d0b73f7462a)
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	hdmi1-con {
26		compatible = "hdmi-connector";
27		type = "a";
28
29		port {
30			hdmi1_con_in: endpoint {
31				remote-endpoint = <&hdmi1_out_con>;
32			};
33		};
34	};
35};
36
37&hdmi0 {
38	status = "okay";
39};
40
41&hdmi0_in {
42	hdmi0_in_vp0: endpoint {
43		remote-endpoint = <&vp0_out_hdmi0>;
44	};
45};
46
47&hdmi0_out {
48	hdmi0_out_con: endpoint {
49		remote-endpoint = <&hdmi0_con_in>;
50	};
51};
52
53&hdmi1 {
54	pinctrl-names = "default";
55	pinctrl-0 = <&hdmim0_tx1_cec &hdmim0_tx1_hpd
56			     &hdmim1_tx1_scl &hdmim1_tx1_sda>;
57	status = "okay";
58};
59
60&hdmi1_in {
61	hdmi1_in_vp1: endpoint {
62		remote-endpoint = <&vp1_out_hdmi1>;
63	};
64};
65
66&hdmi1_out {
67	hdmi1_out_con: endpoint {
68		remote-endpoint = <&hdmi1_con_in>;
69	};
70};
71
72&hdptxphy0 {
73	status = "okay";
74};
75
76&hdptxphy1 {
77	status = "okay";
78};
79
80&pinctrl {
81
82	usb {
83		usb_otg_pwren: usb-otg-pwren {
84			rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
85		};
86	};
87};
88
89&vp0 {
90	vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
91		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
92		remote-endpoint = <&hdmi0_in_vp0>;
93	};
94};
95
96&vp1 {
97	vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 {
98		reg = <ROCKCHIP_VOP2_EP_HDMI1>;
99		remote-endpoint = <&hdmi1_in_vp1>;
100	};
101};
102