Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 4 | */ |
| 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 Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 12 | |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 13 | /* I2C */ |
Tom Rini | c188ed4 | 2022-12-04 10:04:09 -0500 | [diff] [blame] | 14 | #define CFG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 15 | |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 16 | /* Environment in SPI NOR flash */ |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 17 | |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 18 | #define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */ |
| 19 | |
Kevin Smith | 2366bcc | 2015-05-18 16:09:46 +0000 | [diff] [blame] | 20 | /* Keep device tree and initrd in lower memory so the kernel can access them */ |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 21 | #define CFG_EXTRA_ENV_SETTINGS \ |
Kevin Smith | 2366bcc | 2015-05-18 16:09:46 +0000 | [diff] [blame] | 22 | "fdt_high=0x10000000\0" \ |
| 23 | "initrd_high=0x10000000\0" |
| 24 | |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 25 | /* |
| 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 */ |