From patchwork Tue Jun 24 18:13:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4412531 Return-Path: X-Original-To: patchwork-linux-arm@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 C3BE0BEEAA for ; Tue, 24 Jun 2014 18:16:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1705A2020A for ; Tue, 24 Jun 2014 18:16:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4219C201ED for ; Tue, 24 Jun 2014 18:16:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WzVES-0006GJ-EC; Tue, 24 Jun 2014 18:14:12 +0000 Received: from mail-lb0-f176.google.com ([209.85.217.176]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WzVEG-0005pT-8K for linux-arm-kernel@lists.infradead.org; Tue, 24 Jun 2014 18:14:04 +0000 Received: by mail-lb0-f176.google.com with SMTP id w7so1000129lbi.35 for ; Tue, 24 Jun 2014 11:13:37 -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=E+XTUblegkeaGG6jBnDRWDW8+xi8zAzyUfpqw/VLE9o=; b=XsZGSkaPCOjoYbvCePALUi8rWRjhSxtFPeP+BN3yIVqlC2UnY+YvwYxexf4mMFsUAY pOVgO8PUg+L0JKbzgE2i06Zo6l1oQQ516Cdgq0nD/13UxDUh6xQ05eczQ45+24SQL+mt 79DgABjv2ByDzMQSYkMnn0IShTWfFBLEEUvjQPGtinDNxYyxaX6RGPSW2QFtyJOfClxl dYSL9r7bY4BzZbToUnVfLqf+rMNnVKbYHQ1y4+3EqQR9hBhcgKAewYdO1NZmLxwPwNde NWAlD4lUoLWJ5sGOxoweaS5UcY2nppsb2sdXi/6VzoDTEpqLHF27cs36ra043k4H1+IX rC3g== X-Gm-Message-State: ALoCoQlY7tvKnVOB1aW+qsYcpoKk0wOoMKk6ZCa0X7/aa2jMkd0V7HNUoCG1l2EB0kuGPMmwIqou X-Received: by 10.152.29.200 with SMTP id m8mr1749721lah.49.1403633616989; Tue, 24 Jun 2014 11:13:36 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp27-85.pppoe.mtu-net.ru. [81.195.27.85]) by mx.google.com with ESMTPSA id u4sm423939lal.8.2014.06.24.11.13.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 24 Jun 2014 11:13:36 -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 3/3] ARM: shmobile: henninger: enable internal PCI Date: Tue, 24 Jun 2014 22:13:38 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) References: <201406242207.32790.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201406242207.32790.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201406242213.39873.sergei.shtylyov@cogentembedded.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140624_111400_502242_45F64185 X-CRM114-Status: GOOD ( 10.05 ) X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to them. Signed-off-by: Sergei Shtylyov --- Changes in version 4: - moved the PCI bridge nodes before PCIe clock/bridge nodes. Changes in version 3: - refreshed the patch. arch/arm/boot/dts/r8a7791-henninger.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts +++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts @@ -125,6 +125,16 @@ "msiof0_tx"; renesas,function = "msiof0"; }; + + usb0_pins: usb0 { + renesas,groups = "usb0"; + renesas,function = "usb0"; + }; + + usb1_pins: usb1 { + renesas,groups = "usb1"; + renesas,function = "usb1"; + }; }; &scif0 { @@ -231,6 +241,18 @@ }; }; +&pci0 { + status = "okay"; + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; +}; + +&pci1 { + status = "okay"; + pinctrl-0 = <&usb1_pins>; + pinctrl-names = "default"; +}; + &pcie_bus_clk { status = "okay"; };