summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/variants/nami/devicetree.cb
diff options
context:
space:
mode:
authorvan_chen <van_chen@compal.corp-partner.google.com>2018-01-05 15:45:03 +0800
committerFurquan Shaikh <furquan@google.com>2018-01-15 03:47:40 +0000
commitb94b2c73068eba434cdd162fac1d50cf22524259 (patch)
tree3028813489008f89dfbd30e7f44643ab917780b8 /src/mainboard/google/poppy/variants/nami/devicetree.cb
parentfbcfdaf785df87e27dbf556566f8b8a09e3f73ad (diff)
mb/google/poppy/variants/nami: Enable elan touchpad
BUG=b:71838954 TEST= 1. emerge-nami coreboot chromeos-bootimage 2. check touchpad function 3. evtest /dev/input/event5: Elan Touchpad Change-Id: I14471d1473a3b3ecf15aaf362b47874704cd3bf0 Signed-off-by: van_chen <van_chen@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/23133 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/poppy/variants/nami/devicetree.cb')
-rw-r--r--src/mainboard/google/poppy/variants/nami/devicetree.cb9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/devicetree.cb b/src/mainboard/google/poppy/variants/nami/devicetree.cb
index 5e23d45a5f..0ea39fea98 100644
--- a/src/mainboard/google/poppy/variants/nami/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nami/devicetree.cb
@@ -250,7 +250,14 @@ chip soc/intel/skylake
device pci 14.1 off end # USB xDCI (OTG)
device pci 14.2 on end # Thermal Subsystem
device pci 15.0 on end # I2C #0
- device pci 15.1 on end # I2C #1
+ device pci 15.1 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E3_IRQ)"
+ device i2c 15 on end
+ end
+ end # I2C #1
device pci 15.2 on end # I2C #2
device pci 15.3 on
chip drivers/generic/max98357a