summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+edp.dts
blob: cc05ed117c35b1308e6061a2c3355aae943d0ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
 * Copyright (c) 2017 Theobroma Systemd Design und Consulting GmbH
 *
 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 */

/*
 * Theobroma Systems RK3399-Q7 "Puma" with EDP and HDMI enabled
 */
#include "rk3399-puma-edp.dts"

// Bind HDMI<->VOPB and DP<->VOPL by dropping the other paths
//
// Drop the HDMI<->VOPL path
&vopl_out {
	/delete-node/ endpoint@2; // vopl_out_hdmi
};
&hdmi_in {
	/delete-node/ endpoint@1; // hdmi_in_vopl
};
// Drop the DP<->VOPB path
&vopb_out {
	/delete-node/ endpoint@0; // vopb_out_edp
};
&edp_in {
	/delete-node/ endpoint@0; // edp_in_vopb
};
// Fix display_subsystem routes that refer to nodes that were deleted above
&route_edp {
	connect = <&vopl_out_edp>;
};
&route_hdmi {
	connect = <&vopb_out_hdmi>;
};

// Enable HDMI
&hdmi {
	status = "okay";
};

&route_hdmi {
	status = "okay";
};