From patchwork Wed May 14 14:01:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4175071 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 49573BFF02 for ; Wed, 14 May 2014 14:03:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B499202EB for ; Wed, 14 May 2014 14:03:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2607020265 for ; Wed, 14 May 2014 14:03:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932282AbaENOBg (ORCPT ); Wed, 14 May 2014 10:01:36 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:46461 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932226AbaENOBc (ORCPT ); Wed, 14 May 2014 10:01:32 -0400 Received: by mail-pa0-f44.google.com with SMTP id ld10so1720014pab.17 for ; Wed, 14 May 2014 07:01:30 -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=LHQbrvt1uqjF0bLqiqTJfRwF0ngxYWsl1SPoSMl8ckM=; b=BnhS2paYVxsRA7fRQ5mFfrYxAxsJ1iFD5os+reuWimTWL5trgmRjG3ktfBltSnuFhZ PTO9dllwPj9419k/cF8VsgZrgSNhVioMf6efNEYkLE3qi4ivN/+Gjmt3J5tKOYLP3KXe HcuVJRGSPWclj/6wxrFVx7fXvZdzhjECRBpdg3QOAZD8EkkGyLrXqtn/H3OqVqH3DQej Hnt10EUzBh+Dtti8jBdFxpsH3FAmdwFK2qdUNtR5jy7AdcFIo/lS9VS18NhPiIzYBmP+ TD/Z9kA04mLhywp1rToqaGSwLmxomLynJCaMj0ziOw0aswGZmjlK7VLO8XEgtoJLPxPt 9E3A== X-Received: by 10.68.248.7 with SMTP id yi7mr4739119pbc.31.1400076090330; Wed, 14 May 2014 07:01:30 -0700 (PDT) Received: from vivek-Vostro-1014.local ([27.7.165.169]) by mx.google.com with ESMTPSA id zq5sm3738884pbb.37.2014.05.14.07.01.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 07:01:29 -0700 (PDT) From: Vivek Gautam To: linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, kgene.kim@samsung.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, gregkh@linuxfoundation.org, t.figa@samsung.com, balbi@ti.com, kishon@ti.com, jg1.han@samsung.com, Vivek Gautam Subject: [PATCH v6 2/8] ARM: dts: exynos5420: Enable support for DWC3 controller Date: Wed, 14 May 2014 19:31:04 +0530 Message-Id: <1400076070-12456-3-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1400076070-12456-1-git-send-email-gautam.vivek@samsung.com> References: <1400076070-12456-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 8eebf7f..128829a 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -805,6 +805,23 @@ samsung,pmureg-phandle = <&pmu_system_controller>; }; + usbdrd3_0: usb@12000000 { + compatible = "samsung,exynos5250-dwusb3"; + clocks = <&clock CLK_USBD300>; + clock-names = "usbdrd30"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + dwc3 { + compatible = "snps,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>; @@ -814,6 +831,23 @@ #phy-cells = <1>; }; + usbdrd3_1: usb@12400000 { + compatible = "samsung,exynos5250-dwusb3"; + clocks = <&clock CLK_USBD301>; + clock-names = "usbdrd30"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + dwc3 { + compatible = "snps,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>;