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: 9522801 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 7F1436043A for ; Wed, 18 Jan 2017 06:30:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 648AF285AE for ; Wed, 18 Jan 2017 06:30:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5761A285B6; Wed, 18 Jan 2017 06:30:36 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A4C61285AE for ; Wed, 18 Jan 2017 06:30:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cTjlT-0005vh-0F; Wed, 18 Jan 2017 06:30:35 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTjlO-0005rI-Mb for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2017 06:30:32 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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+NgFrrGKsWRmVeSWpSXmKPExsWy7b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tJLcpLzFFi42I5/e+xoG4Bd32EwdMnAhbzj5xjtXj7fQu7 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170117_223030_885539_CCF2BC3A X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pankaj Dubey , krzk@kernel.org, Vivek Gautam , javier@osg.samsung.com, robh+dt@kernel.org, kgene@kernel.org, sanath@samsung.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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"; + }; + }; }; };