blob: 5092f33dfa09cc6cc6b8b9f242d49c362555ccec [file] [log] [blame]
Bin Meng9c7dea62015-05-25 22:35:04 +08001/*
2 * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef _DT_BINDINGS_INTEL_IRQ_H_
8#define _DT_BINDINGS_INTEL_IRQ_H_
9
10/* PCI interrupt pin */
11#define INTA 1
12#define INTB 2
13#define INTC 3
14#define INTD 4
15
16/* PIRQs */
17#define PIRQA 0
18#define PIRQB 1
19#define PIRQC 2
20#define PIRQD 3
21#define PIRQE 4
22#define PIRQF 5
23#define PIRQG 6
24#define PIRQH 7
25
26/* PCI bdf encoding */
27#ifndef PCI_BDF
28#define PCI_BDF(b, d, f) ((b) << 16 | (d) << 11 | (f) << 8)
29#endif
30
31#endif /* _DT_BINDINGS_INTEL_IRQ_H_ */