summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2020-04-03 13:48:54 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-04-20 06:03:39 +0000
commitcae98879962c7c90e93c373ad6255da099305f35 (patch)
tree4a5cb3a4626bc8cd42d224ca8fb80dbcb4d8415d /src/mainboard/google
parentd06a6069156b8f1d20f02ded9f0edebcc09ca87e (diff)
downloadcoreboot-cae98879962c7c90e93c373ad6255da099305f35.tar.xz
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 <ericr_lai@compal.corp-partner.google.com> Change-Id: Ia354702c8054b5826d45896f7bff268335726028 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40114 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/deltaur/variants/baseboard/devicetree.cb2
-rw-r--r--src/mainboard/google/deltaur/variants/deltan/overridetree.cb12
2 files changed, 13 insertions, 1 deletions
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