From patchwork Fri Dec 25 10:03:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7920651 X-Patchwork-Delegate: horms@verge.net.au 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EC912BEEE5 for ; Fri, 25 Dec 2015 10:04:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E46D203B8 for ; Fri, 25 Dec 2015 10:04:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C31220303 for ; Fri, 25 Dec 2015 10:04:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752344AbbLYKEm (ORCPT ); Fri, 25 Dec 2015 05:04:42 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:40232 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752340AbbLYKEl (ORCPT ); Fri, 25 Dec 2015 05:04:41 -0500 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie1.idc.renesas.com with ESMTP; 25 Dec 2015 19:04:40 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 0ABB24E4A6; Fri, 25 Dec 2015 19:04:40 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 099EC2806D; Fri, 25 Dec 2015 19:04:40 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 082742806F; Fri, 25 Dec 2015 19:04:40 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id VBX24781; Fri, 25 Dec 2015 19:04:40 +0900 X-IronPort-AV: E=Sophos;i="5.20,478,1444662000"; d="scan'";a="202512305" Received: from mail-hk2apc01lp0215.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.215]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 25 Dec 2015 19:04:38 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by SIXPR06MB0923.apcprd06.prod.outlook.com (10.162.173.158) with Microsoft SMTP Server (TLS) id 15.1.361.13; Fri, 25 Dec 2015 10:04:37 +0000 From: Yoshihiro Shimoda To: , , , , , , CC: , , , Yoshihiro Shimoda Subject: [PATCH 4/6] arm64: renesas: salvator-x: enable usb2_phy Date: Fri, 25 Dec 2015 19:03:57 +0900 Message-ID: <1451037839-572-5-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1451037839-572-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1451037839-572-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0001.apcprd06.prod.outlook.com (25.164.91.11) To SIXPR06MB0923.apcprd06.prod.outlook.com (25.162.173.158) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0923; 2:7079Fj3ot38TnsDrVKw0DYcLoEbURvVAzpuXg/p4AKvMEsUOdlCKPtln0lDXRHJh2vyWoz2c2gIDl4TR/T1fiDjJB2Mq2SkKAyJwtw3iD37BHw42oaT55ZRAtdeWgbJS6toeko6j6703GoONHcJRaQ==; 3:OZRn8Hck0fCEFYdu2ZwoeNBvfoSzPh5vSqmz/5hoLfPIEuA4hsnoFVGo6DATKoPAGZNZumkBlHGnDWZiP8+w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Giv9MM24y7fBrbL5z0v4xBbWedOgYwr3jPaP/2KpjAKVsjFai1AcFEYr7iHrF/GDQBkdrMjY0H3jxG+Yhm8JMnc3z+XQyJ21DUWfgbbN+eVmvnTu85j4FhFePGt6P+6BH+YsK8QZYLvZj6Ef8F7TyM2Ys7kwwbP9NwM+KPAlor2A7DHaCmGGrkCcmJxh6eN7US+tONT3xKiWYEm7X1IiEvtB+7vXJDGS6bHK/GsTzIJthNet+pDRYooB+33rsH2NSFRgyrtz9OW6ml qhElc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001); SRVR:SIXPR06MB0923; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0923; X-Forefront-PRVS: 0801F2E62B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6069001)(189002)(199003)(47776003)(40100003)(5008740100001)(78352003)(5004730100002)(19580405001)(87976001)(19580395003)(4001430100002)(92566002)(66066001)(42382002)(586003)(48376002)(122386002)(5003940100001)(5001960100002)(50466002)(189998001)(105586002)(106356001)(107886002)(97736004)(81156007)(33646002)(3846002)(42186005)(76506005)(50986999)(5001770100001)(50226001)(101416001)(229853001)(77096005)(76176999)(2950100001)(36756003)(1096002)(6116002); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0923; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:0; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SIXPR06MB0923; 23:nIDYFGOWMTt8u581oYEyHHY3ZmHJnVWEuBenzbyaF?= =?us-ascii?Q?pDJnWhKAqqEGQOd4rBbXNhb8vqq5XmpjngMD4fAwgHbHKMYLOo1McdhczTdw?= =?us-ascii?Q?WiIs1icHCxbAMatiM4886K/R2bdEEO6HEvdXe1K3jFtzKZFGteIIYWpthXip?=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hP5/N5HXSut1Ho?= =?us-ascii?Q?hoaf5fXgODvYasXq2zdvE37D5TfvdP5R6FR2ZUcgs4U2Dk5QEp4/7A8BWHNY?= =?us-ascii?Q?MKpcM8kIIn7UuRRnLFluOhAL388vc95?= X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0923; 5:hG3jbRuDI7kMDPVjzhnJbkZ7Q0jixcZ5zWG9QHvEKbTyTyYuc4n92r59jf+9KU0BXlvMJXYVpxRIvULAKaogja2UFL1u4Un7gQCrYBi6A4PoT59hFbBcfxUptvosLiV1CgurpGJ01DHmlHUTYFMsOw==; 24:sOn8IPVjviSZAx+VTC3GUnGwhpuS5m12Hru20LA6aeRaeoKl7qsPkKqYLio12h9+FlxRBZcxyEkP5tZKdZ2u5nZm0rqoj6VXHUfMgLZaQbk=; 20:pM5Z08DN8Wcp577L9wJF7+nzIWajl41VO6P6+sNqXok73aEP9u6+l7daBcVJDX8zabME7cVTuKGrlB6lB2whIgu1y80CKNpds0x2rSTW2szVXGpbkQOhfjvnteRSqlVW+1VV9IHYz8hywRsaAx1KvX0/uxcIYJla2cJL+/3jaB0= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Dec 2015 10:04:37.0529 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0923 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-3.9 required=5.0 tests=AXB_X_OUTLOOKPROT_ENVSDR, BAYES_00, 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 Signed-off-by: Yoshihiro Shimoda --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 34 +++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index 265d12f..7353407 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -122,8 +122,22 @@ "audio_clkout_a", "audio_clkout3_a"; renesas,function = "audio_clk"; }; -}; + usb0_pins: usb0 { + renesas,groups = "usb0"; + renesas,function = "usb"; + }; + + usb1_pins: usb1 { + renesas,groups = "usb1"; + renesas,function = "usb"; + }; + + usb2_pins: usb2 { + renesas,groups = "usb2"; + renesas,function = "usb"; + }; +}; &scif1 { pinctrl-0 = <&scif1_pins>; pinctrl-names = "default"; @@ -249,3 +263,21 @@ interrupts = <11 IRQ_TYPE_LEVEL_LOW>; }; }; + +&usb2_phy0 { + status = "okay"; + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; +}; + +&usb2_phy1 { + status = "okay"; + pinctrl-0 = <&usb1_pins>; + pinctrl-names = "default"; +}; + +&usb2_phy2 { + status = "okay"; + pinctrl-0 = <&usb2_pins>; + pinctrl-names = "default"; +};