Merge patch series "upl: Prerequite patches for updated spec"
[u-boot.git] / include / configs / usb_a9263.h
blobb90e047955b909f26c4c2e6000d3c561288a9f12
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * (C) Copyright 2007-2013
4 * Stelian Pop <stelian.pop@leadtechdesign.com>
5 * Lead Tech Design <www.leadtechdesign.com>
6 * Thomas Petazzoni, Free Electrons, <thomas.petazzoni@free-electrons.com>
7 * Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
9 * Settings for Calao USB-A9263 board
11 * U-Boot image has to be less than 200704 bytes, otherwise at91bootstrap
12 * installed on board will not be able to load it properly.
15 #ifndef __CONFIG_H
16 #define __CONFIG_H
17 #include <asm/hardware.h>
19 /* ARM asynchronous clock */
20 #define CFG_SYS_AT91_MAIN_CLOCK 12000000 /* 12 MHz crystal */
21 #define CFG_SYS_AT91_SLOW_CLOCK 32768
24 * Hardware drivers
27 /* SDRAM */
28 #define CFG_SYS_SDRAM_BASE ATMEL_BASE_CS1
29 #define CFG_SYS_SDRAM_SIZE 0x04000000
31 #define CFG_SYS_INIT_RAM_SIZE (16 * 1024)
32 #define CFG_SYS_INIT_RAM_ADDR ATMEL_BASE_SRAM1
34 /* NAND flash */
35 #ifdef CONFIG_CMD_NAND
36 #define CFG_SYS_NAND_BASE ATMEL_BASE_CS3
37 /* our ALE is AD21 */
38 #define CFG_SYS_NAND_MASK_ALE (1 << 21)
39 /* our CLE is AD22 */
40 #define CFG_SYS_NAND_MASK_CLE (1 << 22)
41 #define CFG_SYS_NAND_ENABLE_PIN GPIO_PIN_PD(15)
42 #define CFG_SYS_NAND_READY_PIN GPIO_PIN_PA(22)
43 #endif
45 /* bootstrap + u-boot + env + linux in dataflash on CS0 */
46 #define CFG_EXTRA_ENV_SETTINGS \
48 #endif