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