summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lippert/frontrunner-af/platform_cfg.h
diff options
context:
space:
mode:
authorJens Rottmann <JRottmann@LiPPERTembedded.de>2013-02-28 10:24:20 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-03-02 00:16:04 +0100
commit23d13b1d454a6482d436cc65f50bb367c027c10f (patch)
treef04969de66f9aee28844254007733d1f4e35bc5d /src/mainboard/lippert/frontrunner-af/platform_cfg.h
parent73d4965be99cc93cec277afca4cdae979433b2b0 (diff)
downloadcoreboot-23d13b1d454a6482d436cc65f50bb367c027c10f.tar.gz
coreboot-23d13b1d454a6482d436cc65f50bb367c027c10f.tar.bz2
coreboot-23d13b1d454a6482d436cc65f50bb367c027c10f.zip
LiPPERT FrontRunner-AF [2/2]: actually implement mainboard support
Step 2: change the Persimmon code to adapt it to the new board's hardware. The FrontRunner-AF is a PC/104+ form factor embedded board: - AMD Fusion G-T56N (1.65 GHz dual core) or T40R (1 GHz single core) APU - DDR3 SO-DIMM socket (1.5 or 1.35V) - VGA and LVDS (via Analogix ANX3110) - AMD A55E (Hudson-E1) southbridge - 6x USB 2.0 - 1x SATA, 1x CFast socket - HD Audio (via Realtek ALC886) - PCI and ISA (via ITE IT8888) - NEC uPD78F0532 microcontroller on I2C ("SEMA") - Intel I210 GbE (on APU PCIe x1) - SMSC SCH3112 SIO - PS/2 - 2x RS232/485 - 2x SST 25VF032B (SO8, soldered) 4 MB SPI flash (BIOS and failsafe BIOS) http://www.adlinktech.com/PD/web/PD_detail.php?pid=1131 Change-Id: Id55f89d224ad669b351c36128b12299802b721ba Signed-off-by: Jens Rottmann <JRottmann@LiPPERTembedded.de> Reviewed-on: http://review.coreboot.org/2553 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/lippert/frontrunner-af/platform_cfg.h')
-rw-r--r--src/mainboard/lippert/frontrunner-af/platform_cfg.h44
1 files changed, 23 insertions, 21 deletions
diff --git a/src/mainboard/lippert/frontrunner-af/platform_cfg.h b/src/mainboard/lippert/frontrunner-af/platform_cfg.h
index b0ac180420b7..b94d3e3cea44 100644
--- a/src/mainboard/lippert/frontrunner-af/platform_cfg.h
+++ b/src/mainboard/lippert/frontrunner-af/platform_cfg.h
@@ -77,7 +77,7 @@
* Usb Ehci3 Contoller (Bus 0 Dev 22 Func2) is define at BIT5
* Usb Ohci4 Contoller (Bus 0 Dev 20 Func5) is define at BIT6
*/
-#define USB_CONFIG 0x7F
+#define USB_CONFIG 0x3F
/**
* @def PCI_CLOCK_CTRL
@@ -90,7 +90,7 @@
* PCI SLOT 3 define at BIT3
* PCI SLOT 4 define at BIT4
*/
-#define PCI_CLOCK_CTRL 0x07
+#define PCI_CLOCK_CTRL 0x1F
/**
* @def SATA_CONTROLLER
@@ -180,13 +180,12 @@
* SDIN2 is define at BIT4 & BIT5
* SDIN3 is define at BIT6 & BIT7
*/
-//#define AZALIA_SDIN_PIN 0xAA
-#define AZALIA_SDIN_PIN 0x2A
+#define AZALIA_SDIN_PIN 0x02
/**
* @def GPP_CONTROLLER
*/
-#define GPP_CONTROLLER CIMX_OPTION_ENABLED
+#define GPP_CONTROLLER CIMX_OPTION_DISABLED
/**
* @def GPP_CFGMODE
@@ -225,29 +224,32 @@
* 0 - Enable
* 1 - Disable
*/
-#define GEC_CONFIG 0
+#define GEC_CONFIG 1
-static const CODECENTRY persimmon_codec_alc269[] =
+static const CODECENTRY frontrunneraf_codec_alc886[] = /* Realtek ALC886/8 */
{
- /* NID, PinConfig */
- {0x12, 0x411111F0},
- {0x14, 0x99130110},
- {0x21, 0x0121401F},
- {0x17, 0x411111F0},
- {0x18, 0x01A19820},
- {0x19, 0x411111F0},
- {0x1A, 0x0181302F},
- {0x1B, 0x411111F0},
- {0x1D, 0x40069E05},
- {0x1E, 0x411111F0},
- {0x20, 0x0001FFFF},
+ /* NID, PinConfig (Verbs 71F..C) */
+ {0x11, 0x411111F0}, /* NPC */
+ {0x12, 0x411111F0}, /* DMIC */
+ {0x14, 0x01214110}, /* FRONT (Port-D) */
+ {0x15, 0x01011112}, /* SURR (Port-A) */
+ {0x16, 0x01016111}, /* CEN/LFE (Port-G) */
+ {0x17, 0x411111F0}, /* SIDESURR (Port-H) */
+ {0x18, 0x01A19930}, /* MIC1 (Port-B) */
+ {0x19, 0x411111F0}, /* MIC2 (Port-F) */
+ {0x1A, 0x0181313F}, /* LINE1 (Port-C) */
+ {0x1B, 0x411111F0}, /* LINE2 (Port-E) */
+ {0x1C, 0x411111F0}, /* CD-IN */
+ {0x1D, 0x40132601}, /* BEEP-IN */
+ {0x1E, 0x01441120}, /* S/PDIF-OUT */
+ {0x1F, 0x01C46140}, /* S/PDIF-IN */
{0xff, 0xffffffff} /* end of table */
};
static const CODECTBLLIST codec_tablelist[] =
{
- {0x010ec0269, (CODECENTRY*)&persimmon_codec_alc269[0]},
- {0x0FFFFFFFFUL, (CODECENTRY*)0x0FFFFFFFFUL}
+ {0x10ec0888, (CODECENTRY*)&frontrunneraf_codec_alc886[0]},
+ {0xFFFFFFFF, (CODECENTRY*)0xFFFFFFFFL}
};
/**