blob: 989b0c315809b88f0b3306ace2b1bbec552515a5 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
WingMan Kwok66c5b9f2014-09-05 22:26:23 +03002/*
3 * USB 3.0 DRD Controller
4 *
5 * (C) Copyright 2012-2014
6 * Texas Instruments Incorporated, <www.ti.com>
WingMan Kwok66c5b9f2014-09-05 22:26:23 +03007 */
8
Simon Glass4dcacfc2020-05-10 11:40:13 -06009#ifndef __ASSEMBLY__
10#include <linux/bitops.h>
11#endif
12
WingMan Kwok66c5b9f2014-09-05 22:26:23 +030013#define USB3_PHY_REF_SSP_EN BIT(29)
14#define USB3_PHY_OTG_VBUSVLDECTSEL BIT(16)
15
16/* KEYSTONE2 XHCI PHY register structure */
17struct 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};