From patchwork Thu Jul 24 20:54:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Byshko X-Patchwork-Id: 373522 X-Patchwork-Delegate: hdegoede@redhat.com 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 A29DE14009E for ; Fri, 25 Jul 2014 06:55:30 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A0FF0A7637; Thu, 24 Jul 2014 22:55:28 +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 weRiV95J12v6; Thu, 24 Jul 2014 22:55:28 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 47640A7702; Thu, 24 Jul 2014 22:55:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 93E36A76C3 for ; Thu, 24 Jul 2014 22:55:03 +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 GNiocl8ytuNy for ; Thu, 24 Jul 2014 22:55:00 +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-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) by theia.denx.de (Postfix) with ESMTPS id 82A35A7669 for ; Thu, 24 Jul 2014 22:54:41 +0200 (CEST) Received: by mail-qa0-f53.google.com with SMTP id v10so3498150qac.40 for ; Thu, 24 Jul 2014 13:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=0/oiXuvLuDoPdJtw420AZ3NNFQYxNp3pLELp4Czd2TQ=; b=k9qhus5sqzsg+d2EOZwWdAyjAr0xyZm65YZaLrbF8o+OK6VfHMlwbZA/iTAXgXan7i K7HomAGa24dmMuD93KjyXz1918zz3b/QoDVozlzO75uih+UZ7nHaB8oKFLmgL8Pq8h/i ggqi64PJ+JWANwgJH03W0QLbKrfwpm4we9p8/kPtKcOir8QxHvuqJ2qUfSRlJseCYWU9 JxM+GVV10lzm7yCCxCeLNQzCNMZKJddTTqbQJbCMQREzrnF1eJup8PalHg77V4lMDHCv h12q4FGjeUbxeyWg1IKwpH7eyrj4H1voI2y1QOd1i7ZZCimqZMq81d2AYOqIJYw9xKFt Immw== X-Received: by 10.140.89.197 with SMTP id v63mr19224989qgd.71.1406235279256; Thu, 24 Jul 2014 13:54:39 -0700 (PDT) Received: from localhost.localdomain (HSI-KBW-46-223-180-10.hsi.kabel-badenwuerttemberg.de. [46.223.180.10]) by mx.google.com with ESMTPSA id 33sm8398535qgt.28.2014.07.24.13.54.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Jul 2014 13:54:38 -0700 (PDT) From: Roman Byshko To: u-boot@lists.denx.de Date: Thu, 24 Jul 2014 22:54:23 +0200 Message-Id: X-Mailer: git-send-email 2.0.0 In-Reply-To: References: In-Reply-To: References: Cc: Oliver Schinagl , Emilio Lopez , linux-sunxi , Ian Campbell Subject: [U-Boot] [PATCH v3 4/5] sun7i: add USB EHCI settings 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 Specific USB EHCI settings to be set for sun7i if CONFIG_USB_EHCI is enabled. Signed-off-by: Roman Byshko Acked-by: Ian Campbell --- include/configs/sun7i.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h index d9be104..0c9bddd 100644 --- a/include/configs/sun7i.h +++ b/include/configs/sun7i.h @@ -17,6 +17,14 @@ #define CONFIG_SYS_PROMPT "sun7i# " +#ifdef CONFIG_USB_EHCI +#define CONFIG_USB_EHCI_SUNXI + +#define CONFIG_USB_MAX_CONTROLLER_COUNT 2 +#define CONFIG_SUNXI_USB_VBUS0_GPIO 230 +#define CONFIG_SUNXI_USB_VBUS1_GPIO 227 +#endif + /* * Include common sunxi configuration where most the settings are */