From patchwork Mon Apr 8 03:44:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suriyan Ramasami X-Patchwork-Id: 234567 X-Patchwork-Delegate: albert.aribaud@free.fr Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 96AC32C00A5 for ; Mon, 8 Apr 2013 14:23:03 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 697AA4A2A1; Mon, 8 Apr 2013 06:21:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cUTO6tdfy73Y; Mon, 8 Apr 2013 06:21:48 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C23784A2A2; Mon, 8 Apr 2013 06:21:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 53C3C4A221 for ; Mon, 8 Apr 2013 05:52:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id em127WKolS-X for ; Mon, 8 Apr 2013 05:52:28 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ia0-f178.google.com (mail-ia0-f178.google.com [209.85.210.178]) by theia.denx.de (Postfix) with ESMTPS id 793EB4A21E for ; Mon, 8 Apr 2013 05:52:28 +0200 (CEST) Received: by mail-ia0-f178.google.com with SMTP id r13so4899384iar.9 for ; Sun, 07 Apr 2013 20:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=Y+pGnnyu/OX1P+5BKlh2MR0qDG8prtOpYS12ootPd5s=; b=mLt3fsiToLjD4flWojmrPnU5Jq0vt8CYbV1LVHf1Jc+ccfEv6I5tma3K70yjPYJi2v voXCp/5bn1NSy1jPmQQysJ1ncY72WlBE5M43QwsLj5uFHPMHoAVy9rfEDQXJiwf+h/Y2 0/RxsHQovKI9a0HqlrVysapkg6Ju/HaFgANWmSw5UayqOEgMvG38toJZOCsmm2JBa9TO 7lZXU9wtM9MWDry/BkbiMIrom7HZtCF2fEC1g6BtNO+AfcDwc/00hr1UXJ8ccIlczQ+P 7YDwRtlxjbbQH/HdVbud2UU7CnZpN1eft4hMI7K+dcGHg/1pGQCtMhnB0kFjeS/mk1ay 8R8w== X-Received: by 10.50.136.130 with SMTP id qa2mr7441360igb.1.1365392737919; Sun, 07 Apr 2013 20:45:37 -0700 (PDT) Received: from localhost.localdomain (75-101-50-252.dsl.static.sonic.net. [75.101.50.252]) by mx.google.com with ESMTPS id qn10sm14599495igc.6.2013.04.07.20.45.36 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 07 Apr 2013 20:45:37 -0700 (PDT) From: Suriyan Ramasami To: u-boot@lists.denx.de Date: Sun, 7 Apr 2013 20:44:47 -0700 Message-Id: <1365392690-8668-6-git-send-email-suriyan.r@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1365392690-8668-1-git-send-email-suriyan.r@gmail.com> References: <1365392690-8668-1-git-send-email-suriyan.r@gmail.com> X-Mailman-Approved-At: Mon, 08 Apr 2013 06:20:55 +0200 Cc: ecc@cmu.edu Subject: [U-Boot] [PATCH 5/8] ARM: Add Seagate GoFlexHome support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/goflexhome.h | 50 +++++++++++++++++++++++++++++++++ 1 files changed, 50 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..730e4c9 --- /dev/null +++ b/board/Seagate/goflexhome/goflexhome.h @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2013 Suriyan Ramasami + * + * Based on dockstar.h originally written by + * Copyright (C) 2010 Eric C. Cooper + * + * Based on sheevaplug.h originally written by + * Prafulla Wadaskar + * (C) Copyright 2009 + * Marvell Semiconductor + * + * 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) + +/* SATA related */ + + +#endif /* __GOFLEXHOME_H */