Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp690451imi; Thu, 21 Jul 2022 09:04:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sttI0rMsb6MsIDG6e8Wybx+uLUkgNuEiv6XW9VttE3ZGXeHAqoPOgXyF27uqeKCGMxtBMu X-Received: by 2002:a05:6870:2326:b0:f1:7485:2a92 with SMTP id w38-20020a056870232600b000f174852a92mr5604584oao.291.1658419492611; Thu, 21 Jul 2022 09:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658419492; cv=none; d=google.com; s=arc-20160816; b=XmPM3/DkUROJZXO7AxqxGiIgMO6Esn+ymNsUeLMehAOHwcrvrfpGCRSLeh2qy3L03W yJija/6YTnqvLJWjKawEM6ifZT/gIEcITS//d0weWp2ej2bVmjNMFEGLLWv2uOulHKKn 77fUmrOGXTi9Xr82v8FASx8/VC+le9Kl9IEoRGlYqb3M8S5y2kB9plTdFJ9yaNc3g/M9 e99MnV4FaAluD3R85UCg+tmth8tT6/S34C0EfxnFafK9/atykubhtghA3PBlN5yWG7dA dytVLrghPcalaIXJ1BPkzA1fQ5be8MxyRgZY/HDBgJO9LAeCReVeWQLyrjxbuoLQBuG7 RswA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0d7CzvXYqhLpfvtRLJSziF8ECa0o8FdEE91pv2G6/M4=; b=fbNNOe1kjVIPX7q7DxlqW1NGtVGX1lGd1FStNAf++y+udewreveQLT6CdXBrSRtS1A +JB5CXVoZcWj6tXGrl7JC1RFx5XwAGi1+5xy1kE2UDoEDc6QThc99Dm/s4HcC4Qu08WM +AlxfRWExLzWU0RRcfsRju1kdIHkYHtBaXJd55G70+PrvrrOA38vGAQJfvaG0xC/p/xg ZByvvVA3dm/+QwMMXCydEg0ie+I2nAP8cK6nO/AAEJ1TLClznQsohLKcAER9TvjXQsH6 8m6yM2pweaF6Tz54Z726f/NqFQnPkcm8Pjy1vQi/zDNSs5OUJxiWQuKW60qkNABCcODR qeuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=h9utPlen; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cy41-20020a056870b6a900b0010c5005d498si1804235oab.28.2022.07.21.09.04.39; Thu, 21 Jul 2022 09:04:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=h9utPlen; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232187AbiGUPge (ORCPT + 99 others); Thu, 21 Jul 2022 11:36:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232158AbiGUPgK (ORCPT ); Thu, 21 Jul 2022 11:36:10 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB45125DB; Thu, 21 Jul 2022 08:35:58 -0700 (PDT) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26LAYZnS012998; Thu, 21 Jul 2022 17:35:38 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=0d7CzvXYqhLpfvtRLJSziF8ECa0o8FdEE91pv2G6/M4=; b=h9utPlen7aHyNLl7kJbDMwIkc+CL55Z5DOJ1alhfmMogQvSkOyWgUGuxRApG9IQuTXOv A8phIOcx3n0qQF1JecU/v5PaMHa1eJ8Rixmosi89T+MAPGoLcOPaxfCwRG+j2rqS2qb+ sLk8wyl1LFUdfSs5s/913aU/gYIHqcMS2uUBI15PvO//iwkPTGuoIDelLKN8hrj0iSau HKDY8FZOm8ye8sVmfCWG/xN/JHKmdmzJRU3+uOxbkevxMlFZjnRYz9zAnv1PHlR6DLv3 5dG6obSCyrVKPUtI8yC/pFbQrHlxAX0RgWTp6kEDDnZf10B2c9KQeTpQQtMxcay7VwqR vg== 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 3hf55vher3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Jul 2022 17:35:38 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0D1F5100034; Thu, 21 Jul 2022 17:35:38 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 08168226FDC; Thu, 21 Jul 2022 17:35:38 +0200 (CEST) Received: from localhost (10.75.127.50) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.20; Thu, 21 Jul 2022 17:35:37 +0200 From: Alain Volmat To: CC: , , , , , , , Subject: [PATCH 1/2] ARM: dts: stm32: add spi nodes into stm32mp131.dtsi Date: Thu, 21 Jul 2022 17:34:54 +0200 Message-ID: <20220721153455.3805586-2-alain.volmat@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220721153455.3805586-1-alain.volmat@foss.st.com> References: <20220721153455.3805586-1-alain.volmat@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-21_18,2022-07-20_01,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the 5 instances of spi busses supported by the stm32mp131. Signed-off-by: Alain Volmat --- arch/arm/boot/dts/stm32mp131.dtsi | 70 +++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi index da9e8a6ca663..db3d1b900d5c 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -97,6 +97,34 @@ scmi_shm: scmi-sram@0 { }; }; + spi2: spi@4000b000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "st,stm32h7-spi"; + reg = <0x4000b000 0x400>; + interrupts = ; + clocks = <&rcc SPI2_K>; + resets = <&rcc SPI2_R>; + dmas = <&dmamux1 39 0x400 0x01>, + <&dmamux1 40 0x400 0x01>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + spi3: spi@4000c000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "st,stm32h7-spi"; + reg = <0x4000c000 0x400>; + interrupts = ; + clocks = <&rcc SPI3_K>; + resets = <&rcc SPI3_R>; + dmas = <&dmamux1 61 0x400 0x01>, + <&dmamux1 62 0x400 0x01>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + uart4: serial@40010000 { compatible = "st,stm32h7-uart"; reg = <0x40010000 0x400>; @@ -142,6 +170,20 @@ i2c2: i2c@40013000 { status = "disabled"; }; + spi1: spi@44004000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "st,stm32h7-spi"; + reg = <0x44004000 0x400>; + interrupts = ; + clocks = <&rcc SPI1_K>; + resets = <&rcc SPI1_R>; + dmas = <&dmamux1 37 0x400 0x01>, + <&dmamux1 38 0x400 0x01>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + dma1: dma-controller@48000000 { compatible = "st,stm32-dma"; reg = <0x48000000 0x400>; @@ -189,6 +231,34 @@ dmamux1: dma-router@48002000 { dma-channels = <16>; }; + spi4: spi@4c002000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "st,stm32h7-spi"; + reg = <0x4c002000 0x400>; + interrupts = ; + clocks = <&rcc SPI4_K>; + resets = <&rcc SPI4_R>; + dmas = <&dmamux1 83 0x400 0x01>, + <&dmamux1 84 0x400 0x01>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + spi5: spi@4c003000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "st,stm32h7-spi"; + reg = <0x4c003000 0x400>; + interrupts = ; + clocks = <&rcc SPI5_K>; + resets = <&rcc SPI5_R>; + dmas = <&dmamux1 85 0x400 0x01>, + <&dmamux1 86 0x400 0x01>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + i2c3: i2c@4c004000 { compatible = "st,stm32mp13-i2c"; reg = <0x4c004000 0x400>; -- 2.25.1