aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
diff options
context:
space:
mode:
authorJustin TerAvest <teravest@chromium.org>2018-01-30 10:49:32 -0700
committerAaron Durbin <adurbin@chromium.org>2018-01-31 20:25:43 +0000
commitb1204aab86a0b93671e2ee33ede41459254363c0 (patch)
tree89151d766d77a48b92e7f42a3f1c902b2c9ed293 /src/mainboard/google/kahlee/variants/grunt/devicetree.cb
parent215bc53117f81465d77d02ca6189e625a59318a6 (diff)
mb/google/kahlee: Add grunt trackpad in devicetree
This commit removes a manually written asl file in favor of configuring the trackpad through devicetree. BUG=b:72121803 TEST=cat /proc/interrupts with trackpad connected Change-Id: I38afcf89ea64ffaf6a10bb317c41154feda57e50 Signed-off-by: Justin TerAvest <teravest@chromium.org> Reviewed-on: https://review.coreboot.org/23508 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/kahlee/variants/grunt/devicetree.cb')
-rw-r--r--src/mainboard/google/kahlee/variants/grunt/devicetree.cb9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
index 91aa1f9182..a5864b8be9 100644
--- a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
+++ b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
@@ -82,6 +82,15 @@ chip soc/amd/stoneyridge
device pci 18.4 on end
device pci 18.5 on end
end #domain
+ device mmio 0xfedc4000 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_5)"
+ # TODO(teravest): Add wake
+ device i2c 15 on end
+ end
+ end
device mmio 0xfedc5000 on
chip drivers/i2c/generic
register "hid" = ""ELAN0001""