summaryrefslogtreecommitdiff
path: root/src/mainboard/nvidia/l1_2pvv/hda_verb.c
blob: 780167af292ca2517e94ab4c7952f841b823a5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
 * This file is part of the coreboot project.
 *
 * Copyright (C) 2004 Tyan Computer
 * Copyright (C) 2006-2007 AMD
 * Copyright (C) 2007-2009 coresystems GmbH
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 */

static u32 mainboard_cim_verb_data[] = {
	/* coreboot specific header */
	0x10ec0880,	// Codec Vendor / Device ID: Realtek ALC880
	0x00000000,	// Subsystem ID
	0x0000000d,	// Number of jacks

	/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x0000e601 */
	AZALIA_SUBVENDOR(0x0, 0x0000e601),

	/* NID 0x14, FRONT-OUT-L/R */
	AZALIA_PIN_CFG(0x0, 0x14, 0x01014410),

	/* NID 0x15, SURR-OUT-L/R */
	AZALIA_PIN_CFG(0x0, 0x15, 0x01011412),

	/* NID 0x16, CEN/LFE-OUT */
	AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),

	/* NID 0x17, SIDE-SURR-L/R */
	AZALIA_PIN_CFG(0x0, 0x17, 0x01012014),

	/* NID 0x18, MIC1-L/R, VREFO */
	AZALIA_PIN_CFG(0x0, 0x18, 0x01a19c30),

	/* NID 0x19, MIC2-L/R, VREFO */
	AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c40),

	/* NID 0x1a, LINE1-L/R, VREFO */
	AZALIA_PIN_CFG(0x0, 0x1a, 0x01813431),

	/* NID 0x1b, LINE2-L/R, VREFO */
	AZALIA_PIN_CFG(0x0, 0x1b, 0x0221441f),

	/* NID 0x1c, CD-L/R / GND */
	AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),

	/* NID 0x1d, PCBEEP */
	AZALIA_PIN_CFG(0x0, 0x1d, 0x9983013e),

	/* NID 0x1e, S/PDIF-OUT */
	AZALIA_PIN_CFG(0x0, 0x1e, 0x01454120),

	/* NID 0x1f, S/PDIF-IN */
	AZALIA_PIN_CFG(0x0, 0x1f, 0x01c59150),
};
AZALIA_ARRAY_SIZES;