1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2014-2022 Tony Dinh <mibodhi@gmail.com>
7 * David Purdy <david.c.purdy@gmail.com>
9 * Based on Kirkwood support:
11 * Marvell Semiconductor <www.marvell.com>
12 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
15 #ifndef _CONFIG_POGO_V4_H
16 #define _CONFIG_POGO_V4_H
19 * mv-common.h should be defined after CMD configs since it used them
20 * to enable certain macros
22 #include "mv-common.h"
25 * Default environment variables
27 #define CONFIG_EXTRA_ENV_SETTINGS \
28 "dtb_file=/boot/dts/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
29 "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0"\
30 "mtdids=nand0=orion_nand\0"\
31 "bootargs_console=console=ttyS0,115200\0" \
32 "bootcmd_usb=usb start; load usb 0:1 0x00800000 /boot/uImage; " \
33 "load usb 0:1 0x01100000 /boot/uInitrd; " \
34 "load usb 0:1 0x2c00000 $dtb_file\0"
37 * Ethernet Driver configuration
39 #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
40 #define CONFIG_PHY_BASE_ADR 0
41 #ifdef CONFIG_RESET_PHY_R
42 #undef CONFIG_RESET_PHY_R /* remove legacy reset_phy() */
46 * SATA Driver configuration
48 #define CONFIG_SYS_SATA_MAX_DEVICE 1
51 * Support large disk for SATA and USB
53 #define CONFIG_SYS_64BIT_LBA
56 #endif /* _CONFIG_POGO_V4_H */