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