blob: 7fff78b7b5d68a4d8f1158c1f173596a6ddfa0d0 [file] [log] [blame]
Tony Dinh6e36f662022-01-23 22:17:12 -08001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2014-2022 Tony Dinh <mibodhi@gmail.com>
4 *
5 * Based on
6 * Copyright (C) 2012
7 * David Purdy <david.c.purdy@gmail.com>
8 *
9 * Based on Kirkwood support:
10 * (C) Copyright 2009
11 * Marvell Semiconductor <www.marvell.com>
12 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
13 */
14
15#ifndef _CONFIG_POGO_V4_H
16#define _CONFIG_POGO_V4_H
17
18/*
19 * mv-common.h should be defined after CMD configs since it used them
20 * to enable certain macros
21 */
22#include "mv-common.h"
23
24/*
25 * Default environment variables
26 */
27#define CONFIG_EXTRA_ENV_SETTINGS \
28 "dtb_file=/boot/dts/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
Tony Dinh6e36f662022-01-23 22:17:12 -080029 "bootargs_console=console=ttyS0,115200\0" \
30 "bootcmd_usb=usb start; load usb 0:1 0x00800000 /boot/uImage; " \
31 "load usb 0:1 0x01100000 /boot/uInitrd; " \
32 "load usb 0:1 0x2c00000 $dtb_file\0"
33
34/*
35 * Ethernet Driver configuration
36 */
37#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
38#define CONFIG_PHY_BASE_ADR 0
Tony Dinh6e36f662022-01-23 22:17:12 -080039
Tony Dinh6e36f662022-01-23 22:17:12 -080040#endif /* _CONFIG_POGO_V4_H */