summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/braswell/include/soc/hda.h
blob: b98de0f3bb9c0d4687c09fef29db849fcd6dd75c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#ifndef _SOC_HDA_H_
#define _SOC_HDA_H_

/*
 * PCI config registers.
 */

#define HDA_DCKSTS		0x4d
# define HDA_DCKSTS_DS		(1 << 7)
# define HDA_DCKSTS_DM		(1 << 0)

#define HDA_DEVC		0x78
# define HDA_DEVC_MRRS		0x7000
# define HDA_DEVC_NSNPEN	(1 << 11)
# define HDA_DEVC_AUXPEN	(1 << 10)
# define HDA_DEVC_PEEN		(1 << 9)
# define HDA_DEVC_ETEN		(1 << 8)
# define HDA_DEVC_MAXPAY	0x00e0
# define HDA_DEVC_ROEN		(1 << 4)
# define HDA_DEVC_URREN		(1 << 3)
# define HDA_DEVC_FEREN		(1 << 2)
# define HDA_DEVC_NFEREN	(1 << 1)
# define HDA_DEVC_CEREN		(1 << 0)

#endif /* _SOC_HDA_H_ */