pxa25x.c (8990c1bc4be46473ad19bf2fa612ca57286f3df4) pxa25x.c (851982c1b6ca18cedf6d01e4529a0c1ddb30771e)
1/*
2 * linux/arch/arm/mach-pxa/pxa25x.c
3 *
4 * Author: Nicolas Pitre
5 * Created: Jun 15, 2001
6 * Copyright: MontaVista Software Inc.
7 *
8 * Code specific to PXA21x/25x/26x variants.

--- 9 unchanged lines hidden (view full) ---

18 */
19#include <linux/module.h>
20#include <linux/kernel.h>
21#include <linux/init.h>
22#include <linux/platform_device.h>
23#include <linux/suspend.h>
24#include <linux/sysdev.h>
25
1/*
2 * linux/arch/arm/mach-pxa/pxa25x.c
3 *
4 * Author: Nicolas Pitre
5 * Created: Jun 15, 2001
6 * Copyright: MontaVista Software Inc.
7 *
8 * Code specific to PXA21x/25x/26x variants.

--- 9 unchanged lines hidden (view full) ---

18 */
19#include <linux/module.h>
20#include <linux/kernel.h>
21#include <linux/init.h>
22#include <linux/platform_device.h>
23#include <linux/suspend.h>
24#include <linux/sysdev.h>
25
26#include <asm/mach/map.h>
26#include <mach/hardware.h>
27#include <mach/irqs.h>
28#include <mach/gpio.h>
29#include <mach/pxa25x.h>
30#include <mach/reset.h>
31#include <mach/pm.h>
32#include <mach/dma.h>
33

--- 281 unchanged lines hidden (view full) ---

315#ifdef CONFIG_CPU_PXA26x
316void __init pxa26x_init_irq(void)
317{
318 pxa_init_irq(32, pxa25x_set_wake);
319 pxa_init_gpio(IRQ_GPIO_2_x, 2, 89, pxa25x_set_wake);
320}
321#endif
322
27#include <mach/hardware.h>
28#include <mach/irqs.h>
29#include <mach/gpio.h>
30#include <mach/pxa25x.h>
31#include <mach/reset.h>
32#include <mach/pm.h>
33#include <mach/dma.h>
34

--- 281 unchanged lines hidden (view full) ---

316#ifdef CONFIG_CPU_PXA26x
317void __init pxa26x_init_irq(void)
318{
319 pxa_init_irq(32, pxa25x_set_wake);
320 pxa_init_gpio(IRQ_GPIO_2_x, 2, 89, pxa25x_set_wake);
321}
322#endif
323
324static struct map_desc pxa25x_io_desc[] __initdata = {
325 { /* Mem Ctl */
326 .virtual = 0xf6000000,
327 .pfn = __phys_to_pfn(0x48000000),
328 .length = 0x00200000,
329 .type = MT_DEVICE
330 },
331};
332
333void __init pxa25x_map_io(void)
334{
335 pxa_map_io();
336 iotable_init(ARRAY_AND_SIZE(pxa25x_io_desc));
337 pxa25x_get_clk_frequency_khz(1);
338}
339
323static struct platform_device *pxa25x_devices[] __initdata = {
324 &pxa25x_device_udc,
325 &pxa_device_pmu,
326 &pxa_device_i2s,
327 &sa1100_device_rtc,
328 &pxa25x_device_ssp,
329 &pxa25x_device_nssp,
330 &pxa25x_device_assp,

--- 49 unchanged lines hidden ---
340static struct platform_device *pxa25x_devices[] __initdata = {
341 &pxa25x_device_udc,
342 &pxa_device_pmu,
343 &pxa_device_i2s,
344 &sa1100_device_rtc,
345 &pxa25x_device_ssp,
346 &pxa25x_device_nssp,
347 &pxa25x_device_assp,

--- 49 unchanged lines hidden ---