From patchwork Tue Jan 17 15:04:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 9521305 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 4895C6020A for ; Tue, 17 Jan 2017 15:02:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F73D285A5 for ; Tue, 17 Jan 2017 15:02:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32B842859B; Tue, 17 Jan 2017 15:02:25 +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 B2E242859B for ; Tue, 17 Jan 2017 15:02:24 +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 1cTVHA-0000So-2T; Tue, 17 Jan 2017 15:02:20 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTVGo-0008Lw-24 for linux-arm-kernel@lists.infradead.org; Tue, 17 Jan 2017 15:02:03 +0000 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJX01CBUJ2IJQ60@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2017 00:01:30 +0900 (KST) Received: from epsmges1p3.samsung.com (unknown [182.195.40.52]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20170117150129epcas2p1b4ab6b7468fa60c69e2412b698c6fe04~alzbqLVWc1971119711epcas2p1n; Tue, 17 Jan 2017 15:01:29 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 80.7F.20611.9C13E785; Wed, 18 Jan 2017 00:01:29 +0900 (KST) Received: from epcpsbgm1new.samsung.com (u26.gpu120.samsung.co.kr [203.254.230.26]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20170117150121epcas1p102bd1355f780a56e14a0a7a81bd6dfaf~alzUamfeI0576205762epcas1p1t; Tue, 17 Jan 2017 15:01:21 +0000 (GMT) X-AuditID: b6c32a37-f79606d000005083-8c-587e31c978fd Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id AA.DB.08931.1C13E785; Wed, 18 Jan 2017 00:01:21 +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 <0OJX00LE2J1ZQN60@mmp2.samsung.com>; Wed, 18 Jan 2017 00:01:21 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/2] arm64: dts: exynos: Add USB 3.0 controller node for Exynos7 Date: Tue, 17 Jan 2017 20:34:03 +0530 Message-id: <1484665444-23365-2-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1484665444-23365-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGKsWRmVeSWpSXmKPExsWy7b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/e+xoO5Bw7oIgwWfZSzmHznHavH2+xZ2 izdv1zBZ9D9+zWxx/vwGdotNj6+xWsw4v4/JYtHWL+wWrXuPsFtMW7eO2YHLY+esu+wem1Z1 snlsXlLvsaUfyOvbsorR4/MmuQC2KDebjNTElNQihdS85PyUzLx0W6XQEDddCyWFvMTcVFul CF3fkCAlhbLEnFIgz8gADTg4B7gHK+nbJbhl/Jv3i7lgDn/FyRMXmBsY5/F0MXJySAiYSNxb fZMNwhaTuHBvPZDNxSEkMItRYt2CMywQzk9GiTk901hBqtgEdCWevJ/L3MXIwSEikClxYh8X SA2zwB5GiW0X+8EmCQuESixeMIcZxGYRUJVofTydBcTmFfCQmN7UxwyxTU7i5rlOMJtTwFNi ywqIK4SAatZfmM44gZF3ASPDKkaJ1ILkguKk9FzDvNRyveLE3OLSvHS95PzcTYzg0H8mtYPx 4C73Q4wCHIxKPLwMUnURQqyJZcWVuYcYJTiYlUR4VTSAQrwpiZVVqUX58UWlOanFhxhNgQ6b yCwlmpwPjMu8knhDE3MTc2MDC3NLSxMjJXHextnPwoUE0hNLUrNTUwtSi2D6mDg4pRoYvT48 dkzc+0VpTfciy1aD3ckpTYaTvHntlFv8O5Pt79/JX/pgwcqKIsvbV0MjNjzU/dIlkXRXlkM7 7cBT/11GOY1XZZpyC5gljY9dWLNEtXmLE/NHXuYXoa6PeAMdtJ6phTJW6UoE2//S4HnfJ7nr HlNr1dXknuva4cpsehsCvrx8Zy8tMUWJpTgj0VCLuag4EQA7BptIkwIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170117150121epcas1p102bd1355f780a56e14a0a7a81bd6dfaf X-Msg-Generator: CA X-Sender-IP: 203.254.230.26 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: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170117150121epcas1p102bd1355f780a56e14a0a7a81bd6dfaf X-RootMTR: 20170117150121epcas1p102bd1355f780a56e14a0a7a81bd6dfaf References: <1484665444-23365-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_070158_258640_41B0AB34 X-CRM114-Status: UNSURE ( 9.20 ) 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. Reviewed-by: Javier Martinez Canillas Signed-off-by: Vivek Gautam Signed-off-by: Pankaj Dubey --- 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 9080a11..a2d8d11 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: usb@15400000 { + 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 { + compatible = "snps,dwc3"; + reg = <0x15400000 0x10000>; + interrupts = ; + phys = <&usbdrd_phy 0>, <&usbdrd_phy 1>; + phy-names = "usb2-phy", "usb3-phy"; + }; + }; }; };