1/*
2 * Copyright (c) 2024 Renesas Electronics Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <zephyr/dt-bindings/display/panel.h>
8
9/{
10	chosen {
11		zephyr,display = &zephyr_lcdif;
12	};
13
14	lvgl_pointer {
15		compatible = "zephyr,lvgl-pointer-input";
16		input = <&gt911_rtkmipilcdb00000be>;
17	};
18};
19
20&renesas_mipi_i2c {
21	status = "okay";
22	gt911_rtkmipilcdb00000be: gt911-rtkmipilcdb00000be@5d {
23		compatible = "goodix,gt911";
24		reg = <0x5d>;
25		irq-gpios = <&renesas_mipi_connector 17 GPIO_ACTIVE_HIGH>;
26		reset-gpios = <&renesas_mipi_connector 18 GPIO_ACTIVE_LOW>;
27	};
28};
29
30&zephyr_mipi_dsi {
31	status = "okay";
32	ili9806e: ili9806e@0 {
33		status = "okay";
34		compatible = "ilitek,ili9806e-dsi";
35		reg = <0x0>;
36		height = <854>;
37		width = <480>;
38		data-lanes = <2>;
39		pixel-format = <MIPI_DSI_PIXFMT_RGB888>;
40	};
41};
42
43&zephyr_lcdif {
44	status = "okay";
45	width = <480>;
46	height = <854>;
47	input-pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>;
48	output-pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>;
49	display-timings {
50		compatible = "zephyr,panel-timing";
51		hsync-len = <2>;
52		hback-porch = <5>;
53		vsync-len = <3>;
54		vback-porch = <20>;
55		hsync-active = <0>;
56		vsync-active = <0>;
57		de-active = <1>;
58		pixelclk-active = <0>;
59		hfront-porch = <72>;
60		vfront-porch = <17>;
61	};
62	backlight-gpios = <&renesas_mipi_connector 15 GPIO_ACTIVE_HIGH>;
63};
64