2 * Copyright (C) 2011 Andes Technology Corporation
3 * Nobuhiro Lin, Andes Technology Corporation <nobuhiro@andestech.com>
4 * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 /* Hardware register bases */
27 #define CONFIG_FTAHBC020S_BASE 0x90100000
28 /* Static Memory Controller (SRAM) */
29 #define CONFIG_FTSMC020_BASE 0x90200000
30 /* FTSDMC021 SDRAM Controller */
31 #define CONFIG_FTSDMC021_BASE 0x90300000
33 #define CONFIG_FTDMAC020_BASE 0x90400000
34 /* AHB-to-APB Bridge */
35 #define CONFIG_FTAPBBRG020S_01_BASE 0x90500000
37 #define CONFIG_FTLCDC100_BASE 0x90600000
39 #define CONFIG_RESERVED_01_BASE 0x90700000
41 #define CONFIG_RESERVED_02_BASE 0x90800000
43 #define CONFIG_FTMAC100_BASE 0x90900000
44 /* External USB host */
45 #define CONFIG_EXT_USB_HOST_BASE 0x90A00000
47 #define CONFIG_USB_DEV_BASE 0x90B00000
48 /* External AHB-to-PCI Bridge (FTPCI100 not exist in ag101) */
49 #define CONFIG_EXT_AHBPCIBRG_BASE 0x90C00000
51 #define CONFIG_RESERVED_03_BASE 0x90D00000
52 /* External AHB-to-APB Bridger (FTAPBBRG020S_02) */
53 #define CONFIG_EXT_AHBAPBBRG_BASE 0x90E00000
54 /* External AHB slave1 (LCD) */
55 #define CONFIG_EXT_AHBSLAVE01_BASE 0x90F00000
56 /* External AHB slave2 (FUSBH200) */
57 #define CONFIG_EXT_AHBSLAVE02_BASE 0x92000000
60 #define CONFIG_DEBUG_LED 0x902FFFFC
62 /* APB Device definitions */
64 /* Power Management Unit */
65 #define CONFIG_FTPMU010_BASE 0x98100000
66 /* BT UART 2/IrDA (UART 01 in Linux) */
67 #define CONFIG_FTUART010_01_BASE 0x98300000
69 #define CONFIG_FTTMR010_BASE 0x98400000
71 #define CONFIG_FTWDT010_BASE 0x98500000
73 #define CONFIG_FTRTC010_BASE 0x98600000
75 #define CONFIG_FTGPIO010_BASE 0x98700000
76 /* Interrupt Controller */
77 #define CONFIG_FTINTC010_BASE 0x98800000
79 #define CONFIG_FTIIC010_BASE 0x98A00000
81 #define CONFIG_RESERVED_04_BASE 0x98C00000
82 /* Compat Flash Controller */
83 #define CONFIG_FTCFC010_BASE 0x98D00000
85 #define CONFIG_FTSDC010_BASE 0x98E00000
87 /* Synchronous Serial Port Controller (SSP) I2S/AC97 */
88 #define CONFIG_FTSSP010_02_BASE 0x99400000
89 /* ST UART ? SSP 02 (UART 02 in Linux) */
90 #define CONFIG_FTUART010_02_BASE 0x99600000
92 /* The following address was not defined in Linux */
95 #define CONFIG_FTUART010_03_BASE 0x98200000
96 /* Synchronous Serial Port Controller (SSP) 01 */
97 #define CONFIG_FTSSP010_01_BASE 0x98B00000
99 #define CONFIG_IRDA_BASE 0x98900000
100 /* PWM - Pulse Width Modulator Controller */
101 #define CONFIG_PMW_BASE 0x99100000
103 #endif /* __AG101_H */