From patchwork Tue Jan 17 10:32:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 9520449 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 D6B2F6020A for ; Tue, 17 Jan 2017 10:30:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3F2028528 for ; Tue, 17 Jan 2017 10:30:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B84EC2852A; Tue, 17 Jan 2017 10:30:11 +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 5828A28528 for ; Tue, 17 Jan 2017 10:30:11 +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 1cTR1k-0003rI-Jp; Tue, 17 Jan 2017 10:30:08 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTR1g-0002ZD-4H for linux-arm-kernel@lists.infradead.org; Tue, 17 Jan 2017 10:30:07 +0000 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJX00G8A6HGW1E0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 17 Jan 2017 19:29:40 +0900 (KST) Received: from epsmges5p1.samsung.com (unknown [182.195.40.43]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20170117102940epcas2p14b6243b060fb130cc78e2e3dbcba725d~aiGGfFtLq1298912989epcas2p1a; Tue, 17 Jan 2017 10:29:40 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id 42.AE.14952.312FD785; Tue, 17 Jan 2017 19:29:39 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20170117102939epcas5p1aa25d6d8d080c086fb237e645bedbd17~aiGGF8V8h2907429074epcas5p14; Tue, 17 Jan 2017 10:29:39 +0000 (GMT) X-AuditID: b6c32a2c-f79bc6d000003a68-63-587df213e19f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 48.D2.26370.312FD785; Tue, 17 Jan 2017 19:29:39 +0900 (KST) Received: from pankaj.sisodomain.com ([107.108.83.125]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJX003KP6H54C00@mmp1.samsung.com>; Tue, 17 Jan 2017 19:29:39 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: exynos: Add USB 3.0 controller node for Exynos7 Date: Tue, 17 Jan 2017 16:02:22 +0530 Message-id: <1484649143-19423-2-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1484649143-19423-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEKsWRmVeSWpSXmKPExsWy7bCmuq7wp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Vy+t9jAV3hT7URBp8PKFvMP3KO1eLt9y3s Fm/ermGy6H/8mtni/PkN7BabHl9jtZhxfh+TxaKtX9gtWvceYbeYtm4dswOXx85Zd9k9Nq3q ZPPYvKTeY0s/kNe3ZRWjx+dNcgFsUW42GamJKalFCql5yfkpmXnptkqhIW66FkoKeYm5qbZK Ebq+IUFKCmWJOaVAnpEBGnBwDnAPVtK3S3DLmDJfp2AVX8X9vbOYGxh3cncxcnJICJhI9L/Z zAZhi0lcuLceyObiEBJYyiixetMXKOcno8SJh8sZQarYBHQlnryfy9zFyMEhIpApcWIfF0gN s8BaRomnlx6zg9QICwRIrJx1kR2khkVAVeJmexVImFfAQ6KpczMTxDI5iZvnOplBbE4BT4lz V06A2UJANV+/HWSbwMi7gJFhFaNEakFyQXFSeq5RXmq5XnFibnFpXrpecn7uJkZw2D+T3sF4 eJf7IUYBDkYlHt4FT2oihFgTy4orcw8xSnAwK4nw3n9VGyHEm5JYWZValB9fVJqTWnyI0RTo ronMUqLJ+cCYzCuJNzQxNzE3NrAwt7Q0MVIS522c/SxcSCA9sSQ1OzW1ILUIpo+Jg1OqgfHQ p5qMqp6rbtunZ/R8bjo72UBd2OH/BxNhKbv+nb+DovyTbgXZH303V/B264TLjxem8Rao9ZyT O8ww335dfakSp7LLvicmp78a/o3q/s/zfpl2z+bjsgHy268XJ59r6I2elhDzmetw+QaPzX2r 3/e8Cn291uVX7LRFASoRB+8pPnf+mDOn84USS3FGoqEWc1FxIgBqvCQEkQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170117102939epcas5p1aa25d6d8d080c086fb237e645bedbd17 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: 20170117102939epcas5p1aa25d6d8d080c086fb237e645bedbd17 X-RootMTR: 20170117102939epcas5p1aa25d6d8d080c086fb237e645bedbd17 References: <1484649143-19423-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_023004_321469_CC7A98A0 X-CRM114-Status: UNSURE ( 9.05 ) 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, gautamvivek1987@gmail.com, 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 Add USB 3.0 DRD controller device node, with its clock and phy information to enable the same on Exynos7. Signed-off-by: Pankaj Dubey Signed-off-by: Vivek Gautam Reviewed-by: Javier Martinez Canillas --- 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"; + }; + }; }; };