summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/cyan')
-rw-r--r--src/mainboard/google/cyan/acpi/mainboard.asl12
-rw-r--r--src/mainboard/google/cyan/onboard.h2
2 files changed, 10 insertions, 4 deletions
diff --git a/src/mainboard/google/cyan/acpi/mainboard.asl b/src/mainboard/google/cyan/acpi/mainboard.asl
index 31b9090809..9d68065f4c 100644
--- a/src/mainboard/google/cyan/acpi/mainboard.asl
+++ b/src/mainboard/google/cyan/acpi/mainboard.asl
@@ -46,8 +46,10 @@ Scope (\_SB.PCI0.I2C1)
AddressingMode7Bit, /* AddressingMode */
"\\_SB.PCI0.I2C1", /* ResourceSource */
)
- GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone,,
- "\\_SB.GPSW") { BOARD_TOUCH_GPIO_INDEX }
+ Interrupt (ResourceConsumer, Edge, ActiveLow)
+ {
+ BOARD_PRE_EVT_TOUCH_IRQ
+ }
} )
Name(BUF1,ResourceTemplate ()
@@ -59,8 +61,10 @@ Scope (\_SB.PCI0.I2C1)
AddressingMode7Bit, /* AddressingMode */
"\\_SB.PCI0.I2C1", /* ResourceSource */
)
- GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone,,
- "\\_SB.GPNC") { BOARD_EVT_TOUCH_GPIO_INDEX }
+ Interrupt (ResourceConsumer, Edge, ActiveLow)
+ {
+ BOARD_TOUCH_IRQ
+ }
} )
If (LEqual (\BDID, BOARD_EVT)) {
diff --git a/src/mainboard/google/cyan/onboard.h b/src/mainboard/google/cyan/onboard.h
index f03f1df1bd..1347d41a07 100644
--- a/src/mainboard/google/cyan/onboard.h
+++ b/src/mainboard/google/cyan/onboard.h
@@ -36,6 +36,8 @@
*/
/* ToDO: change kbd irq to gpio bank index */
#define BOARD_I8042_IRQ 182
+#define BOARD_TOUCH_IRQ 184
+#define BOARD_PRE_EVT_TOUCH_IRQ 156
/* SCI: Gpio index in N bank */