zephyr/samples/sensor/qdec/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

42 lines
641 B
Text

/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
*/
/ {
aliases {
qdec0 = &pcnt;
};
};
&pinctrl {
pcnt_default: pcnt_default {
group1 {
pinmux = <PCNT0_CH0SIG_GPIO35>,
<PCNT0_CH0CTRL_GPIO36>;
bias-pull-up;
};
};
};
&pcnt {
pinctrl-0 = <&pcnt_default>;
pinctrl-names = "default";
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
unit0@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
filter = <100>;
channelA@0 {
reg = <0>;
sig-pos-mode = <2>;
sig-neg-mode = <1>;
ctrl-h-mode = <0>;
ctrl-l-mode = <1>;
};
};
};