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. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #ifndef SOUTHBRIDGE_H |
| 21 | #define SOUTHBRIDGE_H |
| 22 | |
| 23 | #define SB PCI_DEV(0, 7, 0) |
| 24 | #define SB_REG_LPCCR 0x41 |
| 25 | #define SB_REG_FRCSCR 0x42 |
Andrew Wu | 5291432 | 2013-07-09 21:29:25 +0800 | [diff] [blame] | 26 | #define SB_REG_PIRQ_ROUTE 0x58 |
Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 27 | #define SB_REG_UART_CFG_IO_BASE 0x60 |
| 28 | #define SB_REG_GPIO_CFG_IO_BASE 0x62 |
| 29 | #define SB_REG_CS_BASE0 0x90 |
| 30 | #define SB_REG_CS_BASE_MASK0 0x94 |
| 31 | #define SB_REG_CS_BASE1 0x98 |
| 32 | #define SB_REG_CS_BASE_MASK1 0x9c |
| 33 | #define SB_REG_IPPCR 0xb0 |
Andrew Wu | 5291432 | 2013-07-09 21:29:25 +0800 | [diff] [blame] | 34 | #define SB_REG_EXT_PIRQ_ROUTE 0xb4 |
Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 35 | #define SB_REG_OCDCR 0xbc |
| 36 | #define SB_REG_IPFCR 0xc0 |
| 37 | #define SB_REG_FRWPR 0xc4 |
| 38 | #define SB_REG_STRAP 0xce |
Andrew Wu | a4ae310 | 2013-12-23 19:54:26 +0800 | [diff] [blame^] | 39 | #define SB_REG_II2CCR 0xd4 |
Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 40 | |
Andrew Wu | 5291432 | 2013-07-09 21:29:25 +0800 | [diff] [blame] | 41 | #define SB1 PCI_DEV(0, 7, 1) |
| 42 | #define SB1_REG_EXT_PIRQ_ROUTE2 0xb4 |
| 43 | |
Andrew Wu | 00bf647 | 2013-06-26 21:24:59 +0800 | [diff] [blame] | 44 | #define SYSTEM_CTL_PORT 0x92 |
| 45 | |
| 46 | #endif /* SOUTHBRIDGE_H */ |