summaryrefslogtreecommitdiff
path: root/src/mainboard/google/stout/acpi/superio.asl
blob: 32ed70a9788b84eb16d0bd7adb27491f34cd287d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* SPDX-License-Identifier: GPL-2.0-only */

/* mainboard configuration */
#include "../ec.h"

#define SIO_EC_ENABLE_PS2K       // Enable PS/2 Keyboard

/* SIO_EC_ENABLE_PS2M is not defined in favor of custom ASL below */

/* ACPI code for EC SuperIO functions */
#include <ec/quanta/it8518/acpi/superio.asl>

/* Use multitouch trackpad */
Scope (\_SB.PCI0.LPCB.SIO)
{
	Device (PS2M)
	{
		Name (_HID, EISAID("LEN2011"))
		Name (_CID, EISAID("PNP0F13"))

		Method (_STA, 0, NotSerialized)
		{
			Return (0x0F)
		}

		Name (_CRS, ResourceTemplate()
		{
			FixedIO (0x60, 0x01)
			FixedIO (0x64, 0x01)
			IRQNoFlags () {12}
		})
	}
}