summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quantatw.com>2016-11-27 16:31:22 +0800
committerMartin Roth <martinroth@google.com>2016-11-29 17:11:54 +0100
commit5cad9883f22234faa483fa7b6e2771a558cd3c64 (patch)
tree8d2fd2e6c7d12db91fe414ccc3f1ab1465dd85dc /src/mainboard/google/reef
parent02ca68d9fa46a136ed200d8fc9684cfbaebe69a9 (diff)
mainboard/google/snappy: Add digitizer device to devicetree
BUG=chrome-os-partner:59034 BRANCH=none TEST=emerge-snappy coreboot chromeos-bootimage Change-Id: Ib99ae5357274ad0824d0989888dfddcb32ace7e2 Signed-off-by: Wisley Chen <wisley.chen@quantatw.com> Reviewed-on: https://review.coreboot.org/17618 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef')
-rw-r--r--src/mainboard/google/reef/variants/snappy/devicetree.cb13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mainboard/google/reef/variants/snappy/devicetree.cb b/src/mainboard/google/reef/variants/snappy/devicetree.cb
index 00df9bd4b9..b024682aae 100644
--- a/src/mainboard/google/reef/variants/snappy/devicetree.cb
+++ b/src/mainboard/google/reef/variants/snappy/devicetree.cb
@@ -155,7 +155,18 @@ chip soc/intel/apollolake
device i2c 15 on end
end
end # - I2C 4
- device pci 17.1 on end # - I2C 5
+ device pci 17.1 on
+ chip drivers/i2c/wacom
+ register "generic" = "{
+ .hid = WCOM50C1_HID,
+ .cid = PNP0C50_CID,
+ .desc = WCOM_DT_DESC,
+ .irq = IRQ_LEVEL_LOW(GPIO_13_IRQ),
+ }"
+ register "hid_desc_reg_offset" = "0x1"
+ device i2c 0x9 on end
+ end
+ end # - I2C 5
device pci 17.2 on end # - I2C 6
device pci 17.3 on end # - I2C 7
device pci 18.0 on end # - UART 0