2 * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef _QUARK_DEVICE_H_
8 #define _QUARK_DEVICE_H_
12 #define QUARK_HOST_BRIDGE PCI_BDF(0, 0, 0)
13 #define QUARK_MMC_SDIO PCI_BDF(0, 20, 0)
14 #define QUARK_UART0 PCI_BDF(0, 20, 1)
15 #define QUARK_USB_DEVICE PCI_BDF(0, 20, 2)
16 #define QUARK_USB_EHCI PCI_BDF(0, 20, 3)
17 #define QUARK_USB_OHCI PCI_BDF(0, 20, 4)
18 #define QUARK_UART1 PCI_BDF(0, 20, 5)
19 #define QUARK_EMAC0 PCI_BDF(0, 20, 6)
20 #define QUARK_EMAC1 PCI_BDF(0, 20, 7)
21 #define QUARK_SPI0 PCI_BDF(0, 21, 0)
22 #define QUARK_SPI1 PCI_BDF(0, 21, 1)
23 #define QUARK_I2C_GPIO PCI_BDF(0, 21, 2)
24 #define QUARK_PCIE0 PCI_BDF(0, 23, 0)
25 #define QUARK_PCIE1 PCI_BDF(0, 23, 1)
26 #define QUARK_LEGACY_BRIDGE PCI_BDF(0, 31, 0)
28 #endif /* _QUARK_DEVICE_H_ */