From patchwork Wed Apr 17 06:45:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13632910 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 8F7BAC4345F for ; Wed, 17 Apr 2024 06:47:22 +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=fmKAK+0rxGF8G7RImyeeLCM2gY/CSGmLNyqzFQF4QAs=; b=FtWOIf4w6L7gpa 1zDO4BF3DyPI8NqTrh+tgiVQDvlLnxMvyQVJuSr2W9s1sIHFUew13gSaPWCoYEp5nIKyUGOCwJYHW Y/RKBIa1aLauNJE68I4I3k9kOA8Y0LWjwL7MKYoC3Z4t1Apjxx1PLoaZ2ayq+sUH2FVE+u128prcr 05rNlFRC1uI/mQwa1YRqlrWObkR72wRYlcNwx1pkJFL/zt2ftrTXu/7Ghdg+0PM0YLzwmKFH8NKdB 01v162xu2vGWljKW6pySt31tP3C6Yr4tMbtitJ6g+HS5rYjlo8XTHnUndd2xUKXMQuMwDKkr6DD4v r12+4f1XqUyJ1Z/DePpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwz4X-0000000EtrM-2YIR; Wed, 17 Apr 2024 06:47:09 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwz4L-0000000EtiV-0htK for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2024 06:46:58 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 3CEBD6136F; Wed, 17 Apr 2024 06:46:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B43BC072AA; Wed, 17 Apr 2024 06:46:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713336415; bh=bqF+h4NZ8hG/kLT9eXCgWtdxJRiX7vstn03+7psmioc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kZZdPovFTN0PDf4t2dnwTdQF18fw8U/xqD5Pc1+YKBDZibfBDAk102t74PJjIG8pL wNII7e+DxmhkySdYVHoZJyLjpgsi2hW1jiBRz7rSP1Mjkr94EAlkHDBZ4Qu6C4GfrT rXIGLViYVZcAOfdX+2Fnnr7fWkaiuP20zCKx1XfGnuJUvcMO4ZOeVEw456zCydKjwI zSEx6wsaYuIQg6NcxL9iYLA/KnVIIlnfiXk0jAnx3ox+kes3AzqFzH/oDGUVadwP3w QOMR+07fAN2rlDL6zj5sR7CymeMvtkfelAFpVBk55A9TkVj0zcwwYZ+rH7ZrtyeWRL vcd3ZC5czu7zg== From: Lorenzo Bianconi To: linux-spi@vger.kernel.org Cc: broonie@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 Subject: [PATCH v2 2/3] arm64: dts: airoha: add EN7581 spi-nand node Date: Wed, 17 Apr 2024 08:45:51 +0200 Message-ID: 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-20240416_234657_337953_B683BC98 X-CRM114-Status: UNSURE ( 7.70 ) 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 Tested-by: Rajeev Kumar Signed-off-by: Lorenzo Bianconi --- arch/arm64/boot/dts/airoha/en7581.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/dts/airoha/en7581.dtsi index 5c4bfe3e1e5a..8affe1c70c7a 100644 --- a/arch/arm64/boot/dts/airoha/en7581.dtsi +++ b/arch/arm64/boot/dts/airoha/en7581.dtsi @@ -159,5 +159,26 @@ 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"; + + interrupts = ; + + #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>; + }; + }; }; };