2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2013-08-19 14:39:01 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2013 Siemens Schweiz AG
|
|
|
|
* (C) Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
|
|
|
*
|
|
|
|
* Based on:
|
|
|
|
* U-Boot file:/include/configs/am335x_evm.h
|
|
|
|
*
|
2023-11-01 20:56:03 +00:00
|
|
|
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
|
2013-08-19 14:39:01 +00:00
|
|
|
*/
|
|
|
|
|
2015-06-15 12:57:15 +00:00
|
|
|
#ifndef __CONFIG_THUBAN_H
|
|
|
|
#define __CONFIG_THUBAN_H
|
2013-08-19 14:39:01 +00:00
|
|
|
|
|
|
|
#include "siemens-am33x-common.h"
|
|
|
|
|
2013-11-04 13:05:03 +00:00
|
|
|
#define DDR_PLL_FREQ 303
|
2013-08-19 14:39:01 +00:00
|
|
|
|
2015-06-15 12:57:15 +00:00
|
|
|
#define BOARD_DFU_BUTTON_GPIO 27 /* Use as default */
|
2014-02-25 10:07:22 +00:00
|
|
|
#define GPIO_LAN9303_NRST 88 /* GPIO2_24 = gpio88 */
|
2013-08-19 14:39:01 +00:00
|
|
|
|
2022-12-04 15:03:41 +00:00
|
|
|
#define CFG_ENV_SETTINGS_BUTTONS_AND_LEDS \
|
2015-06-16 12:59:34 +00:00
|
|
|
"button_dfu0=27\0" \
|
|
|
|
"led0=103,1,0\0" \
|
|
|
|
"led1=64,0,1\0"
|
|
|
|
|
2013-08-19 14:39:01 +00:00
|
|
|
/* Physical Memory Map */
|
2022-12-04 15:04:51 +00:00
|
|
|
#define CFG_MAX_RAM_BANK_SIZE (1024 << 20) /* 1GB */
|
2013-08-19 14:39:01 +00:00
|
|
|
|
|
|
|
/* Default env settings */
|
2022-12-04 15:03:50 +00:00
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
2015-06-15 12:57:15 +00:00
|
|
|
"hostname=thuban\0" \
|
2016-06-07 06:55:45 +00:00
|
|
|
"ubi_off=2048\0"\
|
2013-11-04 13:05:03 +00:00
|
|
|
"nand_img_size=0x400000\0" \
|
2013-08-19 14:39:01 +00:00
|
|
|
"optargs=\0" \
|
2015-06-16 12:59:34 +00:00
|
|
|
"preboot=draco_led 0\0" \
|
2022-12-04 15:03:41 +00:00
|
|
|
CFG_ENV_SETTINGS_BUTTONS_AND_LEDS \
|
2022-12-04 15:03:45 +00:00
|
|
|
CFG_ENV_SETTINGS_V2 \
|
2022-12-04 15:03:43 +00:00
|
|
|
CFG_ENV_SETTINGS_NAND_V2
|
2013-08-19 14:39:01 +00:00
|
|
|
|
2015-06-15 12:57:15 +00:00
|
|
|
#endif /* ! __CONFIG_THUBAN_H */
|