From patchwork Thu Apr 2 08:34:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 6145441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 365B99F1BE for ; Thu, 2 Apr 2015 08:42:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4B2B020373 for ; Thu, 2 Apr 2015 08:42:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5AF3620306 for ; Thu, 2 Apr 2015 08:42:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ydaek-0001yh-Oe; Thu, 02 Apr 2015 08:39:18 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ydab6-0007mM-93 for linux-arm-kernel@lists.infradead.org; Thu, 02 Apr 2015 08:35:33 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NM6008YQ7TYI950@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 02 Apr 2015 17:34:46 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.115]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 6E.ED.18167.52FFC155; Thu, 2 Apr 2015 17:34:46 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-a8-551cff25418b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 96.F7.20081.52FFC155; Thu, 2 Apr 2015 17:34:45 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NM6006AT7TUQZT0@mmp1.samsung.com>; Thu, 02 Apr 2015 17:34:45 +0900 (KST) From: Chanwoo Choi To: kgene@kernel.org Subject: [PATCH 3/6] arm64: dts: exynos: Add USB3.0 Host dt node for Exynos5433 Date: Thu, 02 Apr 2015 17:34:34 +0900 Message-id: <1427963677-32661-4-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1427963677-32661-1-git-send-email-cw00.choi@samsung.com> References: <1427963677-32661-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOIsWRmVeSWpSXmKPExsWyRsSkWFftv0yowenlLBaP1yxmsvg76Ri7 xelP29gt3i/rYbS4vF/b4vqX56wW84+cY7WYdH8Ci8WOhiOsFi/uXWSx6H/8mtli0+NrrBaX d81hs5hxfh9Q/51/bBZLr19ksjh1/TObxcuPJ1gchDzWzFvD6PH71yRGj02rOtk8Ni+p97hy oonVo2/LKkaPz5vkAtijuGxSUnMyy1KL9O0SuDL2P+pjLbgqXNHbvZupgXGmQBcjB4eEgInE vGmiXYycQKaYxIV769m6GLk4hASWMkpM+TWbESJhIrF/6l9miMQiRonzc06xQDhfGCV63/1l A6liE9CS2P/iBhvIVBEBEYnZF7hAapgFNjFLvN8+hwUkLizgL9FyPxOknEVAVWLno+9gYV4B V4mufxwQuxQkli2fyQoS5hRwk1iwLQQkLARU8ebXV3aQiRICX9klNjTMY4EYIyDxbfIhFohf ZCU2HWCGGCMpcXDFDZYJjMILGBlWMYqmFiQXFCelF5noFSfmFp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bmSuK8SvZtIUIC 6YklqdmpqQWpRTB9TBycUg2MvGrvlB9PfR/SxCFx5e2u/23B3dbFkU9+9d2Yd+/A53dT+Qwz r3K+z5zPkHVk9e/F3usc7v+eyH0gk+P0Fc8ix5cRJ/7M2esuvOvHkok5D3MF4grvT/GuYHuj 2CI+896uo+ccLp7ot+qMejPjlb7Y6vXCbWJtnJvS5syYdT2GR2ryd3szBq45pkosxRmJhlrM RcWJAHw/XAX1AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150402_013532_529251_27DDD9E2 X-CRM114-Status: UNSURE ( 7.34 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: mark.rutland@arm.com, jaewon02.kim@samsung.com, linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, arnd@arndb.de, devicetree@vger.kernel.org, marc.zyngier@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, a.kesavan@samsung.com, inki.dae@samsung.com, cw00.choi@samsung.com, linux-arm-kernel@lists.infradead.org, olof@lixom.net, chanho61.park@samsung.com, beomho.seo@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 From: Jaewon Kim This patch adds PHY and USB3.0 Host device tree node using DWC3 chip and set USB3.0 Host related clock parent for Exynos5433. Cc: Kukjin Kim Signed-off-by: Jaewon Kim Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index b460f5f..9cca236 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -1006,6 +1006,52 @@ samsung,pmu-syscon = <&pmu_system_controller>; status = "disabled"; }; + + usbhost30_phy: phy@15580000 { + compatible = "samsung,exynos5433-usbdrd-phy"; + reg = <0x15580000 0x100>; + clocks = <&cmu_fsys CLK_ACLK_USBHOST30>, <&xxti>, + <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PHYCLOCK>, + <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK>, + <&cmu_fsys CLK_SCLK_USBHOST30>; + clock-names = "phy", "ref", "phy_utmi", "phy_pipe", "itp"; + assigned-clocks = + <&cmu_fsys CLK_MOUT_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK_USER>, + <&cmu_fsys CLK_MOUT_PHYCLK_USBHOST30_UHOST30_PHYCLOCK_USER>; + assigned-clock-parents = + <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK_PHY>, + <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PHYCLOCK_PHY>; + #phy-cells = <1>; + samsung,pmu-syscon = <&pmu_system_controller>; + status = "disabled"; + }; + + usbhost30: usb@15a00000 { + compatible = "samsung,exynos5250-dwusb3"; + clocks = <&cmu_fsys CLK_ACLK_USBHOST30>, + <&cmu_fsys CLK_SCLK_USBHOST30>; + clock-names = "usbdrd30", "usbdrd30_susp_clk"; + assigned-clocks = + <&cmu_fsys CLK_MOUT_SCLK_USBHOST30_USER>, + <&cmu_top CLK_MOUT_SCLK_USBHOST30>, + <&cmu_top CLK_DIV_SCLK_USBHOST30>; + assigned-clock-parents = + <&cmu_top CLK_SCLK_USBHOST30_FSYS>, + <&cmu_top CLK_MOUT_BUS_PLL_USER>; + assigned-clock-rates = <0>, <0>, <66700000>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + status = "disabled"; + + dwc3 { + compatible = "snps,dwc3"; + reg = <0x154a0000 0x10000>; + interrupts = <0 244 0>; + phys = <&usbhost30_phy 0>, <&usbhost30_phy 1>; + phy-names = "usb2-phy", "usb3-phy"; + }; + }; }; timer {