Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1219904rwb; Tue, 29 Nov 2022 10:25:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf6uOv4tCpt87DdfrlZgyXaw+8hOiF6Ccj3xNsA9cMaso2bi3Qy9YYy1mkTHQbZJkRv0zi4Z X-Received: by 2002:a63:4d61:0:b0:477:b1a8:531e with SMTP id n33-20020a634d61000000b00477b1a8531emr31196221pgl.158.1669746321499; Tue, 29 Nov 2022 10:25:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669746321; cv=none; d=google.com; s=arc-20160816; b=o0fD44UxSPBcnZU6rUX5n0TXsCFkZIVn1FGOgtO/xvkqAyx8m1GJGwt7VZcG+hEKGk sSzjwKQYqNLz4veNliAXrzCw72cTHSLzRRIV8h6RxzIZFljUCVNcGN3XPqvWFads9xI4 LqL63nr1gcqCSl5JfAuVgTlg1u4VsyzQ9uyjc2kzJTiLeDDvBMr/XuELxeWLBl/FgD93 HHgOdiQ9wGSPbT9xn0PxGGBFgw9B+UgbmZyYofVNgrUPLAXSTQRgZMuexSJ4tx4wbJC7 3zhXwyIES6GLcAVSWkPqPifaI5Mv8UKi5lLBIx6hRZuWtARSNFLvJhSjiup5hhQ3Z70I cOWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=I/jSd5qerlagFUhyzw8Px5WCOFa5pRz9OFYnnhOYTEg=; b=vvDH+QrbKJhZC81SPyQ8K5CvEAtGeszBL+9ItCSQtBbBzFnJZegQedFflxbWDG2d4I l6JK2U4RXUXd+MuteDcTaSB8r4XV1h5A9ikajNWSRpZuLGYGxBscNTDExjRCxq3THAdn uZi3nwXTNb4v7vjlaU4w/Q8u8NjhWoca3upuOD/PFWcuyAvi3LeeqvXvTtTnf1JM51Vg wRUUTo3ikDpk+tPeUC1oZbH3g5PDgX/apTQxvJo8Mp1qHDYLMBGFRWkQnR68P9K1/0Cj N8uPd4DVVgrkgnyrIGLRX7fPsJbW/aZBN1LgwyLu2VKxPAQHBsMUrW1ngtepenuBWyzU OCfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=siewPp5W; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a17090ad70900b00211f23d6f49si2122211pju.15.2022.11.29.10.25.10; Tue, 29 Nov 2022 10:25:21 -0800 (PST) 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=siewPp5W; 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 S236645AbiK2Rev (ORCPT + 84 others); Tue, 29 Nov 2022 12:34:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236019AbiK2Ret (ORCPT ); Tue, 29 Nov 2022 12:34:49 -0500 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89D3F68C76; Tue, 29 Nov 2022 09:34:48 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2ATHYTvo063254; Tue, 29 Nov 2022 11:34:29 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1669743269; bh=I/jSd5qerlagFUhyzw8Px5WCOFa5pRz9OFYnnhOYTEg=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=siewPp5WnockZeiwJzryXVlmRHhbM0ECB+ikKXBE+TELuGfJU67bdpBTzgBRvEff4 WNo1BgOqxVH4/OVBs+LuLi0JK4e5oqgTJLz03uxoelhyVhDpcnOcpvl7VWmWFtQ4W9 UUoTJ4ecLK1ijK3f9Wmi3C7icvc8xTQYLkBnNlDM= 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 2ATHYTpF118577 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 29 Nov 2022 11:34:29 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) 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; Tue, 29 Nov 2022 11:34:29 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE111.ent.ti.com (157.170.170.22) 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; Tue, 29 Nov 2022 11:34:29 -0600 Received: from [10.250.38.44] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2ATHYSTg100416; Tue, 29 Nov 2022 11:34:28 -0600 Message-ID: Date: Tue, 29 Nov 2022 11:34:28 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v7 3/8] arm64: dts: ti: k3-j721s2-mcu-wakeup: Add support of OSPI Content-Language: en-US To: Matt Ranostay , , , , , , , CC: , , References: <20221122101616.770050-1-mranostay@ti.com> <20221122101616.770050-4-mranostay@ti.com> From: Andrew Davis In-Reply-To: <20221122101616.770050-4-mranostay@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 On 11/22/22 4:16 AM, Matt Ranostay wrote: > From: Aswath Govindraju > > Add support for two instance of OSPI in J721S2 SoC. > > Signed-off-by: Aswath Govindraju > Signed-off-by: Matt Ranostay > --- > .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 40 +++++++++++++++++++ > 1 file changed, 40 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..a588ab8d867b 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi > @@ -306,4 +306,44 @@ cpts@3d000 { > ti,cpts-periodic-outputs = <2>; > }; > }; > + > + fss: syscon@47000000 { > + compatible = "simple-bus"; > + reg = <0x00 0x47000000 0x00 0x100>; You do not need "reg" property here, "ranges" below takes care of the translations. Andrew > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + ospi0: spi@47040000 { > + compatible = "ti,am654-ospi", "cdns,qspi-nor"; > + reg = <0x00 0x47040000 0x00 0x100>, > + <0x5 0x0000000 0x1 0x0000000>; > + interrupts = ; > + cdns,fifo-depth = <256>; > + cdns,fifo-width = <4>; > + cdns,trigger-address = <0x0>; > + clocks = <&k3_clks 109 5>; > + assigned-clocks = <&k3_clks 109 5>; > + assigned-clock-parents = <&k3_clks 109 7>; > + assigned-clock-rates = <166666666>; > + power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>; > + #address-cells = <1>; > + #size-cells = <0>; > + }; > + > + ospi1: spi@47050000 { > + compatible = "ti,am654-ospi", "cdns,qspi-nor"; > + reg = <0x00 0x47050000 0x00 0x100>, > + <0x7 0x0000000 0x1 0x0000000>; > + interrupts = ; > + cdns,fifo-depth = <256>; > + cdns,fifo-width = <4>; > + cdns,trigger-address = <0x0>; > + clocks = <&k3_clks 110 5>; > + power-domains = <&k3_pds 110 TI_SCI_PD_EXCLUSIVE>; > + #address-cells = <1>; > + #size-cells = <0>; > + }; > + > + }; > };