From cae98879962c7c90e93c373ad6255da099305f35 Mon Sep 17 00:00:00 2001 From: Eric Lai Date: Fri, 3 Apr 2020 13:48:54 +0800 Subject: mb/google/deltaur: Enable Cirque touchpad for Deltan Reference Arcada to add device tree for Cirque touchpad. BUG=b:152931802 Signed-off-by: Eric Lai Change-Id: Ia354702c8054b5826d45896f7bff268335726028 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40114 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- .../google/deltaur/variants/baseboard/devicetree.cb | 2 +- src/mainboard/google/deltaur/variants/deltan/overridetree.cb | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb b/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb index a30c12d633..e0b3d500d9 100644 --- a/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb @@ -11,7 +11,7 @@ chip soc/intel/tigerlake # TODO: Figure out GPE DW1&2 register "pmc_gpe0_dw0" = "GPP_C" - #register "pmc_gpe0_dw1" = "??" + register "pmc_gpe0_dw1" = "GPP_E" #register "pmc_gpe0_dw2" = "??" # Wilco EC host command ranges diff --git a/src/mainboard/google/deltaur/variants/deltan/overridetree.cb b/src/mainboard/google/deltaur/variants/deltan/overridetree.cb index be1f29f2f2..13883d1ac0 100644 --- a/src/mainboard/google/deltaur/variants/deltan/overridetree.cb +++ b/src/mainboard/google/deltaur/variants/deltan/overridetree.cb @@ -28,4 +28,16 @@ chip soc/intel/tigerlake device i2c 34 on end end end # I2C #0 + + device pci 15.1 on + chip drivers/i2c/hid + register "generic.hid" = ""PNP0C50"" + register "generic.desc" = ""Cirque Touchpad"" + register "generic.irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_E7_IRQ)" + register "generic.probed" = "1" + register "generic.wake" = "GPE0_DW1_07" + register "hid_desc_reg_offset" = "0x20" + device i2c 2c on end + end + end # I2C #1 end -- cgit v1.2.3