From patchwork Mon Oct 12 22:12:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7379881 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6E858BEEA4 for ; Mon, 12 Oct 2015 22:14:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C799208FF for ; Mon, 12 Oct 2015 22:14:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 18CDD208FA for ; Mon, 12 Oct 2015 22:14:31 +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 1ZllKo-00047C-0p; Mon, 12 Oct 2015 22:12:46 +0000 Received: from mail-lb0-f182.google.com ([209.85.217.182]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZllKl-00045I-63 for linux-arm-kernel@lists.infradead.org; Mon, 12 Oct 2015 22:12:43 +0000 Received: by lbbck17 with SMTP id ck17so36321990lbb.1 for ; Mon, 12 Oct 2015 15:12:20 -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:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=U7gah416kkCCk2WgMLoQuyMeiueuFEo7fyWW6fbIuVw=; b=HAZ5L+NLqaHkC3m3UeD6Bl0ZvzV2nqsxWMjNucMG3lcnk9cgHxf7Pu5Z70CrDe+vR2 WbAcA5GKJGpg6aK1l1SOl/qjtWUKlKLOa0CuLWtppO5fy8zUj6bWXCDZLLCbPRb3tBrz X2KkTIwSgU5gsnmcxxOj1Qvf7o/d3MSzcQLckuuqJgvg5Alyze+E7asexogjsLuNMn9u O+kHa8HLTtOsjTS8Gzd1cMGF/w3SDko3ebbPFFxgIOD6CVhkN2ILkGkuUicHp7rA8KNH JWpkXOOfeX52eaz2KYiTBY901akq4IrTo5UUz71K+DyRKoPeIdIlyd3fsHS1DYIiBEdw 9OeA== X-Gm-Message-State: ALoCoQldVx6meI9C/C/UYxqHXOg3f2P1akwuiAqDlp1RMlaPIvv5hM1iffOrzr3CTsop3bFSdg7r X-Received: by 10.112.77.10 with SMTP id o10mr13853117lbw.28.1444687940692; Mon, 12 Oct 2015 15:12:20 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-250-110.pppoe.mtu-net.ru. [83.237.250.110]) by smtp.gmail.com with ESMTPSA id t129sm3294684lfd.5.2015.10.12.15.12.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 15:12:19 -0700 (PDT) From: Sergei Shtylyov 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] ARM: shmobile: porter: enable internal PCI and USB PHY Date: Tue, 13 Oct 2015 01:12:18 +0300 Message-ID: <4574604.BmF3DtBjpm@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.8-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <3151312.grtDDBsSl8@wasted.cogentembedded.com> References: <3151312.grtDDBsSl8@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151012_151243_431142_D2CAB9A3 X-CRM114-Status: GOOD ( 11.12 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 and also enable USB PHY device for the Porter board. We have to enable everything in one patch since EHCI/OHCI devices are already linked to the USB PHY device. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-20151012-v4.3-rc5' tag of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/r8a7791-porter.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-porter.dts +++ renesas/arch/arm/boot/dts/r8a7791-porter.dts @@ -120,6 +120,16 @@ renesas,function = "i2c2"; }; + usb0_pins: usb0 { + renesas,groups = "usb0"; + renesas,function = "usb0"; + }; + + usb1_pins: usb1 { + renesas,groups = "usb1"; + renesas,function = "usb1"; + }; + vin0_pins: vin0 { renesas,groups = "vin0_data8", "vin0_clk"; renesas,function = "vin0"; @@ -245,6 +255,24 @@ }; }; +&pci0 { + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pci1 { + pinctrl-0 = <&usb1_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&usbphy { + status = "okay"; +}; + &pcie_bus_clk { status = "okay"; };