From patchwork Wed Dec 4 10:09:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 3281581 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 0ED84C0D4A for ; Wed, 4 Dec 2013 10:12:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F1BFB20251 for ; Wed, 4 Dec 2013 10:12:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BCDAB203AA for ; Wed, 4 Dec 2013 10:12:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755422Ab3LDKMf (ORCPT ); Wed, 4 Dec 2013 05:12:35 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:20995 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755482Ab3LDKJ4 (ORCPT ); Wed, 4 Dec 2013 05:09:56 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MXA00EHY1KJ5G10@mailout2.samsung.com>; Wed, 04 Dec 2013 19:09:55 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id D0.6E.15387.37FFE925; Wed, 04 Dec 2013 19:09:55 +0900 (KST) X-AuditID: cbfee68f-b7f256d000003c1b-1a-529eff73e9c7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 27.5A.15903.27FFE925; Wed, 04 Dec 2013 19:09:55 +0900 (KST) Received: from vivekkumarg-linuxpc.sisodomain.com ([107.108.214.169]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MXA009PD1K2HW70@mmp2.samsung.com>; Wed, 04 Dec 2013 19:09:54 +0900 (KST) From: Vivek Gautam To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, balbi@ti.com, rob.herring@calxeda.com, kgene.kim@samsung.com, kishon@ti.com, jg1.han@samsung.com, s.nawrocki@samsung.com, t.figa@samsung.com, jwerner@chromium.org, k.debski@samsung.com Subject: [PATCH v2 4/4] dt: exynos5420: Enable support for DWC3 controller Date: Wed, 04 Dec 2013 15:39:07 +0530 Message-id: <1386151747-3209-5-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.6.5 In-reply-to: <1386151747-3209-1-git-send-email-gautam.vivek@samsung.com> References: <1386151747-3209-1-git-send-email-gautam.vivek@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrBIsWRmVeSWpSXmKPExsWyRsSkRrf4/7wgg4fd3BYH79dbHJj9kNWi efF6NovLCy+xWnQcesxk8eP1BTaL3gVX2SwuPO1hs1jYtoTF4vKuOWwWM87vY7JYtKyV2eLw igNMFofftLNarJ/xmsWB32PB5yvsHrMbLrJ47J+7ht3j/IyFjB59W1Yxehy/sZ3J4/MmuQD2 KC6blNSczLLUIn27BK6MWc2bWAsO8la0TNrA2MB4iauLkZNDQsBEonHDGnYIW0ziwr31bF2M XBxCAksZJX7vamGGKXq6oIsVIjGdUaK99yUjhDOFSWLOlHawKjYBXYmmt7sYQWwRgXSJ/3f7 wWxmgZlMElM2S4LYwgJeEovffGADsVkEVCU2rjkE1ssr4C7RdH4LE8Q2BYk3t5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AxTiTUmsrEotyo8vKs1JLT7E mAx01URmKdHkfGAKySuJNzQ2MTc1NrU0sTAxsyRNWEmc92CrdaCQQHpiSWp2ampBahHMFiYO TqkGxoaTKWyN96xf5Mn8uFZjY/PkZt4ybZENv/JnpzHbr8idt1rB5aRTwzHh6XN87d+Ynvqn eHe3l2XrrUOyhldmaPXfCQ9YdPhnWpq09P1YdoFrYs9WXvn+t7BI2+3fn2TeitP+sRa7T2tm R271n3Drt+f/czPaBD7G5yjNa559rSp/4qbKNrNjPEosxRmJhlrMRcWJANh3eCUXAwAA 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=-6.9 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 a88ab00..0554a68 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -313,7 +313,24 @@ clock-names = "mixer", "sclk_hdmi"; }; - 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>; clocks = <&clock 366>, <&clock 1>, <&clock 152>; @@ -322,7 +339,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>; clocks = <&clock 367>, <&clock 1>, <&clock 153>;