pxa25x.c (fef1f99a0c2928893c074bf3eff27efd36a4532a) | pxa25x.c (a58fbcd8ad17ddaa0c7aadbbbd20de4ebc807fa4) |
---|---|
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. --- 11 unchanged lines hidden (view full) --- 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 <mach/hardware.h> 27#include <mach/irqs.h> | 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. --- 11 unchanged lines hidden (view full) --- 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 <mach/hardware.h> 27#include <mach/irqs.h> |
28#include <mach/gpio.h> |
|
28#include <mach/pxa25x.h> 29#include <mach/reset.h> 30#include <mach/pm.h> 31#include <mach/dma.h> 32 33#include "generic.h" 34#include "devices.h" 35#include "clock.h" --- 267 unchanged lines hidden (view full) --- 303 PWER &=~mask; 304 305 return 0; 306} 307 308void __init pxa25x_init_irq(void) 309{ 310 pxa_init_irq(32, pxa25x_set_wake); | 29#include <mach/pxa25x.h> 30#include <mach/reset.h> 31#include <mach/pm.h> 32#include <mach/dma.h> 33 34#include "generic.h" 35#include "devices.h" 36#include "clock.h" --- 267 unchanged lines hidden (view full) --- 304 PWER &=~mask; 305 306 return 0; 307} 308 309void __init pxa25x_init_irq(void) 310{ 311 pxa_init_irq(32, pxa25x_set_wake); |
311 pxa_init_gpio(85, pxa25x_set_wake); | 312 pxa_init_gpio(IRQ_GPIO_2_x, 2, 84, pxa25x_set_wake); |
312} 313 314#ifdef CONFIG_CPU_PXA26x 315void __init pxa26x_init_irq(void) 316{ 317 pxa_init_irq(32, pxa25x_set_wake); | 313} 314 315#ifdef CONFIG_CPU_PXA26x 316void __init pxa26x_init_irq(void) 317{ 318 pxa_init_irq(32, pxa25x_set_wake); |
318 pxa_init_gpio(90, pxa25x_set_wake); | 319 pxa_init_gpio(IRQ_GPIO_2_x, 2, 89, pxa25x_set_wake); |
319} 320#endif 321 322static struct platform_device *pxa25x_devices[] __initdata = { 323 &pxa25x_device_udc, 324 &pxa_device_ffuart, 325 &pxa_device_btuart, 326 &pxa_device_stuart, --- 56 unchanged lines hidden --- | 320} 321#endif 322 323static struct platform_device *pxa25x_devices[] __initdata = { 324 &pxa25x_device_udc, 325 &pxa_device_ffuart, 326 &pxa_device_btuart, 327 &pxa_device_stuart, --- 56 unchanged lines hidden --- |