2 * This file is part of the coreboot project.
4 * Copyright (C) 2013 Google Inc.
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 0x10ec0283, // Codec Vendor / Device ID: Realtek ALC283
21 0x10ec0283, // Subsystem ID
22 0x0000000b, // Number of jacks (NID entries)
24 /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10ec0283 */
25 AZALIA_SUBVENDOR(0x0, 0x10ec0283),
27 /* Pin Widget Verb Table */
29 /* Pin Complex (NID 0x12) DMIC - interior mobile lid */
30 AZALIA_PIN_CFG(0x0, 0x12, 0xb7a61010),
32 /* Pin Complex (NID 0x14) SPKR-OUT PORTD */
33 // group 1, front left/right
34 // no connector, no jack detect
35 // speaker out, analog
36 // fixed function, internal
37 AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
39 /* Pin Complex (NID 0x17) */
40 AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
42 /* Pin Complex (NID 0x18) MIC1 PORTB */
46 // connector, left panel
47 AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011),
49 /* Pin Complex (NID 0x19) MIC2 PORTF */
50 AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
52 /* Pin Complex (NID 0x1A) LINE1 PORTC */
53 AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
55 /* Pin Complex (NID 0x1B) LINE2 PORTE */
56 AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
58 /* Pin Complex (NID 0x1d) PCBeep */
59 // eapd low on ex-amp, laptop, custom enable
61 // pcbeep en able, checksum
62 // no physical, internal
63 AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
65 /* Pin Complex (NID 0x1E) SPDIF-OUT */
66 AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
68 /* Pin Complex (NID 0x21) HPOUT PORT-I */
72 // connector, left panel
73 AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
77 const u32 pc_beep_verbs
[0] = {};