xref: /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3-android-edp.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd.
4 *
5 */
6
7/dts-v1/;
8
9#include "rk3399-evb-rev3.dtsi"
10#include "rk3399-android.dtsi"
11
12/ {
13	model = "Rockchip RK3399 Evaluation Board v3 edp (Android)";
14	compatible = "rockchip,android", "rockchip,rk3399-evb-rev3", "rockchip,rk3399";
15
16	edp_panel: edp-panel {
17		compatible = "lg,lp079qx1-sp0v", "panel-simple";
18		backlight = <&backlight>;
19		power-supply = <&vcc3v3_s0>;
20		enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
21
22		ports {
23			panel_in_edp: endpoint {
24				remote-endpoint = <&edp_out_panel>;
25			};
26		};
27	};
28};
29
30&i2s2 {
31	status = "okay";
32};
33
34&gt9xx {
35	status = "disabled";
36};
37
38&i2c4 {
39	gsl3673: gsl3673@40 {
40		compatible = "GSL,GSL3673";
41		reg = <0x40>;
42		screen_max_x = <1536>;
43		screen_max_y = <2048>;
44		irq_gpio_number = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>;
45		rst_gpio_number = <&gpio4 22 GPIO_ACTIVE_HIGH>;
46	};
47};
48
49&edp {
50	force-hpd;
51	status = "okay";
52
53	ports {
54		edp_out: port@1 {
55			reg = <1>;
56			#address-cells = <1>;
57			#size-cells = <0>;
58
59			edp_out_panel: endpoint@0 {
60				reg = <0>;
61				remote-endpoint = <&panel_in_edp>;
62			};
63		};
64	};
65};
66
67&route_edp {
68	status = "okay";
69};
70
71&firmware_android {
72	compatible = "android,firmware";
73	fstab {
74		compatible = "android,fstab";
75		system {
76			compatible = "android,system";
77			dev = "/dev/block/by-name/system";
78			type = "ext4";
79			mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
80			fsmgr_flags = "wait,verify";
81		};
82		vendor {
83			compatible = "android,vendor";
84			dev = "/dev/block/by-name/vendor";
85			type = "ext4";
86			mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
87			fsmgr_flags = "wait,verify";
88		};
89	};
90};
91