From patchwork Sat Nov 19 04:09:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Ranostay X-Patchwork-Id: 23210 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp548856wrr; Fri, 18 Nov 2022 20:12:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf5xRdLYCi51T4RUbQeHWDYawzXvPTM/SOcYpoxjujjR8xoIPOQRFtLCUeCixAOvOcF1/t2P X-Received: by 2002:a17:906:3953:b0:78d:39ac:3129 with SMTP id g19-20020a170906395300b0078d39ac3129mr8722970eje.24.1668831133370; Fri, 18 Nov 2022 20:12:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668831133; cv=none; d=google.com; s=arc-20160816; b=M7P0fBsGexvLWNfk6W688RcEecspMY5elbd0o5QkN/4KK+4zZGezlNNu1IWzOnCJjU c/2EA3WRlBghbK9FNTbNPs86YtKzkPqu+C4elP/yBfybhAKL6qr7UfJg7/UjB88Cv3kT 5hR5q1ag7bPMd2gkGIbZG/DjpI7QpOFtEthAJk/ZSbtPxi42OSjHGu6TbRRbg1n60aHb 79xRVuSoQ8lX53bDFdFfaKF/bcQGkrHD4dtVGEHUBNfYjbUptkG3JZMgAsCc2gF1HhT1 dKkR1QKQ82qXKE52CCG3sHpbP4pNvC88IUarQYB6Gp1Be2c5s528enHUvdhZH0bs2RSA jtLg== 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=3/PmZFZG4wdOtu+Bp3yVc8a2T6eh0IBWQ26UtZ+B7j4=; b=jmv+vZPjsNfnsoad26w66ousq7Qd8rQhqIMuSa6H2nUWM48X1vd8XJ5VyULbuxEhVW 538QanMAUbgrmpWkcw75wbWtGnUPLhy62XqTEszuM7/Hl+q1C8VIwgr5QATqmJYkBd41 X5uOCbyK5GSivX7hPe8OHkK3fEEggk7QnwSzYLL4m1c22sXyycjwZAYtzuipPjhBsMwd gXLFgXbQVeLChVYD+c0PLFjjUTbwCFpOUjnSZGa3rQ1DNTWXWHO9NDHMc05Zk6nGpQAU yPYwx4c+FQajlXNw1O2zSdJ40i5lFr7P04D1y6C/TmRPxnDlOpn9Gs4hnucp0kwoCk/L /Y8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yqCnNmJD; 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 l10-20020a056402254a00b0045d9ceae669si5218564edb.404.2022.11.18.20.11.49; Fri, 18 Nov 2022 20:12:13 -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=yqCnNmJD; 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 S232430AbiKSEJ5 (ORCPT + 99 others); Fri, 18 Nov 2022 23:09:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231491AbiKSEJm (ORCPT ); Fri, 18 Nov 2022 23:09:42 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 402ED74A99; Fri, 18 Nov 2022 20:09:41 -0800 (PST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2AJ49OKK046327; Fri, 18 Nov 2022 22:09:24 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1668830964; bh=3/PmZFZG4wdOtu+Bp3yVc8a2T6eh0IBWQ26UtZ+B7j4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yqCnNmJDrpEMKrmOKAL/FIOMgnN7NUdaWyusVlT2xBnsMMHi2Q7djW5fR+QCTcCGZ YCktNEX+h5Ko8sOG9ydxgBk3tbZtGADQvive4WpBeA4QVk0W3Se7xWpnVv8XNOozpl B3208731uAGOltLC1UfiQAVyV9x5FVs2nhZquUi4= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2AJ49OGv067670 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Nov 2022 22:09:24 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 18 Nov 2022 22:09:24 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Fri, 18 Nov 2022 22:09:24 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2AJ49LDg085489; Fri, 18 Nov 2022 22:09:23 -0600 From: Matt Ranostay To: , , , , , , CC: , , Subject: [PATCH v6 3/8] arm64: dts: ti: k3-j721s2-mcu-wakeup: Add support of OSPI Date: Fri, 18 Nov 2022 20:09:01 -0800 Message-ID: <20221119040906.9495-4-mranostay@ti.com> X-Mailer: git-send-email 2.38.GIT In-Reply-To: <20221119040906.9495-1-mranostay@ti.com> References: <20221119040906.9495-1-mranostay@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_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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749896274706312791?= X-GMAIL-MSGID: =?utf-8?q?1749896274706312791?= 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..46b3aab93c4b 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 = "ti,j721e-system-controller", "syscon", "simple-mfd"; + reg = <0x00 0x47000000 0x00 0x100>; + #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>; + }; + + }; };