blob: 96770de362b1fe373f5240d491193acd5d0d42b5 [file] [log] [blame]
Aaron Durbinf6933a62012-10-30 09:09:39 -05001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved.
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
Vladimir Serbinenko75c83872014-09-05 01:01:31 +020020#include <device/azalia_device.h>
21
22const u32 cim_verb_data[] = {
Aaron Durbinf6933a62012-10-30 09:09:39 -050023 /* coreboot specific header */
24 0x10134210, // Codec Vendor / Device ID: Cirrus Logic CS4210
25 0x10134210, // Subsystem ID
26 0x00000007, // Number of jacks
27
28 /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020029 AZALIA_SUBVENDOR(0x0, 0x10134210),
Aaron Durbinf6933a62012-10-30 09:09:39 -050030
31 /* Pin Widget Verb Table */
32
33 /* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020034 AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0),
Aaron Durbinf6933a62012-10-30 09:09:39 -050035
36 /* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020037 AZALIA_PIN_CFG(0x0, 0x06, 0x90170010),
Aaron Durbinf6933a62012-10-30 09:09:39 -050038
39 /* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020040 AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0),
Aaron Durbinf6933a62012-10-30 09:09:39 -050041
42 /* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020043 AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037),
Aaron Durbinf6933a62012-10-30 09:09:39 -050044
45 /* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020046 AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e),
Aaron Durbinf6933a62012-10-30 09:09:39 -050047
48 /* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020049 AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0),
Aaron Durbinf6933a62012-10-30 09:09:39 -050050
51 /* coreboot specific header */
52 0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI
53 0x80860101, // Subsystem ID
54 0x00000004, // Number of jacks
55
56 /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020057 AZALIA_SUBVENDOR(0x0, 0x80860101),
Aaron Durbinf6933a62012-10-30 09:09:39 -050058
59 /* Pin Complex (NID 0x05) Digital Out at Int HDMI */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020060 AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
Aaron Durbinf6933a62012-10-30 09:09:39 -050061
62 /* Pin Complex (NID 0x06) Digital Out at Int HDMI */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020063 AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
Aaron Durbinf6933a62012-10-30 09:09:39 -050064
65 /* Pin Complex (NID 0x07) Digital Out at Int HDMI */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020066 AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
Aaron Durbinf6933a62012-10-30 09:09:39 -050067};
Vladimir Serbinenko75c83872014-09-05 01:01:31 +020068
69const u32 pc_beep_verbs[0] = {};
70
71AZALIA_ARRAY_SIZES;