diff mbox

[U-Boot,v2,1/5] sunxi: add defines to control USB Host clocks/resets

Message ID 3d26f2f176de468bb8aabdc0fa5ae1efb02bc677.1405460093.git.rbyshko@gmail.com
State Changes Requested
Delegated to: Ian Campbell
Headers show

Commit Message

Roman Byshko July 15, 2014, 9:56 p.m. UTC
Signed-off-by: Roman Byshko <rbyshko@gmail.com>
---
 arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Ian Campbell July 16, 2014, 7:26 p.m. UTC | #1
On Tue, 2014-07-15 at 23:56 +0200, Roman Byshko wrote:
> Signed-off-by: Roman Byshko <rbyshko@gmail.com>

Acked-by: Ian Campbell <ijc@hellion.org.uk>
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
index 928f3f2..fe7348a 100644
--- a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
+++ b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
@@ -253,4 +253,8 @@  struct sunxi_ccm_reg {
 #define CCM_GMAC_CTRL_GPIT_MII (0x0 << 2)
 #define CCM_GMAC_CTRL_GPIT_RGMII (0x1 << 2)
 
+#define CCM_USB_CTRL_PHY1_RST (0x1 << 1)
+#define CCM_USB_CTRL_PHY2_RST (0x1 << 2)
+#define CCM_USB_CTRL_PHYGATE (0x1 << 8)
+
 #endif /* _SUNXI_CLOCK_SUN4I_H */