summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap5/cpu.h
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2013-07-08 16:04:41 +0530
committerTom Rini <trini@ti.com>2013-07-26 16:39:11 -0400
commitb1e26e3bfb1d53d4fd713a2a5f11b7ddf2bcaeec (patch)
treeec8659574c4ec9856cf3287afed07ec16a5796f2 /arch/arm/include/asm/arch-omap5/cpu.h
parentf986d9720836433ded29f06c8f5aed462bd20924 (diff)
downloadblackbird-obmc-uboot-b1e26e3bfb1d53d4fd713a2a5f11b7ddf2bcaeec.tar.gz
blackbird-obmc-uboot-b1e26e3bfb1d53d4fd713a2a5f11b7ddf2bcaeec.zip
ARM: DRA7xx: Add CPSW support to DRA7xx EVM
Adding support for CPSW Ethernet support found in DRA7xx EVM Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap5/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-omap5/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap5/cpu.h b/arch/arm/include/asm/arch-omap5/cpu.h
index 3de5984948..fb5a568b69 100644
--- a/arch/arm/include/asm/arch-omap5/cpu.h
+++ b/arch/arm/include/asm/arch-omap5/cpu.h
@@ -99,6 +99,8 @@ struct watchdog {
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL_STRICT_NAMES */
+#define BIT(x) (1 << (x))
+
#define WD_UNLOCK1 0xAAAA
#define WD_UNLOCK2 0x5555
@@ -158,4 +160,8 @@ struct watchdog {
#define PRM_RSTST (PRM_DEVICE_BASE + 0x4)
#define PRM_RSTST_WARM_RESET_MASK 0x7FEA
+/* DRA7XX CPSW Config space */
+#define CPSW_BASE 0x48484000
+#define CPSW_MDIO_BASE 0x48485000
+
#endif /* _CPU_H */
OpenPOWER on IntegriCloud