Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4811171rwd; Tue, 30 May 2023 10:10:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4OxbaTSMsDLIFNlE8futdZSQhD7Encu/Yg5C2aMgBSfT2M43IVtk6nZSkyNzACf9ihbFOh X-Received: by 2002:a05:6a00:80a:b0:64b:20cd:6d52 with SMTP id m10-20020a056a00080a00b0064b20cd6d52mr3519808pfk.14.1685466639334; Tue, 30 May 2023 10:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685466639; cv=none; d=google.com; s=arc-20160816; b=nTpgYxiJa95iQYz/1FTAcZshX4uXq5XDJrhD13UDo0/Lb+vLxIttp1eilAUMHyLPtw Msotcbn3fAUM7lf/WnnwWO6R9aronbzVGeVDUMjP0sFcRpUP0kYktJ2RiP0T+FIEJEy/ by4PJVuPpsmSfFQUSOBf7AuJeg/r5ykQn9JvmETw4oO5hqpleku0cZciyhy4idTxSVPb 7uqu0XhJNs7DefaaQJUDMZf4fOgIpPRgaInd+glVSvudIdoYih7Vg5moJLvhLe0/JvIo 5FRI3G57M7L3s7zL7+dqCzj90Cb6wX9kbwLrHqjA/wmPIZF5QCmQmVGi4ZKSaKmbVrhS UCtQ== 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=MovTmmGMtxyQZ8NbNoFjBIXHFwa0uAF3Fdwe+TYUe7Y=; b=nAugHrBGIh2fc64P8wjuYsGM7zwlpunfSsFFpnYSj9Lf8rMW983J3MNJFSKjr6J+EJ LcoJdptIdfvGO3jiwUEdhS1qrLfUxwZrfDoqH9yhUbuKGpj7Y9vtnNfsk3ALt4dWi6uh 7M7FAT3BLs90YVUEEwzeZKIG9YwYOppRLSIYCFoNAz6deOT8TeuQFBB/amG/pgJ3Pt6E WGaIb81ri+jIxuCX2A44PwhnDmS+pOhw0FW15NBVT9P9/nMPpWuEYWEnE4KzaSPxE2JE K5JlUrLT5etNPh83N9S4HLU1EfTKE/a2oSsUZyzkxAynPblaPeea1x1DcLc5LjpI88Si 6vBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XtkwKVMO; 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 f30-20020a63381e000000b005347efdfecbsi10886180pga.111.2023.05.30.10.10.09; Tue, 30 May 2023 10:10:39 -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=XtkwKVMO; 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 S233221AbjE3Q7f (ORCPT + 99 others); Tue, 30 May 2023 12:59:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233169AbjE3Q7Y (ORCPT ); Tue, 30 May 2023 12:59:24 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2EDA1B7; Tue, 30 May 2023 09:59:09 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34UGx1fM101014; 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=MovTmmGMtxyQZ8NbNoFjBIXHFwa0uAF3Fdwe+TYUe7Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=XtkwKVMOrZA1MiToApmU1mMHnlMb5Il3yx4u/twYgEVuZ1qol8PeRT1tvU71LFv+V Rn231RnKHlaPNBow/D4ltqJzCHUilPeqFNYcqUqdj2TOrFKM2CyfLcQzsMa0p63ucx GykQCnU1O9MwQFDlYGdSSRe1d42N4gLVRi1t399Q= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34UGx1pO087483 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 30 May 2023 11:59:01 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE110.ent.ti.com (157.170.170.21) 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 lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) 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 lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34UGx10s002320; 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 1/7] arm64: dts: ti: k3-am62-main: Add sa3_secproxy Date: Tue, 30 May 2023 11:58:54 -0500 Message-ID: <20230530165900.47502-2-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 From: Nitin Yadav 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. This is in addition to the one in the main domain DMSS subsystem that is used for general purpose communication. Describe the node for use with bootloaders and firmware that require this communication path which uses interrupts to corresponding micro controller interrupt controller. Mark the node as disabled since this instance does not have interrupts routed to the main processor by default for a complete description of the node. Signed-off-by: Nitin Yadav [nm@ti.com: Update commit message, minor updates] Signed-off-by: Nishanth Menon --- Just rolling it up as part of all SoC changes. changes since v2: * Relocated the secure_proxy node (next to sa3 crypto) * Renamed the node, followed the binding for reg-names * Disabled the node to indicate incomplete non-MPU node (with comments) * Updated commit message to indicate the rationale V2: https://lore.kernel.org/all/20230519113434.1024206-3-n-yadav@ti.com/ V1: https://lore.kernel.org/all/20230515143250.jxwwgse24lrcqouc@grunge/ arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index b3e4857bbbe4..bf3e054c72ce 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -184,6 +184,21 @@ crypto: crypto@40900000 { dma-names = "tx", "rx1", "rx2"; }; + 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"; + }; + main_pmx0: pinctrl@f4000 { compatible = "pinctrl-single"; reg = <0x00 0xf4000 0x00 0x2ac>; -- 2.40.0