From patchwork Tue Apr 8 14:36:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 3949321 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 E046D9F3E2 for ; Tue, 8 Apr 2014 14:42:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 17DB3203B1 for ; Tue, 8 Apr 2014 14:42:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2FF99203AF for ; Tue, 8 Apr 2014 14:42:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932267AbaDHOlz (ORCPT ); Tue, 8 Apr 2014 10:41:55 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:65290 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932189AbaDHOhT (ORCPT ); Tue, 8 Apr 2014 10:37:19 -0400 Received: by mail-pb0-f41.google.com with SMTP id jt11so1129220pbb.0 for ; Tue, 08 Apr 2014 07:37: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=grsxTdCOAI2w/hLrAmbYAOcj5QqwOTDkweJKcBau//Y=; b=nx18js/q0Gk1kSp2P1gnbhG8hYOmaeDUMKTalYmpi0T7fXQA7kl8i72wJEfBuWwJbd lf+hj2nIQmf+TWYfGZ6cU/WkM0eUxcyp9IaCTSLbP5TrYxLOy/J3UcAlCp+5kK0KyXKo v/wNdZsRIdpFcU3PbvCAb/h26KjWDjtA3SO7yfzkwwCSsb70EPKfUVMjK/agXssLwcRb 5iFkGpp4ZPDDI1B8nyIy/vmuVdACIjTo6Y8KcQlhpxM/g7yg3iuO0nvle2UZwvzengp3 2K0exzZ83H2hnHexiesDm8LXhkAzrfkaF8zjDmgYAj+tk4r6GmU19kw0ECic5D4D0ho+ 8/Rg== X-Received: by 10.69.1.69 with SMTP id be5mr5145425pbd.126.1396967837466; Tue, 08 Apr 2014 07:37:17 -0700 (PDT) Received: from vivek-linuxpc.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id y4sm5020100pbk.76.2014.04.08.07.37.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 07:37:16 -0700 (PDT) From: Vivek Gautam To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, kishon@ti.com Cc: gregkh@linuxfoundation.org, balbi@ti.com, kgene.kim@samsung.com, t.figa@samsung.com, k.debski@samsung.com, jg1.han@samsung.com, sylvester.nawrocki@gmail.com, gautam.vivek@samsung.com Subject: [PATCH V4 3/5] dt: exynos5420: Enable support for DWC3 controller Date: Tue, 8 Apr 2014 20:06:41 +0530 Message-Id: <1396967803-28868-4-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1396967803-28868-1-git-send-email-gautam.vivek@samsung.com> References: <1396967803-28868-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.1 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 a6efb52..20c2d0b 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -653,6 +653,23 @@ clock-names = "tmu_apbif", "tmu_triminfo_apbif"; }; + usb@12000000 { + compatible = "samsung,exynos5250-dwusb3"; + clocks = <&clock 366>; + 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>; @@ -663,6 +680,23 @@ #phy-cells = <1>; }; + usb@12400000 { + compatible = "samsung,exynos5250-dwusb3"; + clocks = <&clock 367>; + 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>;