2 * This file is part of the coreboot project.
4 * Copyright (C) 2010 Uwe Hermann <uwe@hermann-uwe.de>
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.
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.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 * HDA codec soldered onto the ASUS M2N-E:
23 * Analog Devices AD1988B (High Definition Audio SoundMAX Codec), rev. 0x100200
24 * http://www.analog.com/static/imported-files/data_sheets/AD1988A_1988B.pdf
27 static const u32 mainboard_cim_verb_data[] = {
28 /* coreboot specific header */
29 0x11d4198b, /* Codec Vendor / Device ID: Analog Devices AD1988B */
30 0x104381f6, /* Subsystem ID (0x1043 == ASUS) */
31 0x0000000d, /* Number of "pin complex" entries in the table */
33 /* NID 0x01, FUNCTION, Designates this device as an audio codec */
34 /* Set the Implementation ID (IID), here: 0x104381f6. */
40 /* "Pin complex" HDA widgets. Comments: Node ID, Name, Description. */
42 /* NID 0x11, Port A, Front panel headphone jack */
48 /* NID 0x12, Port D, Rear panel front speaker jack */
54 /* NID 0x13, MONO_OUT, Monaural output pin */
60 /* NID 0x14, Port B, Front panel microphone jack */
66 /* NID 0x15, Port C, Rear panel line-in jack */
72 /* NID 0x16, Port F, Rear panel surround-back (5.1) jack */
78 /* NID 0x17, Port E, Rear panel microphone jack */
84 /* NID 0x18, CD IN, Analog CD input */
90 /* NID 0x1a, Analog PCBEEP, External analog PCBEEP signal input */
96 /* NID 0x1b, S/PDIF Out, S/PDIF output pin */
102 /* NID 0x1c, S/PDIF In, S/PDIF input pin */
108 /* NID 0x24, Port G, Rear panel C/LFE jack */
114 /* NID 0x25, Port H, Rear panel surround-side (7.1) jack */
121 extern const u32 *cim_verb_data;
122 extern u32 cim_verb_data_size;