From b5b53db8fece34913731eeda9bcb2b87a09c76cb Mon Sep 17 00:00:00 2001 From: Tobias Diedrich Date: Tue, 12 Dec 2017 23:08:42 +0100 Subject: intel/dcp847ske: Add superio ACPI declarations Tested on Linux 4.13.14: SuperIO resources show up as reserved in /proc/ioports and friends. Change-Id: I0363816fe048579413f1325dcfc9a6a8a9e48123 Signed-off-by: Tobias Diedrich Reviewed-on: https://review.coreboot.org/22835 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Felix Held --- src/mainboard/intel/dcp847ske/acpi/superio.asl | 29 +++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'src/mainboard/intel') diff --git a/src/mainboard/intel/dcp847ske/acpi/superio.asl b/src/mainboard/intel/dcp847ske/acpi/superio.asl index 09f905ee8f..aefb51d25e 100644 --- a/src/mainboard/intel/dcp847ske/acpi/superio.asl +++ b/src/mainboard/intel/dcp847ske/acpi/superio.asl @@ -1 +1,28 @@ -/* Dummy file required by pch.asl - No license necessary. */ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2016 secunet Security Networks AG + * Copyright (C) 2017 Tobias Diedrich + * + * 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; version 2 of the License. + * + * 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. + */ + +#undef SUPERIO_DEV +#undef SUPERIO_PNP_BASE +#define SUPERIO_DEV SIO0 +#define SUPERIO_PNP_BASE 0x4e + +#if !IS_ENABLED(CONFIG_DISABLE_UART_ON_TESTPADS) +#define NCT6776_SHOW_SP1 1 +#endif +#define NCT6776_SHOW_HWM 1 +#define NCT6776_SHOW_GPIO 1 + +#include "superio/nuvoton/nct6776/acpi/superio.asl" -- cgit v1.2.3