xref: /OK3568_Linux_fs/kernel/scripts/dtc/include-prefixes/arm64/rockchip/rk3588-evb2-lp4-v10-edp2dp.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2// Copyright (c) 2021 Rockchip Electronics Co., Ltd.
3
4/dts-v1/;
5
6#include "rk3588-evb2-lp4.dtsi"
7#include "rk3588-android.dtsi"
8
9/ {
10	model = "Rockchip RK3588 EVB2 LP4 V10 eDP to DP Board";
11	compatible = "rockchip,rk3588-evb2-lp4-v10-edp2dp", "rockchip,rk3588";
12
13	dp-con {
14		compatible = "dp-connector";
15		status = "okay";
16
17		port {
18			dp_con_in_edp0: endpoint {
19				remote-endpoint = <&edp0_out_dp_con>;
20			};
21		};
22	};
23
24	edp0-sound {
25		compatible = "simple-audio-card";
26		simple-audio-card,name = "rockchip-edp-sound";
27
28		simple-audio-card,cpu {
29			sound-dai = <&spdif_tx3>;
30		};
31
32		simple-audio-card,codec {
33			sound-dai = <&edp0 1>;
34		};
35	};
36};
37
38&edp0 {
39	pinctrl-names = "default";
40	pinctrl-0 = <&hdmim0_tx0_hpd>;
41	#sound-dai-cells = <1>;
42	status = "okay";
43
44	ports {
45		port@1 {
46			reg = <1>;
47
48			edp0_out_dp_con: endpoint {
49				remote-endpoint = <&dp_con_in_edp0>;
50			};
51		};
52	};
53};
54
55&edp0_in_vp2 {
56	status = "okay";
57};
58
59&hdptxphy0 {
60	status = "okay";
61};
62
63&hdptxphy_hdmi0 {
64	status = "disabled";
65};
66
67&hdmi0 {
68	status = "disabled";
69};
70
71&spdif_tx3 {
72	status = "okay";
73};
74