Marc Jones | a67d4fd | 2007-05-04 19:05:36 +0000 | [diff] [blame] | 1 | /* |
Stefan Reinauer | 7e61e45 | 2008-01-18 10:35:56 +0000 | [diff] [blame] | 2 | * This file is part of the coreboot project. |
Jordan Crouse | 4fcb3ba | 2007-05-10 17:58:11 +0000 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2007 Advanced Micro Devices, 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; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 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. |
Jordan Crouse | 4fcb3ba | 2007-05-10 17:58:11 +0000 | [diff] [blame] | 15 | */ |
Marc Jones | a67d4fd | 2007-05-04 19:05:36 +0000 | [diff] [blame] | 16 | |
Li-Ta Lo | 5d69896 | 2006-04-20 21:31:47 +0000 | [diff] [blame] | 17 | #ifndef _SOUTHBRIDGE_AMD_CS5536 |
| 18 | #define _SOUTHBRIDGE_AMD_CS5536 |
| 19 | |
Jordan Crouse | 2a133f7 | 2007-05-10 18:43:57 +0000 | [diff] [blame] | 20 | #define MAX_UNWANTED_VPCI 8 /* increase if needed */ |
Ronald G. Minnich | da7ee9f | 2006-07-21 19:21:38 +0000 | [diff] [blame] | 21 | |
Li-Ta Lo | 5d69896 | 2006-04-20 21:31:47 +0000 | [diff] [blame] | 22 | struct southbridge_amd_cs5536_config { |
Jordan Crouse | 2a133f7 | 2007-05-10 18:43:57 +0000 | [diff] [blame] | 23 | unsigned int lpc_serirq_enable; /* interrupt enables for LPC bus; each bit is an irq 0-15 */ |
| 24 | unsigned int lpc_serirq_polarity; /* LPC IRQ polarity; each bit is an irq 0-15 */ |
| 25 | unsigned char lpc_serirq_mode; /* 0:Continuous 1:Quiet */ |
| 26 | unsigned int enable_gpio_int_route; /* GPIO(0-0x20) for INT D:C:B:A, 0xFF=none. See virtual pci spec... */ |
Marc Jones | a67d4fd | 2007-05-04 19:05:36 +0000 | [diff] [blame] | 27 | unsigned char enable_ide_nand_flash; /* 0:IDE 1:FLASH, if you are using nand flash instead of IDE drive */ |
Jordan Crouse | 2a133f7 | 2007-05-10 18:43:57 +0000 | [diff] [blame] | 28 | unsigned char enable_USBP4_device; /* Enable USB Port 4 0:host 1:device */ |
Marc Jones | a67d4fd | 2007-05-04 19:05:36 +0000 | [diff] [blame] | 29 | unsigned int enable_USBP4_overcurrent; /* 0:off, xxxx:overcurrent setting, e.g. 0x3FEA CS5536 - Data Book (pages 380-381) */ |
Jordan Crouse | 2a133f7 | 2007-05-10 18:43:57 +0000 | [diff] [blame] | 30 | unsigned char com1_enable; /* enable COM1 */ |
| 31 | unsigned int com1_address; /* e.g. 0x3F8 */ |
| 32 | unsigned int com1_irq; /* e.g. 4 */ |
| 33 | unsigned char com2_enable; /* enable COM2 */ |
| 34 | unsigned int com2_address; /* e.g. 0x2F8 */ |
| 35 | unsigned int com2_irq; /* e.g. 3 */ |
Marc Jones | a67d4fd | 2007-05-04 19:05:36 +0000 | [diff] [blame] | 36 | unsigned int unwanted_vpci[MAX_UNWANTED_VPCI]; /* the following allow you to disable unwanted virtualized PCI devices */ |
Li-Ta Lo | 5d69896 | 2006-04-20 21:31:47 +0000 | [diff] [blame] | 37 | }; |
| 38 | |
Edward O'Callaghan | 309a7ff | 2014-08-09 21:38:56 +1000 | [diff] [blame] | 39 | #endif /* _SOUTHBRIDGE_AMD_CS5536 */ |