summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/storo
diff options
context:
space:
mode:
authorchenzanxi <chenzanxi@huaqin.corp-partner.google.com>2021-02-20 15:54:20 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-02-24 11:29:49 +0000
commit7eac884badcb3f49a7c895f8aff0e46195ff87bb (patch)
treef3599d419b52567e4c8aac7f5379af94a91dd2ba /src/mainboard/google/dedede/variants/storo
parent8be01465286ed24b2a816a8b1cef0b20b55496f6 (diff)
mb/google/dedede/var/storo: Enable ELAN touchpad
Add ELAN touchpad into devicetree for storo. BUG=b:177393444 BRANCH=dedede TEST=built storo firmware and verified touchpad function Change-Id: I95780d23b9ea5425d7762e850c25fd14d8a9caf4 Signed-off-by: chenzanxi <chenzanxi@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50979 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/variants/storo')
-rw-r--r--src/mainboard/google/dedede/variants/storo/overridetree.cb11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/variants/storo/overridetree.cb b/src/mainboard/google/dedede/variants/storo/overridetree.cb
index 404024b1d6..a92dbdb5f9 100644
--- a/src/mainboard/google/dedede/variants/storo/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/storo/overridetree.cb
@@ -37,6 +37,15 @@ chip soc/intel/jasperlake
}"
device domain 0 on
- device pci 15.0 on end
+ device pci 15.0 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
+ register "wake" = "GPE0_DW0_03"
+ register "probed" = "1"
+ device i2c 15 on end
+ end
+ end #I2C 0
end
end