1# M5Stack Core2 board configuration
2# Copyright (c) 2022 AVSystem Sławomir Wolf Sp.j. (AVSystem)
3# Copyright (c) 2023 Martin Kiepfer <m.kiepfer@teleschirm.org>
4# SPDX-License-Identifier: Apache-2.0
5
6if BOARD_M5STACK_CORE2_ESP32_PROCPU
7
8config KERNEL_MEM_POOL
9	default y
10
11config GPIO_HOGS_INIT_PRIORITY
12	default 70
13
14config MFD_INIT_PRIORITY
15	default 70
16
17config REGULATOR_AXP192_INIT_PRIORITY
18	default 71
19
20config GPIO_AXP192_INIT_PRIORITY
21	default 72
22
23config REGULATOR_FIXED_INIT_PRIORITY
24	default 75
25
26config INPUT_FT5336_INTERRUPT
27	default y if INPUT
28
29config INPUT
30	default y
31
32configdefault LV_COLOR_16_SWAP
33	default y if LVGL
34
35# Increase initialization priority of MIPI DBI device, so that it initializes
36# after the GPIO controller
37if MIPI_DBI
38
39config MIPI_DBI_INIT_PRIORITY
40	default 82
41
42endif # MIPI_DBI
43
44endif # BOARD_M5STACK_CORE2_ESP32_PROCPU
45