pxa2xx.c (85e9ca333d03fbd56b9e123c8456f0d98e20faad) | pxa2xx.c (04fef228fb00dd79475a2313f4ba73b4fbfe2faa) |
---|---|
1/* 2 * linux/arch/arm/mach-pxa/pxa2xx.c 3 * 4 * code specific to pxa2xx 5 * 6 * Copyright (C) 2008 Dmitry Baryshkov 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 */ 12 13#include <linux/module.h> 14#include <linux/kernel.h> 15#include <linux/device.h> 16 | 1/* 2 * linux/arch/arm/mach-pxa/pxa2xx.c 3 * 4 * code specific to pxa2xx 5 * 6 * Copyright (C) 2008 Dmitry Baryshkov 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 */ 12 13#include <linux/module.h> 14#include <linux/kernel.h> 15#include <linux/device.h> 16 |
17#include <asm/hardware.h> 18#include <asm/arch/pxa2xx-regs.h> |
|
17#include <asm/arch/mfp-pxa2xx.h> 18#include <asm/arch/mfp-pxa25x.h> | 19#include <asm/arch/mfp-pxa2xx.h> 20#include <asm/arch/mfp-pxa25x.h> |
21#include <asm/arch/reset.h> |
|
19#include <asm/arch/irda.h> 20 | 22#include <asm/arch/irda.h> 23 |
24void pxa2xx_clear_reset_status(unsigned int mask) 25{ 26 /* RESET_STATUS_* has a 1:1 mapping with RCSR */ 27 RCSR = mask; 28} 29 |
|
21static unsigned long pxa2xx_mfp_fir[] = { 22 GPIO46_FICP_RXD, 23 GPIO47_FICP_TXD, 24}; 25 26static unsigned long pxa2xx_mfp_sir[] = { 27 GPIO46_STUART_RXD, 28 GPIO47_STUART_TXD, --- 18 unchanged lines hidden --- | 30static unsigned long pxa2xx_mfp_fir[] = { 31 GPIO46_FICP_RXD, 32 GPIO47_FICP_TXD, 33}; 34 35static unsigned long pxa2xx_mfp_sir[] = { 36 GPIO46_STUART_RXD, 37 GPIO47_STUART_TXD, --- 18 unchanged lines hidden --- |