From patchwork Thu Jun 2 05:32:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 12867528 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 00D34C433EF for ; Thu, 2 Jun 2022 05:35:57 +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=T+yZYlBFypldS4RRqGhRIqF3x3mvmXqv6jIJpZQ+yrc=; b=JpfobzMwUfkI9S UKHP4SmeciHYAzqKtN46hDesCsMPeSgldwcl84WumsoUBVizYBL8kh2lV3BXXReZBH50BoNM4SRDz CJHC2SNObSF4juBVTHvHfs8/FXZudfA32JRV19zX+daKpmEYRp9Nza2MEdDxeQxv/4gqqg+fUTPky UjH+AnHElJ8gC7uIS4kh2aTRnAq9ILGELt2QW2nt+QQV3RSmnj+TH6zLf8rkqbbV3kR3bvC4g8WjZ pPgB94o7mH0q0Qe2SK6FMM2nn1UysU6y2+SZZFYo6li6UjwHXgCIsFcX9ye39ixqNED6hxVy1PYmy k9hjLM2aSysnSuH391ww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwdTd-001U3V-SS; Thu, 02 Jun 2022 05:34:34 +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 1nwdSn-001Thj-Md for linux-arm-kernel@lists.infradead.org; Thu, 02 Jun 2022 05:33:46 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220602053332epoutp0498589b6afaf4e887f0913a32be0ac2d8~0ttqC5s_W0839608396epoutp04x for ; Thu, 2 Jun 2022 05:33:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220602053332epoutp0498589b6afaf4e887f0913a32be0ac2d8~0ttqC5s_W0839608396epoutp04x DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1654148012; bh=ZxRg88qK8qztD6NotaBYGtI2yR+16T/RMmgA5R92Q4s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r3BULmTaTjX8V7K8dh9P+HYxfxBO5EPx6fewU+nfn673e6vZVH0WC4FTwbc4A4d4k y3eCVFE7ZNWGK4xX5P7FF1gLj/ou496OSlcGWvNvZQtYfuAjV0a8peGMfpc1TsKoiR O0WPFTlQQenfprXlrpjXIqecM6ve0fWHqN9NRXDc= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20220602053332epcas2p39f60655682a423be374938f3eed57763~0ttpbkrI22395823958epcas2p3b; Thu, 2 Jun 2022 05:33:32 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.92]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4LDF6f1trJz4x9Pv; Thu, 2 Jun 2022 05:33:30 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 9E.23.09764.9AB48926; Thu, 2 Jun 2022 14:33:29 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20220602053329epcas2p3dc1aa5e50c5eab03309e67b95e2993ff~0ttnFaDKd2395823958epcas2p3P; Thu, 2 Jun 2022 05:33:29 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220602053329epsmtrp1e74cad7b2f193854096d195474603f16~0ttnEnNUL1617116171epsmtrp1Y; Thu, 2 Jun 2022 05:33:29 +0000 (GMT) X-AuditID: b6c32a46-f8bff70000002624-ed-62984ba9e501 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id C4.1E.11276.9AB48926; Thu, 2 Jun 2022 14:33:29 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220602053329epsmtip2e73549035cbceedfef62f3b3b8ac3fbb~0ttm2cZee0794907949epsmtip2q; Thu, 2 Jun 2022 05:33:29 +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-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chanho Park Subject: [PATCH v2 5/6] arm64: dts: exynosautov9: add secondary ufs devices Date: Thu, 2 Jun 2022 14:32:49 +0900 Message-Id: <20220602053250.62593-6-chanho61.park@samsung.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220602053250.62593-1-chanho61.park@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMJsWRmVeSWpSXmKPExsWy7bCmhe5K7xlJBtfvmFs8mLeNzeLyfm2L +UfOsVpceNrDZtH34iGzxd7XW9ktNj2+xmoxYdU3FosZ5/cxWbTuPcJusfPOC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UpyRaKjFXFScCAA8eLYD8QIAAA== X-CMS-MailID: 20220602053329epcas2p3dc1aa5e50c5eab03309e67b95e2993ff X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220602053329epcas2p3dc1aa5e50c5eab03309e67b95e2993ff References: <20220602053250.62593-1-chanho61.park@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220601_223342_285681_342DB426 X-CRM114-Status: GOOD ( 13.92 ) 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 beb46b5a83b6..161fd36e718d 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -400,6 +400,38 @@ ufs_0: ufs@17e00000 { samsung,sysreg = <&syscon_fsys2 0x710>; status = "disabled"; }; + + ufs_1_phy: 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_1: ufs@17f00000 { + compatible = "samsung,exynosautov9-ufs"; + + reg = <0x17f00000 0x100>, + <0x17f01100 0x410>, + <0x17f80000 0x8000>, + <0x17de0000 0x2200>; + 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"; + }; }; };