From patchwork Thu Jun 2 17:42:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Peter X-Patchwork-Id: 12868032 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 A1CF1C433EF for ; Thu, 2 Jun 2022 17:43:44 +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:MIME-Version:References: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=5DE5lwdl+VHDMMGmDzvqloA5bYG1xdknoY+nTu75ojQ=; b=IE6m6GvQeK2e5E 9rqBLhDHLFDf45DztYIBP1EAXbpuEj27Nc/w62HzIegvIdiuW+AQfYJ6fCRkw7tUZqchSC1DHrnZC ohdcQ3YOU88uNesMIWRczDZR3FuJ0W3gstHd33lqpJ8cv3vm5tRHcy4H2GNuYSGQWq4J9GWUdrfFm JqcCw0/eHNyM3upbz8HA/NJZpXOFiglZrepayiCM9OpntFf6J5Dbekk90CRmSzxvQmVjpCWCWrvTK M3CRRKPNwd/0Gl4TPK8t47tqOvD4ldWKUdX3q9sppa42/n7li5rojOb7vD63BgzrZnQ1xQKU3pNQq qPTim3U2fR8HnEb1vb9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwoqK-003svf-CN; Thu, 02 Jun 2022 17:42:44 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwoqE-003suv-Sn for linux-arm-kernel@lists.infradead.org; Thu, 02 Jun 2022 17:42:40 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 9921432007D7; Thu, 2 Jun 2022 13:42:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 02 Jun 2022 13:42:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1654191757; x= 1654278157; bh=sdCSDnTwZq4cKIMvJzFEUcWYJ3lEuGnemhaFysCn4Yw=; b=h m5aaRDeaBuxkLWm2i4Nl+cUCfkn1NntvvL0E5qNsGUiDuFUx8q1oKwV3OIB6YSaa tZ/ln6iH3Osjx1KLtWr7G+r/A3E1gupNMi9xRmMOmWAXotXWYjO/PAjhhUYKX2AD IvAzEXMByfBx2OEVLxFmFplqRPKNDaMGHP6ze4B5eBE6EGuDYxiWHazWvq2Nf1Ji m/yPT9zqLrg5ZjZ5NfjsmoASDBFoMNLy+W06HK/EMWTNIV957DvBXqHV2PcTcs84 2PZWSRgc6DTNfZmgb70uOok2eBtD4ykkTZAY5NXcJ6Mbhx79KqMB6SztG8J4oFrQ 9uhICn0oOVnbwaWM2mkgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1654191757; x=1654278157; bh=sdCSDnTwZq4cK IMvJzFEUcWYJ3lEuGnemhaFysCn4Yw=; b=qkhRJqAy0YW0NayKJJvWEw0OXxR32 sOCEPBATJVW04XZ/8sZ6DNMJR671ZQNI7mpZk277LcknyW9STZwmVjlpM0gefjW+ ysZFwN5GBR5somBKd2lkK/5Yj3aTNYP+H2Nsxl/11tzJeEP/gluY9pefF4xJUmPk X388jSjI4spjKNzBThWJUSfRhlqoEAmjT5YYqweu3fB+xeqhgi06rZmV6ynZZOzG QDFm77/urOPYPjuXtM0dq+O+fi3wMmxRzMBdeJkhQAeIUs0yLqq4cIKX2jV48ROo y6MgMw+/qKMpwsaVoIVv/TCuZi/XVRvdLyKGbditW+uP4Ull0bS4b0nbQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrleefgddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefuvhgvnhcu rfgvthgvrhcuoehsvhgvnhesshhvvghnphgvthgvrhdruggvvheqnecuggftrfgrthhtvg hrnhepjeeiheehkeegvdejhfevkeejgfdutdefhfethedtieffleekieeuudefleekjeeg necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhvvg hnsehsvhgvnhhpvghtvghrrdguvghv X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Jun 2022 13:42:35 -0400 (EDT) From: Sven Peter To: Hector Martin , Sven Peter , Alyssa Rosenzweig Cc: Rob Herring , Krzysztof Kozlowski , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: apple: t8103: Add ANS2 NVMe nodes Date: Thu, 2 Jun 2022 19:42:13 +0200 Message-Id: <20220602174213.2737-2-sven@svenpeter.dev> X-Mailer: git-send-email 2.30.1 (Apple Git-130) In-Reply-To: <20220602174213.2737-1-sven@svenpeter.dev> References: <20220602174213.2737-1-sven@svenpeter.dev> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220602_104239_003952_89731165 X-CRM114-Status: UNSURE ( 7.73 ) X-CRM114-Notice: Please train this message. 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 This allows to use the internal disks attatched via NVMe. Signed-off-by: Sven Peter --- arch/arm64/boot/dts/apple/t8103.dtsi | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8103.dtsi b/arch/arm64/boot/dts/apple/t8103.dtsi index 9f8f4145db88..51a63b29d404 100644 --- a/arch/arm64/boot/dts/apple/t8103.dtsi +++ b/arch/arm64/boot/dts/apple/t8103.dtsi @@ -378,6 +378,40 @@ pinctrl_aop: pinctrl@24a820000 { ; }; + ans_mbox: mbox@277408000 { + compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0x77408000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_ans2>; + }; + + sart: iommu@27bc50000 { + compatible = "apple,t8103-sart"; + reg = <0x2 0x7bc50000 0x0 0x10000>; + power-domains = <&ps_ans2>; + }; + + nvme@27bcc0000 { + compatible = "apple,t8103-nvme-ans2", "apple,nvme-ans2"; + reg = <0x2 0x7bcc0000 0x0 0x40000>, + <0x2 0x77400000 0x0 0x4000>; + reg-names = "nvme", "ans"; + interrupt-parent = <&aic>; + interrupts = ; + mboxes = <&ans_mbox>; + apple,sart = <&sart>; + power-domains = <&ps_ans2>, <&ps_apcie_st>; + power-domain-names = "ans", "apcie0"; + resets = <&ps_ans2>; + }; + pcie0_dart_0: dart@681008000 { compatible = "apple,t8103-dart"; reg = <0x6 0x81008000 0x0 0x4000>;