From patchwork Thu Oct 31 07:45:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 3119551 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 18C999F2B7 for ; Thu, 31 Oct 2013 07:49:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5625E20190 for ; Thu, 31 Oct 2013 07:49:55 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D93B20145 for ; Thu, 31 Oct 2013 07:49:54 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vbmza-0005A2-TQ; Thu, 31 Oct 2013 07:48:35 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vbmz5-0001Ro-1b; Thu, 31 Oct 2013 07:48:03 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VbmyE-0001M2-B5 for linux-arm-kernel@lists.infradead.org; Thu, 31 Oct 2013 07:47:11 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MVI00A5HW7HJUT0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 31 Oct 2013 16:46:47 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 40.84.07052.6EA02725; Thu, 31 Oct 2013 16:46:47 +0900 (KST) X-AuditID: cbfee691-b7f866d000001b8c-6b-52720ae65b1b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 30.61.08134.6EA02725; Thu, 31 Oct 2013 16:46:46 +0900 (KST) Received: from vivekkumarg-linuxpc.sisodomain.com ([107.108.214.169]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MVI001FHW9GB450@mmp1.samsung.com>; Thu, 31 Oct 2013 16:46:46 +0900 (KST) From: Vivek Gautam To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/4] dt: exynos5420: Enable support for DWC3 controller Date: Thu, 31 Oct 2013 13:15:44 +0530 Message-id: <1383205544-32244-5-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.6.5 In-reply-to: <1383205544-32244-1-git-send-email-gautam.vivek@samsung.com> References: <1383205544-32244-1-git-send-email-gautam.vivek@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIIsWRmVeSWpSXmKPExsWyRsSkSvc5V1GQQX+wxcH79Rbzj5xjtWhe vJ7N4vLCS6wWHYceM1n8eH2BzaJ3wVU2iwtPe9gsNj2+xmqxsG0Ji8XlXXPYLGac38dksWhZ K7PF4TftrBbrZ7xmceD3mN1wkcVj/9w17B6bl9R79G1Zxehx/MZ2Jo/Pm+QC2KK4bFJSczLL Uov07RK4Ml4cPsZScIG3Yv2iTYwNjPe4uhg5OSQETCS+rV/BDmGLSVy4t56ti5GLQ0hgKaPE ulPbmWCKbv/bxgiRWMQosejvbmYIZwqTxJ0pn8Da2QR0JZre7mIEsUUEHCSWLL0DNopZ4BCT xNK9c1lAEsIC7hKNS7aC2SwCq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+DbmGQEGtiWXFl7iFGCQ5mJRHebSeBQrwpiZVVqUX58UWlOanFhxiTgY6a yCwlmpwPTBx5JfGGxibmpsamliYWJmaWpAkrifMebLUOFBJITyxJzU5NLUgtgtnCxMEp1cCo eP60UmJONr9H2WYuo/J9zV+qGMy/FN+/vPV3dsZf+UST1d+Ff9kVPZU+zJ57bkJEbulCt5O2 LGuXnfnIPo39FHfW0b9LjP+b9m3e9i//0JcJZz7KXjlnPLvXSl5Dxtd5SXhY5mb9pMSyJE6H fcoz6+fMPBPEFeKdU86+1vz3T+c1b57Ih3grsRRnJBpqMRcVJwIAE4310RIDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131031_034710_657584_5564928A X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.4 (-------) Cc: devicetree@vger.kernel.org, k.debski@samsung.com, kgene.kim@samsung.com, linux-doc@vger.kernel.org, gregkh@linuxfoundation.org, t.figa@samsung.com, jg1.han@samsung.com, linux-kernel@vger.kernel.org, balbi@ti.com, kishon@ti.com, s.nawrocki@samsung.com, jwerner@chromium.org, 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=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 --- arch/arm/boot/dts/exynos5420.dtsi | 38 +++++++++++++++++++++++++++++++++++- 1 files changed, 36 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 5df3308..4f676c1 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -236,7 +236,24 @@ status = "disabled"; }; - usbphy@12100000 { + 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 = <&usb3_phy0>; + phy-names = "usb3-phy"; + }; + }; + + usb3_phy0: usbphy@12100000 { compatible = "samsung,exynos5420-usb3phy"; reg = <0x12100000 0x100 0x10040704 0x4>; clocks = <&clock 366>, <&clock 1>, <&clock 152>; @@ -244,7 +261,24 @@ #phy-cells = <0>; }; - usbphy@12500000 { + 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 = <&usb3_phy1>; + phy-names = "usb3-phy"; + }; + }; + + usb3_phy1: usbphy@12500000 { compatible = "samsung,exynos5420-usb3phy"; reg = <0x12500000 0x100 0x10040708 0x4>; clocks = <&clock 367>, <&clock 1>, <&clock 153>;