summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/hatch')
-rw-r--r--src/mainboard/google/hatch/variants/scout/gpio.c2
-rw-r--r--src/mainboard/google/hatch/variants/scout/overridetree.cb16
2 files changed, 17 insertions, 1 deletions
diff --git a/src/mainboard/google/hatch/variants/scout/gpio.c b/src/mainboard/google/hatch/variants/scout/gpio.c
index 218d3db698..55154364ac 100644
--- a/src/mainboard/google/hatch/variants/scout/gpio.c
+++ b/src/mainboard/google/hatch/variants/scout/gpio.c
@@ -66,6 +66,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPI_APIC(GPP_D14, NONE, PLTRST, LEVEL, INVERT),
/* D15 : USI_RST_L */
PAD_CFG_GPO(GPP_D15, 1, DEEP),
+ /* D16 TOUCH_INT */
+ PAD_CFG_GPI_IRQ_WAKE(GPP_D16, NONE, PLTRST, LEVEL, INVERT),
/* E2 : Not connected */
PAD_NC(GPP_E2, NONE),
diff --git a/src/mainboard/google/hatch/variants/scout/overridetree.cb b/src/mainboard/google/hatch/variants/scout/overridetree.cb
index 1312966189..8e6bc7714b 100644
--- a/src/mainboard/google/hatch/variants/scout/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/scout/overridetree.cb
@@ -381,7 +381,21 @@ chip soc/intel/cannonlake
device pci 15.0 off
# RFU - Reserved for Future Use.
end # I2C #0
- device pci 15.1 on end # I2C #1, USI (Touch screen)
+ device pci 15.1 on # I2C #1, USI (Touch screen)
+ chip drivers/i2c/hid
+ register "generic.hid" = ""ILTK0001""
+ register "generic.desc" = ""ILITEK Touchscreen""
+ register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_D16_IRQ)"
+ register "generic.probed" = "1"
+ register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D15)"
+ register "generic.reset_delay_ms" = "600"
+ register "generic.wake" = "GPE0_DW2_16"
+ register "generic.has_power_resource" = "1"
+ register "generic.disable_gpio_export_in_crs" = "1"
+ register "hid_desc_reg_offset" = "0x01"
+ device i2c 41 on end
+ end
+ end
device pci 15.2 on end # I2C #2, SCALER
device pci 15.3 on end # I2C #3, TPU
device pci 16.0 on end # Management Engine Interface 1