All of lore.kernel.org
 help / color / mirror / Atom feed
From: Suriyan Ramasami <suriyan.r@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 6/8] ARM: Add Seagate GoFlexHome support
Date: Wed, 10 Apr 2013 06:12:15 -0700	[thread overview]
Message-ID: <1365599537-14138-7-git-send-email-suriyan.r@gmail.com> (raw)
In-Reply-To: <1365599537-14138-1-git-send-email-suriyan.r@gmail.com>

Start with the dockstar file.
In all the #defines cosmetically change DOCKSTAR to GOFLEXHOME

Signed-off-by: Suriyan Ramasami <suriyan.r@gmail.com>
---
Changes in v2:
	- Coding style changes

 board/Seagate/goflexhome/goflexhome.h |   47 +++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 board/Seagate/goflexhome/goflexhome.h

diff --git a/board/Seagate/goflexhome/goflexhome.h b/board/Seagate/goflexhome/goflexhome.h
new file mode 100644
index 0000000..2af2596
--- /dev/null
+++ b/board/Seagate/goflexhome/goflexhome.h
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2013 Suriyan Ramasami <suriyan.r@gmail.com>
+ *
+ * Based on dockstar.h originally written by
+ * Copyright (C) 2010  Eric C. Cooper <ecc@cmu.edu>
+ *
+ * Based on sheevaplug.h originally written by
+ * Prafulla Wadaskar <prafulla@marvell.com>
+ * (C) Copyright 2009
+ * Marvell Semiconductor <www.marvell.com>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301 USA
+ */
+
+#ifndef __GOFLEXHOME_H
+#define __GOFLEXHOME_H
+
+#define GOFLEXHOME_OE_LOW		(~(0))
+#define GOFLEXHOME_OE_HIGH		(~(0))
+#define GOFLEXHOME_OE_VAL_LOW		(1 << 29)	/* USB_PWEN low */
+#define GOFLEXHOME_OE_VAL_HIGH		(1 << 17)	/* LED pin high */
+
+/* PHY related */
+#define MV88E1116_LED_FCTRL_REG		10
+#define MV88E1116_CPRSP_CR3_REG		21
+#define MV88E1116_MAC_CTRL_REG		21
+#define MV88E1116_PGADR_REG		22
+#define MV88E1116_RGMII_TXTM_CTRL	(1 << 4)
+#define MV88E1116_RGMII_RXTM_CTRL	(1 << 5)
+
+#endif /* __GOFLEXHOME_H */
-- 
1.7.1

  parent reply	other threads:[~2013-04-10 13:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-10 13:12 [U-Boot] [PATCH v2 0/8] ARM: Add Seagate GoFlexHome support Suriyan Ramasami
2013-04-10 13:12 ` [U-Boot] [PATCH v2 1/8] ARM: Add maintainer for the Seagate GoFlexHome Suriyan Ramasami
2013-04-10 13:12 ` [U-Boot] [PATCH v2 2/8] ARM: Add a board entry " Suriyan Ramasami
2013-04-10 13:12 ` [U-Boot] [PATCH v2 3/8] ARM: Add Seagate GoFlexHome support Suriyan Ramasami
2013-04-10 13:12 ` [U-Boot] [PATCH v2 4/8] " Suriyan Ramasami
2013-04-10 13:12 ` [U-Boot] [PATCH v2 5/8] " Suriyan Ramasami
2013-04-10 13:12 ` Suriyan Ramasami [this message]
2013-04-10 13:12 ` [U-Boot] [PATCH v2 7/8] " Suriyan Ramasami
2013-04-10 13:12 ` [U-Boot] [PATCH v2 8/8] ARM: Present a menu of bootable options on boot Suriyan Ramasami
2013-04-11  1:43   ` Rob Herring
2013-04-11  4:27     ` Suriyan Ramasami
2013-04-11 13:02     ` Mike Dunn
2013-04-11 19:51       ` Suriyan Ramasami
2013-04-12 13:56         ` Tom Rini
2013-04-10 13:37 ` [U-Boot] [PATCH v2 0/8] ARM: Add Seagate GoFlexHome support Albert ARIBAUD
2013-04-10 13:45 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1365599537-14138-7-git-send-email-suriyan.r@gmail.com \
    --to=suriyan.r@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.