From patchwork Wed May 3 09:33:08 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: 89669 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1194394vqo; Wed, 3 May 2023 02:37:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QO2ajgzwEvmfGFJK+EJjT4vqzYeAwOuP0eav8vI5AZjkG2So13Q91N7YKWk3VrAd9yEag X-Received: by 2002:a05:6a21:99aa:b0:f0:6f7f:4f2b with SMTP id ve42-20020a056a2199aa00b000f06f7f4f2bmr2094546pzb.1.1683106644477; Wed, 03 May 2023 02:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683106644; cv=none; d=google.com; s=arc-20160816; b=elvXmMsjcA/428zd3kBO/J6X0z5/gZTsP5e8oxsh4VOBuV/4QwTNqRlBU9QmgFhIHI 0EwzLgh70bT2lCCNJL77xZHMYaULj7KX8//IQhP5I0ZoBRPBLE5isC2h4isXLtiibLbg 3PGmR3VavTYwlaMJVL4KsBKI/Dezix7j9FyAA1mSfmFsm1SUK1/p6trnqXylidVKRA+7 vZkF0Rxlla8CGI4jYSd8Q5fPaBBTk4IhPqozsbTPnrXxPkt9h/N2+jZbukxIxYzC/rJ8 Kd2GiLD+6XLb0rtlZDGqiP1zXxk+wTHLrL73DnFz7JbXsFOuuU4CezzhTZfzN5+Xs+MH SHYA== 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=pRJHfhRAzhk8bFQEaVn1idhe/D6js0UAlwCDoXfBQFk=; b=e1B1Q7+u9ol1Cf9Rgg+LVWKKfV7Qg7sX9MqkdjSCZtEYPC463ZA+vpCzrg1DFUb+Vh 0xakyDLcFfHliWfK7JMF2yK1BXcDFS+AjkNT1BUsKGE3cdBbhfgFviYCscLevVjHYefG iZLmEFhI+oqUrcIHdBiSkmZhJotqo4fh3nGGTu8W1GaSXb9n8jfGe6cFMSgLuZmXNQoN sq0riuoqBoaIP45GqufRDkrCMAvzZ5RfjKFKCkjNGdC0vRd2RJ84mLMqy8GYB8ALlRoK /fG/orUMogXNikPpztOr8c+xeo2Csrpa7wK6w+yNMOSRup14cYRWZBIBzlbEgt2PiOnR gCcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Gd+oIbBl; 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 d8-20020a63d648000000b005212e660b50si31868178pgj.865.2023.05.03.02.37.10; Wed, 03 May 2023 02:37:24 -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=Gd+oIbBl; 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 S229841AbjECJdg (ORCPT + 99 others); Wed, 3 May 2023 05:33:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjECJdb (ORCPT ); Wed, 3 May 2023 05:33:31 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 373DA3C3F; Wed, 3 May 2023 02:33:24 -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 3439XHAh050539; Wed, 3 May 2023 04:33:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683106397; bh=pRJHfhRAzhk8bFQEaVn1idhe/D6js0UAlwCDoXfBQFk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Gd+oIbBlhvHWZlEKEmMzboA9bp3WMrPFbE3ksy2YS19vogCfDpoBEOLoE3KNZZxVn YHhhdcoB7PaJSxV1v6G7uL3xUpIOf4GPQ1V5tRDKcBpK1EHGCqT58WBSIkWahId3mV 66ijsgo7t2sEeXpU0bVaggiZRe5tPcdZ5J4/ISZM= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3439XHrp006927 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 3 May 2023 04:33:17 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE107.ent.ti.com (157.170.170.37) 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 04:33:16 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.23 via Frontend Transport; Wed, 3 May 2023 04:33:16 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3439XAIm084380; Wed, 3 May 2023 04:33:14 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , Subject: [PATCH v4 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Date: Wed, 3 May 2023 15:03:08 +0530 Message-ID: <20230503093310.85779-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230503093310.85779-1-n-francis@ti.com> References: <20230503093310.85779-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?1764865232344292123?= X-GMAIL-MSGID: =?utf-8?q?1764865232344292123?= Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis Reviewed-by: Krzysztof Kozlowski --- .../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 09:33:09 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: 89671 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1197266vqo; Wed, 3 May 2023 02:44:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6k/JDfGGf1ini2LI8jUMETgceEBeW4ahnkU912+W8/fr9r72zZN/zr3A1hijwqiy7Wh4K2 X-Received: by 2002:a05:6a00:b4c:b0:643:9cb:1f1 with SMTP id p12-20020a056a000b4c00b0064309cb01f1mr3123782pfo.24.1683107099648; Wed, 03 May 2023 02:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683107099; cv=none; d=google.com; s=arc-20160816; b=JFcgzktKeHeZWFhW4l7T9BHZi7JAX093jBpN5BKXkuxjhMWfr5BUTNgPelzzxpBes3 CsFCdDtygWvgt1ZYX23x9VvGWqUx5Ng1YjCA4GU3n5qDbaiefC7OoIPJDVThwwV1c40S rXSW4XheY6/a1h6pB7QT9GKocPO4xdmaUecQlY1NySGA3FnDVLc00E5OCaTSSDnCYrTq yt9kgkoPFPtA+JLpUmfjTpufX9M1CIN5JfVVR8WM/TaJ5w2GtgQdtqtUoa6hShWdOqKU LGuiqNDUIvbHKbBeaKuEGPtlmcdDQ0/RRhe1kzQx9SLklfAvG1WY/0yWSRWLm1VlcgGI XHxQ== 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=Nbm2okQd9GOX9MLJ9GJdK7KWRgaCLc9q1CvXPRB4DTY=; b=SGjap78d1C1eG1mKDLSYMhIEKNB2xXatTnyWRc7G2b5wUx/swXlBEbftfJbfHj+PpR gmFOBkII/BPiMj95ol4nQx6Gc6IhbQYNBjJKVlbJqRh0SP/kQ+DzH6O0/OsDUE8Naseu 49VbyzoN2XVhzhhVdpAWs113gUpzT68B13ci3C6kCAVsJW0ZuUaye/w4W4OFSilMCtGu ylWLDtfDvX6oukCw4yStiPiwUkm7Cj3vrBTinZeLaeZ32pyDJi2VGRBbrm0VGaK+dLVI 6lI8N6Mv4TjBi9NfX4Qtg6REzUs/q+lB93KUbaf+uBf89i9Lp6ejmLIkVGLDmFzaMGOF 1D0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mAovSUpO; 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 f24-20020aa79698000000b0063b8eb340b1si32406516pfk.274.2023.05.03.02.44.47; Wed, 03 May 2023 02:44:59 -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=mAovSUpO; 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 S229883AbjECJdk (ORCPT + 99 others); Wed, 3 May 2023 05:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjECJdb (ORCPT ); Wed, 3 May 2023 05:33:31 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2DC13C14; Wed, 3 May 2023 02:33:30 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3439XKZv002894; Wed, 3 May 2023 04:33:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683106400; bh=Nbm2okQd9GOX9MLJ9GJdK7KWRgaCLc9q1CvXPRB4DTY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mAovSUpOGLJcZLw55jIFn0H/2ZQvHUNFeuvSF72Oj8nmtfM9uz0d0ujwwTqrV2TbT 8dQ+44LMuRNUOQujc3gJOyQGlGW005kpLskF4/EJK1dGB9HoU0BH/7pX3ggXc7otua LRyjB5QCdQf4oWbNrNp/mRzqNQlhcL6yougxUH7M= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3439XKgx006946 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 3 May 2023 04:33:20 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) 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 04:33:20 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE103.ent.ti.com (10.64.6.24) 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 04:33:20 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3439XAIn084380; Wed, 3 May 2023 04:33:17 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , Subject: [PATCH v4 2/3] arm64: dts: ti: k3-j721e: Add ESM support Date: Wed, 3 May 2023 15:03:09 +0530 Message-ID: <20230503093310.85779-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230503093310.85779-1-n-francis@ti.com> References: <20230503093310.85779-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?1764865710066939010?= X-GMAIL-MSGID: =?utf-8?q?1764865710066939010?= Add address entry mapping ESM on J721E. Signed-off-by: Neha Malcom Francis --- arch/arm64/boot/dts/ti/k3-j721e.dtsi | 1 + 1 file changed, 1 insertion(+) 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 09:33: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: 89670 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1196747vqo; Wed, 3 May 2023 02:43:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MCIU9fPGIwVeWZw6brjaoP/TcIVSUdmMk/IeUTspQwIqg6nI4uZmFfY6GgKJG7L/3Ukjw X-Received: by 2002:a17:90a:68ce:b0:24e:4231:ec67 with SMTP id q14-20020a17090a68ce00b0024e4231ec67mr1732739pjj.9.1683107029014; Wed, 03 May 2023 02:43:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683107029; cv=none; d=google.com; s=arc-20160816; b=JRje/omO3hOQVIDG4k9WMf9hFN6+Hyfyhas0ZiOPSVZM/5JZaeoFXd3ZsSb1Hklo4L pmxob/VIeDahji4JiEL8owkCso6oHVHJhpmHtxDs5cuY9OvvNsEy7o86ppZPV/Zpr40f QXKE7qsRXsqLPViWggHtxZ5rA2LhGgCOz6ehM1BoB7v6xPurTbDhGAAtZGhonRWupklx M2TlX6285SmyqnMUwqkELrch0+de0rKlUQQTi/tS0s0fvLN7Gte3532Cq+dke6Q6AvEA OXgVsuVNLR3UW0ZP2/QU0WuBVjDM+NU4AgfqUXQcwmHPa8YE0CWZA9kLqtxwuigeiV8V 9CUg== 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=rPMSwQ61tPh7ERgDirHQxuX3uBbpr4/nedCw0Kq7+/oU9aV+3OJI0i72W/Jq2wk50j EIwthT6phLdQtyZwglpH+jLo1NGUAMdXAuomNp55uXh2R6WJ6p4b7K5MdiNqBVroF+0E DGm/E8oWLZ//IlK4ojwpQ4TPUwJOGOa+pFC/lF9I0Yvdub2aH/yrcypFKonZ2HiKb0QF 1XEfCUwpIstSP7oRMnHAnjfJLODqpADRaKt8rhlW2hc3V4h/ywwZgnYnAwMvrLQxCSnp TGAPtkBaWi8AkFTDhtTGgWVq7wq/QEu6n0nDyu0mbYWySrZKCqTIp4Udjl7RvKAsxuMO dnSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=b6Bh8NxZ; 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 t9-20020a17090aba8900b00246c31928f2si10807905pjr.171.2023.05.03.02.43.36; Wed, 03 May 2023 02:43:48 -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=b6Bh8NxZ; 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 S229904AbjECJdn (ORCPT + 99 others); Wed, 3 May 2023 05:33:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229781AbjECJdc (ORCPT ); Wed, 3 May 2023 05:33:32 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2FC7420B; Wed, 3 May 2023 02:33:30 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3439XNMW002901; Wed, 3 May 2023 04:33:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683106403; bh=1GIZKi464DswWpYYI8PkLUvrxRe5Lbt01DrvEsUrNoA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=b6Bh8NxZcHtK5fMovChjB5qzxVOtKo3H1vY5HpGqRSlCaocbBfInSaNJyXp29l9kX LQ0XhDObLUkVxE5BagxCSUnovSPlHZV0b4Y5K88bpLCHKHGHlNqTRNtScKwvE87rc+ 3WjrPl56opXJHAL693nfD3k6KZTqAhVTuDbkIwGQ= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3439XNlx094634 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 3 May 2023 04:33:23 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE107.ent.ti.com (157.170.170.37) 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 04:33:22 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.23 via Frontend Transport; Wed, 3 May 2023 04:33:22 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3439XAIo084380; Wed, 3 May 2023 04:33:20 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , Subject: [PATCH v4 3/3] arm64: dts: ti: k3-j7200: Add ESM support Date: Wed, 3 May 2023 15:03:10 +0530 Message-ID: <20230503093310.85779-4-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230503093310.85779-1-n-francis@ti.com> References: <20230503093310.85779-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?1764865636434822100?= X-GMAIL-MSGID: =?utf-8?q?1764865636434822100?= 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 */