blob: 6bb41ae6b34ec1e8206449fc166181ea846f731b [file] [log] [blame]
Daniel Kurtzb57799e2018-01-12 12:22:25 -08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2018 Google Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * 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 */
Akshu Agrawale11a1122018-03-19 10:30:47 +053015#include <soc/iomap.h>
Daniel Kurtzb57799e2018-01-12 12:22:25 -080016
17/* Grunt specific I2S machine driver */
18Device (I2S)
19{
20 Name (_ADR, 1)
21 Name (_HID, "AMD7219")
22 Name (_CID, "AMD7219")
Akshu Agrawale11a1122018-03-19 10:30:47 +053023
Akshu Agrawal0e9aa262018-04-13 16:39:46 +080024 /* Device-Specific Data */
25 Name (_DSD, Package ()
26 {
27 ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
28 Package ()
29 {
30 Package () { "bt-pad-enable", 1 },
31 }
32 })
33
Marc Jones4ae02812018-08-15 22:24:58 -060034 Method (_CRS, 0x0, Serialized) {
Akshu Agrawale11a1122018-03-19 10:30:47 +053035 Name (RBUF, ResourceTemplate () {
36 // Memory resource is for MISC FCH register set.
37 // It is needed for enabling the clock.
38 Memory32Fixed(ReadWrite, MISC_MMIO_BASE, 0x100)
39 })
40
41 Return (RBUF)
42 }
Daniel Kurtzb57799e2018-01-12 12:22:25 -080043}