From patchwork Wed Apr 19 09:25:57 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: 85285 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp257434vqo; Wed, 19 Apr 2023 02:52:28 -0700 (PDT) X-Google-Smtp-Source: AKy350Z9HQ6QiOeASMBwPz3VK275D+93HH3fesDoAjUkbTyhxL7hWwjXDIefGw2lvRe2mOfFdPFr X-Received: by 2002:a05:6a21:6d97:b0:ef:2389:66ce with SMTP id wl23-20020a056a216d9700b000ef238966cemr3598319pzb.10.1681897948625; Wed, 19 Apr 2023 02:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681897948; cv=none; d=google.com; s=arc-20160816; b=iMz2OmEmBJj0vr6ANM4bUBHFJPXEhLotAt/Xi+FLJnXRKDyw5r4S4mXVBUkNZyZE4S FZTkhlGn6zL3uTHdCU4eVB6FFZQDF9j4vk5KjknwQIAIamymNjhDPknwDgeWB95ZxxmE 3g1A2FWFOgGI2CSlSXXhmfzFJZq12PR1Ndowjy1Ao4L4AbjlbLEXAKE5Y+hziVFIrybq bZe2Kkvv9X4vEvrIZEtkNasrU0BFq5YatOssF7GMa9fowKX8stmRxQ4TMVTHZ6lppiAs RXl3N0qzzbxAukI/rlh8PJR2K8nNK474PfEwiuc5sJDT0g4lFhmoRnBdHCMcXGXDoCoX L0Aw== 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=OE6isOxwACqnkPpdmJsY1U2qyVXgwLkbhOi8+TI5Qps=; b=HkheRLq1PK2C/uTWXY+XzPeGfSPUzBYrg+wyMht3TN9V9roaDfm7pxzALc30DwN8zl GbMEs3GZgWqDOuuzD5LDrKrsaNDP8dyLDhM/lBN532Bh8jliNCcmyPxklY/mQhrj5/Hj k3QxfPibgr1iH6AelEQq4ylmPmXuVmDXLL8O6eN2fe7jZOqGBWO9g3usuycvS52MK8t+ 3itrHsmY5RBckS3U3YWfpk7cBPJo1Uc4kpxNspJGOoU3mcAw4UiPsZDPwD0f+dMQU+BM ME2cv9TYEtFQw9eKNEmM/5Yqcyi/JA2gYcNV8wHXkmItAnDu1fZvm+fk7F8K9OSojK6+ H/LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=aOPWHUme; 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 nn16-20020a17090b38d000b0023d4d532a7csi1508157pjb.101.2023.04.19.02.52.16; Wed, 19 Apr 2023 02:52: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=aOPWHUme; 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 S232869AbjDSJ0T (ORCPT + 99 others); Wed, 19 Apr 2023 05:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232825AbjDSJ0Q (ORCPT ); Wed, 19 Apr 2023 05:26:16 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7103AF; Wed, 19 Apr 2023 02:26:14 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33J9Q6YP071096; Wed, 19 Apr 2023 04:26:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681896366; bh=OE6isOxwACqnkPpdmJsY1U2qyVXgwLkbhOi8+TI5Qps=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=aOPWHUmeAPRfYR/FbbB+GSHBOvTBaqVUsDM6xserzqby1CnJCwAVUV/VTaHEI4rcW xduIUgZgt/NOWMjlL8Gmqew05nqeC8TLkRW7Bu12BtLK2wrmEQRgPhPK5wjicSfQxI eQ6WmiRgO0LR/J5ix3ai1s/VTCbWcnT4qRyrQ7oI= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33J9Q6xH110879 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 Apr 2023 04:26:06 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) 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.16; Wed, 19 Apr 2023 04:26:06 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.16 via Frontend Transport; Wed, 19 Apr 2023 04:26:06 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33J9Pxnc086968; Wed, 19 Apr 2023 04:26:03 -0500 From: Neha Malcom Francis To: , , , , CC: , , , Subject: [PATCH v2 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Date: Wed, 19 Apr 2023 14:55:57 +0530 Message-ID: <20230419092559.673869-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230419092559.673869-1-n-francis@ti.com> References: <20230419092559.673869-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,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?1763597823368979255?= X-GMAIL-MSGID: =?utf-8?q?1763597823368979255?= Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis --- .../bindings/hwmon/ti,j721e-esm.yaml | 55 +++++++++++++++++++ 1 file changed, 55 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..7b23ac7cb3ba --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/ti,j721e-esm.yaml @@ -0,0 +1,55 @@ +# 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: + items: + - description: the ESM register set + + 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: + - | + cbass_main { + #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 Apr 19 09:25:58 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: 85279 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp250450vqo; Wed, 19 Apr 2023 02:37:43 -0700 (PDT) X-Google-Smtp-Source: AKy350ZRxcPyJwIfwWFYJ0Kv1j/eJMHCvoK5MtaZm0pINb0lJQyNGXihk+2Vyc9dALIqQvJtmU2O X-Received: by 2002:a05:6a00:1703:b0:63d:2b95:5476 with SMTP id h3-20020a056a00170300b0063d2b955476mr3674740pfc.23.1681897062774; Wed, 19 Apr 2023 02:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681897062; cv=none; d=google.com; s=arc-20160816; b=GMCm6yA1+Z3kx0waQTWJB6VQJ6JgtpDIpanBropSRbfb7O2N0vAYE7hMSbYrpfg/zP p5+GKjTiHTc+vBuLfYDutyM2u8Xrozf3PeOTSULXv/cszkOq0+/+4LnERscjcXyhTA7N eX6vgUHHUAPaT1RjVb1CSNHDBHxjEw7Zc/G3uf8LXTycAh/+0i5a+A1CpbYqxj5SIsxo Li1Ay2gJjuQLepDXLN3EkWOk+Zf2tE+2+dmTnGAineoJjNGBjrpF4AD1yzVLrILyobLs yTYopLKmWAiN2OUo+NbNKg5Dmm3nwAqiIIlYX59mc4fIJ09X5oQjpnKh4nrceY7hKmpK wKXA== 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=Lg4eFIsdvIxTY5h2k7l/gcNeveDoxdCfWKNBWz6k4tNe1F/Qke5u30tyHJXllPG0QZ Jtg13TLrw+uG9s5Q0DQDuVk3dG1N2EvxmJ9XqDqCjiFEU4hCgsIAFx+CeCVxS8YXMjgX dprFRlJz4MddxtppdXGGmgB8X+W6DOAhwxgryUAqhnPF4CTvu0hosTtEHWSeW+yndk9B QCWaqVpXh3pNGL2Mg5VSDwHMtl+5mkcHBwUo1ajskFKMyq0kwE/oU5KHqwS3DiV6Vj9/ XkEIvFZqpNJKPTQVzJvyxDnIL94drNr5nCNcdxqIXZYQq4ZwKtLLpvmU6Tu788jrmL+v aOpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MwpF2JeU; 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 202-20020a6300d3000000b0051384f6edeasi16583974pga.537.2023.04.19.02.37.30; Wed, 19 Apr 2023 02:37: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=MwpF2JeU; 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 S232908AbjDSJ0b (ORCPT + 99 others); Wed, 19 Apr 2023 05:26:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232882AbjDSJ0Y (ORCPT ); Wed, 19 Apr 2023 05:26:24 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1911E7D96; Wed, 19 Apr 2023 02:26:21 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33J9Q9Id056234; Wed, 19 Apr 2023 04:26:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681896369; bh=Nbm2okQd9GOX9MLJ9GJdK7KWRgaCLc9q1CvXPRB4DTY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=MwpF2JeU4ys/RAPx7wVRk6VgfcdMJNrufvdfVXD5iCjKyz3RNc+rp4Tlc93z/wbVg vh1E4QhQmLUyZOm563sSowQzoNm7SbsYj3gyJLZeMm8HWP6a9w5aXTqpf0u/bGojPm P1MsAHe3kkNA9Oys0y28k2FJORYE9Ixp3QSqDNcI= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33J9Q9wZ110902 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 Apr 2023 04:26:09 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) 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.16; Wed, 19 Apr 2023 04:26:09 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE112.ent.ti.com (157.170.170.23) 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; Wed, 19 Apr 2023 04:26:09 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33J9Pxnd086968; Wed, 19 Apr 2023 04:26:06 -0500 From: Neha Malcom Francis To: , , , , CC: , , , Subject: [PATCH v2 2/3] arm64: dts: ti: k3-j721e: Add ESM support Date: Wed, 19 Apr 2023 14:55:58 +0530 Message-ID: <20230419092559.673869-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230419092559.673869-1-n-francis@ti.com> References: <20230419092559.673869-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,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?1763596894172536557?= X-GMAIL-MSGID: =?utf-8?q?1763596894172536557?= 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 Apr 19 09:25:59 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: 85278 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp250427vqo; Wed, 19 Apr 2023 02:37:40 -0700 (PDT) X-Google-Smtp-Source: AKy350b7nmtGVQkRB+51rmpe2HKVlCzdkV1+V/Jh41zSXYp7OnoERWRvGdQAX2aBsP6OiiT185hj X-Received: by 2002:a17:90b:4a82:b0:246:fbf2:7e6e with SMTP id lp2-20020a17090b4a8200b00246fbf27e6emr2108858pjb.14.1681897060543; Wed, 19 Apr 2023 02:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681897060; cv=none; d=google.com; s=arc-20160816; b=DV1EmoIpNJ3C3WMcYbhQaMPBePg4Yn3C85vLB715OvBWBMJ1/5MxJ12dTaPX1DEOw3 Q7wwfolLIOE9DStS3jUoPq2qibP750UTrFFODGI7WVE36c05//J6DTGDvN/d5hKOneHI WiDTekPs1NvFJZaoWXvZ/JUVKnF6MzveHcTcpz8KN7Gyh+o5iyAZ2B2G5m2hjRxhWRFh RGUg/XhhouTwLbT8/PVx23BzO7wrRSAXk8/A8wDosPSEbFpwbrmOZewRS5P1zNkZS9HK 3FaoueU2rukPJFtlBysZUeqWQhLONkmQnOSegliVwvFxuz5sqqDKONAGR7N0aUBjZivy fs7A== 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=d5c0P8HebI9S0euHQcxlMgeGmDjXje5Bg4+LGNCzGmNw3eI6zcnbAJPYx4I/NsYO2S CtJXpgObOn6a3mS5QB9BxjtwPLwwCl16+hsPjB6kgg0IjSpefyPqQM5C8yqYJ3qM+1QL 9GY1b99CqxscCFo/p/YXW9jk2TqVpJCFHbVI0dHbiQ57VvS5LBG9M7wpv8m7aRY2M6s9 ZJp80kdrONMaAITG23apBkg4bWhC6rrNpURVH74pSfwjiwmOxNXB4b1Y+SrkBajESISE wDEP22dZneJ9yPIbg5CWhNLY1MGDZeQfV3PU/NPV/nQ+mkNAb1kj+GZ5MNZ63e/A5mwF JHFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="j5C/WITB"; 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 nl15-20020a17090b384f00b0024743ec226dsi1605718pjb.70.2023.04.19.02.37.28; Wed, 19 Apr 2023 02:37:40 -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="j5C/WITB"; 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 S232887AbjDSJ01 (ORCPT + 99 others); Wed, 19 Apr 2023 05:26:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232871AbjDSJ0T (ORCPT ); Wed, 19 Apr 2023 05:26:19 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 533EBB757; Wed, 19 Apr 2023 02:26:18 -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 33J9QCC6071125; Wed, 19 Apr 2023 04:26:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681896372; bh=1GIZKi464DswWpYYI8PkLUvrxRe5Lbt01DrvEsUrNoA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=j5C/WITB979BOAlt3y38DfYLmqbU3JHYq4+n4R6YnYDB0mQHJEcsOkWefztvPLZLU vd9WpLGQ9Uj8qCb2XztsVUExCfpGq6o+yY6+YJvjd+nncQWJvpA+NowMnf4egXFuFj amkIqKQEq8fqv5ownchY53Uk/PiqGnZpZme/BZoI= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33J9QC1N011638 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 Apr 2023 04:26:12 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 19 Apr 2023 04:26:12 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE105.ent.ti.com (157.170.170.35) 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; Wed, 19 Apr 2023 04:26:12 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33J9Pxne086968; Wed, 19 Apr 2023 04:26:09 -0500 From: Neha Malcom Francis To: , , , , CC: , , , Subject: [PATCH v2 3/3] arm64: dts: ti: k3-j7200: Add ESM support Date: Wed, 19 Apr 2023 14:55:59 +0530 Message-ID: <20230419092559.673869-4-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230419092559.673869-1-n-francis@ti.com> References: <20230419092559.673869-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,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?1763596892452275095?= X-GMAIL-MSGID: =?utf-8?q?1763596892452275095?= 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 */