Patrick Rudolph | aae6e9c | 2016-12-30 17:02:04 +0100 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2008-2009 coresystems GmbH |
| 5 | * Copyright (C) 2016 Patrick Rudolph <siro@das-labor.org> |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU General Public License as |
| 9 | * published by the Free Software Foundation; version 2 of |
| 10 | * the License. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | */ |
| 17 | |
| 18 | #include <device/azalia_device.h> |
| 19 | |
| 20 | const u32 cim_verb_data[] = { |
| 21 | 0x10ec0269, /* Codec Vendor / Device ID: Realtek */ |
| 22 | 0x17aa21de, /* Subsystem ID */ |
| 23 | |
| 24 | 0x0000000b, /* Number of 4 dword sets */ |
| 25 | /* NID 0x01: Subsystem ID. */ |
| 26 | AZALIA_SUBVENDOR(0x0, 0x17aa21de), |
| 27 | |
| 28 | /* NID 0x12. */ |
| 29 | AZALIA_PIN_CFG(0x0, 0x12, 0x99a30920), |
| 30 | |
| 31 | /* NID 0x14. */ |
| 32 | AZALIA_PIN_CFG(0x0, 0x14, 0x99130110), |
| 33 | |
| 34 | /* NID 0x17. */ |
| 35 | AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), |
| 36 | |
| 37 | /* NID 0x18. */ |
| 38 | AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), |
| 39 | |
| 40 | /* NID 0x19. */ |
| 41 | AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), |
| 42 | |
| 43 | /* NID 0x1a. */ |
| 44 | AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), |
| 45 | |
| 46 | /* NID 0x1b. */ |
| 47 | AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), |
| 48 | |
| 49 | /* NID 0x1d. */ |
| 50 | AZALIA_PIN_CFG(0x0, 0x1d, 0x40079a2d), |
| 51 | |
| 52 | /* NID 0x1e. */ |
| 53 | AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), |
| 54 | |
| 55 | /* NID 0x21. */ |
| 56 | AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), |
| 57 | 0x80862805, /* Codec Vendor / Device ID: Intel */ |
| 58 | 0x80860101, /* Subsystem ID */ |
| 59 | |
| 60 | 0x00000004, /* Number of 4 dword sets */ |
| 61 | /* NID 0x01: Subsystem ID. */ |
| 62 | AZALIA_SUBVENDOR(0x3, 0x80860101), |
| 63 | |
| 64 | /* NID 0x05. */ |
| 65 | AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), |
| 66 | |
| 67 | /* NID 0x06. */ |
| 68 | AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), |
| 69 | |
| 70 | /* NID 0x07. */ |
| 71 | AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), |
| 72 | }; |
| 73 | |
| 74 | const u32 pc_beep_verbs[0] = {}; |
| 75 | |
| 76 | AZALIA_ARRAY_SIZES; |