From patchwork Mon Mar 20 17:11:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 13181642 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 598D3C7618A for ; Mon, 20 Mar 2023 17:13: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: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:In-Reply-To:References: List-Owner; bh=9cVxAyc2rb8oqtjNMbAHLycHPD4AnMkj+2hGi6UqYPs=; b=SnQSucXj+Vw5P7 Iz4hTMQetrNBmokbvfDrGfo8tEnAVUjmn4sGI42VhFdEINS5Q76a5gXEq4bTmxIKe5uAeJ23f7DD9 COhJfOL+ihB1kZ9CNM/v3Ad1masgVda7ii5h19uYSmaWrLxGhxYQ/rjnkZ8ljgs1wv//+mEYUxaEU e25pBJhvFQugq/SNimw7cSbgVrAK45WO2x1LH9mC2AMZPEuiA4+ze888t7XhKD/+ldy7jd7J+6G1W FZk4iwyYXr8lwXdoCoCcj4St9zdH2ahewfgEEKnXMpEkd/9vHCabnJh7oUCgvIJ9LRXhADp1Wdhda V4zmp2Fh/lrn1L88FBVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1peJ3c-009x8N-1l; Mon, 20 Mar 2023 17:12:28 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1peJ3Z-009x75-0y for linux-arm-kernel@lists.infradead.org; Mon, 20 Mar 2023 17:12:26 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32KF4Y6Y019970; Mon, 20 Mar 2023 18:12:19 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=15CwWZ8oByq/H57IetfxbLTZXEn7feO0tYPiarF3dQ8=; b=XmZ8o8S9+5zo0CdwJbiovhXCSdm3VACPn6h4A1lWmHOcAByZsx/7zS1XhLyRL7U+UmPY g/vvMteq9zBF665KNqyhJElFOdEhsYHoawwIDUmSASLO3UJcdw5Clo73DV73ayohuGtx WOTyCFB7WBONDFL4L9vBXfplFthGougfB9PtVzrKyT8JQ5OJcM0Gz066hg0vFWQCPGFR Pot+41h1Dk6FoIFUvA/B2hKR7HieitkxFP2LQoe3Z+EqnPCYkFqTX8ZlVurVVzAn0Iwn HAWOT1yfMcuw8bnQBCGnXpFc69SVY/zfkfyTrmyYaAU9LL6JPHli25nJD7112vsSZYKl kw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3pekqx3n3g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Mar 2023 18:12:19 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7522C10002A; Mon, 20 Mar 2023 18:12:17 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 972E92194F0; Mon, 20 Mar 2023 18:11:24 +0100 (CET) Received: from localhost (10.201.21.93) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Mon, 20 Mar 2023 18:11:24 +0100 From: Alexandre Torgue To: , , CC: , , Alexandre Torgue , , Subject: [PATCH] ARM: dts: stm32: fix spi1 pin assignment on stm32mp15 Date: Mon, 20 Mar 2023 18:11:23 +0100 Message-ID: <20230320171123.6263-1-alexandre.torgue@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.201.21.93] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-20_14,2023-03-20_02,2023-02-09_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230320_101225_618182_4620416D X-CRM114-Status: GOOD ( 12.98 ) 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 Bank A and B IOs can't be handled by the pin controller 'Z'. This patch assign spi1 pin definition to the correct controller. Fixes: 9ad65d245b7b ("ARM: dts: stm32: stm32mp15-pinctrl: add spi1-1 pinmux group") Signed-off-by: Alexandre Torgue diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index a9d2bec99014..e15a3b2a9b39 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -1880,6 +1880,21 @@ }; }; + spi1_pins_b: spi1-1 { + pins1 { + pinmux = , /* SPI1_SCK */ + ; /* SPI1_MOSI */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + + pins2 { + pinmux = ; /* SPI1_MISO */ + bias-disable; + }; + }; + spi2_pins_a: spi2-0 { pins1 { pinmux = , /* SPI2_SCK */ @@ -2448,19 +2463,4 @@ bias-disable; }; }; - - spi1_pins_b: spi1-1 { - pins1 { - pinmux = , /* SPI1_SCK */ - ; /* SPI1_MOSI */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - - pins2 { - pinmux = ; /* SPI1_MISO */ - bias-disable; - }; - }; };