diff options
-rw-r--r-- | src/mainboard/google/myst/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/google/myst/variants/baseboard/gpio.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/myst/variants/myst/overridetree.cb | 18 |
3 files changed, 20 insertions, 1 deletions
diff --git a/src/mainboard/google/myst/Kconfig b/src/mainboard/google/myst/Kconfig index dbce4d8417..a35596c96f 100644 --- a/src/mainboard/google/myst/Kconfig +++ b/src/mainboard/google/myst/Kconfig @@ -13,6 +13,7 @@ config BOARD_SPECIFIC_OPTIONS select DRIVERS_I2C_GENERIC select DRIVERS_I2C_HID select DRIVERS_WIFI_GENERIC + select DRIVERS_UART_ACPI select EC_GOOGLE_CHROMEEC select EC_GOOGLE_CHROMEEC_ESPI select EC_GOOGLE_CHROMEEC_SKUID diff --git a/src/mainboard/google/myst/variants/baseboard/gpio.c b/src/mainboard/google/myst/variants/baseboard/gpio.c index 9b0de5a349..79797638a7 100644 --- a/src/mainboard/google/myst/variants/baseboard/gpio.c +++ b/src/mainboard/google/myst/variants/baseboard/gpio.c @@ -68,7 +68,7 @@ static const struct soc_amd_gpio base_gpio_table[] = { /* WWAN_AUX_RST_L */ PAD_GPO(GPIO_39, HIGH), /* SOC_FP_RST_L */ - PAD_GPO(GPIO_40, HIGH), + PAD_GPO(GPIO_40, LOW), /* GPIO_41 - GPIO_66: Not available */ /* GPIO_67 (Unused) */ PAD_NC(GPIO_67), diff --git a/src/mainboard/google/myst/variants/myst/overridetree.cb b/src/mainboard/google/myst/variants/myst/overridetree.cb index d701dea49c..d230e508fa 100644 --- a/src/mainboard/google/myst/variants/myst/overridetree.cb +++ b/src/mainboard/google/myst/variants/myst/overridetree.cb @@ -93,4 +93,22 @@ chip soc/amd/phoenix device i2c 2a on end end end # I2C3 + device ref uart_1 on + chip drivers/uart/acpi + register "name" = ""CRFP"" + register "desc" = ""Fingerprint Reader"" + register "hid" = "ACPI_DT_NAMESPACE_HID" + register "compat_string" = ""google,cros-ec-uart"" + register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_18)" + register "wake" = "GEVENT_14" + register "uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)" + register "has_power_resource" = "1" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_40)" + register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_4)" + register "enable_delay_ms" = "3" + device generic 0 alias fpmcu on + probe FP UART + end + end + end end # chip soc/amd/phoenix |