Eric Miao | 51c6298 | 2009-01-02 23:17:22 +0800 | [diff] [blame] | 1 | #ifndef __MACH_PXA27x_H |
| 2 | #define __MACH_PXA27x_H |
| 3 | |
| 4 | #include <mach/hardware.h> |
| 5 | #include <mach/pxa2xx-regs.h> |
| 6 | #include <mach/mfp-pxa27x.h> |
Eric Miao | ca0e687 | 2011-05-18 21:19:04 +0800 | [diff] [blame] | 7 | #include <mach/irqs.h> |
Eric Miao | 51c6298 | 2009-01-02 23:17:22 +0800 | [diff] [blame] | 8 | |
| 9 | #define ARB_CNTRL __REG(0x48000048) /* Arbiter Control Register */ |
| 10 | |
| 11 | #define ARB_DMA_SLV_PARK (1<<31) /* Be parked with DMA slave when idle */ |
| 12 | #define ARB_CI_PARK (1<<30) /* Be parked with Camera Interface when idle */ |
| 13 | #define ARB_EX_MEM_PARK (1<<29) /* Be parked with external MEMC when idle */ |
| 14 | #define ARB_INT_MEM_PARK (1<<28) /* Be parked with internal MEMC when idle */ |
| 15 | #define ARB_USB_PARK (1<<27) /* Be parked with USB when idle */ |
| 16 | #define ARB_LCD_PARK (1<<26) /* Be parked with LCD when idle */ |
| 17 | #define ARB_DMA_PARK (1<<25) /* Be parked with DMA when idle */ |
| 18 | #define ARB_CORE_PARK (1<<24) /* Be parked with core when idle */ |
| 19 | #define ARB_LOCK_FLAG (1<<23) /* Only Locking masters gain access to the bus */ |
Mike Rapoport | d082d36 | 2009-05-26 09:10:18 +0300 | [diff] [blame] | 20 | |
Eric Miao | ca0e687 | 2011-05-18 21:19:04 +0800 | [diff] [blame] | 21 | extern void __init pxa27x_map_io(void); |
| 22 | extern void __init pxa27x_init_irq(void); |
Mike Rapoport | d082d36 | 2009-05-26 09:10:18 +0300 | [diff] [blame] | 23 | extern int __init pxa27x_set_pwrmode(unsigned int mode); |
| 24 | |
Eric Miao | 8a97ae2 | 2011-05-18 21:30:04 +0800 | [diff] [blame] | 25 | #define pxa27x_handle_irq ichp_handle_irq |
| 26 | |
Eric Miao | 51c6298 | 2009-01-02 23:17:22 +0800 | [diff] [blame] | 27 | #endif /* __MACH_PXA27x_H */ |