Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 2 | /* |
Tony Dinh | a69a786 | 2022-01-25 19:33:44 -0800 | [diff] [blame] | 3 | * Copyright (C) 2022 Tony Dinh <mibodhi@gmai.com> |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 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> |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 13 | */ |
| 14 | |
| 15 | #ifndef _CONFIG_GOFLEXHOME_H |
| 16 | #define _CONFIG_GOFLEXHOME_H |
| 17 | |
Tony Dinh | a69a786 | 2022-01-25 19:33:44 -0800 | [diff] [blame] | 18 | #include <linux/bitops.h> |
| 19 | |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 20 | /* |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 21 | * Default GPIO configuration and LED status |
| 22 | */ |
| 23 | #define GOFLEXHOME_OE_LOW (~(0)) |
| 24 | #define GOFLEXHOME_OE_HIGH (~(0)) |
Tony Dinh | a69a786 | 2022-01-25 19:33:44 -0800 | [diff] [blame] | 25 | #define GOFLEXHOME_OE_VAL_LOW BIT(29) /* USB_PWEN low */ |
| 26 | #define GOFLEXHOME_OE_VAL_HIGH BIT(17) /* LED pin high */ |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 27 | |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 28 | #include "mv-common.h" |
| 29 | |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 30 | /* |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 31 | * Default environment variables |
| 32 | */ |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 33 | |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 34 | #define CFG_EXTRA_ENV_SETTINGS \ |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 35 | "console=console=ttyS0,115200\0" \ |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 36 | "kernel=/boot/uImage\0" \ |
| 37 | "bootargs_root=ubi.mtd=root root=ubi0:root rootfstype=ubifs ro\0" |
| 38 | |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 39 | #endif /* _CONFIG_GOFLEXHOME_H */ |