Stefan Reinauer | 2e73e19 | 2010-01-17 13:52:50 +0000 | [diff] [blame] | 1 | /* |
Uwe Hermann | c70e9fc | 2010-02-15 23:10:19 +0000 | [diff] [blame] | 2 | * This file is part of the coreboot project. |
Stefan Reinauer | 2e73e19 | 2010-01-17 13:52:50 +0000 | [diff] [blame] | 3 | * |
Uwe Hermann | c70e9fc | 2010-02-15 23:10:19 +0000 | [diff] [blame] | 4 | * Copyright (C) 2008-2009 coresystems GmbH |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
Stefan Reinauer | 2e73e19 | 2010-01-17 13:52:50 +0000 | [diff] [blame] | 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Stefan Reinauer | 2e73e19 | 2010-01-17 13:52:50 +0000 | [diff] [blame] | 15 | */ |
Uwe Hermann | c70e9fc | 2010-02-15 23:10:19 +0000 | [diff] [blame] | 16 | |
Stefan Reinauer | 2e73e19 | 2010-01-17 13:52:50 +0000 | [diff] [blame] | 17 | // 0844d060 (old) |
| 18 | #define SYSCTL 0x80 // 08405061 |
| 19 | #define RIMUX (1 << 0) |
| 20 | |
| 21 | #define GENCTL 0x86 |
| 22 | #define FW1394_PRIO (0 << 0) |
| 23 | #define CARDBUS_PRIO (1 << 0) |
| 24 | #define FLASH_PRIO (2 << 0) |
| 25 | #define ROUNDR_PRIO (3 << 0) |
| 26 | #define DISABLE_OHCI (1 << 3) |
| 27 | #define DISABLE_SKTB (1 << 4) |
| 28 | #define DISABLE_FM (1 << 5) |
| 29 | #define P12V_SW_SEL (1 << 10) |
| 30 | |
| 31 | #define MFUNC 0x8c |
| 32 | |
| 33 | #define CARDCTL 0x91 |
| 34 | #define SPKROUTEN (1 << 1) |
| 35 | |
| 36 | #define DEVCTL 0x92 |
| 37 | #define INT_MODE_PAR (0 << 1) |
| 38 | #define INT_MODE_RSV (1 << 1) |
| 39 | #define INT_MODE_MIX (2 << 1) |
| 40 | #define INT_MODE_SER (3 << 1) |
| 41 | |
| 42 | #define INTA 0 |
| 43 | #define INTB 1 |
| 44 | #define INTC 2 |
| 45 | #define INTD 3 |