From patchwork Wed May 3 12:32:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 89735 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1291220vqo; Wed, 3 May 2023 05:34:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rnc5cgeKNZQtMC3JDez2J5Xpg/OfVQtSsiA/QNiT2fR0AzA8zrxsTSITW4UhfaMnLyVuN X-Received: by 2002:a17:903:120e:b0:1aa:e30e:29d3 with SMTP id l14-20020a170903120e00b001aae30e29d3mr2596818plh.29.1683117246548; Wed, 03 May 2023 05:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683117246; cv=none; d=google.com; s=arc-20160816; b=RpC9mdq5EJRuJTvTEHPvMoDxcJWHPgeGDrzE72QE/R4Hr4DKlwN53/dH5LaQN9WRQY WhSeH9lBZi4wfjDsiFUpCtL5gIS3XRfuJwaGXDqeMbVm5061J7As1x7BLSMT5K8LGJa3 hMEpCg4KDJUInUXVP3t8p44/DQU4IhnLssZHAt93B3qcFlksXxxqyle2+YpOZTn7JaCS JLDhgvT2c2JMyFPaA0URDoTu5Q00g1G5l5dZehAChMcfRnoJ/PzWE2V82LBNgFSSSqUT szEo/c/V1ikklQVtAliFrNDXmj1mbqP1Ns9r5Su81mlCJS8gqjMxSO7ev0Dp8MZwyTfa 5Kgw== 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=Ei9Fcg65KQqQAE38fnvByBFy7PZyoRQdbQi+tnN3VK4=; b=BOVF5E6XjoYzs/pm+gVjLPxx65Npo8fJSFftnq3f/phniqxZm/GzPgMAXPlY5I1oTL HMvFPOBjaLCNIiOnk+0FJcoq52hPYwA40jwxPAfJDUxAXK/4PxTZkJkeVHoVse3k46jH jP2H5u9ZHI2vWOz5qimLFLAm2AdDPRh54SOJKtc21e0t3l8zZBbYqBtBB9Ew0+5y1Kuv k8iOcoh4ztcRU+uaHyJzCCGlT7EW2JXtYXh4SnlD/J5GGtv+UFYUq3b1ljVV03kPCcai +DkqUcsX5Z/ZZ4ByaQ4G/3WM1cCghvOz+fKCqsF4zdLDvYppRFWTvnbSnmnPEfex0kdZ 3iCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=v8aNFLY8; 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 d2-20020a170902cec200b001a6e8791efbsi3538172plg.465.2023.05.03.05.33.50; Wed, 03 May 2023 05:34:06 -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=v8aNFLY8; 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 S229781AbjECMcj (ORCPT + 99 others); Wed, 3 May 2023 08:32:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbjECMcc (ORCPT ); Wed, 3 May 2023 08:32:32 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70B9459F9; Wed, 3 May 2023 05:32:25 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 343CWKjA085174; Wed, 3 May 2023 07:32:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683117140; bh=Ei9Fcg65KQqQAE38fnvByBFy7PZyoRQdbQi+tnN3VK4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=v8aNFLY8JgaeCHa4CDP1WOdEztNB1kjLkJVS6Nj0s3IeTR6AnXz4jkjQdKwWmHbs6 gNpDy0vRfxFfDMbee9l8/926ex1AixzrDK/wAIAXrPnGa0ZEz/WiwdmCDKfAfMxpB+ NhOd9Nx27JJPZnaOfvGPbCAMKOkofqBg5AQr5ygI= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 343CWJmv011893 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 3 May 2023 07:32:19 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 3 May 2023 07:32:19 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE114.ent.ti.com (157.170.170.25) 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; Wed, 3 May 2023 07:32:19 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 343CWDo9124525; Wed, 3 May 2023 07:32:17 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , Subject: [PATCH v5 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Date: Wed, 3 May 2023 18:02:10 +0530 Message-ID: <20230503123212.208457-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230503123212.208457-1-n-francis@ti.com> References: <20230503123212.208457-1-n-francis@ti.com> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764876350081601753?= X-GMAIL-MSGID: =?utf-8?q?1764876350081601753?= Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis --- .../bindings/misc/ti,j721e-esm.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml diff --git a/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml b/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml new file mode 100644 index 000000000000..408296157576 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022 Texas Instruments Incorporated +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/ti,j721e-esm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments K3 ESM + +maintainers: + - Neha Malcom Francis + +description: + The ESM (Error Signaling Module) is an IP block on TI K3 devices + that allows handling of safety events somewhat similar to what interrupt + controller would do. The safety signals have their separate paths within + the SoC, and they are handled by the ESM, which routes them to the proper + destination, which can be system reset, interrupt controller, etc. In the + simplest configuration the signals are just routed to reset the SoC. + +properties: + compatible: + const: ti,j721e-esm + + reg: + maxItems: 1 + + ti,esm-pins: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: + integer array of ESM interrupt pins to route to external event pin + which can be used to reset the SoC. + minItems: 1 + maxItems: 255 + +additionalProperties: false + +required: + - compatible + - reg + - ti,esm-pins + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x700000 0x0 0x1000>; + ti,esm-pins = <344>, <345>; + }; + }; From patchwork Wed May 3 12:32:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 89736 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1291252vqo; Wed, 3 May 2023 05:34:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6mySi57JcYa+0QfHG9i1haaasoYAaMYPwRlKLbRydC/vpTm2j6FztU6gHl3el9nmhBldwJ X-Received: by 2002:a17:902:ea0c:b0:1ab:1878:845b with SMTP id s12-20020a170902ea0c00b001ab1878845bmr2161144plg.26.1683117249132; Wed, 03 May 2023 05:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683117249; cv=none; d=google.com; s=arc-20160816; b=eAomvDeFyKWXpvgHrkbpkqXIgX4cgO87chyrYtMFicdNBUMN6gWwV25sgXO8UXSQ74 efTcIcP7A/vY3C99/OMBxPDgEJv94wZUIlsnOoZiXWDGtiQBFYQdR65P2lpb3n5I6u7v /+ihtGIsOKCBJKSRJCyOYH9yQ261e1BHE8Ei1qX1GaZBgY4Wxy/Es4JmUTDofq56kfA/ zlNW2wKMRQ4hP9O/wLBYLPk+v9XxxxgQhaWJYuWtBqwAh4nDw8kSPZMCEsTg8p0se9XN c6Fugmb4f7J/0FWnueSrtFp+xnqQbYAuacqdSUCR1Rf5svXIo99O2nNlrMXIe26ut37p 2jQQ== 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=yzKY0j1IN0uVnmTekTQ5bwgUObuyqL70kFDbyTxDOec=; b=UCWJMoubvIqeHIxENm+ThtATcMr3gI6bfo8I+7tnrg/EOuiLZ6EV0buDKYlAItN7fw f1uuMzA3IMaw3pCvNFJe0poHLm924U6DFC8XqC+PpjR9lzJhhxXykx6nzyLgoISdavVL Bgb64Kn5ZZVRyYY2XiErY4iOGGC+31ICPtsT5Zq/iSlGsrdSPiFkjVI/vXNbN+7zQIW7 SK2JK0Wq6jtoOQUd08jZxkgxVHrxLRDL2sgyObIzFFNbSVcXmgKluOWJ7GEWA+rZ2yOj LmHSHkXaolGa1hoUiU/LTFWVqyJGRZ7ViiLS7Ch/LRtXuWtrj7+8N3py84zXC73jwJao hwiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=qIhD9OOY; 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 n5-20020a170902e54500b001a11cf69a5csi30986878plf.612.2023.05.03.05.33.54; Wed, 03 May 2023 05:34:09 -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=qIhD9OOY; 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 S229627AbjECMcm (ORCPT + 99 others); Wed, 3 May 2023 08:32:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbjECMce (ORCPT ); Wed, 3 May 2023 08:32:34 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFADC5598; Wed, 3 May 2023 05:32:29 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 343CWMGg126120; Wed, 3 May 2023 07:32:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683117142; bh=yzKY0j1IN0uVnmTekTQ5bwgUObuyqL70kFDbyTxDOec=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qIhD9OOYhmv4uiETtPP1edbctUjfn3MST+3g+HvfcZdy87FR6v264tPQgK1JMLa5G O4dTcJLqoyqIcLdwwbYgdFU/+udh1VmKBEyZBOr41wg/jglcvE24fbhaQ8IDSzoZs4 fZtP5FeqEBJ56ucO54sUCaaheahJzVpiRpIzMmJQ= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 343CWMZS064881 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 3 May 2023 07:32:22 -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; Wed, 3 May 2023 07:32:22 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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; Wed, 3 May 2023 07:32:22 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 343CWDoA124525; Wed, 3 May 2023 07:32:20 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , Subject: [PATCH v5 2/3] arm64: dts: ti: k3-j721e: Add ESM support Date: Wed, 3 May 2023 18:02:11 +0530 Message-ID: <20230503123212.208457-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230503123212.208457-1-n-francis@ti.com> References: <20230503123212.208457-1-n-francis@ti.com> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764876352911925004?= X-GMAIL-MSGID: =?utf-8?q?1764876352911925004?= Add address entry mapping ESM on J721E. Signed-off-by: Neha Malcom Francis --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 6 ++++++ arch/arm64/boot/dts/ti/k3-j721e.dtsi | 1 + 2 files changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index 10c8a5fb4ee2..91f7e5d03440 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -2532,4 +2532,10 @@ main_spi7: spi@2170000 { clocks = <&k3_clks 273 1>; status = "disabled"; }; + + main_esm: esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x700000 0x0 0x1000>; + ti,esm-pins = <344>, <345>; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-j721e.dtsi b/arch/arm64/boot/dts/ti/k3-j721e.dtsi index b912143b6a11..52bcde601eb8 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e.dtsi @@ -131,6 +131,7 @@ cbass_main: bus@100000 { #size-cells = <2>; ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ <0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */ + <0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */ <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */ <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* timesync router */ <0x00 0x06000000 0x00 0x06000000 0x00 0x00400000>, /* USBSS0 */ From patchwork Wed May 3 12:32:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 89737 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1291461vqo; Wed, 3 May 2023 05:34:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ybI7YzAJdrSRNOGtKFsElXKKBZSn/oB2uwLR8rTgK76HSuzSACO14zErA+XgHGPFplXjr X-Received: by 2002:a05:6a20:3d0f:b0:f0:b6e3:90d9 with SMTP id y15-20020a056a203d0f00b000f0b6e390d9mr26379682pzi.44.1683117268321; Wed, 03 May 2023 05:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683117268; cv=none; d=google.com; s=arc-20160816; b=kHblSgZMO4vh/97KUCI4tuXCiRKNxgPTiMkaotyt/5cpx0n3Ip5/XREb40dtyoIYed veziOjZHTQRWhyZdnPfEojU6ojkkvu2E/Dp2RZK0moIGiL7NDFjr3WodOR/OP1bCCzeS 6pEbmP8q4wHvumWVpe7sokwaN/gyn+pm3iLVgwTSRkf5ONOCb0WAY8ASR+55il/xqjzG mtMl7+fap7KKKEMt8gi63WVk1istGfS4tVPoRzrhrDzGmd1OKqa2Z9okvykNhd712oNt rf12imwJdYmCWq01dVzct0PmaroJAPhrIYg388yawjzsoHbbWCnNWW/WQsxa1akXRukY Py5g== 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=1GIZKi464DswWpYYI8PkLUvrxRe5Lbt01DrvEsUrNoA=; b=eYWsYeoKllS6JBWGxj/6Efb3ngI9iwO1XFt+Wb98ZkSoHBW6sF5rwYKttKeKDnn7Ji kkb+cTgbba0dZPZUqP3KQHj9hEIoKWzp/B+rWkGtxSL1OUuc8enuYNV6aygLeNJ8Rtq9 OxpCfVSTcs/AKf5VcXHpv2vwSKpu1u3p6SQW7Svwikh4f/f8s++XDg54VslEtunNVQPX Fxr3baIYH3qsYU01CKgkjuL5PheGj3EsaUK3s0rPedN1hoIAMubJnAdu4aWpxXWqQNSL AcXXJpxlCnhWrcvuikARvR+oPeSj4HdcILItq7Ur3aFhqCwoxeyyYIyRNQ7NGm6QZ7de SBiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kPEEHZxW; 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 y2-20020aa793c2000000b0063b2655def0si33212799pff.47.2023.05.03.05.34.12; Wed, 03 May 2023 05:34: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=kPEEHZxW; 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 S229844AbjECMco (ORCPT + 99 others); Wed, 3 May 2023 08:32:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229824AbjECMce (ORCPT ); Wed, 3 May 2023 08:32:34 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 766C759CF; Wed, 3 May 2023 05:32:32 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 343CWQoS030704; Wed, 3 May 2023 07:32:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683117146; bh=1GIZKi464DswWpYYI8PkLUvrxRe5Lbt01DrvEsUrNoA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kPEEHZxWIQW6avwgR94ygXq8+ybd6NU9MY42iWJfnWZWLooO6ZSbeTZ8kQxWM/PxP yb1p4PtjRsEeYAzs4KesBmvoSsB9W/H4LGDOHCxNpivBHWJJRcSx1nFxum6CQS4UTv b1EgtMmJnZI0rZYbeg6sPvL871UkYotOWyExScyM= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 343CWPo5011930 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 3 May 2023 07:32:25 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 3 May 2023 07:32:25 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) 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; Wed, 3 May 2023 07:32:25 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 343CWDoB124525; Wed, 3 May 2023 07:32:23 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , Subject: [PATCH v5 3/3] arm64: dts: ti: k3-j7200: Add ESM support Date: Wed, 3 May 2023 18:02:12 +0530 Message-ID: <20230503123212.208457-4-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230503123212.208457-1-n-francis@ti.com> References: <20230503123212.208457-1-n-francis@ti.com> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764876372417597520?= X-GMAIL-MSGID: =?utf-8?q?1764876372417597520?= Add address entry mapping ESM on J7200. Signed-off-by: Neha Malcom Francis --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 6 ++++++ arch/arm64/boot/dts/ti/k3-j7200.dtsi | 1 + 2 files changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index ef352e32f19d..89f816f5e53d 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -1010,4 +1010,10 @@ main_r5fss0_core1: r5f@5d00000 { ti,loczrama = <1>; }; }; + + main_esm: esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x700000 0x0 0x1000>; + ti,esm-pins = <656>, <657>; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-j7200.dtsi b/arch/arm64/boot/dts/ti/k3-j7200.dtsi index bbe380c72a7e..4998eb4fbe75 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200.dtsi @@ -128,6 +128,7 @@ cbass_main: bus@100000 { #size-cells = <2>; ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ <0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */ + <0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */ <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* timesync router */ <0x00 0x01000000 0x00 0x01000000 0x00 0x0d000000>, /* Most peripherals */ <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>, /* MAIN NAVSS */