0edd0f3607134d5cfd9f88efa6a9bd78190d81c8
[coreboot.git] / src / mainboard / getac / p470 / hda_verb.h
1 /*
2  * This file is part of the coreboot project.
3  * 
4  * Copyright (C) 2007-2009 coresystems GmbH
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by 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.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19
20 static const u32 mainboard_cim_verb_data[] = {
21         /* coreboot specific header */
22         0x10ec0262,     // Codec Vendor / Device ID: Realtek ALC262
23         0x10714700,     // Subsystem ID
24         0x0000000d,     // Number of jacks
25
26         /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10ec0000 */
27         0x00172000,
28         0x00172100,
29         0x001722EC,
30         0x00172310,
31
32         /* Pin Widget Verb Table */
33
34         /* Pin Complex (NID 0x12), DMIC */
35         0x01271CF0,
36         0x01271D11,
37         0x01271E11,
38         0x01271F41,
39
40         /* Pin Complex (NID 0x14), LINE_OUT (port D) */
41         0x01471C10,
42         0x01471D01,
43         0x01471E13,
44         0x01471F99,
45
46         /* Pin Complex (NID 0x15), HP_OUT (port A) */
47         0x01571C20,
48         0x01571D40,
49         0x01571E21,
50         0x01571F01,
51
52         /* Pin Complex (NID 0x16), MONO-OUT */
53         0x01671CF0,
54         0x01671D11,
55         0x01671E11,
56         0x01671F41,
57
58         /* Pin Complex (NID 0x18), MIC1 (port B) */
59         0x01871C30,
60         0x01871D98,
61         0x01871EA1,
62         0x01871F01,
63
64         /* Pin Complex (NID 0x19), MIC2 (port F) */
65         0x01971C31,
66         0x01971D09,
67         0x01971EA3,
68         0x01971F99,
69
70         /* Pin Complex (NID 0x1A), LINE1 (port C) */
71         0x01A71C3F,
72         0x01A71D98,
73         0x01A71EA1,
74         0x01A71F02,
75
76         /* Pin Complex (NID 0x1B), LINE2 (port E) */
77         0x01B71C1F,
78         0x01B71D40,
79         0x01B71E21,
80         0x01B71F02,
81
82         /* Pin Complex (NID 0x1C), CD_IN */
83         0x01C71CF0,
84         0x01C71D11,
85         0x01C71E11,
86         0x01C71F41,
87
88         /* Pin Complex (NID 0x1D), PCBEEP */
89         0x01D71CF0,
90         0x01D71D11,
91         0x01D71E11,
92         0x01D71F41,
93
94         /* Pin Complex (NID 0x1E), S/PDIF-OUT */
95         0x01E71CF0,
96         0x01E71D11,
97         0x01E71E11,
98         0x01E71F41,
99
100         /* Pin Complex (NID 0x1F), S/PDIF-IN */
101         0x01F71CF0,
102         0x01F71D11,
103         0x01F71E11,
104         0x01F71F41,
105 };
106
107 extern const u32 *cim_verb_data;
108 extern u32 cim_verb_data_size;
109