2 * (C) Copyright 2013 Siemens Schweiz AG
3 * (C) Heiko Schocher, DENX Software Engineering, hs@denx.de.
6 * U-Boot file:/include/configs/am335x_evm.h
8 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
10 * SPDX-License-Identifier: GPL-2.0+
13 #ifndef __CONFIG_DRACO_H
14 #define __CONFIG_DRACO_H
16 #define CONFIG_SIEMENS_DRACO
17 #define MACH_TYPE_DRACO 4314
18 #define CONFIG_SIEMENS_MACH_TYPE MACH_TYPE_DRACO
20 #include "siemens-am33x-common.h"
22 #define CONFIG_SYS_MPUCLK 275
23 #define DDR_PLL_FREQ 303
24 #undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
26 #define BOARD_DFU_BUTTON_GPIO 27
27 #define BOARD_DFU_BUTTON_LED 64 /* red LED */
28 #define BOARD_STATUS_LED 103 /* green LED */
29 #define GPIO_LAN9303_NRST 88 /* GPIO2_24 = gpio88 */
31 #undef CONFIG_DOS_PARTITION
35 /* Physical Memory Map */
36 #define CONFIG_MAX_RAM_BANK_SIZE (1024 << 20) /* 1GB */
38 /* I2C Configuration */
39 #define CONFIG_SYS_I2C_SPEED 100000
41 #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
42 #define EEPROM_ADDR_DDR3 0x90
43 #define EEPROM_ADDR_CHIP 0x120
45 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 0x300
47 #undef CONFIG_SPL_NET_SUPPORT
48 #undef CONFIG_SPL_NET_VCI_STRING
49 #undef CONFIG_SPL_ETH_SUPPORT
52 #undef CONFIG_PHY_GIGE
53 #define CONFIG_PHY_SMSC
55 #define CONFIG_FACTORYSET
58 #define CONFIG_OMAP_WATCHDOG
60 #ifndef CONFIG_SPL_BUILD
62 /* Default env settings */
63 #define CONFIG_EXTRA_ENV_SETTINGS \
64 "nand_img_size=0x400000\0" \
66 CONFIG_COMMON_ENV_SETTINGS
68 #ifndef CONFIG_RESTORE_FLASH
69 /* set to negative value for no autoboot */
70 #define CONFIG_BOOTDELAY 3
72 #define CONFIG_BOOTCOMMAND \
73 "if dfubutton; then " \
82 #define CONFIG_BOOTDELAY 0
84 #define CONFIG_BOOTCOMMAND \
85 "setenv autoload no; " \
87 "if tftp 80000000 debrick.scr; then " \
91 #endif /* CONFIG_SPL_BUILD */
92 #endif /* ! __CONFIG_DRACO_H */