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