summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rex/Kconfig1
-rw-r--r--src/mainboard/google/rex/variants/rex0/overridetree.cb11
2 files changed, 11 insertions, 1 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index 367cf091ac..bda753bbd6 100644
--- a/src/mainboard/google/rex/Kconfig
+++ b/src/mainboard/google/rex/Kconfig
@@ -3,6 +3,7 @@ config BOARD_GOOGLE_REX_COMMON
# FIXME: Rex Proto 0 only has 64MB SPINOR mounted on the board,
# and the plan is to use 32MB later with Proto 1 onwards.
select BOARD_ROMSIZE_KB_65536
+ select DRIVERS_I2C_GENERIC
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_BOARDID
select EC_GOOGLE_CHROMEEC_ESPI
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb
index 417d47bf7a..1e877d36c1 100644
--- a/src/mainboard/google/rex/variants/rex0/overridetree.cb
+++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb
@@ -201,7 +201,16 @@ chip soc/intel/meteorlake
device ref i2c0 on end
device ref i2c1 on end
device ref i2c2 on end
- device ref i2c3 on end
+ device ref i2c3 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B00_IRQ)"
+ register "wake" = "GPE0_DW0_00"
+ register "detect" = "1"
+ device i2c 15 on end
+ end
+ end
device ref sata on end
device ref i2c4 on
chip drivers/i2c/tpm