0542b4e76e1d602c469fd1836f4d05d51fd74f2b
[coreboot.git] / src / mainboard / iwave / iWRainbowG6 / hda_verb.h
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2009-2010 iWave Systems
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; 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 u32 mainboard_cim_verb_data[] = {
21         /* coreboot specific header */
22         0x111d76d5,     // Codec Vendor / Device ID: IDT / 92HD81
23         0x00000000,     // Subsystem ID
24         0x0000000a,     // Number of jacks
25
26         //Codec 92HD81 Yangtze 4ch Pin Port A, data = 0x02a11040
27         0x0A71C40,
28         0x0A71D10,
29         0x0A71EA1,
30         0x0A71F02,
31
32         //;Codec 92HD81 Yangtze 4ch Pin Port B, data = 0x0221101f
33         0x0B71C1F,
34         0x0B71D10,
35         0x0B71E21,
36         0x0B71F02,
37
38         //;Codec 92HD81 Yangtze 4ch Pin Port C, data = 0x400000f0
39         0x0C71CF0,
40         0x0C71D00,
41         0x0C71E00,
42         0x0C71F40,
43
44         //;Codec 92HD81 Yangtze 4ch Pin Port D, data = 0x10104110
45         0x0D71C10,
46         0x0D71D41,
47         0x0D71E10,
48         0x0D71F10,
49
50         //;Codec 92HD81 Yangtze 4ch Pin Port E, data = 0x400000f0
51         0x0E71CF0,
52         0x0E71D00,
53         0x0E71E00,
54         0x0E71F40,
55
56         //;Codec 92HD81 Yangtze 4ch Pin Port F, data = 0x400000f0
57         0x0F71CF0,
58         0x0F71D00,
59         0x0F71E00,
60         0x0F71F40,
61
62         //;Codec 92HD81 Yangtze 4ch Pin MonoOut, data = 0x40f000f0
63         0x1071CF0,
64         0x1071D00,
65         0x1071EF0,
66         0x1071F40,
67
68         //;Codec 92HD81 Yangtze 4ch Pin DMic0, data = 0x400000f0
69         0x1171CF0,
70         0x1171D00,
71         0x1171E00,
72         0x1171F40,
73
74         //;Codec 92HD81 Yangtze 4ch Pin Dig0Pin, data = 0x10402150
75         0x1F71C50,
76         0x1F71D21,
77         0x1F71E40,
78         0x1F71F10,
79
80         //;Codec 92HD81 Yangtze 4ch Pin Dig1Pin, data = 0x400000f0
81         0x2071CF0,
82         0x2071D00,
83         0x2071E00,
84         0x2071F40,
85
86         //; BTL Gain
87         0x017F417
88         // ; Gain = 16.79dB
89 };
90
91 extern const u32 *cim_verb_data;
92 extern u32 cim_verb_data_size;
93