1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd
4 * Copyright (c) 2020 Engicam srl
5 * Copyright (c) 2020 Amarula Solutions(India)
6 */
7
8/dts-v1/;
9#include "px30.dtsi"
10#include "px30-engicam-ctouch2.dtsi"
11#include "px30-engicam-px30-core.dtsi"
12
13/ {
14	model = "Engicam PX30.Core C.TOUCH 2.0 10.1\" Open Frame";
15	compatible = "engicam,px30-core-ctouch2-of10", "engicam,px30-core",
16		     "rockchip,px30";
17
18	backlight: backlight {
19		compatible = "pwm-backlight";
20		pwms = <&pwm0 0 25000 0>;
21	};
22
23	chosen {
24		stdout-path = "serial2:115200n8";
25	};
26
27	panel {
28		compatible = "ampire,am-1280800n3tzqw-t00h";
29		backlight = <&backlight>;
30		power-supply = <&vcc3v3_lcd>;
31		data-mapping = "vesa-24";
32
33		port {
34			panel_in_lvds: endpoint {
35				remote-endpoint = <&lvds_out_panel>;
36			};
37		};
38	};
39};
40
41&display_subsystem {
42	status = "okay";
43};
44
45&dsi_dphy {
46	status = "okay";
47};
48
49&lvds {
50	status = "okay";
51
52	ports {
53		port@1 {
54			reg = <1>;
55
56			lvds_out_panel: endpoint {
57				remote-endpoint = <&panel_in_lvds>;
58			};
59		};
60	};
61};
62
63&vopb {
64	status = "okay";
65};
66
67&vopb_mmu {
68	status = "okay";
69};
70
71&vopl {
72	status = "okay";
73};
74
75&vopl_mmu {
76	status = "okay";
77};
78