diff options
author | Frank Vibrans <frank.vibrans@amd.com> | 2011-02-14 19:00:13 +0000 |
---|---|---|
committer | Marc Jones <marc.jones@amd.com> | 2011-02-14 19:00:13 +0000 |
commit | 7b904d84ba4e4e40149a8dcb98ca518e3bc6b911 (patch) | |
tree | 861660a46bf538b715faf1f8561df8801aed2577 /src/superio/smsc/kbc1100/kbc1100.h | |
parent | 6b4674e28978b1573d994b47f985ea98ad33a14b (diff) |
This code provides support for the superio chip on the AMD Inagua platform (not commercially available). It is independent of the AMD>code.
Signed-off-by: Frank Vibrans <frank.vibrans@amd.com>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6351 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/smsc/kbc1100/kbc1100.h')
-rw-r--r-- | src/superio/smsc/kbc1100/kbc1100.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/superio/smsc/kbc1100/kbc1100.h b/src/superio/smsc/kbc1100/kbc1100.h new file mode 100644 index 0000000000..710fdc8097 --- /dev/null +++ b/src/superio/smsc/kbc1100/kbc1100.h @@ -0,0 +1,32 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2011 Advanced Micro Devices, Inc. + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#define KBC1100_PM1 1 /* PM1 */ +#define SMSCSUPERIO_SP1 4 /* Com1 */ +#define SMSCSUPERIO_SP2 5 /* Com2 */ +#define KBC1100_KBC 7 /* Keyboard */ +#define KBC1100_EC0 8 /* EC Channel 0 */ +#define KBC1100_MAILBOX 9 /* Mail Box */ +#define KBC1100_GPIO 0x0A /* GPIO */ +#define KBC1100_SPI 0x0B /* Share flash interface */ + +#define KBC1100_EC1 0x0D /* EC Channel 1 */ +#define KBC1100_EC2 0x0E /* EC Channel 2 */ + + |