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: 7379861 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B8C229F37F for ; Mon, 12 Oct 2015 22:12:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CC0E820901 for ; Mon, 12 Oct 2015 22:12:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EA634208FF for ; Mon, 12 Oct 2015 22:12:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752133AbbJLWMX (ORCPT ); Mon, 12 Oct 2015 18:12:23 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:35239 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751702AbbJLWMW (ORCPT ); Mon, 12 Oct 2015 18:12:22 -0400 Received: by lbwr8 with SMTP id r8so154958856lbw.2 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=STfgEUki/wEutSUQhaGRpJOOANbrYKGgDnv9oPPwGxCgg27ZvYN6UGxk3jJAednugh UmFIej8tXXuZxAGa5bJxrdBkpPahm38DInAHlXAnfkfhIcMfDLl21+zuZxME42xHvwKR Kqe0o7FpffhU0QgIBFrG04Lqm40iTmy1RrmcV3mflhvRHqLoYJd2ZZsZr/YbMMMxdz3X V5L9B8xWbra7XiMyrPRmh1K5oI5QCVHcZLv0V6jzwIf6ap/8dY56K59vkonkUtMH9UFN hyfIMoiZCKGhsTMvwyh1linC7LGTbjs9njoAvO1Jn5V5ozPSO/z47n85koPpN5hm/nHv dCMQ== X-Gm-Message-State: ALoCoQnAjIs8pGr54vNh1rmumyJ7YEDTbqHAUSWEaVcBaoD29g8XpBR5Ds6WEXpzeS6Nwcw+1L6g 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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.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 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 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(+) -- 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/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"; };