From patchwork Fri Apr 14 10:52:23 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: 83350 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp289528vqo; Fri, 14 Apr 2023 04:01:42 -0700 (PDT) X-Google-Smtp-Source: AKy350Yxs6j3HXX8ZEYqXY7EBapQI0UXVN4AeG+b1QlB4FZuq9QquGY6A3QEn39Vd1vUjnPyLvla X-Received: by 2002:a05:6a00:1141:b0:634:a563:c9d5 with SMTP id b1-20020a056a00114100b00634a563c9d5mr7325118pfm.2.1681470102232; Fri, 14 Apr 2023 04:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681470102; cv=none; d=google.com; s=arc-20160816; b=pQeuJ7FpE8TKJ00nH/6kYQVeXbdad3LLqineB2QaFuRHVu9SyLsKhXNUNvc/+xQB6d t5PVLfXSiCXb9aaqi60zq33YVMj1dJ238DZOP8t3n4Z4nqWVTJOp+Gf8VC21yTSY6jHf ccvhUJ4GqMAz5nUlxm+DBw6BHNHgV55WVor/nvVe+24jt4Dk8i6TeEtIO0eKPVVEPNYA FsMwohYzljVGnQUup3NBJTYlqFRoLZ9WadCRadeJohb4fINGWcCDgLHH5sh1dott0u2h tSGvloG9WMYoxnzP9uwEPOlKFpW0vLaxN4BzaGxkYagiSVyH/YbLCDO9Du6jkhoBvfAw m0tw== 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=wjW5Q9o+zPh4H7+BmKkO/pXqv81GHjtQdM7IPo0mjJo=; b=0qPm1HwrjUf77SYQqH42rcB521wByxQ+5DQO4qHCGiKL2Y9gyCqw+oWVlEyDD+VOmd 8O8HqH1PO7fFQQRtbv3XeAYh+GiYd4LNr1xZknF9LWYRUP18nDY4QRAE/7abdh571gZg bSWX4rIQPd1fgzd7EZjyWcTECNajmBbv6HoUjDxVJ8KqWuJbDLAPUzOhotApjVdLTbEm KMGWn1MWfKDqB2M1uJN1z//a5xV33NjxfvMuD8y3q+V4CQsh5b535D07RMfDGi7W61s4 9gdkmiQIAZu++p2nBm2HE+ICzZM967liVDaIqW63UmkjeG2mIsCNjyVhAFqUDuJLfNjI ckvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WZPibKXa; 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 p6-20020a654906000000b005030925d31asi4453312pgs.203.2023.04.14.04.01.26; Fri, 14 Apr 2023 04:01:42 -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=WZPibKXa; 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 S230315AbjDNKwv (ORCPT + 99 others); Fri, 14 Apr 2023 06:52:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230184AbjDNKwq (ORCPT ); Fri, 14 Apr 2023 06:52:46 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F180549E7; Fri, 14 Apr 2023 03:52:44 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33EAqWrC022563; Fri, 14 Apr 2023 05:52:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681469552; bh=wjW5Q9o+zPh4H7+BmKkO/pXqv81GHjtQdM7IPo0mjJo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WZPibKXaZpeYvLV/YitX7KkMprTMRdIuXq4rSWZmO8J3zIT0Khsd7wWfRNsEnsbjN 6vaWAN5TuVSrXGkaWi5+iG5SWJBNgB3MSSzIqaj9zc4feTw6uvx8nzmq1AQo7A1PSS 4FbMWe1qvNC6c1NvWY9LqoL8TTr394nflKSeXl9w= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33EAqWpL114099 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Apr 2023 05:52:32 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 14 Apr 2023 05:52:31 -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.16 via Frontend Transport; Fri, 14 Apr 2023 05:52:31 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33EAqPpf077262; Fri, 14 Apr 2023 05:52:29 -0500 From: Neha Malcom Francis To: , , , , , CC: , , , Subject: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Date: Fri, 14 Apr 2023 16:22:23 +0530 Message-ID: <20230414105225.194195-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414105225.194195-1-n-francis@ti.com> References: <20230414105225.194195-1-n-francis@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_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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?1763149193932033361?= X-GMAIL-MSGID: =?utf-8?q?1763149193932033361?= Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis --- .../devicetree/bindings/misc/esm-k3.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml diff --git a/Documentation/devicetree/bindings/misc/esm-k3.yaml b/Documentation/devicetree/bindings/misc/esm-k3.yaml new file mode 100644 index 000000000000..5e637add3b0e --- /dev/null +++ b/Documentation/devicetree/bindings/misc/esm-k3.yaml @@ -0,0 +1,54 @@ +# 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/esm-k3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments K3 ESM Binding + +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 handld 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: + items: + - description: physical address and length of the registers which + contain revision and debug features + - description: physical address and length of the registers which + indicate strapping options + + ti,esm-pins: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: | + integer array of ESM event IDs to route to external event pin which can + be used to reset the SoC. The array can have an arbitrary amount of event + IDs listed on it. + minItems: 1 + maxItems: 255 + +additionalProperties: false + +required: + - compatible + - reg + - ti,esm-pins + +examples: + - | + main_esm: esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x700000 0x0 0x1000>; + ti,esm-pins = <344>, <345>; + }; From patchwork Fri Apr 14 10:52:24 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: 83347 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp288547vqo; Fri, 14 Apr 2023 04:00:27 -0700 (PDT) X-Google-Smtp-Source: AKy350Yz5Hc3YEEg26NiERBp4niR0fqn28H/mrOYsoXdq2E6NCwUyFbDg0jyDoqWhtFS0cCIJpyc X-Received: by 2002:a05:6a20:3b05:b0:e4:c9f7:d280 with SMTP id c5-20020a056a203b0500b000e4c9f7d280mr4447128pzh.58.1681470027319; Fri, 14 Apr 2023 04:00:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681470027; cv=none; d=google.com; s=arc-20160816; b=fPG3h/DXA9Ls243qiLlqgibEonNW8LYd33/RPpYpLYDOT4pIqKqKkz1A8t3OiyO6J7 P69+7ZGyN9jr3o/xDDifElyiumN2nnVVLqWVjnVczyAd8aihfp2t7MRhE8TlsWnoRotg Pdz4XE2FJzhkvKi8Mm4wXlw5TxHzWuMCGR1TaJ4d68JRQPPavTm2p6OeLk7huKxhgSbv Z6aVBJZsOvWYtZIkJ44kFkdGeBK8evJI0b9k7F3jfdTCM8inytoCWmhGAtE5A+UahIhV Gf0d/+tDwZCmOAO/LjJ/B9mnkb5PC057POvkInWlRpfqQKl2lxbYT54qBzj2YmrpOnkH PpRw== 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=xEHiibeV1L7qAxIDUZOoHMQdEycHiYl22lZ3XED+nZRWqvUylaxTRwOi5//Nm4soQ9 0SCK4/9NT6mS0GulW6S8OkACO7hHbcUi9f5+bxC03EjsOER6cX23pgp1K4YedASPlukd sa4p/ConiO39kunEFiCdbg6iBeTdOYYlGlW0mYIOSW3Om7xSiqyD3eYso+gZnVSerKWv ZjJ1SC4bh5L5u+DiJK60cfMLoCI6s6UL7KhuOU/aN5Aq7VqApboJDLgfq+iqrfVuXpd5 Y7w/p+GSh0DplXjvt9a8eHwMXOpTus+ajXhwkh5/V0HuJgiLuUyilCzUAzJxgLT8pIoj 1toA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xDb0BWCY; 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 i20-20020aa796f4000000b0063b59a25a0asi2893938pfq.134.2023.04.14.04.00.11; Fri, 14 Apr 2023 04:00:27 -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=xDb0BWCY; 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 S229938AbjDNKwq (ORCPT + 99 others); Fri, 14 Apr 2023 06:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229941AbjDNKwo (ORCPT ); Fri, 14 Apr 2023 06:52:44 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3C4C2719; Fri, 14 Apr 2023 03:52:43 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33EAqZX4022569; Fri, 14 Apr 2023 05:52:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681469555; bh=Nbm2okQd9GOX9MLJ9GJdK7KWRgaCLc9q1CvXPRB4DTY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xDb0BWCYk1+Yo5GOb0HFbxbKZqjbHevCtPhIcilMO7ssQHDC9y4fgfjHlaA85pt29 fCBIWMGdVSBsEv47PdeOzYlxWIr/zpfiQa/2yR5bLIDXOzDQ4wNnaEUWyFi2TWTBYQ HGfZ/6YeB0jwyVITBDg27hFAwTZ8Jr1IBbaFGKwg= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33EAqZKK078622 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Apr 2023 05:52:35 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) 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.16; Fri, 14 Apr 2023 05:52:34 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE115.ent.ti.com (157.170.170.26) 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, 14 Apr 2023 05:52:34 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33EAqPpg077262; Fri, 14 Apr 2023 05:52:32 -0500 From: Neha Malcom Francis To: , , , , , CC: , , , Subject: [PATCH 2/3] arm64: dts: ti: k3-j721e: Add ESM support Date: Fri, 14 Apr 2023 16:22:24 +0530 Message-ID: <20230414105225.194195-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414105225.194195-1-n-francis@ti.com> References: <20230414105225.194195-1-n-francis@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_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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?1763149115665203542?= X-GMAIL-MSGID: =?utf-8?q?1763149115665203542?= 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 Fri Apr 14 10:52:25 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: 83348 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp288858vqo; Fri, 14 Apr 2023 04:00:55 -0700 (PDT) X-Google-Smtp-Source: AKy350buM5iyIum0tEIO5FSkwg2prHCNwowGj/SkHUz6i38a4/tqRvnPiUu5yKM9MRZRTcOefKLN X-Received: by 2002:a17:90a:e507:b0:246:ba3f:4f3e with SMTP id t7-20020a17090ae50700b00246ba3f4f3emr5317955pjy.6.1681470054908; Fri, 14 Apr 2023 04:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681470054; cv=none; d=google.com; s=arc-20160816; b=w9gsPclRKunAlsvZYqhL5TnOMajiLr+MIJFCOxhJNnG34EpBKcmUDe+4mLS6cIqSRL ZsKttvbSI5R+SiFHLceQXpsIfwjPZMaRSdF6bGsvv3RtqGHXlnO4VQTKT3ipCvj8XYBV HyST6srzBsOeErZVrlmy3OHW9XLGEaKtRch4UPl6kqrH2BFTRupWzT+kATCmlI0A1ug2 warhY/A/a3Jg95yZeJuIgpVP4Jxe+M+3SRKsvnmLy1tA8iBPN0D2+/GEjW0IwJrLotGq Ez0Z0IRCD4GdO706QbCxxez+Ft3gFPhmZblTKmBCEzII3OvCZsxoHfaUYbQYfY4oQDqa eVRw== 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=hd7ITyCsEmcx6El8GSsZtSuDfK5JUJ3aNyWjtGZtRGofghDCdf9UKbv2ug3JZcND4w DC6Jgq91kl9kkSk1yXpD8wK8JbIejU+mFEgcD0XdECfG4bTO952/AbSk/EUpDGoUp28F LfDrmbsJV/e2+TxsTH4h5h5wtQ6cXSlR/g+wg7L5WRNYzR/2Ken90ookfKZHcTD+sNk4 LIcPLo3Qn9FB+d3S3ENGZAoxFvgiXESMnB9G2hlA16i+MkHC2OuzqRZaYn6sHegQ8aCU KiDDjaN+EJ6kVXcMbKe3fpDh4xoxjQhSIzEX4CirCBC4/7/DYtKwhZ2BZsgCKEGFlsic KIBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hmMe2eaL; 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 a7-20020a1709027d8700b001a69dfd918csi1468309plm.306.2023.04.14.04.00.25; Fri, 14 Apr 2023 04:00:54 -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=hmMe2eaL; 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 S230250AbjDNKw5 (ORCPT + 99 others); Fri, 14 Apr 2023 06:52:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjDNKws (ORCPT ); Fri, 14 Apr 2023 06:52:48 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCB6949E3; Fri, 14 Apr 2023 03:52:46 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33EAqcH7053924; Fri, 14 Apr 2023 05:52:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681469558; bh=1GIZKi464DswWpYYI8PkLUvrxRe5Lbt01DrvEsUrNoA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hmMe2eaL0QIhuw0b2l+PJodLr4j3u0unqy0n+N4jsEJ2luzFXlw89QYTbB7TohMbw UGjIF+UcizS2keCkPaBJ5DVWyYY/5AIr5SBKWvrZM5jZyxpZIrpc9DhdolIvUuAmnl 8Zist1DixE1j3roYvpgPWU8FpgHIA8FKK3vaph6g= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33EAqcQR078641 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Apr 2023 05:52:38 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) 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.16; Fri, 14 Apr 2023 05:52:37 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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.16 via Frontend Transport; Fri, 14 Apr 2023 05:52:37 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33EAqPph077262; Fri, 14 Apr 2023 05:52:35 -0500 From: Neha Malcom Francis To: , , , , , CC: , , , Subject: [PATCH 3/3] arm64: dts: ti: k3-j7200: Add ESM support Date: Fri, 14 Apr 2023 16:22:25 +0530 Message-ID: <20230414105225.194195-4-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414105225.194195-1-n-francis@ti.com> References: <20230414105225.194195-1-n-francis@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_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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?1763149144116217687?= X-GMAIL-MSGID: =?utf-8?q?1763149144116217687?= 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 */