blob: c2b91027aedaa75f454411c3dcb442a7a1ccea7f [file] [log] [blame]
Andrew Wu00bf6472013-06-26 21:24:59 +08001/*
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 Wu00bf6472013-06-26 21:24:59 +080014 */
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 Wu52914322013-07-09 21:29:25 +080022#define SB_REG_PIRQ_ROUTE 0x58
Andrew Wu00bf6472013-06-26 21:24:59 +080023#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 Wu52914322013-07-09 21:29:25 +080030#define SB_REG_EXT_PIRQ_ROUTE 0xb4
Andrew Wu00bf6472013-06-26 21:24:59 +080031#define SB_REG_OCDCR 0xbc
32#define SB_REG_IPFCR 0xc0
33#define SB_REG_FRWPR 0xc4
34#define SB_REG_STRAP 0xce
Andrew Wua4ae3102013-12-23 19:54:26 +080035#define SB_REG_II2CCR 0xd4
Andrew Wu00bf6472013-06-26 21:24:59 +080036
Andrew Wu52914322013-07-09 21:29:25 +080037#define SB1 PCI_DEV(0, 7, 1)
38#define SB1_REG_EXT_PIRQ_ROUTE2 0xb4
39
Andrew Wu00bf6472013-06-26 21:24:59 +080040#define SYSTEM_CTL_PORT 0x92
41
42#endif /* SOUTHBRIDGE_H */