Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2014 Vladimir Serbinenko. |
| 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 | * or (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 15 | */ |
| 16 | |
Vladimir Serbinenko | 75c8387 | 2014-09-05 01:01:31 +0200 | [diff] [blame] | 17 | #include <device/azalia_device.h> |
| 18 | |
| 19 | const u32 cim_verb_data[] = { |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 20 | /* coreboot specific header */ |
| 21 | 0x83847680, /* Codec Vendor / Device ID: SigmaTel STAC9221 A1 */ |
| 22 | 0x106b2200, /* Subsystem ID */ |
| 23 | 0x0000000B, /* Number of 4 dword sets */ |
| 24 | |
| 25 | /* NID 0x01: Subsystem ID. */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 26 | AZALIA_SUBVENDOR(0x0, 0x106B2200), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 27 | |
| 28 | /* NID 0x0A. */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 29 | AZALIA_PIN_CFG(0x0, 0x0A, 0x0321E21F), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 30 | |
| 31 | /* NID 0x0B. */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 32 | AZALIA_PIN_CFG(0x0, 0x0B, 0x03A1E02E), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 33 | |
| 34 | /* NID 0x0C. */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 35 | AZALIA_PIN_CFG(0x0, 0x0C, 0x9017E110), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 36 | |
| 37 | /* NID 0x0D. */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 38 | AZALIA_PIN_CFG(0x0, 0x0D, 0x9017E11F), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 39 | |
| 40 | /* NID 0x0E. */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 41 | AZALIA_PIN_CFG(0x0, 0x0E, 0x400000FE), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 42 | |
| 43 | /* NID 0x0F */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 44 | AZALIA_PIN_CFG(0x0, 0x0F, 0x0381E020), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 45 | |
| 46 | /* NID 0x10 */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 47 | AZALIA_PIN_CFG(0x0, 0x10, 0x1345E230), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 48 | |
| 49 | /* NID 0x11 */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 50 | AZALIA_PIN_CFG(0x0, 0x11, 0x13C5E240), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 51 | |
| 52 | /* NID 0x15 */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 53 | AZALIA_PIN_CFG(0x0, 0x15, 0x400000FC), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 54 | |
| 55 | /* NID 0x1B. */ |
Vladimir Serbinenko | 02d674a | 2014-09-04 22:04:11 +0200 | [diff] [blame] | 56 | AZALIA_PIN_CFG(0x0, 0x1B, 0x400000FB), |
Vladimir Serbinenko | 7aa704b | 2014-03-03 00:44:38 +0100 | [diff] [blame] | 57 | |
| 58 | }; |
Vladimir Serbinenko | 75c8387 | 2014-09-05 01:01:31 +0200 | [diff] [blame] | 59 | |
| 60 | const u32 pc_beep_verbs[0] = {}; |
| 61 | |
| 62 | AZALIA_ARRAY_SIZES; |