1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2
3/dts-v1/;
4
5#include "imx8mp-skov-reva.dtsi"
6
7/ {
8	model = "SKOV IMX8MP CPU revC - TIAN G07017";
9	compatible = "skov,imx8mp-skov-revc-tian-g07017", "fsl,imx8mp";
10
11	panel {
12		compatible = "topland,tian-g07017-01";
13		backlight = <&backlight>;
14		power-supply = <&reg_tft_vcom>;
15
16		port {
17			in_lvds0: endpoint {
18				remote-endpoint = <&ldb_lvds_ch0>;
19			};
20		};
21	};
22};
23
24&backlight {
25	status = "okay";
26};
27
28&i2c2 {
29	clock-frequency = <100000>;
30	status = "okay";
31
32	touchscreen@38 {
33		compatible = "edt,edt-ft5506";
34		reg = <0x38>;
35		pinctrl-names = "default";
36		pinctrl-0 = <&pinctrl_touchscreen>;
37		interrupts-extended = <&gpio4 28 IRQ_TYPE_EDGE_FALLING>;
38		reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>;
39		touchscreen-size-x = <1024>;
40		touchscreen-size-y = <600>;
41		vcc-supply = <&reg_vdd_3v3>;
42		iovcc-supply = <&reg_vdd_3v3>;
43		wakeup-source;
44	};
45};
46
47&lcdif2 {
48	status = "okay";
49};
50
51&lvds_bridge {
52	assigned-clocks = <&clk IMX8MP_CLK_MEDIA_LDB>,
53				 <&clk IMX8MP_VIDEO_PLL1>;
54	assigned-clock-parents = <&clk IMX8MP_VIDEO_PLL1_OUT>;
55	/* IMX8MP_VIDEO_PLL1 = IMX8MP_CLK_MEDIA_DISP2_PIX * 2 * 7 */
56	assigned-clock-rates = <0>, <358400000>;
57	status = "okay";
58
59	ports {
60		port@1 {
61			ldb_lvds_ch0: endpoint {
62				remote-endpoint = <&in_lvds0>;
63			};
64		};
65	};
66};
67
68&pwm4 {
69	status = "okay";
70};
71
72&pwm1 {
73	status = "okay";
74};
75
76&reg_tft_vcom {
77	regulator-min-microvolt = <3160000>;
78	regulator-max-microvolt = <3160000>;
79	voltage-table = <3160000 73>;
80	status = "okay";
81};
82