mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / google / butterfly / acpi / mainboard.asl
blobf96dc11b0093a2015d402b44f567ed66c8ed746f
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <mainboard/google/butterfly/onboard.h>
5 Scope (\_SB) {
6         Device (LID0)
7         {
8                 Name (_HID, EisaId("PNP0C0D"))
9                 Method (_LID, 0)
10                 {
11                         \LIDS = \_SB.PCI0.LPCB.EC0.LIDF
12                         Return (\LIDS)
13                 }
14         }
16         Device (TPAD)
17         {
18                 Name(_HID, "CYSM0000")
19                 Name(_UID, 1)
20                 Name(_HRV, 2)
22                 // Trackpad Wake is GPIO11, wake from S3
23                 Name(_PRW, Package() { BOARD_TRACKPAD_WAKE_GPIO, 0x03 })
25                 Name(_CRS, ResourceTemplate()
26                 {
27                         // PIRQG -> GSI22
28                         Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
29                         {
30                                 BOARD_TRACKPAD_IRQ
31                         }
33                         // SMBUS Address 0x67
34                         VendorShort (ADDR) { BOARD_TRACKPAD_I2C_ADDR }
35                 })
36         }
40 // Battery information
41 Name (BATV, "GOOGLE")