From patchwork Wed Jan 18 06:32:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 9522805 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 95CEB601B7 for ; Wed, 18 Jan 2017 06:41:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 87AF62841C for ; Wed, 18 Jan 2017 06:41:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B925284CF; Wed, 18 Jan 2017 06:41:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66EF32841C for ; Wed, 18 Jan 2017 06:41:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751459AbdARGlO (ORCPT ); Wed, 18 Jan 2017 01:41:14 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:59586 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751383AbdARGlM (ORCPT ); Wed, 18 Jan 2017 01:41:12 -0500 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJY022NDQ28UT60@mailout2.samsung.com>; Wed, 18 Jan 2017 15:30:08 +0900 (KST) Received: from epsmges5p5.samsung.com (unknown [182.195.40.49]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20170118063008epcas2p45d29d55bf42e1a52accde0ee10d2ed90~ayeQUAYjj1035010350epcas2p4x; Wed, 18 Jan 2017 06:30:08 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p5.samsung.com (EPCPMTA) with SMTP id FF.47.27948.07B0F785; Wed, 18 Jan 2017 15:30:08 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20170118063008epcas5p26a5a1fd73d843b2b08eae0fdb03b775c~ayeQCwmLq2544825448epcas5p2L; Wed, 18 Jan 2017 06:30:08 +0000 (GMT) X-AuditID: b6c32a59-f79c56d000006d2c-6d-587f0b70cfd8 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 4A.35.26370.07B0F785; Wed, 18 Jan 2017 15:30:08 +0900 (KST) Received: from pankaj.sisodomain.com ([107.108.83.125]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJY00JTQQ20M3B0@mmp2.samsung.com>; Wed, 18 Jan 2017 15:30:08 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: krzk@kernel.org, kgene@kernel.org, robh+dt@kernel.org, sanath@samsung.com, javier@osg.samsung.com, Vivek Gautam , Pankaj Dubey Subject: [PATCH v3 1/2] arm64: dts: exynos: Add USB 3.0 controller node for Exynos7 Date: Wed, 18 Jan 2017 12:02:52 +0530 Message-id: <1484721173-30474-2-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1484721173-30474-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGKsWRmVeSWpSXmKPExsWy7bCmhm4Bd32EweVFihbzj5xjtXj7fQu7 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Ahbzj5xjtXj7fQu7 xZu3a5gs+h+/ZrY4f34Du8Wmx9dYLWac38dksWjrF3aL1r1H2C2mrVvH7MDlsXPWXXaPTas6 2Tw2L6n32NIP5PVtWcXo8XmTXABblJtNRmpiSmqRQmpecn5KZl66rVJoiJuuhZJCXmJuqq1S hK5vSJCSQlliTimQZ2SABhycA9yDlfTtEtwyrm5+yVgwnb/i4K4nTA2Ms3i6GDk5JARMJOY3 32KEsMUkLtxbz9bFyMUhJDCLUaJh/09GCOcno8SJaa9YQarYBHQlnryfy9zFyMEhIpApcWIf F0gNs8AeRoltF/vZQGqEBUIlzrUvBrNZBFQldhw/CGbzCnhIXDk7C2qbnMTNc53MIDangKfE 480fwWqEQGruvmKawMi7gJFhFaNEakFyQXFSeq5RXmq5XnFibnFpXrpecn7uJkZw6D+T3sF4 eJf7IUYBDkYlHt4A0boIIdbEsuLK3EOMEhzMSiK8Fqz1EUK8KYmVValF+fFFpTmpxYcYTYEO m8gsJZqcD4zLvJJ4QxNzE3NjAwtzS0sTIyVx3sbZz8KFBNITS1KzU1MLUotg+pg4OKUaGPv9 n+zWs9ybN1fg1uT1ifx+NVE7qiqfLFS5+N7xsdS6px+CnzqpX5z2rfudUb1B6iGm19/maYfu 6f7y3tekqjW3fvfMnrnrP0q+jtfdGfXwppiWtswM5RkR8q5XnVq2xzWv2/Yj6KfDtqez19bG PzywJHzBmSNVhj0R/x9d1V2V90viuFLLpEwlluKMREMt5qLiRABCL8D0kwIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170118063008epcas5p26a5a1fd73d843b2b08eae0fdb03b775c X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?7YyQ7Lm07KaIG1NTSVItVHVybiBLZXkgU29sdXRpb25zGw==?= =?UTF-8?B?7IK87ISx7KCE7J6QGy4vQ2hpZWYgRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?UEFOS0FKIEtVTUFSIERVQkVZG1NTSVItVHVybiBLZXkgU29s?= =?UTF-8?B?dXRpb25zG1NhbXN1bmcgRWxlY3Ryb25pY3MbLi9DaGllZiBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1NXQUhRG0MxMElEMDdJRDAxMDk5Nw==?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170118063008epcas5p26a5a1fd73d843b2b08eae0fdb03b775c X-RootMTR: 20170118063008epcas5p26a5a1fd73d843b2b08eae0fdb03b775c References: <1484721173-30474-1-git-send-email-pankaj.dubey@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Vivek Gautam Add USB 3.0 DRD controller device node, with its clock and phy information to enable the same on Exynos7. Signed-off-by: Vivek Gautam Signed-off-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Reviewed-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 80aa60e..9a3fbed 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -603,6 +603,40 @@ #include "exynos7-trip-points.dtsi" }; }; + + usbdrd_phy: phy@15500000 { + compatible = "samsung,exynos7-usbdrd-phy"; + reg = <0x15500000 0x100>; + clocks = <&clock_fsys0 ACLK_USBDRD300>, + <&clock_fsys0 OSCCLK_PHY_CLKOUT_USB30_PHY>, + <&clock_fsys0 PHYCLK_USBDRD300_UDRD30_PIPE_PCLK_USER>, + <&clock_fsys0 PHYCLK_USBDRD300_UDRD30_PHYCLK_USER>, + <&clock_fsys0 SCLK_USBDRD300_REFCLK>; + clock-names = "phy", "ref", "phy_pipe", + "phy_utmi", "itp"; + samsung,pmu-syscon = <&pmu_system_controller>; + #phy-cells = <1>; + }; + + usbdrd3 { + compatible = "samsung,exynos7-dwusb3"; + clocks = <&clock_fsys0 ACLK_USBDRD300>, + <&clock_fsys0 SCLK_USBDRD300_SUSPENDCLK>, + <&clock_fsys0 ACLK_AXIUS_USBDRD30X_FSYS0X>; + clock-names = "usbdrd30", "usbdrd30_susp_clk", + "usbdrd30_axius_clk"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + dwc3@15400000 { + compatible = "snps,dwc3"; + reg = <0x15400000 0x10000>; + interrupts = ; + phys = <&usbdrd_phy 0>, <&usbdrd_phy 1>; + phy-names = "usb2-phy", "usb3-phy"; + }; + }; }; };