diff --git a/src/mainboard/intel/adlrvp/devicetree_m.cb b/src/mainboard/intel/adlrvp/devicetree_m.cb index 1a8c641ae3..b73ded1e10 100644 --- a/src/mainboard/intel/adlrvp/devicetree_m.cb +++ b/src/mainboard/intel/adlrvp/devicetree_m.cb @@ -275,6 +275,16 @@ chip soc/intel/alderlake register "hid_desc_reg_offset" = "0x01" device i2c 0a on end end + chip drivers/i2c/hid + register "generic.hid" = ""ELAN0000"" + register "generic.desc" = ""ELAN Touchpad"" + register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_D11_IRQ)" + register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H1)" + register "generic.wake" = "GPE0_DW1_11" + register "generic.probed" = "1" + register "generic.has_power_resource" = "1" + device i2c 15 on end + end end device ref i2c1 on chip drivers/intel/mipi_camera diff --git a/src/mainboard/intel/adlrvp/gpio_m.c b/src/mainboard/intel/adlrvp/gpio_m.c index 915b549e03..6eb670b7af 100644 --- a/src/mainboard/intel/adlrvp/gpio_m.c +++ b/src/mainboard/intel/adlrvp/gpio_m.c @@ -172,7 +172,13 @@ static const struct pad_config gpio_table[] = { PAD_CFG_GPI_APIC(GPP_E3, NONE, PLTRST, LEVEL, INVERT), /* E4 : SATA_DEVSLP0 ==> USB4_BB_RT_FORCE_PWR */ - PAD_CFG_GPO(GPP_E4, 0, DEEP) + PAD_CFG_GPO(GPP_E4, 0, DEEP), + + /* H1 : GPPC_H1_TCH_PAD_TCH_PNL2_LS_EN */ + PAD_CFG_GPO(GPP_H1, 0, PLTRST), + + /* D11 : TCH_PAD_INT_N */ + PAD_CFG_GPI_APIC(GPP_D11, NONE, PLTRST, LEVEL, INVERT) }; void variant_configure_gpio_pads(void)