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: 4175171 Return-Path: X-Original-To: patchwork-linux-arm@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 83A869F38E for ; Wed, 14 May 2014 14:05:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB2002037B for ; Wed, 14 May 2014 14:05:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 01954202EB for ; Wed, 14 May 2014 14:05:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WkZkx-0006Nw-MT; Wed, 14 May 2014 14:02:03 +0000 Received: from mail-pb0-x230.google.com ([2607:f8b0:400e:c01::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WkZkm-0006KC-JS for linux-arm-kernel@lists.infradead.org; Wed, 14 May 2014 14:01:53 +0000 Received: by mail-pb0-f48.google.com with SMTP id rr13so1724716pbb.7 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140514_070152_677011_4F46E085 X-CRM114-Status: GOOD ( 10.17 ) X-Spam-Score: 0.2 (/) Cc: gregkh@linuxfoundation.org, t.figa@samsung.com, jg1.han@samsung.com, linux-kernel@vger.kernel.org, balbi@ti.com, kishon@ti.com, robh+dt@kernel.org, Vivek Gautam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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>;