1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * USB 3.0 DRD Controller
4  *
5  * (C) Copyright 2012-2014
6  *     Texas Instruments Incorporated, <www.ti.com>
7  */
8 
9 #ifndef __ASSEMBLY__
10 #include <linux/bitops.h>
11 #endif
12 
13 #define USB3_PHY_REF_SSP_EN		BIT(29)
14 #define USB3_PHY_OTG_VBUSVLDECTSEL	BIT(16)
15 
16 /* KEYSTONE2 XHCI PHY register structure */
17 struct keystone_xhci_phy {
18 	unsigned int phy_utmi;		/* ctl0 */
19 	unsigned int phy_pipe;		/* ctl1 */
20 	unsigned int phy_param_ctrl_1;	/* ctl2 */
21 	unsigned int phy_param_ctrl_2;	/* ctl3 */
22 	unsigned int phy_clock;		/* ctl4 */
23 	unsigned int phy_pll;		/* ctl5 */
24 };
25