Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
WingMan Kwok | 66c5b9f | 2014-09-05 22:26:23 +0300 | [diff] [blame] | 2 | /* |
| 3 | * USB 3.0 DRD Controller |
| 4 | * |
| 5 | * (C) Copyright 2012-2014 |
| 6 | * Texas Instruments Incorporated, <www.ti.com> |
WingMan Kwok | 66c5b9f | 2014-09-05 22:26:23 +0300 | [diff] [blame] | 7 | */ |
| 8 | |
Simon Glass | 4dcacfc | 2020-05-10 11:40:13 -0600 | [diff] [blame] | 9 | #ifndef __ASSEMBLY__ |
| 10 | #include <linux/bitops.h> |
| 11 | #endif |
| 12 | |
WingMan Kwok | 66c5b9f | 2014-09-05 22:26:23 +0300 | [diff] [blame] | 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 | }; |