From patchwork Mon Apr 7 22:40:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 3947381 X-Patchwork-Delegate: lethal@linux-sh.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8D4849F370 for ; Mon, 7 Apr 2014 22:40:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A7C9C201FD for ; Mon, 7 Apr 2014 22:40:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1C0920221 for ; Mon, 7 Apr 2014 22:40:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755322AbaDGWkP (ORCPT ); Mon, 7 Apr 2014 18:40:15 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:44639 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755034AbaDGWkN (ORCPT ); Mon, 7 Apr 2014 18:40:13 -0400 Received: by mail-lb0-f173.google.com with SMTP id p9so92914lbv.4 for ; Mon, 07 Apr 2014 15:40:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=FLN2/Ra4A4PgY5rPQGBg6bbAkOnqvqqbt/9io4li2nI=; b=dXckpWtXKSPvg8ZavDs+EjXB1DGOsk1yOfrYJ7x+L1G49kMBVJEo3L5uQhEpt7fjc3 mbCwQJdSw4vjXJcfC+W25LdQHithw/mxJOiyuq0MIZrfBqRfd+6Ce5SwjdtV3qqREoM7 JCXsRzZjV0mKYA3TtXyRaB5f8GceO0NdBDsIeW3c35IdO0hsErWpJdZM8QXUqguj2m9w mw0ygvNiI/Q+JO10vbPwiXG3UMEEyQ+amEJdK95xqNAxiPx1VZbpV4LiKShuFLfPANV6 fukHbb8CeJ7UPsu+YV5b7QisSRf6QKBST4KP3SP5u6rm3r/m5v6BykHvzmLL1CW7wOCF DuDA== X-Gm-Message-State: ALoCoQkk5hKD/wll28Gyf8Jr3HjP5Xwrky3yyHtTkpkoBiY2gSErwQBqhgAPM9XVG3AwPWUZGUuf X-Received: by 10.152.22.37 with SMTP id a5mr85066laf.4.1396910412360; Mon, 07 Apr 2014 15:40:12 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-62-83.pppoe.mtu-net.ru. [83.237.62.83]) by mx.google.com with ESMTPSA id mk5sm139771lac.6.2014.04.07.15.40.11 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 07 Apr 2014 15:40:11 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Subject: [PATCH v2 2/2] ARM: shmobile: lager: enable internal PCI Date: Tue, 8 Apr 2014 02:40:12 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk References: <201404080235.22151.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201404080235.22151.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201404080240.13639.sergei.shtylyov@cogentembedded.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ben Dooks Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to them. Signed-off-by: Ben Dooks Reviewed-by: Ian Molton [Sergei: enabled PCI0] Signed-off-by: Sergei Shtylyov --- Changes in version 2: - enabled PCI0 device; - reworded summary and changelog; - refreshed the patch. arch/arm/boot/dts/r8a7790-lager.dts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7790-lager.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7790-lager.dts +++ renesas/arch/arm/boot/dts/r8a7790-lager.dts @@ -199,6 +199,21 @@ "msiof1_tx"; renesas,function = "msiof1"; }; + + usb0_pins: usb0 { + renesas,groups = "usb0"; + renesas,function = "usb0"; + }; + + usb1_pins: usb1 { + renesas,groups = "usb1"; + renesas,function = "usb1"; + }; + + usb2_pins: usb2 { + renesas,groups = "usb2"; + renesas,function = "usb2"; + }; }; ðer { @@ -297,3 +312,21 @@ cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; status = "okay"; }; + +&pci0 { + status = "okay"; + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; +}; + +&pci1 { + status = "okay"; + pinctrl-0 = <&usb1_pins>; + pinctrl-names = "default"; +}; + +&pci2 { + status = "okay"; + pinctrl-0 = <&usb2_pins>; + pinctrl-names = "default"; +};