From patchwork Mon Apr 24 10:50: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: 86988 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2650406vqo; Mon, 24 Apr 2023 03:53:15 -0700 (PDT) X-Google-Smtp-Source: AKy350a2wxaCFnjibFauIbnOdPoVOuYqEcTV1Al93B9zasFyonF2Z7MALu/gtDBeEjGCWRZyD8aN X-Received: by 2002:a17:90b:3504:b0:240:7f0d:9232 with SMTP id ls4-20020a17090b350400b002407f0d9232mr13605104pjb.3.1682333595442; Mon, 24 Apr 2023 03:53:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682333595; cv=none; d=google.com; s=arc-20160816; b=dn9FeL45zUck4CR3PuXjXOk9xu2UbSICmE/XK98nmxIyTvW6qxYTdlo/sYn6N8tz/x SDE1Ld+lt1PS8XWMPwEngPKBkSZd8p868E2HXqxav1QgCpNdKCkcu9p0ZvkDsafES76A FnAkN0gTzpHzvfjZDqILdgm8ViEeFyCtbGv6yW6TwNjLdubP++o5kZPbdR7HTPSXfdyO SBYLUvJ5ikFdta2jOqbRJWpYuyhMLdq9FhK1rr4vUapy7kguDatR1N8X5YXrtteQyqex XzE/p/Bpck9m8O2c3JPCaA0syrwfuyvT813h7ghm2GIjM8ZnB1eOyLFIzvOMn4KGlZ12 YVPg== 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=Cl5M1/Sa57+bU+iBeDHEnYz6kWjr3RV+s1L4CQPjc5I=; b=DnSMZKDmFp8AESOvDckYl7+f0+2JkAzbAd8Ssey4jy5oMTmlJtoQU0Nyy5/bgNy6hE VwlFhVLUVxhop/N15JWTmjCOvqwv8OsJb1hXJIknNyNvetY2V/U86KU69RuBqjNIWnum hBhxJ5Zt/emvY7f0AE5Ek1MffWkd1SK6GX40FP19NKM2nGM0+BV9UqmQClAxL9P9dI/i jM0LSOwLatSvcUuDdFGSpTGBbGlITFkj1iyaj8tHlnwnHeS5FkvQ6SaZD32LV8V1c3FZ ossx/0TLSH1j8qD59O7hm1TgNSYTQclpYq7e2FRC3PKy8G9J8XRhM+YuFVMnHAUVv02e oOSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lj4dmKkA; 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 c4-20020a170902d48400b001a51bb4ad79si8960547plg.42.2023.04.24.03.53.03; Mon, 24 Apr 2023 03:53:15 -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=lj4dmKkA; 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 S231584AbjDXKux (ORCPT + 99 others); Mon, 24 Apr 2023 06:50:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231537AbjDXKup (ORCPT ); Mon, 24 Apr 2023 06:50:45 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3171B26BD; Mon, 24 Apr 2023 03:50:43 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33OAoKZY076554; Mon, 24 Apr 2023 05:50:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682333420; bh=Cl5M1/Sa57+bU+iBeDHEnYz6kWjr3RV+s1L4CQPjc5I=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lj4dmKkAHXTy04PIg7soM0ujhpDG9RENLn0LmQBZuSTfmIjBxn15yBujxy6ykkuxR sCyv0TEEnFDi3HFvPgEqvKl6YjghFQext5WueH7EyzB8Z2B9n2QHetBxmyhCtV3is1 XvlssOTjQ604G2e6GHet196OSNiYspqodGIeeSxk= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33OAoJQ8016627 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Apr 2023 05:50:19 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 24 Apr 2023 05:50:19 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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 via Frontend Transport; Mon, 24 Apr 2023 05:50:19 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33OAoBPE004376; Mon, 24 Apr 2023 05:50:16 -0500 From: Neha Malcom Francis To: , , , , , , , CC: , , , , Subject: [PATCH RESEND v3 1/3] dt-bindings: hwmon: esm: Add ESM support for TI K3 devices Date: Mon, 24 Apr 2023 16:20:09 +0530 Message-ID: <20230424105011.70674-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230424105011.70674-1-n-francis@ti.com> References: <20230424105011.70674-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 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?1764054631857014265?= X-GMAIL-MSGID: =?utf-8?q?1764054631857014265?= Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis Reviewed-by: Krzysztof Kozlowski --- .../bindings/hwmon/ti,j721e-esm.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ti,j721e-esm.yaml diff --git a/Documentation/devicetree/bindings/hwmon/ti,j721e-esm.yaml b/Documentation/devicetree/bindings/hwmon/ti,j721e-esm.yaml new file mode 100644 index 000000000000..c5eb7f46cc46 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/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/hwmon/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 Mon Apr 24 10:50: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: 86990 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2654108vqo; Mon, 24 Apr 2023 04:01:39 -0700 (PDT) X-Google-Smtp-Source: AKy350bAAFFayuBZnc1DOp8HoYXp9pL/1jnTp6WGi5H6aJP0YeVerjx6fUSmjCnt84wy9EApHw6L X-Received: by 2002:a17:902:f7d6:b0:19e:2fb0:a5d9 with SMTP id h22-20020a170902f7d600b0019e2fb0a5d9mr15303373plw.32.1682334098432; Mon, 24 Apr 2023 04:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682334098; cv=none; d=google.com; s=arc-20160816; b=Yr80KgpFELW1nY1ybAAE7OHniPLpoKC9N7uNtqyvWDQBUILBUxamCCn4pE+xEZj/z1 esV8xQfX4M1FhOnKkkFOTerm5Dpx8lcdTsnicH1YA/lXQ5NY7R2cr3KtB80qwOY/MvRd GA5X9SpUlEn8k1Sw87rMScESdumVHxuawF0n/pWqxM0FMLhszBqwaPYQNWsFyIc6dbhb 9X0Lyk43wXlyqmmVitlDEulTf/KTEFENyNzIAoAKrwnpHha2BHqvpXcSbHnnujF0BQRD NHzkJn12eiZ3D3TLL190vAxU5TSU6gCAQFjh0WyqvvOhm1U2D5EjOHGW9WXfGZs4ILs7 doRg== 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=nTzrRYOvVpLU7748MRSbK0DR94KiuZ234yfrRWZ51r7rkqePTZY3LLV9RUV318fSnm qFOQhGgQU+xdKVM5p362pGc+Wxgb4fSHrkpfXLDDxsBeLPxXcKZvMU9TqaTIfDZ479UU jYZcW84Npz3aEvW8dkrLv6uLTfCc30lmCkSf+r8eljbPRSYec2AsrrnKV4PJAcbwEi7W rZO5FL6NwMGAfLJcqT4cdwPKH9LynCBku/uN2L9uYAJD7Dd+uf28Jc2HC9GSgS0NG64t 95QIDOaSAUs8R/1WlcpxikSx6lkV9voaszatFbDPyBCTHhKhpTnMsO83gMk5XslCIVcF JH6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HY1ld1ij; 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 u3-20020a170902e80300b001a979141a24si2296343plg.214.2023.04.24.04.01.22; Mon, 24 Apr 2023 04:01:38 -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=HY1ld1ij; 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 S230287AbjDXKu4 (ORCPT + 99 others); Mon, 24 Apr 2023 06:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231544AbjDXKur (ORCPT ); Mon, 24 Apr 2023 06:50:47 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F95A358E; Mon, 24 Apr 2023 03:50:45 -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 33OAoNdk071802; Mon, 24 Apr 2023 05:50:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682333423; bh=Nbm2okQd9GOX9MLJ9GJdK7KWRgaCLc9q1CvXPRB4DTY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HY1ld1ijidmR4tSSWNPhuFf37u5HEFwt2QGVpo+bq98kRbNID5ERk4TS3jw/R+PF4 Mi+aDZLalMJzi4xgUIVqh6HvXXbAQUvuYGpX5g0c9jkddUCAGoq5a+nfLboc0HZjxf AOTIhGa3+urLBib7n19B1m1PYQsxD9wHpARDbYJM= 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 33OAoNsI075971 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Apr 2023 05:50:23 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) 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.16; Mon, 24 Apr 2023 05:50:23 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) 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; Mon, 24 Apr 2023 05:50:23 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33OAoBPF004376; Mon, 24 Apr 2023 05:50:19 -0500 From: Neha Malcom Francis To: , , , , , , , CC: , , , , Subject: [PATCH RESEND v3 2/3] arm64: dts: ti: k3-j721e: Add ESM support Date: Mon, 24 Apr 2023 16:20:10 +0530 Message-ID: <20230424105011.70674-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230424105011.70674-1-n-francis@ti.com> References: <20230424105011.70674-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 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?1764055159162673179?= X-GMAIL-MSGID: =?utf-8?q?1764055159162673179?= 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 Mon Apr 24 10:50: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: 86989 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2653083vqo; Mon, 24 Apr 2023 04:00:20 -0700 (PDT) X-Google-Smtp-Source: AKy350aK8dlshMELMHqSHHLNvpddmCyPud+BHcub/7zEMw52d2903yxhVpTqxRp5LDY2SH1jEoox X-Received: by 2002:a05:6a00:84f:b0:63f:16b7:719f with SMTP id q15-20020a056a00084f00b0063f16b7719fmr16683574pfk.33.1682334019864; Mon, 24 Apr 2023 04:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682334019; cv=none; d=google.com; s=arc-20160816; b=psMIt2VmBLWQrl0vwUwBbE9mGT5eNtYXte7ePirtLtPLuxdwsI+o/VIrBguVoc8txL P1mtNqQ1zIz9ZP9XNd/I9KfAnthhlj9HkUwWt98d0ivd7M8jxXaJkgJkmqtUB7m6EFAA cGCo3gI+/CE8OUl1jGgEhGLL1GdzHc9MFKIWQWRnLTQG7hGmcZJdi7Er7vZx/tFg54TO H46q4H4F6L7CFq0td4BNvqaQVye8MgTRfc9x/VMmraHb2TW2oKrfjQxUsXFUucWRPDpW qT5ZPpsncMk6DboOuHvxc6sFLpcj81E+EVON1523XiR3Tx82TRzE1Kq5EdGoxz/e7ZcJ gimw== 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=kKOVie7DM0MocfFtITLVdg0ZfYXJ5KxExeqRXHp5iSMk6BHhJofTjP1nJzkDVxDPz1 xpNhGqahPtC0lIFv1Kzc4tQwNDRIMUrW7lfeW955v4ELLtuV6ASq61506iK5yNTqoIuC By/OAOo3LVB2m2+d8O2Ld0J/3p9TnvXSwRYpdG334WMW9y56/dvfFUW+qkuxDd+FoorK U2T/praydm3nFflhlxfo3hHGPH40zQeuFD7YHB203HdqmzJnlVCvJgFOyjhlVsMJuzrY 4a4a0SI7Li9ECCdVuGBGkCIt7fi6Ysz/R/tHXQyhjlY/oych43k7G68FL3nlaSlmOm4+ x0NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oIlDSvPi; 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 d9-20020a655889000000b004ff7002e3f9si10690570pgu.164.2023.04.24.04.00.04; Mon, 24 Apr 2023 04:00:18 -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=oIlDSvPi; 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 S231597AbjDXKu7 (ORCPT + 99 others); Mon, 24 Apr 2023 06:50:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231545AbjDXKuu (ORCPT ); Mon, 24 Apr 2023 06:50:50 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22F8435A2; Mon, 24 Apr 2023 03:50:47 -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 33OAoROo106984; Mon, 24 Apr 2023 05:50:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682333427; bh=1GIZKi464DswWpYYI8PkLUvrxRe5Lbt01DrvEsUrNoA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=oIlDSvPiw+yJCBqGRoptOkevkOjqTY8i6GXoR8lCsQI9K0cLnUrlYcxtDxoez3flH 7Hsqr2ScRHuuy8PpxpLYrFcGZ0u5KPG2pSDoxOkuz5Twyco+sMwn1hP8P1XeWkTnPf ngbnhxb9oUVWhBrOHYE9p0DZAp7Rhyv66Du23OFI= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33OAoRuR027592 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Apr 2023 05:50:27 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 24 Apr 2023 05:50:26 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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.16 via Frontend Transport; Mon, 24 Apr 2023 05:50:26 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33OAoBPG004376; Mon, 24 Apr 2023 05:50:23 -0500 From: Neha Malcom Francis To: , , , , , , , CC: , , , , Subject: [PATCH RESEND v3 3/3] arm64: dts: ti: k3-j7200: Add ESM support Date: Mon, 24 Apr 2023 16:20:11 +0530 Message-ID: <20230424105011.70674-4-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230424105011.70674-1-n-francis@ti.com> References: <20230424105011.70674-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 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?1764055076105619862?= X-GMAIL-MSGID: =?utf-8?q?1764055076105619862?= 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 */