xref: /rk3399_ARM-atf/plat/brcm/board/stingray/include/platform_usb.h (revision 29e11bb29922da1fede56700286a967701df8289)
1*682fe370SBharat Gooty /*
2*682fe370SBharat Gooty  * Copyright (c) 2019 - 2021, Broadcom
3*682fe370SBharat Gooty  *
4*682fe370SBharat Gooty  * SPDX-License-Identifier: BSD-3-Clause
5*682fe370SBharat Gooty  */
6*682fe370SBharat Gooty 
7*682fe370SBharat Gooty #ifndef PLATFORM_USB_H
8*682fe370SBharat Gooty #define PLATFORM_USB_H
9*682fe370SBharat Gooty 
10*682fe370SBharat Gooty #include <platform_def.h>
11*682fe370SBharat Gooty 
12*682fe370SBharat Gooty #define USB3_DRD		BIT(0U)
13*682fe370SBharat Gooty #define USB3H_USB2DRD		BIT(1U)
14*682fe370SBharat Gooty 
15*682fe370SBharat Gooty extern const unsigned int xhc_portsc_reg_offset[MAX_USB_PORTS];
16*682fe370SBharat Gooty 
17*682fe370SBharat Gooty void xhci_phy_init(void);
18*682fe370SBharat Gooty 
19*682fe370SBharat Gooty #endif /* PLATFORM_USB_H */
20