aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf533/boards/cm_bf533.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/cm_bf533.c')
-rw-r--r--arch/blackfin/mach-bf533/boards/cm_bf533.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c
index 1443e92d8b62..705256837a0c 100644
--- a/arch/blackfin/mach-bf533/boards/cm_bf533.c
+++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c
@@ -195,6 +195,14 @@ static struct platform_device rtc_device = {
195#endif 195#endif
196 196
197#if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) 197#if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE)
198#include <linux/smc91x.h>
199
200static struct smc91x_platdata smc91x_info = {
201 .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
202 .leda = RPC_LED_100_10,
203 .ledb = RPC_LED_TX_RX,
204};
205
198static struct resource smc91x_resources[] = { 206static struct resource smc91x_resources[] = {
199 { 207 {
200 .start = 0x20200300, 208 .start = 0x20200300,
@@ -211,6 +219,9 @@ static struct platform_device smc91x_device = {
211 .id = 0, 219 .id = 0,
212 .num_resources = ARRAY_SIZE(smc91x_resources), 220 .num_resources = ARRAY_SIZE(smc91x_resources),
213 .resource = smc91x_resources, 221 .resource = smc91x_resources,
222 .dev = {
223 .platform_data = &smc91x_info,
224 },
214}; 225};
215#endif 226#endif
216 227