diff options
author | Chunhe Lan <Chunhe.Lan@freescale.com> | 2013-07-30 17:39:26 -0400 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-08-23 20:14:21 -0400 |
commit | 75898156bcf0f524a00e5140bc644f2dda5a099a (patch) | |
tree | a2b96693481cc3782fe51d31ad878ab5f2677e8f /arch/powerpc/platforms | |
parent | b9b5350b828276169b3e33d154e9f8bbd4b262a6 (diff) |
powerpc/85xx: Add P1023RDB board support
P1023RDB Specification:
-----------------------
Memory subsystem:
512MB DDR3 (Fixed DDR on board)
64MB NOR flash
128MB NAND flash
Ethernet:
eTSEC1: Connected to Atheros AR8035 GETH PHY
eTSEC2: Connected to Atheros AR8035 GETH PHY
PCIe:
Three mini-PCIe slots
USB:
Two USB2.0 Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
Cc: Scott Wood <scottwood@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/85xx/Kconfig | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/p1023_rds.c | 24 |
2 files changed, 25 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index efdd37c775ad..b8f0d3270d7a 100644 --- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig | |||
@@ -112,10 +112,10 @@ config P1022_RDK | |||
112 | reference board. | 112 | reference board. |
113 | 113 | ||
114 | config P1023_RDS | 114 | config P1023_RDS |
115 | bool "Freescale P1023 RDS" | 115 | bool "Freescale P1023 RDS/RDB" |
116 | select DEFAULT_UIMAGE | 116 | select DEFAULT_UIMAGE |
117 | help | 117 | help |
118 | This option enables support for the P1023 RDS board | 118 | This option enables support for the P1023 RDS and RDB boards |
119 | 119 | ||
120 | config SOCRATES | 120 | config SOCRATES |
121 | bool "Socrates" | 121 | bool "Socrates" |
diff --git a/arch/powerpc/platforms/85xx/p1023_rds.c b/arch/powerpc/platforms/85xx/p1023_rds.c index 9cc60a738834..2ae9d490c3d9 100644 --- a/arch/powerpc/platforms/85xx/p1023_rds.c +++ b/arch/powerpc/platforms/85xx/p1023_rds.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright 2010-2011 Freescale Semiconductor, Inc. | 2 | * Copyright 2010-2011, 2013 Freescale Semiconductor, Inc. |
3 | * | 3 | * |
4 | * Author: Roy Zang <tie-fei.zang@freescale.com> | 4 | * Author: Roy Zang <tie-fei.zang@freescale.com> |
5 | * | 5 | * |
@@ -86,6 +86,7 @@ static void __init mpc85xx_rds_setup_arch(void) | |||
86 | } | 86 | } |
87 | 87 | ||
88 | machine_arch_initcall(p1023_rds, mpc85xx_common_publish_devices); | 88 | machine_arch_initcall(p1023_rds, mpc85xx_common_publish_devices); |
89 | machine_arch_initcall(p1023_rdb, mpc85xx_common_publish_devices); | ||
89 | 90 | ||
90 | static void __init mpc85xx_rds_pic_init(void) | 91 | static void __init mpc85xx_rds_pic_init(void) |
91 | { | 92 | { |
@@ -106,6 +107,14 @@ static int __init p1023_rds_probe(void) | |||
106 | 107 | ||
107 | } | 108 | } |
108 | 109 | ||
110 | static int __init p1023_rdb_probe(void) | ||
111 | { | ||
112 | unsigned long root = of_get_flat_dt_root(); | ||
113 | |||
114 | return of_flat_dt_is_compatible(root, "fsl,P1023RDB"); | ||
115 | |||
116 | } | ||
117 | |||
109 | define_machine(p1023_rds) { | 118 | define_machine(p1023_rds) { |
110 | .name = "P1023 RDS", | 119 | .name = "P1023 RDS", |
111 | .probe = p1023_rds_probe, | 120 | .probe = p1023_rds_probe, |
@@ -120,3 +129,16 @@ define_machine(p1023_rds) { | |||
120 | #endif | 129 | #endif |
121 | }; | 130 | }; |
122 | 131 | ||
132 | define_machine(p1023_rdb) { | ||
133 | .name = "P1023 RDB", | ||
134 | .probe = p1023_rdb_probe, | ||
135 | .setup_arch = mpc85xx_rds_setup_arch, | ||
136 | .init_IRQ = mpc85xx_rds_pic_init, | ||
137 | .get_irq = mpic_get_irq, | ||
138 | .restart = fsl_rstcr_restart, | ||
139 | .calibrate_decr = generic_calibrate_decr, | ||
140 | .progress = udbg_progress, | ||
141 | #ifdef CONFIG_PCI | ||
142 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, | ||
143 | #endif | ||
144 | }; | ||