Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2013 DMP Electronics Inc. |
| 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; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef SOUTHBRIDGE_H |
| 17 | #define SOUTHBRIDGE_H |
| 18 | |
| 19 | #define SB PCI_DEV(0, 7, 0) |
| 20 | #define SB_REG_LPCCR 0x41 |
| 21 | #define SB_REG_FRCSCR 0x42 |
Andrew Wu | 5291432 | 2013-07-09 21:29:25 +0800 | [diff] [blame] | 22 | #define SB_REG_PIRQ_ROUTE 0x58 |
Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 23 | #define SB_REG_UART_CFG_IO_BASE 0x60 |
| 24 | #define SB_REG_GPIO_CFG_IO_BASE 0x62 |
| 25 | #define SB_REG_CS_BASE0 0x90 |
| 26 | #define SB_REG_CS_BASE_MASK0 0x94 |
| 27 | #define SB_REG_CS_BASE1 0x98 |
| 28 | #define SB_REG_CS_BASE_MASK1 0x9c |
| 29 | #define SB_REG_IPPCR 0xb0 |
Andrew Wu | 5291432 | 2013-07-09 21:29:25 +0800 | [diff] [blame] | 30 | #define SB_REG_EXT_PIRQ_ROUTE 0xb4 |
Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 31 | #define SB_REG_OCDCR 0xbc |
| 32 | #define SB_REG_IPFCR 0xc0 |
| 33 | #define SB_REG_FRWPR 0xc4 |
| 34 | #define SB_REG_STRAP 0xce |
Andrew Wu | a4ae310 | 2013-12-23 19:54:26 +0800 | [diff] [blame] | 35 | #define SB_REG_II2CCR 0xd4 |
Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 36 | |
Andrew Wu | 5291432 | 2013-07-09 21:29:25 +0800 | [diff] [blame] | 37 | #define SB1 PCI_DEV(0, 7, 1) |
| 38 | #define SB1_REG_EXT_PIRQ_ROUTE2 0xb4 |
| 39 | |
Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 40 | #define SYSTEM_CTL_PORT 0x92 |
| 41 | |
| 42 | #endif /* SOUTHBRIDGE_H */ |