1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2022 Tony Dinh <mibodhi@gmai.com>
4 * Copyright (C) 2013 Suriyan Ramasami <suriyan.r@gmail.com>
6 * Based on dockstar.h originally written by
7 * Copyright (C) 2010 Eric C. Cooper <ecc@cmu.edu>
9 * Based on sheevaplug.h originally written by
10 * Prafulla Wadaskar <prafulla@marvell.com>
12 * Marvell Semiconductor <www.marvell.com>
15 #ifndef _CONFIG_GOFLEXHOME_H
16 #define _CONFIG_GOFLEXHOME_H
18 #include <linux/bitops.h>
21 * Default GPIO configuration and LED status
23 #define GOFLEXHOME_OE_LOW (~(0))
24 #define GOFLEXHOME_OE_HIGH (~(0))
25 #define GOFLEXHOME_OE_VAL_LOW BIT(29) /* USB_PWEN low */
26 #define GOFLEXHOME_OE_VAL_HIGH BIT(17) /* LED pin high */
28 #include "mv-common.h"
31 * Default environment variables
34 #define CONFIG_EXTRA_ENV_SETTINGS \
35 "console=console=ttyS0,115200\0" \
36 "mtdids=nand0=orion_nand\0" \
37 "mtdparts=" CONFIG_MTDPARTS_DEFAULT \
38 "kernel=/boot/uImage\0" \
39 "bootargs_root=ubi.mtd=root root=ubi0:root rootfstype=ubifs ro\0"
42 * Ethernet Driver configuration
44 #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
45 #define CONFIG_PHY_BASE_ADR 0
46 #ifdef CONFIG_RESET_PHY_R
47 #undef CONFIG_RESET_PHY_R /* remove legacy reset_phy() */
50 /* SATA driver configuration */
53 #endif /* _CONFIG_GOFLEXHOME_H */