summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb7
-rw-r--r--src/mainboard/google/zork/variants/shuboz/overridetree.cb26
2 files changed, 26 insertions, 7 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
index c79f3629ee..824506437e 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
@@ -1,4 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-or-later
+fw_config
+ field TOUCHPAD 26
+ option REGULAR_TOUCHPAD 1
+ option NUMPAD_TOUCHPAD 0
+ end
+end
+
chip soc/amd/picasso
# Set FADT Configuration
diff --git a/src/mainboard/google/zork/variants/shuboz/overridetree.cb b/src/mainboard/google/zork/variants/shuboz/overridetree.cb
index bfdb7350cd..683cf93318 100644
--- a/src/mainboard/google/zork/variants/shuboz/overridetree.cb
+++ b/src/mainboard/google/zork/variants/shuboz/overridetree.cb
@@ -60,14 +60,26 @@ chip soc/amd/picasso
register "disable_gpio_export_in_crs" = "1"
device i2c 10 on end
end
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)"
+ register "wake" = "GEVENT_22"
+ register "probed" = "1"
+ device i2c 15 on
+ probe TOUCHPAD REGULAR_TOUCHPAD
+ end
+ end
chip drivers/i2c/hid
- register "generic.hid" = ""ELAN2702""
- register "generic.desc" = ""ELAN Touchpad""
- register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
- register "generic.wake" = "GEVENT_22"
- register "generic.probed" = "1"
- register "hid_desc_reg_offset" = "0x01"
- device i2c 15 on end
+ register "generic.hid" = ""ELAN2702""
+ register "generic.desc" = ""ELAN Touchpad""
+ register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
+ register "generic.wake" = "GEVENT_22"
+ register "generic.probed" = "1"
+ register "hid_desc_reg_offset" = "0x01"
+ device i2c 15 on
+ probe TOUCHPAD NUMPAD_TOUCHPAD
+ end
end
end # device
end # chip soc/amd/picasso