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: 3119461 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 7487ABF924 for ; Thu, 31 Oct 2013 07:47:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4A0220145 for ; Thu, 31 Oct 2013 07:47:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8CF3820190 for ; Thu, 31 Oct 2013 07:47:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753492Ab3JaHqv (ORCPT ); Thu, 31 Oct 2013 03:46:51 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:14546 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753387Ab3JaHqr (ORCPT ); Thu, 31 Oct 2013 03:46:47 -0400 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>; 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 Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, gregkh@linuxfoundation.org, kishon@ti.com, kgene.kim@samsung.com, k.debski@samsung.com, s.nawrocki@samsung.com, t.figa@samsung.com, balbi@ti.com, jwerner@chromium.org, jg1.han@samsung.com 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 xNK9c1lAEsIC7hKNS7aC2SwCqhJ/j/4Ds3kFPCSmbH/PCLFOQeLN7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QrwpiZVVqUX58UWlOanFhxiTgY6a 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 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, RCVD_IN_DNSWL_HI, 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>;