util/intelp2m: Print the current project version
[coreboot2.git] / src / mainboard / google / cyan / acpi / trackpad_atmel.asl
blobcc0ecd45f099fb6ee690958e20479261ad03b881
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 Scope (\_SB.PCI0.I2C6)
5         Device (ATPA)
6         {
7                 Name (_HID, "ATML0000")
8                 Name (_DDN, "Atmel Touchpad")
9                 Name (_UID, 2)
10                 Name (ISTP, 1) /* Touchpad */
11 #if CONFIG(CHROMEOS)
12                 Name (_PRW, Package() { BOARD_TRACKPAD_WAKE_GPIO, 0x3 })
13 #endif
14                 Name (_CRS, ResourceTemplate()
15                 {
16                         I2cSerialBus (
17                                 0x4a,                           // SlaveAddress
18                                 ControllerInitiated,            // SlaveMode
19                                 400000,                         // ConnectionSpeed
20                                 AddressingMode7Bit,             // AddressingMode
21                                 "\\_SB.PCI0.I2C6",              // ResourceSource
22                         )
23                         GpioInt (Level, ActiveLow, SharedAndWake, PullDefault,,
24                                 "\\_SB.GPNC") { BOARD_TRACKPAD_GPIO_INDEX }
25                 })
27                 Method (_STA)
28                 {
29                         If (\S6EN == 1) {
30                                 Return (0xF)
31                         } Else {
32                                 Return (0x0)
33                         }
34                 }
36                 /* Allow device to power off in S0 */
37                 Name (_S0W, 4)
38         }