Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1029522rdh; Fri, 27 Oct 2023 02:40:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGOUl+e+4sBIRBxi1sClPdaqB1fwpGhp50RfqOl6411oniLILYQ6YsIUthF8YzfmKxniU7 X-Received: by 2002:a05:6808:313:b0:3ad:ff3e:d25c with SMTP id i19-20020a056808031300b003adff3ed25cmr2193238oie.53.1698399620538; Fri, 27 Oct 2023 02:40:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698399620; cv=none; d=google.com; s=arc-20160816; b=eSb2kw0cI0nBdOl3/N6IeZ3N2p9Jd45AXkDl0VBzoEkSFIo5L2LAlqpW0K57/kb2oh Vp43DBJai0s17/f+88XI5srG5zui4ZpquEzZaYDAfTa7h21881/SxCAeKNMUgSOlXI+h rWCx8x4psQmj1jgIf0cKmXpEJOY0BQ4okIwvBnhvYqnLkoAQlthpM0VaHn3T05dRuuzw 5C55MvnZIxd6TklG+b+uHNa9Bf6mpTVt+2J68EYfG00ehxoLP/191uqnbr1wwNDzZjL+ TXZRBWlwyjXup8Zb0w4OvJ8vwpxV8IJqDXwX/+AV+ghLA5eV62FJVOpOy692DbZwubbp Enpw== 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=y2HnaShG1My+Rhxm7MXQ+jmvrrByF13Z+nsGkazdRWU=; fh=wRy+0P4PRbqeISr0G5B5SsLmRsUbmsPjMVMxcl8infM=; b=hXAqWOtQcWOuwLwsat/8JZtQfU7KFZ3xxeGynFJ7d8WIdW2D/2LwtTaCdDh2doMvA1 QsQMjszl9+jKo+AoqB76IUL2WPmFXMR1aPOxPPdOlvL+TQ6u5b/WAFnFwA1qm/Did9o5 F3TyYb8JviRhWs0VSQTCCvMph+ml7xrA0JlLRrWyq2BW1d5gcQFO4DuHGJFgoT6RYZa6 15mIehbufRJ1s7/B+/m1q8epK9NyRmDZsCBib+A6hg0alTLEnHnqLEGp5yjAoGG7qyq5 /bo7l7GQSRSnZGXis6i1QxVvDoNCwMyjK6GMB8/ry62mN2WucZGdQOXxSzqvhBcx91s/ sXzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TvEQYPsp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id l16-20020a25bf90000000b00da04e991408si1865886ybk.439.2023.10.27.02.40.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 02:40:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TvEQYPsp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6FB278239104; Fri, 27 Oct 2023 02:40:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345581AbjJ0JkG (ORCPT + 99 others); Fri, 27 Oct 2023 05:40:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231461AbjJ0JkE (ORCPT ); Fri, 27 Oct 2023 05:40:04 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 666A29C; Fri, 27 Oct 2023 02:40:02 -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 39R9drA6008704; Fri, 27 Oct 2023 04:39:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1698399593; bh=y2HnaShG1My+Rhxm7MXQ+jmvrrByF13Z+nsGkazdRWU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TvEQYPspN4O3ug9Yo9H5h/E+l/7BzY1f5MY3lfQd27c4xzFNR6GlGjcAJptOhdli6 15W5C71c9l+X+LpwufdAegsMk/BGjUn06vYwLp9zmTGGtOav7Sys1rV6HF+xPjnT7a jurAJWKYMG4uQIZE98VbvF2k8KKbyVlfnB2pCzts= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39R9dqd3047440 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 27 Oct 2023 04:39:53 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) 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.23; Fri, 27 Oct 2023 04:39:52 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE109.ent.ti.com (10.64.6.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; Fri, 27 Oct 2023 04:39:52 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39R9dpJI075082; Fri, 27 Oct 2023 04:39:52 -0500 From: Nitin Yadav To: , , , , , CC: , , Subject: [PATCH 1/2] arm64: dts: ti: k3-am62a-main: Add sdhci0 instance Date: Fri, 27 Oct 2023 15:09:49 +0530 Message-ID: <20231027093950.1202549-2-n-yadav@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231027093950.1202549-1-n-yadav@ti.com> References: <20231027093950.1202549-1-n-yadav@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 27 Oct 2023 02:40:15 -0700 (PDT) Add sdhci0 DT node in k3-am62a-main for eMMC support. Droping ITAP values as they are NA in datasheet[0] for lower speed modes. Add mmc0 alias for sdhci0 in k3-am62a7-sk.dts. [0]https://www.ti.com/lit/gpn/am62a3 Table: 7-79 (Page No. 179) Signed-off-by: Nitin Yadav --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 19 +++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 1 + 2 files changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index de36abb243f1..89b8b7d302cd 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -488,6 +488,25 @@ main_gpio1: gpio@601000 { status = "disabled"; }; + sdhci0: mmc@fa10000 { + compatible = "ti,am62-sdhci"; + reg = <0x00 0xfa10000 0x00 0x260>, <0x00 0xfa18000 0x00 0x134>; + interrupts = ; + power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 57 5>, <&k3_clks 57 6>; + clock-names = "clk_ahb", "clk_xin"; + assigned-clocks = <&k3_clks 57 6>; + assigned-clock-parents = <&k3_clks 57 8>; + mmc-hs200-1_8v; + ti,trm-icp = <0x2>; + ti,otap-del-sel-legacy = <0x0>; + ti,otap-del-sel-mmc-hs = <0x0>; + ti,otap-del-sel-hs200 = <0x6>; + bus-width = <8>; + ti,clkbuf-sel = <0x7>; + status = "disabled"; + }; + sdhci1: mmc@fa00000 { compatible = "ti,am62-sdhci"; reg = <0x00 0xfa00000 0x00 0x260>, <0x00 0xfa08000 0x00 0x134>; diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index cff283c75f8e..5d28c390b28e 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -20,6 +20,7 @@ aliases { serial0 = &wkup_uart0; serial2 = &main_uart0; serial3 = &main_uart1; + mmc0 = &sdhci0; mmc1 = &sdhci1; }; -- 2.25.1