summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts
blob: 9f995fd1c42a88abe94ae245eacdefecd26617c5 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
 * Copyright (c) 2017 Theobroma Systemd Design und Consulting GmbH
 *
 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 */


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

/ {
	edp_panel: edp_panel {
		// simple-panel does not define any timings - they are read from the monitor EDID.
		compatible = "simple-panel";
		// The enable gpio is used to switch the hardware multiplexer (U29) to DisplayPort.
		enable-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; // GPIO2_A2 = SEL_EDP_1V8
		ports {
			panel_in_edp: endpoint {
				remote-endpoint = <&edp_out_panel>;
			};
		};
	};
};

&vopl {
	status = "okay";
};
&vopl_mmu {
	status = "okay";
};

&edp {
	status = "okay";
	force-hpd;
	/delete-property/ pinctrl-0;
	ports {
		edp_out: port@1 {
			reg = <1>;
			#address-cells = <1>;
			#size-cells = <0>;

			edp_out_panel: endpoint@0 {
				reg = <0>;
				remote-endpoint = <&panel_in_edp>;
			};
		};
	};
};

&hdmi {
	status = "disabled";
};

&route_hdmi {
	status = "disabled";
};

&route_edp {
	status = "okay";
};