1 /* SPDX-License-Identifier: GPL-2.0+ */
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.
17 #include <asm/hardware.h>
19 /* ARM asynchronous clock */
20 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* 12 MHz crystal */
21 #define CONFIG_SYS_AT91_SLOW_CLOCK 32768
28 #define CONFIG_SYS_SDRAM_BASE ATMEL_BASE_CS1
29 #define CONFIG_SYS_SDRAM_SIZE 0x04000000
31 #define CONFIG_SYS_INIT_SP_ADDR \
32 (ATMEL_BASE_SRAM1 + 16 * 1024 - GENERATED_GBL_DATA_SIZE)
35 #ifdef CONFIG_CMD_NAND
36 #define CONFIG_SYS_MAX_NAND_DEVICE 1
37 #define CONFIG_SYS_NAND_BASE ATMEL_BASE_CS3
39 #define CONFIG_SYS_NAND_MASK_ALE (1 << 21)
41 #define CONFIG_SYS_NAND_MASK_CLE (1 << 22)
42 #define CONFIG_SYS_NAND_ENABLE_PIN GPIO_PIN_PD(15)
43 #define CONFIG_SYS_NAND_READY_PIN GPIO_PIN_PA(22)
48 #define CONFIG_NET_RETRY_COUNT 20
49 #define CONFIG_AT91_WANTS_COMMON_PHY
53 #define CONFIG_USB_ATMEL
54 #define CONFIG_USB_OHCI_NEW
55 #define CONFIG_SYS_USB_OHCI_CPU_INIT
56 #define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00a00000
57 #define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9263"
58 #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
61 /* bootstrap + u-boot + env + linux in dataflash on CS0 */
62 #define CONFIG_EXTRA_ENV_SETTINGS \
63 "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \