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