1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2014 Angelo Dureghello <angelo@sysam.it>
10 #define MMAP_SIM (CFG_SYS_MBAR + 0x00000000)
11 #define MMAP_INTC (CFG_SYS_MBAR + 0x00000040)
12 #define MMAP_CSM (CFG_SYS_MBAR + 0x00000080)
13 #define MMAP_DRAMC (CFG_SYS_MBAR + 0x00000100)
14 #define MMAP_DTMR0 (CFG_SYS_MBAR + 0x00000140)
15 #define MMAP_DTMR1 (CFG_SYS_MBAR + 0x00000180)
16 #define MMAP_UART0 (CFG_SYS_MBAR + 0x000001C0)
17 #define MMAP_UART1 (CFG_SYS_MBAR + 0x00000200)
18 #define MMAP_GPIO (CFG_SYS_MBAR + 0x00000244)
37 typedef struct intctrl {
57 u16 csar0; /* Chip-select Address */
59 u32 csmr0; /* Chip-select Mask */
61 u16 cscr0; /* Chip-select Control */
99 typedef struct sdramctrl {
109 typedef struct gpio {
116 #endif /* __IMMAP_5307__ */