esp32s2: drivers: pinmux: add pinmux support
on top of esp32 pinmux driver code. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
parent
7da555621c
commit
219fe5339d
3 changed files with 9 additions and 1 deletions
|
@ -15,6 +15,9 @@ CONFIG_UART_ROM_ESP32S2=y
|
|||
|
||||
CONFIG_XTENSA_USE_CORE_CRT1=n
|
||||
|
||||
CONFIG_PINMUX=y
|
||||
CONFIG_PINMUX_ESP32=y
|
||||
|
||||
CONFIG_GEN_ISR_TABLES=y
|
||||
CONFIG_GEN_IRQ_VECTOR_TABLE=n
|
||||
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
|
||||
config PINMUX_ESP32
|
||||
bool "ESP32 Pin multiplexer driver"
|
||||
depends on SOC_ESP32
|
||||
depends on SOC_ESP32 || SOC_ESP32S2
|
||||
help
|
||||
Enable driver for ESP32 Pin multiplexer.
|
||||
|
|
|
@ -37,6 +37,11 @@
|
|||
label = "UART_0";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pinmux: pinmux@3f409000 {
|
||||
compatible = "espressif,esp32-pinmux";
|
||||
reg = <0x3f409000 0x94>;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue