summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/variants/rex0/overridetree.cb
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rex/variants/rex0/overridetree.cb')
-rw-r--r--src/mainboard/google/rex/variants/rex0/overridetree.cb19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb
index 936ca79f6a..cab839489b 100644
--- a/src/mainboard/google/rex/variants/rex0/overridetree.cb
+++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb
@@ -212,7 +212,24 @@ chip soc/intel/meteorlake
device i2c 1a on end
end
end
- device ref i2c1 on end
+ device ref i2c1 on
+ chip drivers/i2c/hid
+ register "generic.hid" = ""ELAN6918""
+ register "generic.desc" = ""ELAN Touchscreen""
+ register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C07_IRQ)"
+ register "generic.probed" = "1"
+ register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C01)"
+ register "generic.reset_delay_ms" = "20"
+ register "generic.reset_off_delay_ms" = "2"
+ register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C00)"
+ register "generic.enable_delay_ms" = "1"
+ register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C06)"
+ register "generic.stop_off_delay_ms" = "2"
+ register "generic.has_power_resource" = "1"
+ register "hid_desc_reg_offset" = "0x01"
+ device i2c 10 on end
+ end
+ end
device ref i2c2 on end
device ref i2c3 on
chip drivers/i2c/generic