From patchwork Wed Apr 23 14:30:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4041801 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DA6D89F319 for ; Wed, 23 Apr 2014 14:40:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 09E6D201ED for ; Wed, 23 Apr 2014 14:40:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E2A1720160 for ; Wed, 23 Apr 2014 14:40:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932266AbaDWOb0 (ORCPT ); Wed, 23 Apr 2014 10:31:26 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:55042 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932176AbaDWObR (ORCPT ); Wed, 23 Apr 2014 10:31:17 -0400 Received: by mail-pa0-f48.google.com with SMTP id hz1so819798pad.21 for ; Wed, 23 Apr 2014 07:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=NPvxeuVla8g4mi+8Sd1LWOjw1HN7g9X97BFGSBMW/Bk=; b=XpRQUtSTl51zNG3ttug3ByLWg0uQruqSsPrvZRH1j1S3ufXwjwCbFbdSlrA4WWyrE/ vNomJ6MDaelBe4dHieGFtJpObaByudBb4AVR+p0n7CL6tY/aphRMEhJC34HHnmxi9Cjv Dd8C8C9V4az6v0nKWGeugbTDktneYsSscaqPEOaV33tVkH6lRG6T1IrJD7kBMbrmAY0z 8mkz6Rl/VA6xY/mSDqmpZaZZyL6MWcfzGWfHN/06xz4lbGkp49zlXKSdkpNyQTLNkys4 RxFrozE+wiGnI9gxSduV9ZqivHwMlACmHbYZWC4x2V8N5nj3Voy29K+P7DmjPH6UvX54 lHdA== X-Received: by 10.68.196.226 with SMTP id ip2mr55412426pbc.106.1398263477197; Wed, 23 Apr 2014 07:31:17 -0700 (PDT) Received: from vivek-linuxpc.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xo9sm5803182pab.18.2014.04.23.07.31.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 07:31:13 -0700 (PDT) From: Vivek Gautam To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com, robh+dt@kernel.org, gregkh@linuxfoundation.org, olof@lixom.net, balbi@ti.com, jg1.han@samsung.com, t.figa@samsung.com Subject: [PATCH v5 2/9] dt: exynos5420: Enable support for DWC3 controller Date: Wed, 23 Apr 2014 20:00:44 +0530 Message-Id: <1398263451-18023-3-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1398263451-18023-1-git-send-email-gautam.vivek@samsung.com> References: <1398263451-18023-1-git-send-email-gautam.vivek@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Add device tree nodes for DWC3 controller present on Exynos 5420 SoC, to enable support for USB 3.0. Signed-off-by: Vivek Gautam Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5420.dtsi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index f69745f..e808d1b 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -733,6 +733,23 @@ samsung,power-domain = <&g2d_pd>; }; + usb@12000000 { + compatible = "samsung,exynos5250-dwusb3"; + clocks = <&clock CLK_USBD300>; + clock-names = "usbdrd30"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + dwc3 { + compatible = "synopsys,dwc3"; + reg = <0x12000000 0x10000>; + interrupts = <0 72 0>; + phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>; + phy-names = "usb2-phy", "usb3-phy"; + }; + }; + usbdrd_phy0: phy@12100000 { compatible = "samsung,exynos5420-usbdrd-phy"; reg = <0x12100000 0x100>; @@ -743,6 +760,23 @@ #phy-cells = <1>; }; + usb@12400000 { + compatible = "samsung,exynos5250-dwusb3"; + clocks = <&clock CLK_USBD301>; + clock-names = "usbdrd30"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + dwc3 { + compatible = "synopsys,dwc3"; + reg = <0x12400000 0x10000>; + interrupts = <0 73 0>; + phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>; + phy-names = "usb2-phy", "usb3-phy"; + }; + }; + usbdrd_phy1: phy@12500000 { compatible = "samsung,exynos5420-usbdrd-phy"; reg = <0x12500000 0x100>;