]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/include/asm/mach-imx/regs-usbphy.h
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[people/ms/u-boot.git] / arch / arm / include / asm / mach-imx / regs-usbphy.h
CommitLineData
a94bb7a4
SM
1/*
2 * Freescale USB PHY Register Definitions
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 *
6 */
7
8#ifndef __REGS_USBPHY_H__
9#define __REGS_USBPHY_H__
10
11#define USBPHY_CTRL 0x00000030
12#define USBPHY_CTRL_SET 0x00000034
13#define USBPHY_CTRL_CLR 0x00000038
14#define USBPHY_CTRL_TOG 0x0000003C
15#define USBPHY_PWD 0x00000000
16#define USBPHY_TX 0x00000010
17#define USBPHY_RX 0x00000020
18#define USBPHY_DEBUG 0x00000050
19
20#define USBPHY_CTRL_ENUTMILEVEL2 (1 << 14)
21#define USBPHY_CTRL_ENUTMILEVEL3 (1 << 15)
22#define USBPHY_CTRL_OTG_ID (1 << 27)
23#define USBPHY_CTRL_CLKGATE (1 << 30)
24#define USBPHY_CTRL_SFTRST (1 << 31)
25
26#endif /* __REGS_USBPHY_H__ */