From d8d42c2f5f61c298d20500dd6f557f336b7e4972 Mon Sep 17 00:00:00 2001 From: "Zhao, Lijian" Date: Mon, 14 Mar 2016 14:19:22 -0700 Subject: mainboard/amenia: add the inital files for amenia board Add amenia board files Change-Id: I6731a348b4c0550d3b9381adb5fb83719f90a5da Signed-off-by: Bora Guvendik Reviewed-on: https://review.coreboot.org/14352 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/intel/amenia/acpi/mainboard.asl | 49 +++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/mainboard/intel/amenia/acpi/mainboard.asl (limited to 'src/mainboard/intel/amenia/acpi') diff --git a/src/mainboard/intel/amenia/acpi/mainboard.asl b/src/mainboard/intel/amenia/acpi/mainboard.asl new file mode 100644 index 0000000000..76c63b725f --- /dev/null +++ b/src/mainboard/intel/amenia/acpi/mainboard.asl @@ -0,0 +1,49 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2016 Intel Corp. + * (Written by Lance Zhao for Intel Corp.) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ +#include + +Scope (\_SB.PCI0.I2C4) +{ + Device (ETPA) + { + Name (_HID, "ELAN0000") + Name (_DDN, "Elan Touchpad") + Name (_UID, 1) + Name (ISTP, 1) /* Touchpad */ + + Name (_CRS, ResourceTemplate() + { + I2cSerialBus ( + 0x15, // SlaveAddress + ControllerInitiated, // SlaveMode + 400000, // ConnectionSpeed + AddressingMode7Bit, // AddressingMode + "\\_SB.PCI0.I2C4", // ResourceSource + ) + Interrupt (ResourceConsumer, Edge, ActiveLow) + { + GPIO_18_IRQ + } + }) + + Method (_STA) + { + Return (0xF) + } + + } +} -- cgit v1.2.3