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"; + }; };