summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/poppy/Kconfig3
-rw-r--r--src/mainboard/google/poppy/devicetree.cb13
2 files changed, 15 insertions, 1 deletions
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index db0ebb17db..52e3f01072 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -21,6 +21,9 @@ config CHROMEOS
config DRIVERS_I2C_GENERIC
def_bool y
+config DRIVERS_I2C_WACOM
+ def_bool y
+
config GBB_HWID
string
depends on CHROMEOS
diff --git a/src/mainboard/google/poppy/devicetree.cb b/src/mainboard/google/poppy/devicetree.cb
index a9e0cef1b1..72bb0b1f55 100644
--- a/src/mainboard/google/poppy/devicetree.cb
+++ b/src/mainboard/google/poppy/devicetree.cb
@@ -208,7 +208,18 @@ chip soc/intel/skylake
end # I2C #0
device pci 15.1 on end # I2C #1
device pci 15.2 on end # I2C #2
- device pci 15.3 on end # I2C #3
+ device pci 15.3 on
+ chip drivers/i2c/wacom
+ register "generic" = "{
+ .hid = WCOM50C1_HID,
+ .cid = PNP0C50_CID,
+ .desc = WCOM_DT_DESC,
+ .irq = IRQ_LEVEL_LOW(GPP_D1_IRQ),
+ }"
+ register "hid_desc_reg_offset" = "0x1"
+ device i2c 0x9 on end
+ end
+ end # I2C #3
device pci 16.0 on end # Management Engine Interface 1
device pci 16.1 off end # Management Engine Interface 2
device pci 16.2 off end # Management Engine IDE-R