summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/zork/Kconfig1
-rw-r--r--src/mainboard/google/zork/variants/berknip/overridetree.cb14
-rw-r--r--src/mainboard/google/zork/variants/morphius/overridetree.cb14
-rw-r--r--src/mainboard/google/zork/variants/trembyle/overridetree.cb13
4 files changed, 42 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/Kconfig b/src/mainboard/google/zork/Kconfig
index f6061c5c7c..a226cd82ee 100644
--- a/src/mainboard/google/zork/Kconfig
+++ b/src/mainboard/google/zork/Kconfig
@@ -41,6 +41,7 @@ config BOARD_SPECIFIC_OPTIONS
select DRIVERS_GENERIC_MAX98357A
select HAVE_ACPI_RESUME
select DRIVERS_USB_ACPI
+ select DRIVERS_UART_ACPI
config ELOG_BOOT_COUNT_CMOS_OFFSET
int
diff --git a/src/mainboard/google/zork/variants/berknip/overridetree.cb b/src/mainboard/google/zork/variants/berknip/overridetree.cb
index fe83307954..18d615175a 100644
--- a/src/mainboard/google/zork/variants/berknip/overridetree.cb
+++ b/src/mainboard/google/zork/variants/berknip/overridetree.cb
@@ -88,4 +88,18 @@ chip soc/amd/picasso
device i2c 10 on end
end
end
+
+ device mmio 0xfedca000 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_WAKE(GPIO_6)"
+ register "wake" = "GEVENT_10"
+ register "uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
+ device generic 0 on end
+ end
+ end
+
end # chip soc/amd/picasso
diff --git a/src/mainboard/google/zork/variants/morphius/overridetree.cb b/src/mainboard/google/zork/variants/morphius/overridetree.cb
index b4a801566e..12d032ae64 100644
--- a/src/mainboard/google/zork/variants/morphius/overridetree.cb
+++ b/src/mainboard/google/zork/variants/morphius/overridetree.cb
@@ -80,4 +80,18 @@ chip soc/amd/picasso
device i2c 5d on end
end
end
+
+ device mmio 0xfedca000 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_WAKE(GPIO_6)"
+ register "wake" = "GEVENT_10"
+ register "uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
+ device generic 0 on end
+ end
+ end
+
end # chip soc/amd/picasso
diff --git a/src/mainboard/google/zork/variants/trembyle/overridetree.cb b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
index 46fada9f5f..22aced2afb 100644
--- a/src/mainboard/google/zork/variants/trembyle/overridetree.cb
+++ b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
@@ -159,4 +159,17 @@ chip soc/amd/picasso
end
end
+ device mmio 0xfedca000 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_WAKE(GPIO_6)"
+ register "wake" = "GEVENT_10"
+ register "uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
+ device generic 0 on end
+ end
+ end
+
end # chip soc/amd/picasso