2 * This file is part of the coreboot project.
4 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
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.
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.
16 #include <device/azalia_device.h>
18 const u32 cim_verb_data
[] = {
19 /* coreboot specific header */
20 0x10134210, // Codec Vendor / Device ID: Realtek ALC262
21 0x144db082, // Subsystem ID
22 0x00000007, // Number of jacks
24 /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x144dc0c2 */
25 AZALIA_SUBVENDOR(0x0, 0x144db082),
29 /* Pin Widget Verb Table */
31 /* Pin Complex (NID 0x05) */
32 AZALIA_PIN_CFG(0x0, 0x05, 0x022110f0),
34 /* Pin Complex (NID 0x06) */
35 AZALIA_PIN_CFG(0x0, 0x06, 0x901700f0),
37 /* Pin Complex (NID 0x07) */
38 AZALIA_PIN_CFG(0x0, 0x07, 0x02a110f0),
40 /* Pin Complex (NID 0x08) */
41 AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037),
43 /* Pin Complex (NID 0x09) */
44 AZALIA_PIN_CFG(0x0, 0x09, 0xb7a6003e),
46 /* Pin Complex (NID 0x0a) */
47 AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0)
50 const u32 pc_beep_verbs
[] = {
51 0x00170500, /* power up codec */
52 0x00270500, /* power up DAC */
53 0x00670500, /* power up speaker */
54 0x00670740, /* enable speaker output */
55 0x0023B04B, /* set DAC gain */