Merge tag 'xilinx-for-v2022.04-rc3' of https://gitlab.denx.de/u-boot/custodians/u...
[platform/kernel/u-boot.git] / include / configs / goflexhome.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2022 Tony Dinh <mibodhi@gmai.com>
4  * Copyright (C) 2013 Suriyan Ramasami <suriyan.r@gmail.com>
5  *
6  * Based on dockstar.h originally written by
7  * Copyright (C) 2010  Eric C. Cooper <ecc@cmu.edu>
8  *
9  * Based on sheevaplug.h originally written by
10  * Prafulla Wadaskar <prafulla@marvell.com>
11  * (C) Copyright 2009
12  * Marvell Semiconductor <www.marvell.com>
13  */
14
15 #ifndef _CONFIG_GOFLEXHOME_H
16 #define _CONFIG_GOFLEXHOME_H
17
18 #include <linux/bitops.h>
19
20 /*
21  * Default GPIO configuration and LED status
22  */
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 */
27
28 #include "mv-common.h"
29
30 /*
31  * Default environment variables
32  */
33
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"
40
41 /*
42  * Ethernet Driver configuration
43  */
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() */
48 #endif
49
50 /* SATA driver configuration */
51 #define CONFIG_LBA48
52
53 #endif /* _CONFIG_GOFLEXHOME_H */