/* * arch/arm/mach-pxa/include/mach/lubbock.h * * Author: Nicolas Pitre * Created: Jun 15, 2001 * Copyright: MontaVista Software Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <mach/irqs.h> #define LUBBOCK_ETH_PHYS PXA_CS3_PHYS #define LUBBOCK_FPGA_PHYS PXA_CS2_PHYS #define LUBBOCK_FPGA_VIRT (0xf0000000) #define LUB_P2V(x) ((x) - LUBBOCK_FPGA_PHYS + LUBBOCK_FPGA_VIRT) #define LUB_V2P(x) ((x) - LUBBOCK_FPGA_VIRT + LUBBOCK_FPGA_PHYS) #ifndef __ASSEMBLY__ # define __LUB_REG(x) (*((volatile unsigned long *)LUB_P2V(x))) #else # define __LUB_REG(x) LUB_P2V(x) #endif /* FPGA register virtual addresses */ #define LUB_WHOAMI __LUB_REG(LUBBOCK_FPGA_PHYS + 0x000) #define LUB_DISC_BLNK_LED __LUB_REG(LUBBOCK_FPGA_PHYS + 0x040) #define LUB_CONF_SWITCHES __LUB_REG(LUBBOCK_FPGA_PHYS + 0x050) #define LUB_USER_SWITCHES __LUB_REG(LUBBOCK_FPGA_PHYS + 0x060) #define LUB_MISC_WR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x080) #define LUB_MISC_RD __LUB_REG(LUBBOCK_FPGA_PHYS + 0x090) #define LUB_IRQ_MASK_EN __LUB_REG(LUBBOCK_FPGA_PHYS + 0x0c0) #define LUB_IRQ_SET_CLR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x0d0) #define LUB_GP __LUB_REG(LUBBOCK_FPGA_PHYS + 0x100) /* Board specific IRQs */ #define LUBBOCK_NR_IRQS IRQ_BOARD_START #define LUBBOCK_IRQ(x) (LUBBOCK_NR_IRQS + (x)) #define LUBBOCK_SD_IRQ LUBBOCK_IRQ(0) #define LUBBOCK_SA1111_IRQ LUBBOCK_IRQ(1) #define LUBBOCK_USB_IRQ LUBBOCK_IRQ(2) /* usb connect */ #define LUBBOCK_ETH_IRQ LUBBOCK_IRQ(3) #define LUBBOCK_UCB1400_IRQ LUBBOCK_IRQ(4) #define LUBBOCK_BB_IRQ LUBBOCK_IRQ(5) #define LUBBOCK_USB_DISC_IRQ LUBBOCK_IRQ(6) /* usb disconnect */ #define LUBBOCK_LAST_IRQ LUBBOCK_IRQ(6) #define LUBBOCK_SA1111_IRQ_BASE (LUBBOCK_NR_IRQS + 32) #ifndef __ASSEMBLY__ extern void lubbock_set_misc_wr(unsigned int mask, unsigned int set); #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
addr-map.h | File | 1.41 KB | 0644 |
|
audio.h | File | 955 B | 0644 |
|
balloon3.h | File | 6.38 KB | 0644 |
|
bitfield.h | File | 2.81 KB | 0644 |
|
corgi.h | File | 4.72 KB | 0644 |
|
dma.h | File | 528 B | 0644 |
|
eseries-gpio.h | File | 1.85 KB | 0644 |
|
generic.h | File | 27 B | 0644 |
|
hardware.h | File | 6.68 KB | 0644 |
|
hx4700.h | File | 4.96 KB | 0644 |
|
io.h | File | 397 B | 0644 |
|
irqs.h | File | 4.94 KB | 0644 |
|
lubbock.h | File | 1.92 KB | 0644 |
|
magician.h | File | 4.24 KB | 0644 |
|
mainstone.h | File | 6.46 KB | 0644 |
|
mfp.h | File | 515 B | 0644 |
|
mtd-xip.h | File | 1.27 KB | 0644 |
|
palmld.h | File | 3 KB | 0644 |
|
palmtc.h | File | 2.47 KB | 0644 |
|
palmtx.h | File | 3.31 KB | 0644 |
|
poodle.h | File | 3.2 KB | 0644 |
|
pxa25x-udc.h | File | 0 B | 0644 |
|
pxa2xx-regs.h | File | 8.83 KB | 0644 |
|
pxa3xx-regs.h | File | 8.73 KB | 0644 |
|
regs-ac97.h | File | 4.47 KB | 0644 |
|
regs-lcd.h | File | 9 KB | 0644 |
|
regs-ost.h | File | 1.28 KB | 0644 |
|
regs-uart.h | File | 7.55 KB | 0644 |
|
reset.h | File | 717 B | 0644 |
|
smemc.h | File | 4.14 KB | 0644 |
|
spitz.h | File | 8.33 KB | 0644 |
|
tosa.h | File | 7.48 KB | 0644 |
|
trizeps4.h | File | 5.04 KB | 0644 |
|
uncompress.h | File | 1.62 KB | 0644 |
|
vpac270.h | File | 994 B | 0644 |
|
z2.h | File | 932 B | 0644 |
|