From patchwork Thu May 4 08:05: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: 90005 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp164285vqo; Thu, 4 May 2023 02:11:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6IU7VRfVv8z050y2wUSI3ct89xzXFLh29j1JM0HDoWBaeneuPp0I/R7Ga1J60kFZlNzUY0 X-Received: by 2002:a17:903:230e:b0:1a6:8031:59e7 with SMTP id d14-20020a170903230e00b001a6803159e7mr3664240plh.46.1683191501470; Thu, 04 May 2023 02:11:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683191501; cv=none; d=google.com; s=arc-20160816; b=lxcjP8zLr24DsYd2n8pFDxb8HMnLXvtaV6MnIdOmeqEtFz5NOT2JzwFS/BwbZvKhHu 5fvrmpjUDzvsw3AHXFK0UJXUPtKjgpg0NsX4boFpCNqDt0vDMvwz9ElUH8fhUO58mBev NayzvY7G+aggT05mXCAeDMk3gfgFGGModPZgvl0O2n4dDlfDK20KMqBi97Ksj2xza6Ue o56E3aGkLj4cQhCqMWvsWKJZhAFe0CJfYBYM5O/Lf/hz0MOsljySnNluM1jad9tuiEbR ol6uAZMaGGuloT7XQYSFWrICYQLoURb9YjF2iwNU9vI5h2drLRN5NS73mzN3NSxQ/RHL 8JiA== 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=R7ouxuuV6fDhfgxs01HxtwpzxJO+rPrpfy9H/+mYLii/jsaxhifDXwme/SfMJHWflD GTwH4glf6Yic2smkkA5GYVmFsh13ZsIh1/3qiv+IaIaCZ1BJftF8wamqDtEn3erHE1dG CbD8CHrBndPd6geC9RwfotNsJcEyhsHwqnaC3C8IDq+vTCTV63KfsrdgrtKjEZbWpwqn 5MdiSAxWo96MjhmwHybNjnUn4VTjDIb5em9SbovWvIVVaXu2yrMmuQZ9VHSZEwRO4Nza K+G82mH8pcJiLcwMnWzmqMCLnkXcl2IC1CyWiE+3BC2eC5fw2c+qHmsB8YwfGGorUDwi mW2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ITSCxuRO; 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-20020a170902e84900b001a804319df8si38076147plg.391.2023.05.04.02.11.26; Thu, 04 May 2023 02:11:41 -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=ITSCxuRO; 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 S229577AbjEDI16 (ORCPT + 99 others); Thu, 4 May 2023 04:27:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229745AbjEDI1H (ORCPT ); Thu, 4 May 2023 04:27:07 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 331008692; Thu, 4 May 2023 01:19:49 -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 34485aI7087751; Thu, 4 May 2023 03:05:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683187536; bh=yzKY0j1IN0uVnmTekTQ5bwgUObuyqL70kFDbyTxDOec=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ITSCxuRORX7l0pKWGegNzGa2za1bt7RziDH6UHQbwfbKaf8cPifgPjprVdLaqmh/3 hMY5/W+gWdo9PVDV92bnz5dKWJfaKimnJKnscvPfATTWxzYkAMYtqfLOzfmg+F1Z/W iFgej3KBa+ay57usokUbahxomQFaiPxMN4bkq+C4= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34485au9109317 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 May 2023 03:05:36 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 4 May 2023 03:05:36 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Thu, 4 May 2023 03:05:36 -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 34485R1Q090093; Thu, 4 May 2023 03:05:34 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , Subject: [PATCH v6 2/3] arm64: dts: ti: k3-j721e: Add ESM support Date: Thu, 4 May 2023 13:35:25 +0530 Message-ID: <20230504080526.133149-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230504080526.133149-1-n-francis@ti.com> References: <20230504080526.133149-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?1764954212081385075?= X-GMAIL-MSGID: =?utf-8?q?1764954212081385075?= 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 */