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 "kernel=/boot/uImage\0" \
37 "bootargs_root=ubi.mtd=root root=ubi0:root rootfstype=ubifs ro\0"
39 #endif /* _CONFIG_GOFLEXHOME_H */