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

/ {
	edp_panel: edp_panel {
		// The "auo,b133htn01" is a 1920x1080x60hz panel with timings that seem to work fine
		// on external DisplayPort monitors.
		// See drivers/gpu/drm/panel/panel-simple.c for how to define custom panels.
		//compatible = "auo,b133htn01", "panel-simple";
		// Generic 1920x1200x60Hz definition that works well for an Iiyama PL2485W monitor
		// connected via DisplayPort.
		compatible = "generic,1920x1200x60", "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>;
			};
		};
	};
};

&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";
};

&edp_in_vopb {
	status = "enabled";
};