From patchwork Mon Mar 20 05:30:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 71994 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1035128wrt; Sun, 19 Mar 2023 22:50:05 -0700 (PDT) X-Google-Smtp-Source: AK7set97HwEpfZPV5P6yp7/tfykeKzXYj7RkZQsPjkpe7b2JUSNoEjsprDMLlVBhXu3WneEVLghP X-Received: by 2002:a05:6a20:9384:b0:d9:3de:541e with SMTP id x4-20020a056a20938400b000d903de541emr4851526pzh.6.1679291405021; Sun, 19 Mar 2023 22:50:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679291405; cv=none; d=google.com; s=arc-20160816; b=EFpczm7u1eThWR5Gzww6/keqGWJ6tX5cKIdwNPtN0GUMJ8nbGW29qfrJVtLtz8GcXC N6zoMAApwRdzujfLf4DBaSSHvyjaCh3862k6hpW2HH7xMGXBQIWHroMeeM6FXpe9kGn9 WmtSKp3tkHF/xvpAAe+v5VJk/vwwxfz7LrW29xW1UIq9b+PhHe3Dbz9Y+vYK9GVh+oWg EZ1qlBytrrNd4n7thrM9AtiOmeIyEAO7EuIxvWCPzgtQfFEbwVndVsecieB+IpLQzc7x K12s0D+X7II2S2Yi+heaz/EMwoP8boOgS+GRRvAPMw6JGOfwHiXHKP1RyYYgVfa6pXim iTBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eGWAm7YiD2luX7fLFaN8BT2YDuZZFjKD8KwtJt2M0Lo=; b=bX5cFSVZt+wiQpUiIdPrJRH3706DHKu3Xo+p/Knb1+Wsm5upXe1CD9oxT09kIWceMX Xy/nBgtT7cBR2+wbGolTaG6HD5G00NxVNHB0UdDChzvsgNNJh5pJFox79SCsruG10Erf ENue6KZzKEh1737SD7bY594+G9sfuJRK0pURbXZn0lJfYxyAd5frawbVr+6khsKvX50D DGPTg9sKOvgCVNw3IUuxXksTEJZ+V56abyoe5E6KImxVjf3kMaXJVStp6S4GjVywxqek IOyZZEyCmBWUN2cjf8r099JI0+IpxHRgJbZHgsUupCIk+wtWS2L7TLXGcYHKFkdrRPzk TO4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AlYAgnKU; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf16-20020a17090b1d9000b0023b3729bcbfsi10272493pjb.6.2023.03.19.22.49.52; Sun, 19 Mar 2023 22:50:05 -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=@ti.com header.s=ti-com-17Q1 header.b=AlYAgnKU; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229699AbjCTFah (ORCPT + 99 others); Mon, 20 Mar 2023 01:30:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjCTFaf (ORCPT ); Mon, 20 Mar 2023 01:30:35 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5584612BCB; Sun, 19 Mar 2023 22:30:34 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UQkw055163; Mon, 20 Mar 2023 00:30:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679290226; bh=eGWAm7YiD2luX7fLFaN8BT2YDuZZFjKD8KwtJt2M0Lo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=AlYAgnKUTcj5YxZnI2yrCHgliCm0L5GT5rse5TYBR/5DlGB4ucqLgJ94d8yr1aPsc JRc5pJY6xWmge9RxqY7/BKrNQuMPCD2WnCjzXmlxneKP6/DZdOG8XWO7DM02zFKA6C qaeIZDgE7/4jgaJSq5zC7STQGnKJJ0k4sxX3rcF8= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32K5UQCR011395 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Mar 2023 00:30:26 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 20 Mar 2023 00:30:26 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 20 Mar 2023 00:30:26 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UOth061686; Mon, 20 Mar 2023 00:30:25 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH 1/8] arm64: dts: ti: k3-j721e-main: Add MCSPI nodes Date: Mon, 20 Mar 2023 11:00:15 +0530 Message-ID: <20230320053022.11093-2-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230320053022.11093-1-vaishnav.a@ti.com> References: <20230320053022.11093-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760864664244055221?= X-GMAIL-MSGID: =?utf-8?q?1760864664244055221?= J721E has 8 MCSPI instances in the main domain. Add the DT nodes for all the 8 instances and keep them disabled. Co-developed-by: Keerthy Signed-off-by: Keerthy Signed-off-by: Vaishnav Achath --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 88 +++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index bfa296dce3a3..a90f076776ce 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -2328,4 +2328,92 @@ bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; status = "disabled"; }; + + main_spi0: spi@2100000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02100000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 266 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 266 1>; + status = "disabled"; + }; + + main_spi1: spi@2110000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02110000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 267 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 267 1>; + status = "disabled"; + }; + + main_spi2: spi@2120000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02120000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 268 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 268 1>; + status = "disabled"; + }; + + main_spi3: spi@2130000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02130000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 269 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 269 1>; + status = "disabled"; + }; + + main_spi4: spi@2140000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02140000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 270 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 270 1>; + status = "disabled"; + }; + + main_spi5: spi@2150000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02150000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 271 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 271 1>; + status = "disabled"; + }; + + main_spi6: spi@2160000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02160000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 272 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 272 1>; + status = "disabled"; + }; + + main_spi7: spi@2170000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02170000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 273 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 273 1>; + status = "disabled"; + }; }; From patchwork Mon Mar 20 05:30:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 71992 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1034242wrt; Sun, 19 Mar 2023 22:46:54 -0700 (PDT) X-Google-Smtp-Source: AK7set/bULEtNvHXWo+V6eO9JkSqvGw2Lj+duY+v9NBubxFDNlWAfqBYUnBM1eDP9ly5Puvf7fkP X-Received: by 2002:a05:6a00:32c7:b0:5db:aa2d:9ea0 with SMTP id cl7-20020a056a0032c700b005dbaa2d9ea0mr15619858pfb.2.1679291213753; Sun, 19 Mar 2023 22:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679291213; cv=none; d=google.com; s=arc-20160816; b=rKt8pxfKtcM6bPAUlv/da6pGL3RT9Imw58iRPV362/a2hPahih7jXcXnbbiKbb4HJl JlAuKAi7FbGLLWi+W5qd21rO03q6vMGcGYFg549YkaUpUy0P9snKK9N2F3L+j0PkztEx lYd2lxCKYmNgk8w0HIhu+r0troZyqpZPBdajX3pe7wRgmjX9mapvLWIq0PzgG1JcOI3u T4BGFNv4W5frtMlmmlIpuODC2l5PvS7jZR+mIOt+mY2qEQA0vClzbosmJRh92g/h4rOp 7y/tXf5tyQePwomskU5+xz33hWx8FBCixC3amsDBjvyII9mEbEQZwZ9UQNtOFq9rDPmf /Oww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=BpnMuKFynM9VPEJyeRu484XKNN4pYhRph+MFQGwWz4w=; b=KCHVfqe2tjb7SOLZ3P+7s+7rOpXV3OgasnFQ58ToUmgA/QUTLBzZrYQjwhDiJ9gV1s EN1l82hKUe9H7zNB7LPUdVNv46EWVSA9mCsnrQ3A4B2vUpr/bhfEbRp7BQW2vtgfWFlA 8DO1UpbVoU2jSpQHICka2zu2cxsALsO5bG7gnwfiOyr4TyzK55kMbr6t04fGu3gsUn1A Dg75/o+UkT8OseYOvTS5vyIbkR+NwNLsEagL3YcDUb5kJqNc1gZ0gySgpAfG9jlJpX9W tjMu2Cvsl95B1o2yZwx02NB5LHD6EVnVrNGF8h4/SJqyTkbzKvPFTsrbAIA6rkFTvg0e nKMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BImdPva6; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u6-20020a056a00158600b005a8f2051fd3si10112273pfk.230.2023.03.19.22.46.41; Sun, 19 Mar 2023 22:46:53 -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=@ti.com header.s=ti-com-17Q1 header.b=BImdPva6; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbjCTFao (ORCPT + 99 others); Mon, 20 Mar 2023 01:30:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbjCTFag (ORCPT ); Mon, 20 Mar 2023 01:30:36 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17CB812BCC; Sun, 19 Mar 2023 22:30:35 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32K5USoU126900; Mon, 20 Mar 2023 00:30:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679290228; bh=BpnMuKFynM9VPEJyeRu484XKNN4pYhRph+MFQGwWz4w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=BImdPva63rpIySCw5sOqHJlXpAgGYc/XM63EMCiJ/BAM80llv5Q3cFR7jG2yR1sWm j1NfinNkvToOsb+lFP0RARmBUEUnvf0mRhXzHF8kmHxXRytbcqGv7tSg8PBjTU0HNm xrS8MNLU/4hOjcDBppUyQYnKgkmJpZgvGGM8/UvE= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32K5US4N086766 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Mar 2023 00:30:28 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 20 Mar 2023 00:30:28 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 20 Mar 2023 00:30:28 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UQ1c029982; Mon, 20 Mar 2023 00:30:27 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH 2/8] arm64: dts: ti: k3-j721e-mcu-wakeup: Add MCSPI nodes Date: Mon, 20 Mar 2023 11:00:16 +0530 Message-ID: <20230320053022.11093-3-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230320053022.11093-1-vaishnav.a@ti.com> References: <20230320053022.11093-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760864463664735917?= X-GMAIL-MSGID: =?utf-8?q?1760864463664735917?= J721E has 3 MCSPI instances in the MCU domain. Add the DT nodes for all the 3 instances and keep them disabled. Co-developed-by: Keerthy Signed-off-by: Keerthy Signed-off-by: Vaishnav Achath --- .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi index 8ac78034d5d6..24e8125db8c4 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi @@ -425,4 +425,37 @@ bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; status = "disabled"; }; + + mcu_spi0: spi@40300000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040300000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 274 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 274 0>; + status = "disabled"; + }; + + mcu_spi1: spi@40310000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040310000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 275 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 275 0>; + status = "disabled"; + }; + + mcu_spi2: spi@40320000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040320000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 276 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 276 0>; + status = "disabled"; + }; }; From patchwork Mon Mar 20 05:30:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 71993 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1034844wrt; Sun, 19 Mar 2023 22:49:13 -0700 (PDT) X-Google-Smtp-Source: AK7set83GM1pxs4TJJ+0tq6ea3t+ApLkYSfpwYLEERVZEl8MDHzNMs2M3TfhrCaY6hpyLh0VpHd6 X-Received: by 2002:a17:90a:fe8b:b0:23d:2b53:1ae2 with SMTP id co11-20020a17090afe8b00b0023d2b531ae2mr13524183pjb.3.1679291353499; Sun, 19 Mar 2023 22:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679291353; cv=none; d=google.com; s=arc-20160816; b=AYgzWAGZW95r2/4s7q9wOEbcfo/eFp/sN7xf+uw9xj77DyLu1ZbHQIcrlyBihw6sbV Lek6fn96eOIZFOIF7MA32s2M4NEX8UIEjtxAoQGpphoha3Qhu/bPaDHkYAGwsG5ck+o5 6sqy7Djwbo0XcqMo/qCfh9qOZHa1xKxSDq3OD5/JvvPsyqJXF4Dm2lu1cqgu4dCwYwJ1 u4obQEcdqAMXNQHlXgyCGH2ZEUSYAuQbbjtjIrTdwe2kStFN52qHt5DYXJXBhVHsOdN0 o8LBRAdHFoWqAwGmdRAH0sokUz36svPmUxL5P95wAmIJI75AKGNUfNZMozR1Zj4oL9M/ dYCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=CCCvEo+BCtxHdx5Exb7+FdgZyZSsFcqUrAbpa1VnjMk=; b=OB0B794Z90SS1Z9rjavIj7yp5FOTg4Dj8ZA/sFyApNAGmtskUfSZNoP5DMA6MiOMbZ x/9qRd0ohR9uUznfE0l7XJ6kAm2jgB9TugR+h/BnUttddGbU8DtE7NIzkctNJztyQCHG 6nGu03RH3kyaLcksW2y+5yqVJHcoo3EVBrcM5BZ9O8VJWsmMwxvyFF4MhkXVryJhJ6Vs N8vxVdsUWvnC1UlLjvSjZlhOYC7Ae314vNtgTluG2A/1/S29HtBFLeqKW/XdMuBbNRx5 HBI1nbVDSV0vv2qFEVcwoJRNoq6ZQlLBId+iNdwRtgGPmo2XN/sUAXnjSmnRBAU/9OUm PBaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NUsvqFKz; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf16-20020a17090b1d9000b0023b3729bcbfsi10272493pjb.6.2023.03.19.22.49.01; Sun, 19 Mar 2023 22:49:13 -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=@ti.com header.s=ti-com-17Q1 header.b=NUsvqFKz; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229736AbjCTFas (ORCPT + 99 others); Mon, 20 Mar 2023 01:30:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbjCTFai (ORCPT ); Mon, 20 Mar 2023 01:30:38 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F08B92728; Sun, 19 Mar 2023 22:30:36 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UU0P126913; Mon, 20 Mar 2023 00:30:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679290230; bh=CCCvEo+BCtxHdx5Exb7+FdgZyZSsFcqUrAbpa1VnjMk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NUsvqFKzvJ7cYUBVbZxZjiPxAWc2kBOBLpoQM8j1sq7izIoN8mDwhLMFTR4gpw2Bh GD648KWAe0md2LWij66RLqQp4x4SBLmifAnaaHqyySrjXyA6WswogBepoDjqeIB6g4 akPOBraZFPFRCrj1t5iHG/dh+dHK0dc6bI8kCfuc= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32K5UUE8011448 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Mar 2023 00:30:30 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 20 Mar 2023 00:30:29 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 20 Mar 2023 00:30:30 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32K5USX8061879; Mon, 20 Mar 2023 00:30:29 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH 3/8] arm64: dts: ti: k3-j7200-main: Add MCSPI nodes Date: Mon, 20 Mar 2023 11:00:17 +0530 Message-ID: <20230320053022.11093-4-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230320053022.11093-1-vaishnav.a@ti.com> References: <20230320053022.11093-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760864610365583220?= X-GMAIL-MSGID: =?utf-8?q?1760864610365583220?= J7200 has 8 MCSPI instances in the main domain. Add the DT nodes for all the 8 instances and keep them disabled. Signed-off-by: Vaishnav Achath --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 88 +++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index 138381f43ce4..e7ede18e75fa 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -777,6 +777,94 @@ clock-names = "gpio"; }; + main_spi0: spi@2100000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02100000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 266 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 266 1>; + status = "disabled"; + }; + + main_spi1: spi@2110000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02110000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 267 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 267 1>; + status = "disabled"; + }; + + main_spi2: spi@2120000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02120000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 268 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 268 1>; + status = "disabled"; + }; + + main_spi3: spi@2130000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02130000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 269 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 269 1>; + status = "disabled"; + }; + + main_spi4: spi@2140000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02140000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 270 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 270 1>; + status = "disabled"; + }; + + main_spi5: spi@2150000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02150000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 271 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 271 1>; + status = "disabled"; + }; + + main_spi6: spi@2160000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02160000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 272 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 272 1>; + status = "disabled"; + }; + + main_spi7: spi@2170000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02170000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 273 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 273 1>; + status = "disabled"; + }; + watchdog0: watchdog@2200000 { compatible = "ti,j7-rti-wdt"; reg = <0x0 0x2200000 0x0 0x100>; From patchwork Mon Mar 20 05:30:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 71991 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1032195wrt; Sun, 19 Mar 2023 22:40:13 -0700 (PDT) X-Google-Smtp-Source: AK7set/mbY/LIgsXCX8yMojvDSdEcv3VgRUEBf2gEb1a9E4y/EqfdxXa6QOLpxl6iTHZqdvrVfsk X-Received: by 2002:a17:902:7296:b0:1a0:463d:fd09 with SMTP id d22-20020a170902729600b001a0463dfd09mr15304647pll.1.1679290813655; Sun, 19 Mar 2023 22:40:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679290813; cv=none; d=google.com; s=arc-20160816; b=fPdubOZwlTO4GxpnD5wV84fqnTrTpeky6I8mlS3kZ6DFmktp0T4Vp6w4b+v8CsQmmw 4bo1dOWScxqOAaYiuYhacZNKBnB+CYyCw672kt/MSAVQ9bkiWcsbo84nBHkxtZLeTIAe kJsDqh9TKJz1+2x3uYQHNNQW3zkEevQ9WPA2iynJRqpFS18LJ5v25VhHKlRPN1f3gsmr eZY4BbU7d6IEijl/d32c1w8wlreGZgtOysvqBRXMJiz60ViInBAD0BZ86rYtgNmiLaC3 AsDZywTdJVofRwiV131MRT/4VtByAB2rxKFcWSc1T73+uzKk7+RMyD44w98yRhGH/O3q X2gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=I+xgBTbwuqV6/4gZEpUBUamg94OAlgaTwsjjfkMmoBI=; b=YHeWkLfuhwEB5mrfJLi5PipSH8CnSFcsmmwvCvWXWgd5uoaa9whf+YlpBtNKTkfc3t yCPosiWEX0gjiWJGYQVytD9ApMQUuSAjV9sk+sYc/uiXVKXkF/0XTGLBX973aNvVJKQ+ C4FDkkpD3aUpTYMwrlogL11elPYM7lbaWEfBTlcBpxzqE/hq3JMZNRoeGf+Cisr9OUeE aSLMak/12bS6u54WR4OsZCsqz/T3AVhEQ5Sikkyy07ym52e649yQ1Q9LcdYCtEPwUhWl tCs+aJqHmkBf2V4kI7lipS7fKR0MlNPrc9ucSwc3DpIVmFgPaf31JloyfOr0JcT/Ipv7 ZHAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DFkME6JD; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020a170903121200b0019cdbe4750bsi10868527plh.442.2023.03.19.22.40.01; Sun, 19 Mar 2023 22:40:13 -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=@ti.com header.s=ti-com-17Q1 header.b=DFkME6JD; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229768AbjCTFaw (ORCPT + 99 others); Mon, 20 Mar 2023 01:30:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbjCTFaj (ORCPT ); Mon, 20 Mar 2023 01:30:39 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61DB012BE1; Sun, 19 Mar 2023 22:30:38 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UWRu126950; Mon, 20 Mar 2023 00:30:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679290232; bh=I+xgBTbwuqV6/4gZEpUBUamg94OAlgaTwsjjfkMmoBI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DFkME6JDT4/PEtkUYw/96Na0arf5zliX1PHB5Vn1SqtCHCnapxF9Reebsk9Gn0Y8i 3Xq/YeEs5jTVSTMAxPC54osOLJqkqAa+xOpMNWDfDyyi8pL8SWeQFkWmDps2WsA2XM /zj7Fpv9frbWasvHniRy9q2HoBziOf8I4fKAQTXs= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32K5UWjZ008219 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Mar 2023 00:30:32 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 20 Mar 2023 00:30:31 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 20 Mar 2023 00:30:31 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UUVG059519; Mon, 20 Mar 2023 00:30:31 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH 4/8] arm64: dts: ti: k3-j7200-mcu-wakeup: Add MCSPI nodes Date: Mon, 20 Mar 2023 11:00:18 +0530 Message-ID: <20230320053022.11093-5-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230320053022.11093-1-vaishnav.a@ti.com> References: <20230320053022.11093-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760864044370633514?= X-GMAIL-MSGID: =?utf-8?q?1760864044370633514?= J7200 has 3 MCSPI instances in the MCU domain. Add the DT nodes for all the 3 instances and keep them disabled. Signed-off-by: Vaishnav Achath --- .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi index de56a0165bd0..331b4e482e41 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -305,6 +305,39 @@ status = "disabled"; }; + mcu_spi0: spi@40300000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040300000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 274 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 274 0>; + status = "disabled"; + }; + + mcu_spi1: spi@40310000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040310000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 275 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 275 0>; + status = "disabled"; + }; + + mcu_spi2: spi@40320000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040320000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 276 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 276 0>; + status = "disabled"; + }; + fss: syscon@47000000 { compatible = "syscon", "simple-mfd"; reg = <0x00 0x47000000 0x00 0x100>; From patchwork Mon Mar 20 05:30:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 71987 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1029930wrt; Sun, 19 Mar 2023 22:32:24 -0700 (PDT) X-Google-Smtp-Source: AK7set+kb6inF5+LeuNQFuo2mjptJZuhfia2MevzXorvLPx30ykn4RBsllyUI9E7Ekl6Sst+kaNI X-Received: by 2002:a17:903:2c1:b0:1a0:7663:731b with SMTP id s1-20020a17090302c100b001a07663731bmr18401179plk.5.1679290344003; Sun, 19 Mar 2023 22:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679290343; cv=none; d=google.com; s=arc-20160816; b=bn9hHUVgdpRr2RaazDwrKIBCTO35d15oTmsa6DC+HSTIc793Eus7ia8O8R8DajZk1c lPv/ydZu4LwfaiB8oDqFUqklEikn18Y5XgyvIxKYnI8uSl5Qyakg0wx/MahCeLRc7w41 6El/nkYNNkv1980bNwrVwOhQt9YvJWUCc7SNv0Z4CRWJCJfcfJ9zZCwoLEnwDAh43nyk iyVe8cY4tME3ASmxTVuvhdD/VNvYwL2v1Ic4ZDAqhvZc1ABm7DuYagAw7m9B8FST3dx8 zdSrOI94UP2PEhT4yNub0jifNxCYxcU0CKiHaD8n7IOIaPNN+pIivlHeaIsxE5+KbqB4 Rx2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7QdUsTg2rL7eWJaus38nvb+rMnTH9fxPdVXosibd5p8=; b=U2nC2NMI0ZXYPrigCmm8NRC57QgRMZrf5NIZSk+8b/NpUaYUQwHlIHEcrFiTJtKK8y w30Q8Wcfh4N+fyTsEr+BZJniq7L8Z5omNGbuzEyjz2q545j+t7WdhXc090uB6QHMX/gy DVTwI3EPcIgV6RuTiAME1HVNY4b4YGeyOZp5jrs5Pac7FNx0T6P4xtU1qXJDUqofjQdV rDDI/no6tOP/RXoc2+4FsgvzVXteGOaYbzittWmMLNj9X7nYJFwzqCaKR/MNHYvgmHhE h0I9TDCg/8XCXyT8JxtmHm8jzrsK9eWBBCV3LrxtqvOh7J+ATdGMRhziXqbJYbUZsqsX lwnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=e4umPd5z; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a170903018600b001960e5dcb99si10769777plg.223.2023.03.19.22.32.06; Sun, 19 Mar 2023 22:32:23 -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=@ti.com header.s=ti-com-17Q1 header.b=e4umPd5z; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbjCTFa5 (ORCPT + 99 others); Mon, 20 Mar 2023 01:30:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbjCTFam (ORCPT ); Mon, 20 Mar 2023 01:30:42 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6919A1E9EA; Sun, 19 Mar 2023 22:30:40 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UYeA126960; Mon, 20 Mar 2023 00:30:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679290234; bh=7QdUsTg2rL7eWJaus38nvb+rMnTH9fxPdVXosibd5p8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=e4umPd5zkTVhB/0eoJXT/m1oM4N1/M03DIpS7fVQmzJ/GAcWy+114y+MVlx3SiBiS HxyZ5etFdF26005Dkeg5HeRRFG6m2WMdmCXnUqdfkgGoLPngaDFS9pU+u0jIFPyaAU dI55a4FG7j5/8lq5EKRlfdRbsGwY0+6+bwRgPONA= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32K5UY7Y086871 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Mar 2023 00:30:34 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 20 Mar 2023 00:30:33 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 20 Mar 2023 00:30:33 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UWFP086216; Mon, 20 Mar 2023 00:30:33 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH 5/8] arm64: dts: ti: k3-j721s2-main: Add MCSPI nodes Date: Mon, 20 Mar 2023 11:00:19 +0530 Message-ID: <20230320053022.11093-6-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230320053022.11093-1-vaishnav.a@ti.com> References: <20230320053022.11093-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760863552063848001?= X-GMAIL-MSGID: =?utf-8?q?1760863552063848001?= J721S2 has 8 MCSPI instances in the main domain. Add the DT nodes for all the 8 instances and keep them disabled. Signed-off-by: Vaishnav Achath --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index 8915132efcc1..2dd7865f7654 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -1014,4 +1014,92 @@ bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; status = "disabled"; }; + + main_spi0: spi@2100000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02100000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 339 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 339 1>; + status = "disabled"; + }; + + main_spi1: spi@2110000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02110000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 340 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 340 1>; + status = "disabled"; + }; + + main_spi2: spi@2120000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02120000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 341 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 341 1>; + status = "disabled"; + }; + + main_spi3: spi@2130000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02130000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 342 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 342 1>; + status = "disabled"; + }; + + main_spi4: spi@2140000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02140000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 343 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 343 1>; + status = "disabled"; + }; + + main_spi5: spi@2150000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02150000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 344 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 344 1>; + status = "disabled"; + }; + + main_spi6: spi@2160000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02160000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 345 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 345 1>; + status = "disabled"; + }; + + main_spi7: spi@2170000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02170000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 346 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 346 1>; + status = "disabled"; + }; }; From patchwork Mon Mar 20 05:30:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 71988 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1029994wrt; Sun, 19 Mar 2023 22:32:38 -0700 (PDT) X-Google-Smtp-Source: AK7set8RGl579de7UsChFbQn05t+Z8+9Rd6LKNTwssx/+9tyzg/pVY3aV9rysAGFqeiSYbW3qriH X-Received: by 2002:a05:6a20:6997:b0:d7:19b3:a9c5 with SMTP id t23-20020a056a20699700b000d719b3a9c5mr14634090pzk.6.1679290358204; Sun, 19 Mar 2023 22:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679290358; cv=none; d=google.com; s=arc-20160816; b=egimo5hjbnrb80dNenhtq7wb/vH4YIEbm0H7xmqDzMgQya75phskcazZgMwg8VcZlJ FOH8EPKj3le+TBDJHDz6aGTyOJ+/uO3UzhEQMhllhTyPir1jRdVvSezLBNH/d8w14pjl LwSYJ64UWbKh9b+2mGuficHqkewRYS50w7i8SJVh8jU9nnCQpA2N+mvz9WkIZoHlE9ku 3Q/cftQHnm3/ui8sFx9pvi87IH8MGVGZNh2zEjiHc2mzQ/XTLCYW9zMyHk8x4spYpsaY WcTBfOxP4Wu2FxWaau3q7o5Syriy6v3tgTTHrWQomeV9WXkt8kCh2ipk3BhmGqryRYyM XTlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=lu9RABEcsb9cg24XpLtr/DC3Zb5xsC22UjRQzAXO7bM=; b=Zmx2jv5RutxlI9a9qeE0N4KYzO+FQG3ZFYLVDhIx1oiDPBRLIltxhh65J6PyZyzDYF EGdOQZzDTsRxYoOxd8/Z3tWw1GbsPmdHqyvrZiZira7DBzRPod0/q9wjoUJlglZAnE+X PwkUDOVcAlbHAWrS4utMWgXDVajLqriNTE8oo/Fga5jYwSW7uYnMMp+TsUJW79Q5jfBQ qCzRn+QiXYKH7i0qUz25f9ttxpBNBhrNuacbQi+q1jL3xBqeMC9wnhxNetEyTtqEWApl j3fgheCb1wAlxtETS/+XOo2+hwSh0DYPdFsUjva1+zBF2b8NDKszCA920bZNFzaXFRQ0 hO8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=N9Z6062e; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v10-20020a63bf0a000000b0050bed6344f6si9369954pgf.841.2023.03.19.22.32.23; Sun, 19 Mar 2023 22:32:38 -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=@ti.com header.s=ti-com-17Q1 header.b=N9Z6062e; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbjCTFbE (ORCPT + 99 others); Mon, 20 Mar 2023 01:31:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbjCTFay (ORCPT ); Mon, 20 Mar 2023 01:30:54 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 816E11ADE9; Sun, 19 Mar 2023 22:30:41 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32K5Uade033377; Mon, 20 Mar 2023 00:30:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679290236; bh=lu9RABEcsb9cg24XpLtr/DC3Zb5xsC22UjRQzAXO7bM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=N9Z6062enJL8kjKDtj4edAxfRzmMhVVxJZMZvzNlZDedch8NvDf+JHoQPzNjRyeL2 wGOlQxmelCG+zJGICd+A1Rfwh9SjimzOCUoavfkqIxGaZ5FPWIDrKkaGoYUagSor1d rvTcgQMfejjc6qRDLnowgkSlwmB8bu0s67V0A4Pk= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32K5UaId086890 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Mar 2023 00:30:36 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 20 Mar 2023 00:30:35 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 20 Mar 2023 00:30:35 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UYeU086254; Mon, 20 Mar 2023 00:30:35 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH 6/8] arm64: dts: ti: k3-j721s2-mcu-wakeup: Add MCSPI nodes Date: Mon, 20 Mar 2023 11:00:20 +0530 Message-ID: <20230320053022.11093-7-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230320053022.11093-1-vaishnav.a@ti.com> References: <20230320053022.11093-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760863566659796044?= X-GMAIL-MSGID: =?utf-8?q?1760863566659796044?= J721S2 has 3 MCSPI instances in the MCU domain. Add the DT nodes for all the 3 instances and keep them disabled. Signed-off-by: Vaishnav Achath --- .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi index 0af242aa9816..9e5a8a35a01b 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi @@ -203,6 +203,39 @@ status = "disabled"; }; + mcu_spi0: spi@40300000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040300000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 347 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 347 0>; + status = "disabled"; + }; + + mcu_spi1: spi@40310000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040310000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 348 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 348 0>; + status = "disabled"; + }; + + mcu_spi2: spi@40320000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040320000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 349 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 349 0>; + status = "disabled"; + }; + mcu_navss: bus@28380000{ compatible = "simple-mfd"; #address-cells = <2>; From patchwork Mon Mar 20 05:30:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 71990 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1030541wrt; Sun, 19 Mar 2023 22:34:45 -0700 (PDT) X-Google-Smtp-Source: AK7set+7K1IbD2fEgLMw8gyexOgRbZ8M7rrkgN9VZjSK9N34/oQbqg7sZzoVs+O9IMIhrOFr0BFY X-Received: by 2002:a05:6a00:e0e:b0:626:62f:38d8 with SMTP id bq14-20020a056a000e0e00b00626062f38d8mr12831989pfb.3.1679290485100; Sun, 19 Mar 2023 22:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679290485; cv=none; d=google.com; s=arc-20160816; b=lYigdiYde1SnSNjhzquYVtxb+XsZBhqk9e3lC8i0ii/OSTI9NdmMphDgS8LqLOPrpy Jo77+hrqTakZwNhAwNu1++2FSoQlLhCuEhGQx5QK4kkAvTlpouVM9P/A4I50edAn/WVI u6gWLCOVeUuM/axOxoeONTX8xG6Cger3X1vGAItL5+u8UELG3gDJ6CtI3W8rX8X8OcrY TlWC2LHASgZOdx/wotkiG4xxRoe/yciA7rvAmpLJ1xvVAiP1ypqYgO66+Dixu07viDTF CfAOg2eqNJT5jV/6P3TvuxXT2DImqefIIEeW8ZjHMpLKOxpTm9J49+uxCDsGaLZmQwmO 9F/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=hbaOJZg7gv9BpxuDyTNcb5Vcmc25Pt47VhDammmqi1w=; b=yRAH8feVW0wDYl5AxWp6NQjY3WkWj6lMAbTciXyuV+XBNR+Lmt5qoafqffDNwE/WeL BSYprIYlozgpTk9AIpTAAB3pNZchz5Qe9oHLXPSzmJGbqXrm3BV4XGHT42ce8onXXNnv i8k2JE2miSwZ1mM77GFwSEwGJkxI63asWs4gzYzPIEIFmkp1BKh1JzrjEEpDtfrIBEdx cvBgcVcxl7ESviupxqiaXkQ9a4xM06ifx8OLdL2G4QFGqSse+ipDMLqHn3sjlgNmZsf6 OCGLh7UbcTHCxy5TKefnNbPB5S1r3ILOBqkXOkko0doY2IlG9zQ4mHKz38Q6kpQi+zhA k8Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gDmAfEgt; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i137-20020a62878f000000b00624eb57b45dsi9630913pfe.74.2023.03.19.22.34.30; Sun, 19 Mar 2023 22:34:45 -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=@ti.com header.s=ti-com-17Q1 header.b=gDmAfEgt; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229878AbjCTFbZ (ORCPT + 99 others); Mon, 20 Mar 2023 01:31:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229822AbjCTFbF (ORCPT ); Mon, 20 Mar 2023 01:31:05 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5BD422007; Sun, 19 Mar 2023 22:30:47 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UcZe126971; Mon, 20 Mar 2023 00:30:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679290238; bh=hbaOJZg7gv9BpxuDyTNcb5Vcmc25Pt47VhDammmqi1w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gDmAfEgtNtbfpCO4Ju5DeGStZ39tN/1SBraIeEawR9OPxMbDZut4P34Fu5GSFquAf j1vB24TyQxXodj5uJxEn1ahMTQnWxlq7Hf5BLx/mPSYR1psb+TJAnYs+nZt13t8L4R /CWh9vSOI04Zc6HYBp5i0LR9TZTfBAR8yeCp4RS4= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32K5UcSR011600 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Mar 2023 00:30:38 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 20 Mar 2023 00:30:37 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 20 Mar 2023 00:30:37 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UaEB062036; Mon, 20 Mar 2023 00:30:37 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH 7/8] arm64: dts: ti: k3-j784s4-main: Add MCSPI nodes Date: Mon, 20 Mar 2023 11:00:21 +0530 Message-ID: <20230320053022.11093-8-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230320053022.11093-1-vaishnav.a@ti.com> References: <20230320053022.11093-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760863699476655744?= X-GMAIL-MSGID: =?utf-8?q?1760863699476655744?= J784S4 has 8 MCSPI instances in the main domain. Add the DT nodes for all the 8 instances and keep them disabled. Signed-off-by: Vaishnav Achath --- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi index 80a1b08c51a8..432592ef3bc4 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -1005,4 +1005,92 @@ bosch,mram-cfg = <0x00 128 64 64 64 64 32 32>; status = "disabled"; }; + + main_spi0: spi@2100000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02100000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 376 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 376 1>; + status = "disabled"; + }; + + main_spi1: spi@2110000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02110000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 377 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 377 1>; + status = "disabled"; + }; + + main_spi2: spi@2120000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02120000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 378 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 378 1>; + status = "disabled"; + }; + + main_spi3: spi@2130000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02130000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 379 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 379 1>; + status = "disabled"; + }; + + main_spi4: spi@2140000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02140000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 380 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 380 1>; + status = "disabled"; + }; + + main_spi5: spi@2150000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02150000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 381 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 381 1>; + status = "disabled"; + }; + + main_spi6: spi@2160000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02160000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 382 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 382 1>; + status = "disabled"; + }; + + main_spi7: spi@2170000 { + compatible = "ti,am654-mcspi","ti,omap4-mcspi"; + reg = <0x00 0x02170000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 383 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 383 1>; + status = "disabled"; + }; }; From patchwork Mon Mar 20 05:30:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 71989 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1030086wrt; Sun, 19 Mar 2023 22:32:57 -0700 (PDT) X-Google-Smtp-Source: AK7set9vsipzNAetvk/QfcwgqMeft9fKKNGYmks4n58qJv6JiCF70iYZRSe6K8sfyioQF2sHzm5f X-Received: by 2002:a17:90a:fe8b:b0:23d:2b53:1ae2 with SMTP id co11-20020a17090afe8b00b0023d2b531ae2mr13492635pjb.3.1679290376717; Sun, 19 Mar 2023 22:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679290376; cv=none; d=google.com; s=arc-20160816; b=t4lRcB58JWMKtFycfcLe5wSzf/xf6OK9TW+TIcsTfBrJyshd0OKuvZTS67r2uN+FtF lOldSQpqcL+JxUMuPIpITKNOqXspFyhED5nsVgJYwVPwxxv17ImpeU3Vg0OfhBzw0eUI k2AOfdxFhOW905TRM7tvV/NvtK8HuCWZmEvaakE8Ns8klKnQ0AgweMn3Jg5Lu3NSnhIt VahY5Bm0qoB8QGdq+BqBV6S4q0pBao4wT4TdN9rwWC/UUbu6GsUFlPUe81Df53GNyY4G +mBOiOD4kTnYpGTr3Yi2krkUMsyd7jVZ5AInyWIjaHmyYEExqIlU1vuYHg5l1t7HRiQd yqYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Dm8wh37JQ3MIjwa91dQ4wdWf6sUtKH3lP6jlPQDWxsY=; b=Dhp89fKIJy4ZfPQwDX21UZb9CQ3YP3G/STLbMu31EU4b8Pok3ilQCOdjc+OwRsshbz ueqe5vvwmij1M75FIJ7vXkJLQ53U7jR/rRLqho3jWqJd/mokgPic+vaLuB+kr4dNJJgv /t5Hz/ojy1VHKHRuZB1OdbEOiqC5dWqpdTaKodnhwPNbdzxCp3nVGGjjaOaJhFm7Tehu rCCd8cspOdborcarlTvRMyByyrpzhvWKdMLj30YZ+hYba+NqIbOxeRXhOQeXyMqWFk+A /EuiFesYIsNNCvD4V3JNxW3jMmNT+A2YPXJXgHJ6XsGRpQ4xBn0Y9PKPjYAtUEn5fEDn Dgsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XLiBHlBx; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a17090a648d00b0023fb878c669si1614677pjj.6.2023.03.19.22.32.42; Sun, 19 Mar 2023 22:32:56 -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=@ti.com header.s=ti-com-17Q1 header.b=XLiBHlBx; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbjCTFbJ (ORCPT + 99 others); Mon, 20 Mar 2023 01:31:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229788AbjCTFa7 (ORCPT ); Mon, 20 Mar 2023 01:30:59 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1BD0227B9; Sun, 19 Mar 2023 22:30:45 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UeCB033436; Mon, 20 Mar 2023 00:30:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679290240; bh=Dm8wh37JQ3MIjwa91dQ4wdWf6sUtKH3lP6jlPQDWxsY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=XLiBHlBxnsfPqZteFmiBMbZBTsy8QJrFxES8zfNz7SYwk73ULthwtHrJRRgU3PV2r 9/pZGz8Y3C+vX1CeCc37B+4shsBVboOzmWaA/X0rhmSWV1wOpEmwiiBKru+BiAP/aA TI7mg0nsV5WXn50TJIaufkB3S3XbaD9TFcnN3gkw= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32K5UdKg124679 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Mar 2023 00:30:39 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 20 Mar 2023 00:30:39 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 20 Mar 2023 00:30:39 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32K5UchE086344; Mon, 20 Mar 2023 00:30:39 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH 8/8] arm64: dts: ti: k3-j784s4-mcu-wakeup: Add MCSPI nodes Date: Mon, 20 Mar 2023 11:00:22 +0530 Message-ID: <20230320053022.11093-9-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230320053022.11093-1-vaishnav.a@ti.com> References: <20230320053022.11093-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760863585849677149?= X-GMAIL-MSGID: =?utf-8?q?1760863585849677149?= J784S4 has 3 MCSPI instances in the MCU domain. Add the DT nodes for all the 3 instances and keep them disabled. Signed-off-by: Vaishnav Achath --- .../boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi index 64bd3dee14aa..f04fcb614cbe 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi @@ -204,6 +204,39 @@ status = "disabled"; }; + mcu_spi0: spi@40300000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040300000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 384 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 384 0>; + status = "disabled"; + }; + + mcu_spi1: spi@40310000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040310000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 385 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 385 0>; + status = "disabled"; + }; + + mcu_spi2: spi@40320000 { + compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; + reg = <0x00 0x040320000 0x00 0x400>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&k3_pds 386 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 386 0>; + status = "disabled"; + }; + mcu_navss: bus@28380000{ compatible = "simple-bus"; #address-cells = <2>;