File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
boards/m5stack/m5stack_cores3 Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ # M5Stack CoreS3 board defconfig
2
+
3
+ # Copyright (c) 2024 TOKITA Hiroshi
4
+ # SPDX-License-Identifier: Apache-2.0
5
+
6
+ if BOARD_M5STACK_CORES3_ESP32S3_PROCPU || BOARD_M5STACK_CORES3_ESP32S3_PROCPU_SE
7
+
8
+ config INPUT_FT5336_INTERRUPT
9
+ default y if INPUT
10
+
11
+ config INPUT
12
+ default y
13
+
14
+ endif # BOARD_M5STACK_CORES3_ESP32S3_PROCPU || BOARD_M5STACK_CORES3_ESP32S3_PROCPU_SE
Original file line number Diff line number Diff line change 19
19
zephyr,code-partition = &slot0_partition;
20
20
zephyr,rtc = &bm8563_rtc;
21
21
zephyr,bt-hci = &esp32_bt_hci;
22
+ zephyr,touch = &ft6336_touch;
22
23
};
23
24
24
25
aliases {
31
32
rtc = &bm8563_rtc;
32
33
sdhc0 = &sd0;
33
34
};
35
+
36
+ lvgl_pointer {
37
+ compatible = "zephyr,lvgl-pointer-input";
38
+ input = <&ft6336_touch>;
39
+ };
34
40
};
35
41
36
42
&usb_serial {
91
97
int-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
92
98
};
93
99
};
100
+
101
+ ft6336_touch: ft5336@38 {
102
+ status = "okay";
103
+ compatible = "focaltech,ft5336";
104
+ reg = <0x38>;
105
+ int-gpios = <&aw9523b_gpio 10 GPIO_ACTIVE_LOW>;
106
+ reset-gpios = <&aw9523b_gpio 0 GPIO_ACTIVE_LOW>;
107
+ };
94
108
};
95
109
96
110
&i2c1 {
You can’t perform that action at this time.
0 commit comments