From patchwork Wed May 1 14:06:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13650775 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 2F8ECC4345F for ; Wed, 1 May 2024 14:07:19 +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=nNsPjcBAV6d2VPBNZSjUlmpNJOW3d/81Bc10ggw+LDU=; b=mQRbKrjM1nz+Tg 5UISqMWixar4DZWBwnKTR2FyUXAzc1dKfd9cr0FeuhtLhfUyBZ2Di3E+i4f6rh4ICUpLpLpadBgA7 2W64DBcjp5lPrno+6283hfB+Hg2iFJ8+qpxXvcge3KFfQP12XRBzlapuZIld6SdExu5tx3w1bKGGW c2LemoLFkEyXt5wGf30lylr1xg1bDpZjsDljvld+uHlVer0cn360HJ0MLHqIAaYeH38JMlU/kdhGp qTCHlSc9N/ui6Y7jeZdb8hmefFZeYROo9/vz2nu/qR2YQs/RkGZziriZsF66YYQPlEB6+2hSuYh+5 qVB97whG6oKyjxLrxRZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2Ac0-00000009lN7-0yl8; Wed, 01 May 2024 14:07:08 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2Abw-00000009lM8-3kVc for linux-arm-kernel@lists.infradead.org; Wed, 01 May 2024 14:07:06 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 131F9CE1300; Wed, 1 May 2024 14:07:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1D45C072AA; Wed, 1 May 2024 14:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714572422; bh=mEwTjhCKwRP0s6SVX+aqKXH0QKJm+wD0+J+IOMS/bmk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gd7iah7Zms4hySBsHX/4/Qm8LeeQ0kq7p0/11ni3c48vj+ePNovtOlJxBSOCj405M Int31NlZERn+D6or6cSX0bCGfIXdlchNzKkbH59Bhc8rEO7k+UCIf5qUDewg1YhcbB fJWELDaPlznGSOZcLXQCvL2FcjC0G34GAp+XxVuqncfRVbK8ddKgLYMAz9v5YWcDux V1asXtsKYU2nVgyClgDqtvok4zsEf9KiIYxlcsrt7kF9pT7HuXN7AGXxvzUDgcUgMr o/d2xUGKVG+whDLqTzktwLO//iZT6NL5kWa38VtSRfdKXnqU8aJpqPou4ijbIGYK2i ETecIjHf6uBng== From: Lorenzo Bianconi To: linux-spi@vger.kernel.org Cc: broonie@kernel.org, conor@kernel.org, lorenzo.bianconi83@gmail.com, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, nbd@nbd.name, john@phrozen.org, dd@embedd.com, catalin.marinas@arm.com, will@kernel.org, upstream@airoha.com, angelogioacchino.delregno@collabora.com, andy.shevchenko@gmail.com Subject: [PATCH v6 2/3] arm64: dts: airoha: en7581: Add spi-nand node Date: Wed, 1 May 2024 16:06:42 +0200 Message-ID: <189790802f3ba1a80c4ab5e064b2425e5a360098.1714571980.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240501_070705_136331_7150020B X-CRM114-Status: UNSURE ( 8.00 ) 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 Introduce the Airoha EN7581 spi-nand node in Airoha EN7581 dtsi Reviewed-by: AngeloGioacchino Del Regno Tested-by: Rajeev Kumar Signed-off-by: Lorenzo Bianconi --- arch/arm64/boot/dts/airoha/en7581.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/dts/airoha/en7581.dtsi index 5c4bfe3e1e5a..98c2a86086e1 100644 --- a/arch/arm64/boot/dts/airoha/en7581.dtsi +++ b/arch/arm64/boot/dts/airoha/en7581.dtsi @@ -159,5 +159,24 @@ scuclk: clock-controller@1fa20000 { <0x0 0x1fbe3400 0x0 0xfc>; #clock-cells = <1>; }; + + snfi: spi@1fa10000 { + compatible = "airoha,en7581-snand"; + reg = <0x0 0x1fa10000 0x0 0x140>, + <0x0 0x1fa11000 0x0 0x160>; + + clocks = <&scuclk EN7523_CLK_SPI>; + clock-names = "spi"; + + #address-cells = <1>; + #size-cells = <0>; + spi_nand: nand@0 { + compatible = "spi-nand"; + reg = <0>; + spi-max-frequency = <50000000>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <2>; + }; + }; }; };