|  | @@ -601,3 +601,75 @@ static struct resource bfin_pata_resources[] = {
 | 
											
												
													
														|  |  		.start = 0x2030D018,
 |  |  		.start = 0x2030D018,
 | 
											
												
													
														|  |  		.end = 0x2030D01B,
 |  |  		.end = 0x2030D01B,
 | 
											
												
													
														|  |  		.flags = IORESOURCE_MEM,
 |  |  		.flags = IORESOURCE_MEM,
 | 
											
												
													
														|  | 
 |  | +	},
 | 
											
												
													
														|  | 
 |  | +	{
 | 
											
												
													
														|  | 
 |  | +		.start = PATA_INT,
 | 
											
												
													
														|  | 
 |  | +		.end = PATA_INT,
 | 
											
												
													
														|  | 
 |  | +		.flags = IORESOURCE_IRQ,
 | 
											
												
													
														|  | 
 |  | +	},
 | 
											
												
													
														|  | 
 |  | +};
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +static struct platform_device bfin_pata_device = {
 | 
											
												
													
														|  | 
 |  | +	.name = "pata_platform",
 | 
											
												
													
														|  | 
 |  | +	.id = -1,
 | 
											
												
													
														|  | 
 |  | +	.num_resources = ARRAY_SIZE(bfin_pata_resources),
 | 
											
												
													
														|  | 
 |  | +	.resource = bfin_pata_resources,
 | 
											
												
													
														|  | 
 |  | +	.dev = {
 | 
											
												
													
														|  | 
 |  | +		.platform_data = &bfin_pata_platform_data,
 | 
											
												
													
														|  | 
 |  | +	}
 | 
											
												
													
														|  | 
 |  | +};
 | 
											
												
													
														|  | 
 |  | +#endif
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +static const unsigned int cclk_vlev_datasheet[] =
 | 
											
												
													
														|  | 
 |  | +{
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_085, 250000000),
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_090, 376000000),
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_095, 426000000),
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_100, 426000000),
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_105, 476000000),
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_110, 476000000),
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_115, 476000000),
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_120, 500000000),
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_125, 533000000),
 | 
											
												
													
														|  | 
 |  | +	VRPAIR(VLEV_130, 600000000),
 | 
											
												
													
														|  | 
 |  | +};
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +static struct bfin_dpmc_platform_data bfin_dmpc_vreg_data = {
 | 
											
												
													
														|  | 
 |  | +	.tuple_tab = cclk_vlev_datasheet,
 | 
											
												
													
														|  | 
 |  | +	.tabsize = ARRAY_SIZE(cclk_vlev_datasheet),
 | 
											
												
													
														|  | 
 |  | +	.vr_settling_time = 25 /* us */,
 | 
											
												
													
														|  | 
 |  | +};
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +static struct platform_device bfin_dpmc = {
 | 
											
												
													
														|  | 
 |  | +	.name = "bfin dpmc",
 | 
											
												
													
														|  | 
 |  | +	.dev = {
 | 
											
												
													
														|  | 
 |  | +		.platform_data = &bfin_dmpc_vreg_data,
 | 
											
												
													
														|  | 
 |  | +	},
 | 
											
												
													
														|  | 
 |  | +};
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +static struct platform_device *cm_bf537_devices[] __initdata = {
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +	&bfin_dpmc,
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +#if defined(CONFIG_FB_HITACHI_TX09) || defined(CONFIG_FB_HITACHI_TX09_MODULE)
 | 
											
												
													
														|  | 
 |  | +	&hitachi_fb_device,
 | 
											
												
													
														|  | 
 |  | +#endif
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +#if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE)
 | 
											
												
													
														|  | 
 |  | +	&rtc_device,
 | 
											
												
													
														|  | 
 |  | +#endif
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
 | 
											
												
													
														|  | 
 |  | +#ifdef CONFIG_SERIAL_BFIN_UART0
 | 
											
												
													
														|  | 
 |  | +	&bfin_uart0_device,
 | 
											
												
													
														|  | 
 |  | +#endif
 | 
											
												
													
														|  | 
 |  | +#ifdef CONFIG_SERIAL_BFIN_UART1
 | 
											
												
													
														|  | 
 |  | +	&bfin_uart1_device,
 | 
											
												
													
														|  | 
 |  | +#endif
 | 
											
												
													
														|  | 
 |  | +#endif
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +#if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE)
 | 
											
												
													
														|  | 
 |  | +#ifdef CONFIG_BFIN_SIR0
 | 
											
												
													
														|  | 
 |  | +	&bfin_sir0_device,
 | 
											
												
													
														|  | 
 |  | +#endif
 | 
											
												
													
														|  | 
 |  | +#ifdef CONFIG_BFIN_SIR1
 |