Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4810931rwd; Tue, 30 May 2023 10:10:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7NFOn/OYxmUKQqDFqXfb+hd301wdAUamkAfBQApS84515AfT/pBB+QK4CXcVZbEKaK9yN/ X-Received: by 2002:a05:6a20:e30b:b0:10c:5745:3f4e with SMTP id nb11-20020a056a20e30b00b0010c57453f4emr2786611pzb.56.1685466628882; Tue, 30 May 2023 10:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685466628; cv=none; d=google.com; s=arc-20160816; b=CbZm0aUxyskc37CI/of3Ezd1eHIxSplTc73L1ij/J4anBpZFRUJ8mzUXJ4rLyd/Xa4 BSCji2hTXGustcydFMWv5uDP8HIZ8twJKGbqUdDntEYWLEh3b1/FzXg8uqQ5YJj+/vl/ qoNEiXGIaIzKIFsNZfPP3ukY/o7K+/wF/9z4Rm7+pTvpTORUzmY5ksBfTZAo1CSvC0ye 6jAga05m8J8+j1aVIlQI4NM1SNdVbvFPpThXxvLh+hgdGySkgJfhC1cAkCOxfaFH4UM2 otTflxgn8WWQ9VA68iL4hO9sHCvMDnnuQdO8+cNLglX6EivJF/x//MzJ0W05h6Ri4vKz /Dcw== 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=M8yKFjYPPDyz2yVGZg9w6f96sWSL3buCffjH1Mn5M8s=; b=pEDk1ODlk8IFnbosCaUd7VvL+Y+VBXl+36mPbIDzgwXTCZOR+oj1KxCWXjPHX/0PSC /I8T2r/NpBu9rAUZbyP3nGdzzMUFSJs08h7ckVPl7Bo+DBcOIjjP2n3DmHClWN1dNgTM HNBahMaHT4TsOef/6o1ywPYTP/bf1ZqpfPd5288w+Tj5+TWyHJn7LXB3NFTW7jMSs+qV z9coMc2UupM+ruwvmInDevuKiqoYbyicMGFmHFUrrWwFPAuWjpJxHFCoH2CaqR32XaZU zJtmeXrJ/INcAXHqnaZVJeixOzjZpotGbdpaXP2Xq6OxU3RAWozl3va9az6Ipurn44/U 65kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Y1qLPnaF; 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 f12-20020a63380c000000b005360d7da569si10894564pga.634.2023.05.30.10.10.17; Tue, 30 May 2023 10:10:28 -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=Y1qLPnaF; 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 S233073AbjE3RAI (ORCPT + 99 others); Tue, 30 May 2023 13:00:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232564AbjE3Q71 (ORCPT ); Tue, 30 May 2023 12:59:27 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D275193; Tue, 30 May 2023 09:59:12 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34UGx1kT125895; Tue, 30 May 2023 11:59:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1685465941; bh=M8yKFjYPPDyz2yVGZg9w6f96sWSL3buCffjH1Mn5M8s=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Y1qLPnaF9c6weceg/j2iQ3aL4HsNNuSbHyclvJNRiSgKi6wPfqx//bUBTQdF3bHiH EJb4e5DyZvaiJOYbA6CJE/6Yu/4iDCZ0ys2pSpak+ST3It+mitlr9QbtLkOa2sYLkj EsWdDchgGrqEOdzr+FmiuU6sXENkge8QvuDyjcmo= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34UGx12V087491 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 30 May 2023 11:59:01 -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.23; Tue, 30 May 2023 11:59:01 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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.23 via Frontend Transport; Tue, 30 May 2023 11:59:01 -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 34UGx1Po102754; Tue, 30 May 2023 11:59:01 -0500 From: Nishanth Menon To: Conor Dooley , Krzysztof Kozlowski , Rob Herring CC: , , , Tero Kristo , Vignesh Raghavendra , Nishanth Menon , Udit Kumar , Nitin Yadav , Andrew Davis Subject: [PATCH 6/7] arm64: dts: ti: k3-j721s2-mcu-wakeup: Add sa3_secproxy and mcu_sec_proxy Date: Tue, 30 May 2023 11:58:59 -0500 Message-ID: <20230530165900.47502-7-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230530165900.47502-1-nm@ti.com> References: <20230530165900.47502-1-nm@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.6 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Security Management Subsystem(SMS) has it's own unique secure proxy as part of Security Accelerator (SA3) module. This is used for communicating with ROM and for special usecases such as HSM operations. In addition MCU island has it's own secure proxy for usecases involving the MCU micro controllers. These are in addition to the one in the main domain DMSS subsystem that is used for general purpose communication. Describe the nodes for use with bootloaders and firmware that require these communication paths which uses interrupts to corresponding micro controller interrupt controller. Mark the node as disabled since these instances do not have interrupts routed to the main processor by default for a complete description of the node. Signed-off-by: Nishanth Menon --- New patch .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 30 +++++++++++++++++++ 1 file changed, 30 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 a353705a7463..b75057c49731 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi @@ -39,6 +39,21 @@ chipid@43000014 { reg = <0x00 0x43000014 0x00 0x4>; }; + secure_proxy_sa3: mailbox@43600000 { + compatible = "ti,am654-secure-proxy"; + #mbox-cells = <1>; + reg-names = "target_data", "rt", "scfg"; + reg = <0x00 0x43600000 0x00 0x10000>, + <0x00 0x44880000 0x00 0x20000>, + <0x00 0x44860000 0x00 0x20000>; + /* + * Marked Disabled: + * Node is incomplete as it is meant for bootloaders and + * firmware on non-MPU processors + */ + status = "disabled"; + }; + mcu_ram: sram@41c00000 { compatible = "mmio-sram"; reg = <0x00 0x41c00000 0x00 0x100000>; @@ -280,6 +295,21 @@ mcu_udmap: dma-controller@285c0000 { }; }; + secure_proxy_mcu: mailbox@2a480000 { + compatible = "ti,am654-secure-proxy"; + #mbox-cells = <1>; + reg-names = "target_data", "rt", "scfg"; + reg = <0x00 0x2a480000 0x00 0x80000>, + <0x00 0x2a380000 0x00 0x80000>, + <0x00 0x2a400000 0x00 0x80000>; + /* + * Marked Disabled: + * Node is incomplete as it is meant for bootloaders and + * firmware on non-MPU processors + */ + status = "disabled"; + }; + mcu_cpsw: ethernet@46000000 { compatible = "ti,j721e-cpsw-nuss"; #address-cells = <2>; -- 2.40.0