From patchwork Fri Jun 20 20:38:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4392591 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D668DBEEAA for ; Fri, 20 Jun 2014 20:38:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0AB80203E6 for ; Fri, 20 Jun 2014 20:38:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 30F70203E3 for ; Fri, 20 Jun 2014 20:38:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757418AbaFTUil (ORCPT ); Fri, 20 Jun 2014 16:38:41 -0400 Received: from mail-la0-f51.google.com ([209.85.215.51]:32790 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755799AbaFTUik (ORCPT ); Fri, 20 Jun 2014 16:38:40 -0400 Received: by mail-la0-f51.google.com with SMTP id mc6so2738212lab.10 for ; Fri, 20 Jun 2014 13:38:39 -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=Yr2jxe/WB+AyN+ahDeQkhUGtXYisFebVMLquM/sk7OQ=; b=KieS5BJsjbOU/nOy6dsBo53/FQuLPnwoJX62MOzvKIIH32K23ZyFRMSnCBMUmpsBx7 aWYj79myMUUtV3JG5ylZtNVLqmRNzbNJGzHgq2DU0FESl5sin9vHlKIWBLd8qaKjZs2u 3Iwl2JQAmcnthm537xGiVhQ5PpM1M4cUNpR32UO3fqL2fLsnMxA4+zVZdu8ObQqp+ZwS OROOuTQLByWOPop4D8EBA9clcnXoqXHFBaMpJcDtkaLJ9ivhZZas34bPDLBdmaFgmZVu 2uLDY9PZt2I2agf4pEFIdW7B5z1wFmu+t3PG9MfVSjnxG5M+qtDyy4K4tHhfm6VFJEa2 JKuA== X-Gm-Message-State: ALoCoQkh5y+40OwShnJKDeDASDvJ4mjt5gGRcpb3/ftdA+ZZR7sH7U9LgSZZ/GPmn08IYPDh6yUU X-Received: by 10.112.126.38 with SMTP id mv6mr3949681lbb.54.1403296719664; Fri, 20 Jun 2014 13:38:39 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp21-225.pppoe.mtu-net.ru. [81.195.21.225]) by mx.google.com with ESMTPSA id cj1sm4095656lad.21.2014.06.20.13.38.37 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Jun 2014 13:38:38 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH v4 2/2] ARM: shmobile: lager: enable internal PCI Date: Sat, 21 Jun 2014 00:38:48 +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: <201406210034.57784.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201406210034.57784.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201406210038.49541.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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 4: - refreshed the patch. Changes in version 3: - refreshed the patch. 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 @@ -219,6 +219,21 @@ renesas,groups = "i2c3"; renesas,function = "i2c3"; }; + + 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 { @@ -368,3 +383,21 @@ regulator-always-on; }; }; + +&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"; +};