10 #include <soc/iomap.h>
12 #include <soc/pci_devs.h>
14 #include <soc/ramstage.h>
80 0x4700 :
config->usb2_comp_bg);
87 config->usb2_per_port_lane0),
90 config->usb2_per_port_rcomp_hs_pullup0),
92 config->usb2_per_port_lane1),
95 config->usb2_per_port_rcomp_hs_pullup1),
97 config->usb2_per_port_lane2),
100 config->usb2_per_port_rcomp_hs_pullup2),
102 config->usb2_per_port_lane3),
105 config->usb2_per_port_rcomp_hs_pullup3),
135 if (
config->usb_route_to_xhci) {
159 static const struct pci_driver baytrail_ehci
__pci_driver = {
static int acpi_is_wakeup_s3(void)
static const struct reg_script ehci_disable_script[]
static const struct reg_script ehci_hc_reset[]
static const struct pci_driver baytrail_ehci __pci_driver
static struct device_operations ehci_device_ops
static const struct reg_script ehci_init_script[]
static void usb2_phy_init(struct device *dev)
static void ehci_init(struct device *dev)
static const struct reg_script ehci_clock_gating_script[]
#define USBPHY_PER_PORT_RCOMP_HS_PULLUP2
#define USBPHY_PER_PORT_RCOMP_HS_PULLUP0
#define USBPHY_PER_PORT_LANE1
#define USBPHY_PER_PORT_RCOMP_HS_PULLUP3
#define USBPHY_PER_PORT_RCOMP_HS_PULLUP1
#define USBPHY_PER_PORT_LANE0
#define USBPHY_PER_PORT_LANE2
#define USBPHY_PER_PORT_LANE3
static DEVTREE_CONST void * config_of(const struct device *dev)
#define ACPI_BASE_ADDRESS
#define RCBA_BASE_ADDRESS
#define PCI_BASE_ADDRESS_0
void pci_dev_enable_resources(struct device *dev)
void pci_dev_read_resources(struct device *dev)
void pci_dev_set_resources(struct device *dev)
#define REG_RES_RMW32(bar_, reg_, mask_, value_)
#define REG_RES_OR16(bar_, reg_, value_)
#define REG_RES_POLL32(bar_, reg_, mask_, value_, timeout_)
#define REG_PCI_OR32(reg_, value_)
#define REG_MMIO_WRITE32(reg_, value_)
#define REG_MMIO_RMW32(reg_, mask_, value_)
#define REG_SCRIPT_NEXT(next_)
void reg_script_run(const struct reg_script *script)
#define REG_PCI_WRITE8(reg_, value_)
void reg_script_run_on_dev(struct device *dev, const struct reg_script *step)
#define REG_PCI_OR16(reg_, value_)
#define REG_MMIO_OR32(reg_, value_)
#define REG_IO_RMW16(reg_, mask_, value_)
#define REG_PCI_RMW32(reg_, mask_, value_)
struct pci_operations soc_pci_ops
#define EHCI_SBRN_FLA_PWC
void southcluster_enable_dev(struct device *dev)
void(* read_resources)(struct device *dev)