Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 1 | /* |
| 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. |
| 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 const u32 mainboard_cim_verb_data[] = { |
| 21 | /* coreboot specific header */ |
| 22 | 0x10134210, // Codec Vendor / Device ID: Cirrus Logic CS4210 |
| 23 | 0x10134210, // Subsystem ID |
| 24 | 0x00000007, // Number of jacks |
| 25 | |
| 26 | /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 27 | AZALIA_SUBVENDOR(0x0, 0x10134210), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 28 | |
| 29 | /* Pin Widget Verb Table */ |
| 30 | |
| 31 | /* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 32 | AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 33 | |
| 34 | /* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 35 | AZALIA_PIN_CFG(0x0, 0x06, 0x90170010), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 36 | |
| 37 | /* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 38 | AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 39 | |
| 40 | /* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 41 | AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 42 | |
| 43 | /* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 44 | AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 45 | |
| 46 | /* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 47 | AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 48 | |
| 49 | /* coreboot specific header */ |
| 50 | 0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI |
| 51 | 0x80860101, // Subsystem ID |
| 52 | 0x00000004, // Number of jacks |
| 53 | |
| 54 | /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 55 | AZALIA_SUBVENDOR(0x0, 0x80860101), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 56 | |
| 57 | /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 58 | AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 59 | |
| 60 | /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 61 | AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 62 | |
| 63 | /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame^] | 64 | AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) |
Duncan Laurie | afad056 | 2013-01-14 08:50:03 -0800 | [diff] [blame] | 65 | }; |