blob: f7b74a12fbc6cc09e84ac6a1e15c305fe27de829 [file] [log] [blame]
Duncan Laurieafad0562013-01-14 08:50:03 -08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 Google Inc.
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.
Duncan Laurieafad0562013-01-14 08:50:03 -080014 */
15
Vladimir Serbinenko75c83872014-09-05 01:01:31 +020016#include <device/azalia_device.h>
17
18const u32 cim_verb_data[] = {
Duncan Laurieafad0562013-01-14 08:50:03 -080019 /* coreboot specific header */
20 0x10134210, // Codec Vendor / Device ID: Cirrus Logic CS4210
21 0x10134210, // Subsystem ID
22 0x00000007, // Number of jacks
23
24 /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020025 AZALIA_SUBVENDOR(0x0, 0x10134210),
Duncan Laurieafad0562013-01-14 08:50:03 -080026
27 /* Pin Widget Verb Table */
28
29 /* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020030 AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0),
Duncan Laurieafad0562013-01-14 08:50:03 -080031
32 /* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020033 AZALIA_PIN_CFG(0x0, 0x06, 0x90170010),
Duncan Laurieafad0562013-01-14 08:50:03 -080034
35 /* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020036 AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0),
Duncan Laurieafad0562013-01-14 08:50:03 -080037
38 /* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020039 AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037),
Duncan Laurieafad0562013-01-14 08:50:03 -080040
41 /* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020042 AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e),
Duncan Laurieafad0562013-01-14 08:50:03 -080043
44 /* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020045 AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0),
Duncan Laurieafad0562013-01-14 08:50:03 -080046
47 /* coreboot specific header */
48 0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI
49 0x80860101, // Subsystem ID
50 0x00000004, // Number of jacks
51
52 /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020053 AZALIA_SUBVENDOR(0x0, 0x80860101),
Duncan Laurieafad0562013-01-14 08:50:03 -080054
55 /* Pin Complex (NID 0x05) Digital Out at Int HDMI */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020056 AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
Duncan Laurieafad0562013-01-14 08:50:03 -080057
58 /* Pin Complex (NID 0x06) Digital Out at Int HDMI */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020059 AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
Duncan Laurieafad0562013-01-14 08:50:03 -080060
61 /* Pin Complex (NID 0x07) Digital Out at Int HDMI */
Vladimir Serbinenko02d674a2014-09-04 22:04:11 +020062 AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
Duncan Laurieafad0562013-01-14 08:50:03 -080063};
Vladimir Serbinenko75c83872014-09-05 01:01:31 +020064
65const u32 pc_beep_verbs[0] = {};
66
67AZALIA_ARRAY_SIZES;