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 = &ft5336_rk043fn02h_ct; 13 }; 14 15 lvgl_pointer { 16 compatible = "zephyr,lvgl-pointer-input"; 17 input = <&ft5336_rk043fn02h_ct>; 18 }; 19}; 20 21&nxp_touch_i2c { 22 status = "okay"; 23 ft5336_rk043fn02h_ct: ft5336@38 { 24 compatible = "focaltech,ft5336"; 25 reg = <0x38>; 26 int-gpios = <&nxp_i2c_touch_fpc 2 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 = <41>; 37 hfront-porch = <4>; 38 hback-porch = <8>; 39 vsync-len = <10>; 40 vfront-porch = <4>; 41 vback-porch = <2>; 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