1/*
2 * Copyright 2024, NXP
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_rk043fn66hs_ctg>;
17	};
18};
19
20&nxp_touch_i2c {
21	status = "okay";
22	gt911_rk043fn66hs_ctg: gt911@5d {
23		compatible = "goodix,gt911";
24		reg = <0x5d>;
25		irq-gpios = <&nxp_i2c_touch_fpc 2 GPIO_ACTIVE_HIGH>;
26		reset-gpios = <&nxp_i2c_touch_fpc 1 GPIO_ACTIVE_LOW>;
27	};
28};
29
30&zephyr_lcdif {
31	status = "okay";
32	width = <480>;
33	height = <272>;
34	display-timings {
35		compatible = "zephyr,panel-timing";
36		hsync-len = <4>;
37		hfront-porch = <8>;
38		hback-porch = <43>;
39		vsync-len = <4>;
40		vfront-porch = <8>;
41		vback-porch = <12>;
42		de-active= <1>;
43		pixelclk-active = <1>;
44		hsync-active = <0>;
45		vsync-active = <0>;
46		clock-frequency = <9210240>;
47	};
48	pixel-format = <PANEL_PIXEL_FORMAT_BGR_565>;
49	data-bus-width = "16-bit";
50	backlight-gpios = <&nxp_parallel_lcd_connector 0 GPIO_ACTIVE_HIGH>;
51};
52