diff --git a/samples/modules/lvgl/demos/boards/da1469x_dk_pro.conf b/samples/modules/lvgl/demos/boards/da1469x_dk_pro.conf new file mode 100644 index 000000000000000..e415a1f05fd98cf --- /dev/null +++ b/samples/modules/lvgl/demos/boards/da1469x_dk_pro.conf @@ -0,0 +1,13 @@ +# +# Copyright (c) 2023 Renesas Electronics Corporation +# +# SPDX-License-Identifier: Apache-2.0 +# +# +CONFIG_HEAP_MEM_POOL_SIZE=4096 +CONFIG_LOG_MODE_MINIMAL=y +CONFIG_DISPLAY_LOG_LEVEL_DBG=y +CONFIG_INPUT_FT5336_INTERRUPT=y +CONFIG_LV_Z_POINTER_INPUT_MSGQ_COUNT=70 +CONFIG_LV_Z_BITS_PER_PIXEL=16 +CONFIG_DMA_LOG_LEVEL_INF=y diff --git a/samples/modules/lvgl/demos/boards/da1469x_dk_pro.overlay b/samples/modules/lvgl/demos/boards/da1469x_dk_pro.overlay new file mode 100644 index 000000000000000..f0de1a5a06a921e --- /dev/null +++ b/samples/modules/lvgl/demos/boards/da1469x_dk_pro.overlay @@ -0,0 +1,59 @@ +/* + * Copyright (c) 2023 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + #include + #include + +/ { + chosen { + zephyr,display = &display; + }; + + lvgl_pointer { + input = <&display_touch>; + status = "okay"; + swap-xy; + invert-x; + invert-y; + }; +}; + +&dma { + status = "okay"; +}; + +&i2c2 { + display_touch: ft6206@38 { + compatible = "focaltech,ft5336"; + status = "okay"; + reg = <0x38>; + int-gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; + }; +}; + +&display { + disp-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + status = "okay"; + width = <480>; + height = <272>; + pixel-format = ; + + /* Display settings for ST7282T2 conttoller */ + display-timings { + compatible = "zephyr,panel-timing"; + hsync-len = <2>; + hfront-porch = <2>; + hback-porch = <3>; + vsync-len = <2>; + vfront-porch = <2>; + vback-porch = <2>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <1>; + clock-frequency = <12000000>; + }; +};