aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/acpi/mainboard.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/reef/acpi/mainboard.asl')
-rw-r--r--src/mainboard/google/reef/acpi/mainboard.asl44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/acpi/mainboard.asl b/src/mainboard/google/reef/acpi/mainboard.asl
index 06b2efc9ac..5471488085 100644
--- a/src/mainboard/google/reef/acpi/mainboard.asl
+++ b/src/mainboard/google/reef/acpi/mainboard.asl
@@ -14,6 +14,7 @@
*/
#include "acpi/superio.asl"
+#include "../gpio.h"
Scope (\_SB)
{
@@ -32,6 +33,49 @@ Scope (\_SB)
}
}
+Scope (\_SB.PCI0.I2C4)
+{
+ /* Standard Mode: HCNT, LCNT, SDA Hold Register */
+ /* SDA Hold register value of 40 indicates
+ * sda hold time of 0.3us for ic_clk of 133MHz
+ */
+ Name (SSCN, Package () { 0, 0, 40 })
+
+ /* Fast Mode: HCNT, LCNT, SDA Hold Register */
+ /* SDA Hold register value of 40 indicates
+ * sda hold time of 0.3us for ic_clk of 133MHz
+ */
+ Name (FMCN, Package () { 0, 0, 40 })
+
+ Device (ETPA)
+ {
+ Name (_HID, "ELAN0000")
+ Name (_DDN, "Elan Touchpad")
+ Name (_UID, 1)
+ Name (ISTP, 1) /* Touchpad */
+
+ Name (_CRS, ResourceTemplate()
+ {
+ I2cSerialBus (
+ 0x15, // SlaveAddress
+ ControllerInitiated, // SlaveMode
+ 400000, // ConnectionSpeed
+ AddressingMode7Bit, // AddressingMode
+ "\\_SB.PCI0.I2C4", // ResourceSource
+ )
+ Interrupt (ResourceConsumer, Edge, ActiveLow)
+ {
+ TOUCHPAD_INT
+ }
+ })
+
+ Method (_STA)
+ {
+ Return (0xF)
+ }
+ }
+}
+
/*
* LPC Trusted Platform Module
*/