1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 29c7dea60SBin Meng /* 39c7dea60SBin Meng * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com> 49c7dea60SBin Meng */ 59c7dea60SBin Meng 69c7dea60SBin Meng #ifndef _DT_BINDINGS_INTEL_IRQ_H_ 79c7dea60SBin Meng #define _DT_BINDINGS_INTEL_IRQ_H_ 89c7dea60SBin Meng 99c7dea60SBin Meng /* PCI interrupt pin */ 109c7dea60SBin Meng #define INTA 1 119c7dea60SBin Meng #define INTB 2 129c7dea60SBin Meng #define INTC 3 139c7dea60SBin Meng #define INTD 4 149c7dea60SBin Meng 159c7dea60SBin Meng /* PIRQs */ 169c7dea60SBin Meng #define PIRQA 0 179c7dea60SBin Meng #define PIRQB 1 189c7dea60SBin Meng #define PIRQC 2 199c7dea60SBin Meng #define PIRQD 3 209c7dea60SBin Meng #define PIRQE 4 219c7dea60SBin Meng #define PIRQF 5 229c7dea60SBin Meng #define PIRQG 6 239c7dea60SBin Meng #define PIRQH 7 249c7dea60SBin Meng 259c7dea60SBin Meng /* PCI bdf encoding */ 269c7dea60SBin Meng #ifndef PCI_BDF 279c7dea60SBin Meng #define PCI_BDF(b, d, f) ((b) << 16 | (d) << 11 | (f) << 8) 289c7dea60SBin Meng #endif 299c7dea60SBin Meng 309c7dea60SBin Meng #endif /* _DT_BINDINGS_INTEL_IRQ_H_ */ 31