From patchwork Tue May 31 12:19:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 12865477 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B93EC433EF for ; Tue, 31 May 2022 12:21:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=As8ct42DDAR+/BwXeYZXWUw0HC5bKJKw8D0X75BPfDg=; b=k9l4GT1/UKXZnh hZJGBHmvY1eedkWebOBG2vYl/eH4IyTjNVPuac3gSOjd3Eq4qWptVw22+QQtox7f9KfOU9E7Hp6aD JPVaSOTB9Ewf3DXRXqJJEEMoM6hDpGxTa4tSNI1kPQuk2f0wIu5OUOn0pGYkNOC1PycphEobT/sww S6UgwUZL8ZLc0UK+xDkIAgLUXxBmrMtmH/H/IoLkSLT66kSk4wYEtZfPHgimLQzIt1e4grF46X790 pZASLxSSqugK7Vwu6uMuuecjACLv2pg/Ju+fHFpVE+yexVdwJxGGw4JTPsJUdtx5Cw2camWcFOcOh 0MteHNiMsmmsPmpM3QGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw0qg-00Ah1h-Ck; Tue, 31 May 2022 12:19:46 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw0qQ-00AgtD-GS for linux-arm-kernel@lists.infradead.org; Tue, 31 May 2022 12:19:32 +0000 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220531121925epoutp04539a7e26440ab5daa68a5b2f6e835193~0L9dviF1r1890118901epoutp04q for ; Tue, 31 May 2022 12:19:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220531121925epoutp04539a7e26440ab5daa68a5b2f6e835193~0L9dviF1r1890118901epoutp04q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1653999565; bh=D/ZcotWpVaQeVIfuUFsbhS1M/TS7osi7M9+ZOlhv51I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o991PgoXvy77Ova0c1FpfuAh3vm9LrCz1rYG4ZkVhSuCLZ/FXwIcgxqsUYdwfe3jE hk8EXj/de7mTgoZyNlaOOpExytlyx6xXJEhwsU/zm5ihHuQ0WpCm1xVNtktYyQAnXp j80ysK9gGnbFCpxkPPB4G06B6R8VtqrvddIolvMg= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20220531121924epcas2p37121c2681572d02a35f694abb767a258~0L9c_XR1Y2465724657epcas2p3O; Tue, 31 May 2022 12:19:24 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.68]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4LCBCt5Gfvz4x9QB; Tue, 31 May 2022 12:19:22 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id DC.BA.09764.AC706926; Tue, 31 May 2022 21:19:22 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20220531121922epcas2p428c51f13e61e06477d96ab4aa6d1377c~0L9a7Ktex0343703437epcas2p4Z; Tue, 31 May 2022 12:19:22 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220531121922epsmtrp14a3a74453409922644034a75d7093cb3~0L9a6N0Y11304613046epsmtrp1D; Tue, 31 May 2022 12:19:22 +0000 (GMT) X-AuditID: b6c32a46-f8bff70000002624-af-629607ca95e0 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 38.2B.08924.AC706926; Tue, 31 May 2022 21:19:22 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220531121922epsmtip1f9a5f5f8938c1e1d5c4fc22234ab3f54~0L9asTTRe1778017780epsmtip1w; Tue, 31 May 2022 12:19:22 +0000 (GMT) From: Chanho Park To: Kishon Vijay Abraham I , Vinod Koul , Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Chanho Park Subject: [PATCH 3/4] arm64: dts: exynosautov9: add secondary ufs devices Date: Tue, 31 May 2022 21:19:12 +0900 Message-Id: <20220531121913.48722-4-chanho61.park@samsung.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220531121913.48722-1-chanho61.park@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLJsWRmVeSWpSXmKPExsWy7bCmme4p9mlJBlM2aFk8mLeNzeLyfm2L +UfOsVpceNrDZtH34iGzxd7XW9ktNj2+xmoxYdU3FovWvUfYLXbeOcHswOWxaVUnm8eda3vY PDYvqffo27KK0eP4je1MHp83yQWwRWX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Sy33+fwXdq7xvJksN//diWW4oxEQy3mouJEAJmygSYw BAAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBLMWRmVeSWpSXmKPExsWy7bCSnO4p9mlJBge3Cls8mLeNzeLyfm2L +UfOsVpceNrDZtH34iGzxd7XW9ktNj2+xmoxYdU3FovWvUfYLXbeOcHswOWxaVUnm8eda3vY PDYvqffo27KK0eP4je1MHp83yQWwRXHZpKTmZJalFunbJXBlTN6SWNDGX7Fr/13GBsZuni5G Tg4JAROJtdOPMHcxcnEICexglGheu5oRIiEr8ezdDnYIW1jifssRVoii94wS66c1gyXYBHQl tjx/xQiSEBHoZpKYs6mfCSTBLDCJUeLP3wgQW1jAQ6Kn5yULiM0ioCrRcfYwG4jNK2An8XXz G2aIDfISG+b3AtkcHJwC9hJbZtiBhIWASq5M7WaFKBeUODnzCQvEeHmJ5q2zmScwCsxCkpqF JLWAkWkVo2RqQXFuem6xYYFRXmq5XnFibnFpXrpecn7uJkZw4Gtp7WDcs+qD3iFGJg7GQ4wS HMxKIrwlu6YmCfGmJFZWpRblxxeV5qQWH2KU5mBREue90HUyXkggPbEkNTs1tSC1CCbLxMEp 1cCku3GB3IF0e6tX8+fGC70v1doj/XfB1yuHL108vLS2Tnf2nC255VGTVrKIZU4uWJEZqJew XnrJj8lc88+Xv+y1E5ky8R1z/MMpIZlJq3hjlhbLK6lHlIguPBFkcnvON7PPmXo1YXbT92yb 7Gmwc1r48g2lSVlVHSvPSVxeNsno+jHdEs1tchmrFrUKpW1NT71xz7vKatUuDp5OzU27Gl5u 3mSxLCu42fHIhNK1qY5bQo1ETgQfrM37ILjQ0kEybHnLTgbnI0WPHliqnVMwPlmdcbJSZs2G T5wudySrgmd+uLCQ5XfAjGf3079oT77+d5Lj1vm7Si9WfNRwTlppfvtuw0KmFynNCzk2Hzup pSJUp8RSnJFoqMVcVJwIANuT+ITrAgAA X-CMS-MailID: 20220531121922epcas2p428c51f13e61e06477d96ab4aa6d1377c X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220531121922epcas2p428c51f13e61e06477d96ab4aa6d1377c References: <20220531121913.48722-1-chanho61.park@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220531_051931_184321_45B8F51D X-CRM114-Status: GOOD ( 14.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add ufs_1_phy and ufs_1 for secondary ufs hci controller and phy device. Signed-off-by: Chanho Park --- arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi index 3e23db8f09d9..c146271af477 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -380,6 +380,17 @@ ufs_0_phy: ufs0-phy@17e04000 { status = "disabled"; }; + ufs_1_phy: ufs0-phy@17f04000 { + compatible = "samsung,exynosautov9-ufs-phy"; + reg = <0x17f04000 0xc00>; + reg-names = "phy-pma"; + samsung,pmu-syscon = <&pmu_system_controller 0x72c>; + #phy-cells = <0>; + clocks = <&xtcxo>; + clock-names = "ref_clk"; + status = "disabled"; + }; + ufs_0: ufs0@17e00000 { compatible ="samsung,exynosautov9-ufs"; @@ -400,6 +411,27 @@ ufs_0: ufs0@17e00000 { samsung,sysreg = <&syscon_fsys2 0x710>; status = "disabled"; }; + + ufs_1: ufs0@17f00000 { + compatible ="samsung,exynosautov9-ufs"; + + reg = <0x17f00000 0x100>, /* 0: HCI standard */ + <0x17f01100 0x410>, /* 1: Vendor-specific */ + <0x17f80000 0x8000>, /* 2: UNIPRO */ + <0x17de0000 0x2200>; /* 3: UFS protector */ + reg-names = "hci", "vs_hci", "unipro", "ufsp"; + interrupts = ; + clocks = <&cmu_fsys2 CLK_GOUT_FSYS2_UFS_EMBD1_ACLK>, + <&cmu_fsys2 CLK_GOUT_FSYS2_UFS_EMBD1_UNIPRO>; + clock-names = "core_clk", "sclk_unipro_main"; + freq-table-hz = <0 0>, <0 0>; + pinctrl-names = "default"; + pinctrl-0 = <&ufs_rst_n_1 &ufs_refclk_out_1>; + phys = <&ufs_1_phy>; + phy-names = "ufs-phy"; + samsung,sysreg = <&syscon_fsys2 0x714>; + status = "disabled"; + }; }; };