zephyr/samples/subsys/input/input_dump/boards/esp32s3_devkitm_procpu.overlay
Sylvio Alves 4a4d7584ff boards: rename and update esp32 related conf and overlay files
There are several esp32-based boards that its conf and overlay
files are missing proper renaming to match cpu cluster.

This also removes all _SOC_ name from files.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-04-23 15:36:13 +02:00

37 lines
734 B
Plaintext

/*
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
&touch {
status = "okay";
touch_sensor_set: touch_sensor_0 {
channel-num = <9>;
channel-sens = <20>;
zephyr,code = <INPUT_KEY_0>;
};
touch_sensor_play: touch_sensor_1 {
channel-num = <8>;
channel-sens = <20>;
zephyr,code = <INPUT_KEY_1>;
};
touch_sensor_vol_inc: touch_sensor_2 {
channel-num = <6>;
channel-sens = <20>;
zephyr,code = <INPUT_KEY_2>;
};
touch_sensor_vol_dec: touch_sensor_3 {
channel-num = <4>;
channel-sens = <20>;
zephyr,code = <INPUT_KEY_3>;
};
};