aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2010-02-15 13:03:35 -0500
committerTony Lindgren <tony@atomide.com>2010-02-15 13:03:35 -0500
commit07dcbd07866691c33a3ff6f2d845292f23760669 (patch)
treefd8360a7d717ca08e0a6b8badaeed7dc2a804842
parente3d4d0a2385593e7873e7d7688eeffea949facff (diff)
AM35xx: Add AM35xx intr_clr & sw_rst cntrl reg bit definition
AM3517/05 has few additional control module registers to control the new IP's, like VPFE, USBOTG, CPGMAC. This patch adds the bit defination for INTR_CLR and SW_RST control register. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/plat-omap/include/plat/control.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/control.h b/arch/arm/plat-omap/include/plat/control.h
index fcdc71bf4c6e..207447399ad3 100644
--- a/arch/arm/plat-omap/include/plat/control.h
+++ b/arch/arm/plat-omap/include/plat/control.h
@@ -274,6 +274,23 @@
274#define AM35XX_CPGMAC_FCLK_SHIFT 9 274#define AM35XX_CPGMAC_FCLK_SHIFT 9
275#define AM35XX_VPFE_FCLK_SHIFT 10 275#define AM35XX_VPFE_FCLK_SHIFT 10
276 276
277/*AM35XX CONTROL_LVL_INTR_CLEAR bits*/
278#define AM35XX_CPGMAC_C0_MISC_PULSE_CLR BIT(0)
279#define AM35XX_CPGMAC_C0_RX_PULSE_CLR BIT(1)
280#define AM35XX_CPGMAC_C0_RX_THRESH_CLR BIT(2)
281#define AM35XX_CPGMAC_C0_TX_PULSE_CLR BIT(3)
282#define AM35XX_USBOTGSS_INT_CLR BIT(4)
283#define AM35XX_VPFE_CCDC_VD0_INT_CLR BIT(5)
284#define AM35XX_VPFE_CCDC_VD1_INT_CLR BIT(6)
285#define AM35XX_VPFE_CCDC_VD2_INT_CLR BIT(7)
286
287/*AM35XX CONTROL_IP_SW_RESET bits*/
288#define AM35XX_USBOTGSS_SW_RST BIT(0)
289#define AM35XX_CPGMACSS_SW_RST BIT(1)
290#define AM35XX_VPFE_VBUSP_SW_RST BIT(2)
291#define AM35XX_HECC_SW_RST BIT(3)
292#define AM35XX_VPFE_PCLK_SW_RST BIT(4)
293
277/* 294/*
278 * CONTROL OMAP STATUS register to identify OMAP3 features 295 * CONTROL OMAP STATUS register to identify OMAP3 features
279 */ 296 */