summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/immap_83xx.h
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2010-06-28 16:44:33 +0400
committerKim Phillips <kim.phillips@freescale.com>2010-07-09 15:00:54 -0500
commit7c619ddceebc6bf85ee05c705f02691f581bc282 (patch)
tree2c179ba44eb09c3241f85266eda5a3dce114caaf /arch/powerpc/include/asm/immap_83xx.h
parent54841ab50c20d6fa6c9cc3eb826989da3a22d934 (diff)
downloadtalos-obmc-uboot-7c619ddceebc6bf85ee05c705f02691f581bc282.tar.gz
talos-obmc-uboot-7c619ddceebc6bf85ee05c705f02691f581bc282.zip
mpc8308: support for Freescale MPC8308 cpu
This patch adds basic support for Freescale MPC8308 CPU. Serial ports, NOR flash and integrated Ethernet controllers are supported. PCI Express is also supported. eSDHC, NAND and USB may work but aren't tested (using ULPI PHY requires additional patch). Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'arch/powerpc/include/asm/immap_83xx.h')
-rw-r--r--arch/powerpc/include/asm/immap_83xx.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/immap_83xx.h b/arch/powerpc/include/asm/immap_83xx.h
index 6b42a73f3f..3a9cdc4f8d 100644
--- a/arch/powerpc/include/asm/immap_83xx.h
+++ b/arch/powerpc/include/asm/immap_83xx.h
@@ -73,7 +73,11 @@ typedef struct sysconf83xx {
u32 obir; /* Output Buffer Impedance Register */
u8 res8[0xC];
u32 pecr1; /* PCI Express control register 1 */
+#ifdef CONFIG_MPC8308
+ u32 sdhccr; /* eSDHC Control Registers for MPC8308 */
+#else
u32 pecr2; /* PCI Express control register 2 */
+#endif
u8 res9[0xB8];
} sysconf83xx_t;
@@ -589,7 +593,14 @@ typedef struct sdhc83xx {
* SerDes
*/
typedef struct serdes83xx {
- u8 fixme[0x100];
+ u32 srdscr0;
+ u32 srdscr1;
+ u32 srdscr2;
+ u32 srdscr3;
+ u32 srdscr4;
+ u8 res0[0xc];
+ u32 srdsrstctl;
+ u8 res1[0xdc];
} serdes83xx_t;
/*
@@ -691,7 +702,7 @@ typedef struct immap {
u8 res7[0xC0000];
} immap_t;
-#elif defined(CONFIG_MPC8315)
+#elif defined(CONFIG_MPC8308) || defined(CONFIG_MPC8315)
typedef struct immap {
sysconf83xx_t sysconf; /* System configuration */
wdt83xx_t wdt; /* Watch Dog Timer (WDT) Registers */
OpenPOWER on IntegriCloud