| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
/* mainboard configuration */ |
| 4 |
#include "../ec.h" |
| 5 |
|
| 6 |
#define SIO_EC_ENABLE_PS2K // Enable PS/2 Keyboard |
| 7 |
|
| 8 |
/* SIO_EC_ENABLE_PS2M is not defined in favor of custom ASL below */ |
| 9 |
|
| 10 |
/* ACPI code for EC SuperIO functions */ |
| 11 |
#include <ec/quanta/it8518/acpi/superio.asl> |
| 12 |
|
| 13 |
/* Use multitouch trackpad */ |
| 14 |
Scope (\_SB.PCI0.LPCB.SIO) |
| 15 |
{ |
| 16 |
Device (PS2M) |
| 17 |
{ |
| 18 |
Name (_HID, EISAID("LEN2011")) |
| 19 |
Name (_CID, EISAID("PNP0F13")) |
| 20 |
|
| 21 |
Method (_STA, 0, NotSerialized) |
| 22 |
{ |
| 23 |
Return (0x0F) |
| 24 |
} |
| 25 |
|
| 26 |
Name (_CRS, ResourceTemplate() |
| 27 |
{ |
| 28 |
FixedIO (0x60, 0x01) |
| 29 |
FixedIO (0x64, 0x01) |
| 30 |
IRQNoFlags () {12} |
| 31 |
}) |
| 32 |
} |
| 33 |
} |