Aaron Durbin | f6933a6 | 2012-10-30 09:09:39 -0500 | [diff] [blame] | 1 | /* |
| 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 | |
| 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 */ |
| 27 | 0x00172010, |
| 28 | 0x00172142, |
| 29 | 0x00172213, |
| 30 | 0x00172310, |
| 31 | |
| 32 | /* Pin Widget Verb Table */ |
| 33 | |
| 34 | /* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */ |
| 35 | 0x00571cf0, |
| 36 | 0x00571d20, |
| 37 | 0x00571e21, |
| 38 | 0x00571f02, |
| 39 | |
| 40 | /* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */ |
| 41 | 0x00671c10, |
| 42 | 0x00671d00, |
| 43 | 0x00671e17, |
| 44 | 0x00671f90, |
| 45 | |
| 46 | /* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */ |
| 47 | 0x00771cf0, |
| 48 | 0x00771d20, |
| 49 | 0x00771ea1, |
| 50 | 0x00771f02, |
| 51 | |
| 52 | /* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */ |
| 53 | 0x00871c37, |
| 54 | 0x00871d00, |
| 55 | 0x00871ea7, |
| 56 | 0x00871f77, |
| 57 | |
| 58 | /* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */ |
| 59 | 0x00971c3e, |
| 60 | 0x00971d00, |
| 61 | 0x00971ea6, |
| 62 | 0x00971f77, |
| 63 | |
| 64 | /* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */ |
| 65 | 0x00a71cf0, |
| 66 | 0x00a71d10, |
| 67 | 0x00a71e45, |
| 68 | 0x00a71f43, |
| 69 | |
| 70 | /* coreboot specific header */ |
| 71 | 0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI |
| 72 | 0x80860101, // Subsystem ID |
| 73 | 0x00000004, // Number of jacks |
| 74 | |
| 75 | /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ |
| 76 | 0x00172001, |
| 77 | 0x00172101, |
| 78 | 0x00172286, |
| 79 | 0x00172380, |
| 80 | |
| 81 | /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ |
| 82 | 0x30571c10, |
| 83 | 0x30571d00, |
| 84 | 0x30571e56, |
| 85 | 0x30571f18, |
| 86 | |
| 87 | /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ |
| 88 | 0x30671c20, |
| 89 | 0x30671d00, |
| 90 | 0x30671e56, |
| 91 | 0x30671f18, |
| 92 | |
| 93 | /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ |
| 94 | 0x30771c30, |
| 95 | 0x30771d00, |
| 96 | 0x30771e56, |
| 97 | 0x30771f18 |
| 98 | }; |