2 * Copyright (C) 2010 Michael Grzeschik <mgr@pengutronix.de>
3 * Copyright (C) 2010 Sascha Hauer <sha@pengutronix.de>
5 * This file is released under the GPLv2
9 #ifndef __USB_TWL4030_H
10 #define __USB_TWL4030_H
12 /* Defines for bits in registers */
13 #define OPMODE_MASK (3 << 3)
14 #define XCVRSELECT_MASK (3 << 0)
15 #define CARKITMODE (1 << 2)
16 #define OTG_ENAB (1 << 5)
17 #define PHYPWD (1 << 0)
18 #define CLOCKGATING_EN (1 << 2)
19 #define CLK32K_EN (1 << 1)
20 #define REQ_PHY_DPLL_CLK (1 << 0)
21 #define PHY_DPLL_CLK (1 << 0)
26 int twl4030_usb_ulpi_init(void);
28 #endif /* __USB_TWL4030_H */