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