From patchwork Thu Aug 22 13:32:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 13773446 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 54C38C5320E for ; Thu, 22 Aug 2024 13:35:06 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kPv5MHmpjibQtwrEgXXiFsi4glHyATzDiNX0/79ZSVI=; b=3644HffNO/9jC3 oFK0TJaCOo9u11PD1UfRPsa34hcHNsUG4kQzVv8mnxtz9+BVKf8wk3yI2HtJANdBgnr6MN5Gn7bR5 HphUAiHpruEPBTcqW3WqxGBIV7xepnNGIyba1GigZh69vU0trD1i8HnwrsQ/K6slAfP/YyOxGd3cb x0qY7N6uGMdrfw1gPq8zgN7JGXyUzcF13I6dOPx9v8bZAw+Etrk9URrFe3MzLwsGhwW3Plg2AhGEu 0uLriHXZKfKjl/9QKiZPpmDkC2o7gzZrZQjDD/dBNUZx253T33/1OEfCDLHjXGz61HOI/CknhCcj9 Qe1FOOg576xvdpzCDNgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh7xt-0000000CyMe-29mm; Thu, 22 Aug 2024 13:35:01 +0000 Received: from muminek.juszkiewicz.com.pl ([213.251.184.221]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh7vO-0000000Cxat-3Tat for linux-rockchip@lists.infradead.org; Thu, 22 Aug 2024 13:32:28 +0000 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id ACBDF260984; Thu, 22 Aug 2024 15:32:23 +0200 (CEST) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id HIS5tonwIR9c; Thu, 22 Aug 2024 15:32:21 +0200 (CEST) Received: from puchatek.local (83.25.211.12.ipv4.supernova.orange.pl [83.25.211.12]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 73B702602F0; Thu, 22 Aug 2024 15:32:21 +0200 (CEST) From: Marcin Juszkiewicz Date: Thu, 22 Aug 2024 15:32:05 +0200 Subject: [PATCH v4 1/8] arm64: dts: rockchip: define pinctl for SPI M1 MIME-Version: 1.0 Message-Id: <20240822-friendlyelec-nanopc-t6-lts-v4-1-892aebcec0c6@linaro.org> References: <20240822-friendlyelec-nanopc-t6-lts-v4-0-892aebcec0c6@linaro.org> In-Reply-To: <20240822-friendlyelec-nanopc-t6-lts-v4-0-892aebcec0c6@linaro.org> To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Marcin Juszkiewicz X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240822_063227_060788_27395357 X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org There are definitions for M0 and M2 pinouts while NanoPC-T6 uses M1 one. Signed-off-by: Marcin Juszkiewicz --- arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi index 30db12c4fc82..75d5816b6fa4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi @@ -407,6 +407,23 @@ fspim0_cs1: fspim0-cs1 { <2 RK_PD7 2 &pcfg_pull_up_drv_level_2>; }; + /omit-if-no-ref/ + fspim1_pins: fspim1-pins { + rockchip,pins = + /* fspi_clk_m1 */ + <2 RK_PB3 5 &pcfg_pull_up_drv_level_2>, + /* fspi_cs0n_m1 */ + <2 RK_PB4 2 &pcfg_pull_up_drv_level_2>, + /* fspi_d0_m1 */ + <2 RK_PA6 5 &pcfg_pull_up_drv_level_2>, + /* fspi_d1_m1 */ + <2 RK_PA7 5 &pcfg_pull_up_drv_level_2>, + /* fspi_d2_m1 */ + <2 RK_PB0 5 &pcfg_pull_up_drv_level_2>, + /* fspi_d3_m1 */ + <2 RK_PB1 5 &pcfg_pull_up_drv_level_2>; + }; + /omit-if-no-ref/ fspim2_pins: fspim2-pins { rockchip,pins =