From patchwork Thu Apr 2 08:34:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 6145391 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 76E5A9F350 for ; Thu, 2 Apr 2015 08:39:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F8252034C for ; Thu, 2 Apr 2015 08:39:02 +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 065F920165 for ; Thu, 2 Apr 2015 08:38:58 +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 1Ydabk-0000B2-L3; Thu, 02 Apr 2015 08:36:12 +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 1Ydaaj-0006o0-KF for linux-arm-kernel@lists.infradead.org; Thu, 02 Apr 2015 08:35:12 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NM6008047TXEW60@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 02 Apr 2015 17:34:45 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.113]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 0F.0E.18484.52FFC155; Thu, 2 Apr 2015 17:34:45 +0900 (KST) X-AuditID: cbfee68f-f791c6d000004834-85-551cff258462 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B0.15.09430.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 2/6] arm64: dts: exynos: Add USB Device dt node for Exynos5433 Date: Thu, 02 Apr 2015 17:34:33 +0900 Message-id: <1427963677-32661-3-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+NgFprBIsWRmVeSWpSXmKPExsWyRsSkUFf1v0yoQX+jlsXjNYuZLP5OOsZu cfrTNnaL98t6GC0u79e2uP7lOavF/CPnWC0m3Z/AYrGj4QirxYt7F1ks+h+/ZrbY9Pgaq8Xl XXPYLGac3wfUf+cfm8XS6xeZLE5d/8xm8fLjCRYHIY8189Ywevz+NYnRY9OqTjaPzUvqPa6c aGL16NuyitHj8ya5APYoLpuU1JzMstQifbsErozvl3uZCn4IVXw4087SwHiQv4uRg0NCwETi 2WqbLkZOIFNM4sK99WxdjFwcQgJLGSXWLNzHBpEwkbh2sxkqsYhR4ufnBVDOF0aJ3nd/warY BLQk9r+4wQYyVURARGL2BS6QGmaBTcwS77fPYQGpERbwk+j6/o8JxGYRUJXoevkarJ5XwFVi 93SoKxQkli2fyQoS5hRwk1iwLQQkLARU8ebXV3aQkRICX9kluv+dYIcYIyDxbfIhFohnZCU2 HWCGGCMpcXDFDZYJjMILGBlWMYqmFiQXFCelFxnrFSfmFpfmpes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AhgfTE ktTs1NSC1CKYPiYOTqkGxmINpi1B5aIHJ2oy73fse7t/t9wnlaNr2XruvHk582xzcqRZf32l 5bXoRzFKRw8oP/6zJWLd7JDF02TnX75YpdP2+unJ9MJtD1vm1e7YKlcck8hoIfB+87TfFqXh TGfnvo9IsFD7PTnh3OknPVuvL59dfXwun6rrgZ57tqVCBZYO9ZdYa81P2SuxFGckGmoxFxUn AgCHvN+59gIAAA== 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_013509_930613_E788D182 X-CRM114-Status: UNSURE ( 7.46 ) 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 USB DRD(Dual Role Device) and PHY device tree node to use USB Device. Cc: Kukjin Kim Signed-off-by: Jaewon Kim Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 8a1875d..b460f5f 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -959,6 +959,53 @@ #phy-cells = <1>; status = "disabled"; }; + + usbdrd30: usb@15400000 { + compatible = "samsung,exynos5250-dwusb3"; + clocks = <&cmu_fsys CLK_ACLK_USBDRD30>, + <&cmu_fsys CLK_SCLK_USBDRD30>; + clock-names = "usbdrd30", "usbdrd30_susp_clk"; + assigned-clocks = + <&cmu_fsys CLK_MOUT_SCLK_USBDRD30_USER>, + <&cmu_top CLK_MOUT_SCLK_USBDRD30>, + <&cmu_top CLK_DIV_SCLK_USBDRD30>; + assigned-clock-parents = + <&cmu_top CLK_SCLK_USBDRD30_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 = <0x15400000 0x10000>; + interrupts = <0 231 0>; + phys = <&usbdrd30_phy 0>, <&usbdrd30_phy 1>; + phy-names = "usb2-phy", "usb3-phy"; + }; + + }; + + usbdrd30_phy: phy@15500000 { + compatible = "samsung,exynos5433-usbdrd-phy"; + reg = <0x15500000 0x100>; + clocks = <&cmu_fsys CLK_ACLK_USBDRD30>, <&xxti>, + <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PHYCLOCK>, + <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK>, + <&cmu_fsys CLK_SCLK_USBDRD30>; + clock-names = "phy", "ref", "phy_utmi", "phy_pipe", "itp"; + assigned-clocks = + <&cmu_fsys CLK_MOUT_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK_USER>, + <&cmu_fsys CLK_MOUT_PHYCLK_USBDRD30_UDRD30_PHYCLOCK_USER>; + assigned-clock-parents = + <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK_PHY>, + <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PHYCLOCK_PHY>; + #phy-cells = <1>; + samsung,pmu-syscon = <&pmu_system_controller>; + status = "disabled"; + }; }; timer {