Go to the documentation of this file.
18 #ifndef __ASM_ARCH_HARDWARE_H
19 #define __ASM_ARCH_HARDWARE_H
22 #define NOMADIK_IO_VIRTUAL 0xF0000000
23 #define NOMADIK_IO_PHYSICAL 0x10000000
24 #define NOMADIK_IO_SIZE 0x00300000
27 #define io_p2v(x) ((void __iomem *)(x) \
28 - NOMADIK_IO_PHYSICAL + NOMADIK_IO_VIRTUAL)
29 #define io_v2p(x) ((unsigned long)(x) \
30 - NOMADIK_IO_VIRTUAL + NOMADIK_IO_PHYSICAL)
33 #define IO_ADDRESS(x) IOMEM((x) - NOMADIK_IO_PHYSICAL + NOMADIK_IO_VIRTUAL)
38 #define NOMADIK_FSMC_BASE 0x10100000
39 #define NOMADIK_SDRAMC_BASE 0x10110000
40 #define NOMADIK_CLCDC_BASE 0x10120000
41 #define NOMADIK_MDIF_BASE 0x10120000
42 #define NOMADIK_DMA0_BASE 0x10130000
43 #define NOMADIK_IC_BASE 0x10140000
44 #define NOMADIK_DMA1_BASE 0x10150000
45 #define NOMADIK_USB_BASE 0x10170000
46 #define NOMADIK_CRYP_BASE 0x10180000
47 #define NOMADIK_SHA1_BASE 0x10190000
48 #define NOMADIK_XTI_BASE 0x101A0000
49 #define NOMADIK_RNG_BASE 0x101B0000
50 #define NOMADIK_SRC_BASE 0x101E0000
51 #define NOMADIK_WDOG_BASE 0x101E1000
52 #define NOMADIK_MTU0_BASE 0x101E2000
53 #define NOMADIK_MTU1_BASE 0x101E3000
54 #define NOMADIK_GPIO0_BASE 0x101E4000
55 #define NOMADIK_GPIO1_BASE 0x101E5000
56 #define NOMADIK_GPIO2_BASE 0x101E6000
57 #define NOMADIK_GPIO3_BASE 0x101E7000
58 #define NOMADIK_RTC_BASE 0x101E8000
59 #define NOMADIK_PMU_BASE 0x101E9000
60 #define NOMADIK_OWM_BASE 0x101EA000
61 #define NOMADIK_SCR_BASE 0x101EF000
62 #define NOMADIK_MSP2_BASE 0x101F0000
63 #define NOMADIK_MSP1_BASE 0x101F1000
64 #define NOMADIK_UART2_BASE 0x101F2000
65 #define NOMADIK_SSIRx_BASE 0x101F3000
66 #define NOMADIK_SSITx_BASE 0x101F4000
67 #define NOMADIK_MSHC_BASE 0x101F5000
68 #define NOMADIK_SDI_BASE 0x101F6000
69 #define NOMADIK_I2C1_BASE 0x101F7000
70 #define NOMADIK_I2C0_BASE 0x101F8000
71 #define NOMADIK_MSP0_BASE 0x101F9000
72 #define NOMADIK_FIRDA_BASE 0x101FA000
73 #define NOMADIK_UART1_BASE 0x101FB000
74 #define NOMADIK_SSP_BASE 0x101FC000
75 #define NOMADIK_UART0_BASE 0x101FD000
76 #define NOMADIK_SGA_BASE 0x101FE000
77 #define NOMADIK_L2CC_BASE 0x10210000
80 #define NOMADIK_BACKUP_RAM 0x80010000
81 #define NOMADIK_EBROM 0x80000000
82 #define NOMADIK_HAMACV_DMEM_BASE 0xA0100000
83 #define NOMADIK_HAMACV_DMEM_END 0xA01FFFFF
84 #define NOMADIK_HAMACA_DMEM 0xA0200000
86 #define NOMADIK_FSMC_VA IO_ADDRESS(NOMADIK_FSMC_BASE)
87 #define NOMADIK_MTU0_VA IO_ADDRESS(NOMADIK_MTU0_BASE)
88 #define NOMADIK_MTU1_VA IO_ADDRESS(NOMADIK_MTU1_BASE)