1 /* This file is part of the coreboot project. */
2 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 #ifndef _SOC_APOLLOLAKE_USB_H_
5 #define _SOC_APOLLOLAKE_USB_H_
9 #define APOLLOLAKE_USB2_PORT_MAX 8
10 #define APOLLOLAKE_USB3_PORT_MAX 6
12 struct usb_port_config
{
17 struct usb2_eye_per_port
{
18 uint8_t Usb20PerPortTxPeHalf
;
19 uint8_t Usb20PerPortPeTxiSet
;
20 uint8_t Usb20PerPortTxiSet
;
21 uint8_t Usb20HsSkewSel
;
22 uint8_t Usb20IUsbTxEmphasisEn
;
23 uint8_t Usb20PerPortRXISet
;
24 uint8_t Usb20HsNpreDrvSel
;
25 uint8_t Usb20OverrideEn
;
28 /* USB overcurrent pins definition */
35 #define PORT_EN(pin) { \
45 #endif /* _SOC_APOLLOLAKE_USB_H_ */