Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions boards/realtek/rts5912_evb/rts5912_evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,12 @@
pinctrl-names = "default";
pulses-per-round = <2>;
};

&espi0 {
status = "okay";
pinctrl-0 = < &espi_alert_gpio003 &espi_cs_gpio004
&espi_io3_gpio005 &espi_io2_gpio006
&espi_io1_gpio007 &espi_io0_gpio008
&espi_clk_gpio009 &espi_reset_gpio020>;
pinctrl-names = "default";
};
1 change: 1 addition & 0 deletions drivers/espi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ zephyr_library_sources_ifdef(CONFIG_ESPI_XEC_V2 espi_mchp_xec_v2.c)
zephyr_library_sources_ifdef(CONFIG_ESPI_XEC_V2 espi_mchp_xec_host_v2.c)
zephyr_library_sources_ifdef(CONFIG_ESPI_IT8XXX2 espi_it8xxx2.c)
zephyr_library_sources_ifdef(CONFIG_ESPI_TAF_XEC_V2 espi_saf_mchp_xec_v2.c)
zephyr_library_sources_ifdef(CONFIG_ESPI_RTS5912 espi_realtek_rts5912.c)
2 changes: 2 additions & 0 deletions drivers/espi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ source "drivers/espi/Kconfig.espi_emul"

source "drivers/espi/Kconfig.it8xxx2"

source "drivers/espi/Kconfig.rts5912"

module = ESPI
module-str = espi
source "subsys/logging/Kconfig.template.log_config"
Expand Down
34 changes: 34 additions & 0 deletions drivers/espi/Kconfig.rts5912
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright (c) 2025, Realtek, SIBG-SD7
# SPDX-License-Identifier: Apache-2.0

config ESPI_RTS5912
bool "Realtek RTS5912 eSPI Driver"
default y
depends on DT_HAS_REALTEK_RTS5912_ESPI_ENABLED
help
Enable the Realtek RTS5912 eSPI driver.

if ESPI_RTS5912

config ESPI_PERIPHERAL_8042_KBC
default y

config ESPI_PERIPHERAL_ACPI_SHM_REGION
default y

config ESPI_PERIPHERAL_HOST_IO
default y

config ESPI_PERIPHERAL_EC_HOST_CMD
default y

config ESPI_PERIPHERAL_DEBUG_PORT_80
default y

config ESPI_OOB_CHANNEL
default y

config ESPI_FLASH_CHANNEL
default y

endif
Loading