Go to the documentation of this file.
10 #ifndef __ASM_HARDWARE_IT8152_H
11 #define __ASM_HARDWARE_IT8152_H
13 #include <mach/irqs.h>
17 #define IT8152_IO_BASE (it8152_base_address + 0x03e00000)
18 #define IT8152_CFGREG_BASE (it8152_base_address + 0x03f00000)
20 #define __REG_IT8152(x) (it8152_base_address + (x))
22 #define IT8152_PCI_CFG_ADDR __REG_IT8152(0x3f00800)
23 #define IT8152_PCI_CFG_DATA __REG_IT8152(0x3f00804)
25 #define IT8152_INTC_LDCNIRR __REG_IT8152(0x3f00300)
26 #define IT8152_INTC_LDPNIRR __REG_IT8152(0x3f00304)
27 #define IT8152_INTC_LDCNIMR __REG_IT8152(0x3f00308)
28 #define IT8152_INTC_LDPNIMR __REG_IT8152(0x3f0030C)
29 #define IT8152_INTC_LDNITR __REG_IT8152(0x3f00310)
30 #define IT8152_INTC_LDNIAR __REG_IT8152(0x3f00314)
31 #define IT8152_INTC_LPCNIRR __REG_IT8152(0x3f00320)
32 #define IT8152_INTC_LPPNIRR __REG_IT8152(0x3f00324)
33 #define IT8152_INTC_LPCNIMR __REG_IT8152(0x3f00328)
34 #define IT8152_INTC_LPPNIMR __REG_IT8152(0x3f0032C)
35 #define IT8152_INTC_LPNITR __REG_IT8152(0x3f00330)
36 #define IT8152_INTC_LPNIAR __REG_IT8152(0x3f00334)
37 #define IT8152_INTC_PDCNIRR __REG_IT8152(0x3f00340)
38 #define IT8152_INTC_PDPNIRR __REG_IT8152(0x3f00344)
39 #define IT8152_INTC_PDCNIMR __REG_IT8152(0x3f00348)
40 #define IT8152_INTC_PDPNIMR __REG_IT8152(0x3f0034C)
41 #define IT8152_INTC_PDNITR __REG_IT8152(0x3f00350)
42 #define IT8152_INTC_PDNIAR __REG_IT8152(0x3f00354)
43 #define IT8152_INTC_INTC_TYPER __REG_IT8152(0x3f003FC)
45 #define IT8152_GPIO_GPDR __REG_IT8152(0x3f00500)
81 #define IT8152_IRQ(x) (IRQ_BOARD_START + (x))
82 #define IT8152_LAST_IRQ (IRQ_BOARD_START + 40)
85 #define IT8152_LD_IRQ_COUNT 9
86 #define IT8152_LP_IRQ_COUNT 16
87 #define IT8152_PD_IRQ_COUNT 15
90 #define IT8152_PD_IRQ(i) IT8152_IRQ(i)
91 #define IT8152_LP_IRQ(i) (IT8152_IRQ(i) + IT8152_PD_IRQ_COUNT)
92 #define IT8152_LD_IRQ(i) (IT8152_IRQ(i) + IT8152_PD_IRQ_COUNT + IT8152_LP_IRQ_COUNT)
95 #define IT8152_PCISERR IT8152_PD_IRQ(14)
96 #define IT8152_H2PTADR IT8152_PD_IRQ(13)
97 #define IT8152_H2PMAR IT8152_PD_IRQ(12)
98 #define IT8152_PCI_INTD IT8152_PD_IRQ(11)
99 #define IT8152_PCI_INTC IT8152_PD_IRQ(10)
100 #define IT8152_PCI_INTB IT8152_PD_IRQ(9)
101 #define IT8152_PCI_INTA IT8152_PD_IRQ(8)
102 #define IT8152_CDMA_INT IT8152_PD_IRQ(2)
103 #define IT8152_USB_INT IT8152_PD_IRQ(1)
104 #define IT8152_AUDIO_INT IT8152_PD_IRQ(0)