summaryrefstree
path: root/kernel/include/dt-bindings/pci/pci.h
blob: 6c1535e68dcab96692278b8af482d91b2ebd915f (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
29
30
31
32
33
34
/*
 * This header provides constants for Exynos PCIe bindings.
 *
 * Copyright (C) 2015 Samsung Electronics Co., Ltd.
 *	Kisang Lee <kisang80.lee@samsung.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

#ifndef _DT_BINDINGS_EXYNOS_PCI_H
#define _DT_BINDINGS_EXYNOS_PCI_H

#define true		1
#define false		0

#define EP_NO_DEVICE		0
#define EP_BCM_WIFI		1
#define EP_SAMSUNG_S359 	2
#define EP_QC_MODEM		3
#define EP_SAMSUNG_MODEM	4
#define EP_QC_WIFI		5

/*
 * CAUTION - It SHOULD fit Target Link Speed Encoding
 * in Link Control2 Register(offset 0xA0)
 */
#define LINK_SPEED_GEN1		1
#define LINK_SPEED_GEN2		2
#define LINK_SPEED_GEN3		3

#endif