summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/addw1/variants/addw2/overridetree.cb
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2021-09-20 10:34:14 -0600
committerFelix Held <felix-coreboot@felixheld.de>2021-09-22 13:46:59 +0000
commit67772d27a6d079a0af971bde81a27c4934268095 (patch)
treeecabd80a3fe27664709a2150aaa80d6f84ede3e7 /src/mainboard/system76/addw1/variants/addw2/overridetree.cb
parent6a93a4524205e66c16fdc568f7991b6d25887a22 (diff)
mb/system76/addw1: Add Adder WS 2 as a variant
Change-Id: I3965a90151bd9250a87dabc715d68a39699ff9e1 Signed-off-by: Jeremy Soller <jeremy@system76.com> Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48422 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/system76/addw1/variants/addw2/overridetree.cb')
-rw-r--r--src/mainboard/system76/addw1/variants/addw2/overridetree.cb22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mainboard/system76/addw1/variants/addw2/overridetree.cb b/src/mainboard/system76/addw1/variants/addw2/overridetree.cb
new file mode 100644
index 0000000000..44f945a104
--- /dev/null
+++ b/src/mainboard/system76/addw1/variants/addw2/overridetree.cb
@@ -0,0 +1,22 @@
+chip soc/intel/cannonlake
+ # Serial I/O
+ register "SerialIoDevMode" = "{
+ [PchSerialIoIndexI2C0] = PchSerialIoPci, // Touchpad I2C bus
+ [PchSerialIoIndexUART2] = PchSerialIoSkipInit, // Debug console
+ }"
+
+ device domain 0 on
+ subsystemid 0x1558 0x65e1 inherit
+
+ device pci 15.0 on # I2C #0
+ chip drivers/i2c/hid
+ register "generic.hid" = ""PNP0C50""
+ register "generic.desc" = ""Synaptics Touchpad""
+ register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_A14_IRQ)"
+ register "generic.probed" = "1"
+ register "hid_desc_reg_offset" = "0x20"
+ device i2c 2c on end
+ end
+ end
+ end
+end