blob: 2cbe4eb440b4cedcd6e720eef8312cc99f55e943 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Stefan Roese073efd72015-04-25 06:29:56 +02002/*
3 * Copyright (C) 2014 Stefan Roese <sr@denx.de>
Stefan Roese073efd72015-04-25 06:29:56 +02004 */
5
6#ifndef _CONFIG_DB_88F6820_GP_H
7#define _CONFIG_DB_88F6820_GP_H
8
9/*
10 * High Level Configuration Options (easy to change)
11 */
Stefan Roese073efd72015-04-25 06:29:56 +020012
Stefan Roese073efd72015-04-25 06:29:56 +020013/* I2C */
Tom Rinic188ed42022-12-04 10:04:09 -050014#define CFG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE
Stefan Roese073efd72015-04-25 06:29:56 +020015
Stefan Roese073efd72015-04-25 06:29:56 +020016/* Environment in SPI NOR flash */
Stefan Roese073efd72015-04-25 06:29:56 +020017
Stefan Roese073efd72015-04-25 06:29:56 +020018#define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */
19
Kevin Smith2366bcc2015-05-18 16:09:46 +000020/* Keep device tree and initrd in lower memory so the kernel can access them */
Tom Rinic9edebe2022-12-04 10:03:50 -050021#define CFG_EXTRA_ENV_SETTINGS \
Kevin Smith2366bcc2015-05-18 16:09:46 +000022 "fdt_high=0x10000000\0" \
23 "initrd_high=0x10000000\0"
24
Stefan Roese073efd72015-04-25 06:29:56 +020025/*
26 * mv-common.h should be defined after CMD configs since it used them
27 * to enable certain macros
28 */
29#include "mv-common.h"
30
31#endif /* _CONFIG_DB_88F6820_GP_H */