Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Sanchayan Maity | 1b320bd | 2015-04-15 16:24:27 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Freescale USB PHY Register Definitions |
| 4 | * |
Sanchayan Maity | 1b320bd | 2015-04-15 16:24:27 +0530 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __REGS_USBPHY_H__ |
| 8 | #define __REGS_USBPHY_H__ |
| 9 | |
| 10 | #define USBPHY_CTRL 0x00000030 |
| 11 | #define USBPHY_CTRL_SET 0x00000034 |
| 12 | #define USBPHY_CTRL_CLR 0x00000038 |
| 13 | #define USBPHY_CTRL_TOG 0x0000003C |
| 14 | #define USBPHY_PWD 0x00000000 |
| 15 | #define USBPHY_TX 0x00000010 |
| 16 | #define USBPHY_RX 0x00000020 |
| 17 | #define USBPHY_DEBUG 0x00000050 |
| 18 | |
| 19 | #define USBPHY_CTRL_ENUTMILEVEL2 (1 << 14) |
| 20 | #define USBPHY_CTRL_ENUTMILEVEL3 (1 << 15) |
| 21 | #define USBPHY_CTRL_OTG_ID (1 << 27) |
| 22 | #define USBPHY_CTRL_CLKGATE (1 << 30) |
| 23 | #define USBPHY_CTRL_SFTRST (1 << 31) |
| 24 | |
| 25 | #endif /* __REGS_USBPHY_H__ */ |