summaryrefslogtreecommitdiff
path: root/arch/avr32/include/asm/arch-at32ap700x/hardware.h
blob: 58ae9652590838b3da8a1e3b0786aa42622f6945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
 * Copyright (C) 2005-2006 Atmel Corporation
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */
#ifndef __AT32AP7000_HARDWARE_H__
#define __AT32AP7000_HARDWARE_H__

/* Internal and external memories */
#define EBI_SRAM_CS0_BASE			0x00000000
#define EBI_SRAM_CS0_SIZE			0x04000000
#define EBI_SRAM_CS4_BASE			0x04000000
#define EBI_SRAM_CS4_SIZE			0x04000000
#define EBI_SRAM_CS2_BASE			0x08000000
#define EBI_SRAM_CS2_SIZE			0x04000000
#define EBI_SRAM_CS3_BASE			0x0c000000
#define EBI_SRAM_CS3_SIZE			0x04000000
#define EBI_SRAM_CS1_BASE			0x10000000
#define EBI_SRAM_CS1_SIZE			0x10000000
#define EBI_SRAM_CS5_BASE			0x20000000
#define EBI_SRAM_CS5_SIZE			0x04000000

#define EBI_SDRAM_BASE				EBI_SRAM_CS1_BASE
#define EBI_SDRAM_SIZE				EBI_SRAM_CS1_SIZE

#define INTERNAL_SRAM_BASE			0x24000000
#define INTERNAL_SRAM_SIZE			0x00008000

/* Devices on the High Speed Bus (HSB) */
#define LCDC_BASE					0xFF000000
#define DMAC_BASE					0xFF200000
#define USB_FIFO					0xFF300000

/* Devices on Peripheral Bus A (PBA) */
#define ATMEL_BASE_SPI0				0xFFE00000
#define ATMEL_BASE_SPI1				0xFFE00400
#define ATMEL_BASE_TWI0				0xFFE00800
#define ATMEL_BASE_USART0			0xFFE00C00
#define ATMEL_BASE_USART1			0xFFE01000
#define ATMEL_BASE_USART2			0xFFE01400
#define ATMEL_BASE_USART3			0xFFE01800
#define ATMEL_BASE_SSC0				0xFFE01C00
#define ATMEL_BASE_SSC1				0xFFE02000
#define ATMEL_BASE_SSC2				0xFFE02400
#define ATMEL_BASE_PIOA				0xFFE02800
#define ATMEL_BASE_PIOB				0xFFE02C00
#define ATMEL_BASE_PIOC				0xFFE03000
#define ATMEL_BASE_PIOD				0xFFE03400
#define ATMEL_BASE_PIOE				0xFFE03800
#define ATMEL_BASE_PSIF				0xFFE03C00

/* Devices on Peripheral Bus B (PBB) */
#define ATMEL_BASE_SM				0xFFF00000
#define ATMEL_BASE_INTC				0xFFF00400
#define ATMEL_BASE_HMATRIX			0xFFF00800
#define ATMEL_BASE_TIMER0			0xFFF00C00
#define ATMEL_BASE_TIMER1			0xFFF01000
#define ATMEL_BASE_PWM				0xFFF01400
#define ATMEL_BASE_MACB0			0xFFF01800
#define ATMEL_BASE_MACB1			0xFFF01C00
#define ATMEL_BASE_DAC				0xFFF02000
#define ATMEL_BASE_MMCI				0xFFF02400
#define ATMEL_BASE_AUDIOC			0xFFF02800
#define ATMEL_BASE_HISI				0xFFF02C00
#define ATMEL_BASE_USB				0xFFF03000
#define ATMEL_BASE_HSMC				0xFFF03400
#define ATMEL_BASE_HSDRAMC			0xFFF03800
#define ATMEL_BASE_ECC				0xFFF03C00

#endif /* __AT32AP7000_HARDWARE_H__ */