summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts
blob: 75813bc283da327c487f6619b8bd4e710904d522 (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
/*
 * Theobroma Systems RK3399-Q7 "Puma" with EDP enabled instead of HDMI
 */
#include "rk3399-puma.dts"

/ {
	edp_panel: edp_panel {
		// Generic 1920x1080x60 (FullHD) panel definition. Works well for normal DisplayPort monitors.
		compatible = "generic,1920x1080x60", "panel-simple";
		// 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
		//backlight = <&backlight>;
		//power-supply = <&vcc3v3_s0>;
		//pinctrl-names = "default";
		//pinctrl-0 = <&lcd_panel_reset>;
		ports {
			panel_in_edp: endpoint {
				remote-endpoint = <&edp_out_panel>;
			};
		};
	};
};

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

&edp {
	status = "okay";
	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";
};