summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-am33xx/cpu.h
diff options
context:
space:
mode:
authorChandan Nath <chandan.nath@ti.com>2012-07-24 12:22:17 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:11 +0200
commite79cd8eb9bc47b6bb40e5948c71a00785f764257 (patch)
tree12049aa66b453d460af3884368ed21d11ae97eb4 /arch/arm/include/asm/arch-am33xx/cpu.h
parent2b62997ce931494da3f5836899a91ae3909a0c0c (diff)
downloadtalos-obmc-uboot-e79cd8eb9bc47b6bb40e5948c71a00785f764257.tar.gz
talos-obmc-uboot-e79cd8eb9bc47b6bb40e5948c71a00785f764257.zip
am33xx: CPSW init and definitions
This patch adds platform-specific initialization for CPSW switch on TI AM33XX SoCs. Signed-off-by: Chandan Nath <chandan.nath@ti.com> [Ilya: split init out of original patch] Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Diffstat (limited to 'arch/arm/include/asm/arch-am33xx/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-am33xx/cpu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/cpu.h b/arch/arm/include/asm/arch-am33xx/cpu.h
index e63ab745f3..de9ee91496 100644
--- a/arch/arm/include/asm/arch-am33xx/cpu.h
+++ b/arch/arm/include/asm/arch-am33xx/cpu.h
@@ -255,6 +255,17 @@ struct ctrl_stat {
#define OMAP_GPIO_CLEARDATAOUT 0x0190
#define OMAP_GPIO_SETDATAOUT 0x0194
+/* Control Device Register */
+struct ctrl_dev {
+ unsigned int deviceid; /* offset 0x00 */
+ unsigned int resv1[11];
+ unsigned int macid0l; /* offset 0x30 */
+ unsigned int macid0h; /* offset 0x34 */
+ unsigned int macid1l; /* offset 0x38 */
+ unsigned int macid1h; /* offset 0x3c */
+ unsigned int resv2[4];
+ unsigned int miisel; /* offset 0x50 */
+};
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL_STRICT_NAMES */
OpenPOWER on IntegriCloud