From patchwork Tue Feb 13 23:56:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 200757 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp891638dyb; Tue, 13 Feb 2024 16:20:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWNG+P7RR3Ehhk6o4Xfe5hpaDtQDIwFoj08syPXLU/K0Z4ZPyK0Ar2ge1/QKUPNdCWCNIWYt36u3+/0ziOVTDORZsK8qg== X-Google-Smtp-Source: AGHT+IEWltDrqEfhwH0/x+gNeYmUDr/Q+vHknE49q3d6d2myH2pQX8DdUfi9l2Bw/khrQd3v8PYD X-Received: by 2002:a17:902:ee02:b0:1d9:1b55:a37 with SMTP id z2-20020a170902ee0200b001d91b550a37mr1053613plb.50.1707870021906; Tue, 13 Feb 2024 16:20:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707870021; cv=pass; d=google.com; s=arc-20160816; b=JjmTzNwd0Bmkrs8td08H+0899le6+lv6ZWZPUlxG0mmHFd6T5KkDu++rZ1/nLXZSgU 1mCF4YBKt7fziH/m4wDXqRRQbuySmlRLyvc5RWNsBFXzNVNbxWJlNnIeIde8p6rU9qnc 5tKqkD/Mw+7uFTnANlTd8MLU+N7GxWK0P60BzSlQEbUi9kF8Cs8nZi58MdFeuTyXpEuY 8TqsxFPIFwNCmVmS5Banl3JRtG/BFMtbsFwjKWwRoOMPoKIsYobBNh5AzzZpjo+bkh3i hdQhli4O24uoTxOK26/jMpnELkrPmdfOiRozdr9RQQ1BZhPZbH0ad06kDgY53dhKm9u7 dykw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OYMUtm7mcaGUZqYkatydGnP5VB4U9ZqqxfxUI7h4/CA=; fh=/GP4CB53/UnTmM58buN0Q86qC3lIA2CsLdgKYB+wOQY=; b=ywv7+XFSYYuXhHJsY9KU1ieC2pRzpDwYRisUAapVQuRrhkOb/J5TTH3ey1+ADftiCW qQAKsGXoiLZ0iDskZ+jgAB9QykhcvTrxAPBTikYd1MJK6DMNZV6KpwL1IbsGBOdoefVq tqU7kJc+gyqX1FJE/QHlmH1/LJbcMpY64tXp7e3RBwAsseI7DJFWkgAFuIGAzOKxIlHv 9i/nchCchytmBE6s/MABACfo9dalaOscnQ7KowrgMNbXgSBtgV4+57wDxJmX8A6JX/Dg WtsNZwHh1M62Jgx+l9xQmXO5uBNSpOKGmJnC2EWB+fGAfwy9qBJ3SZITFMSolRNpIojk 6uqA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w5NHqP36; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-64575-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64575-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCV//zvy/gLaG5PoE6DKoDBJMdiImp7Gec9H8BJn+ndnxf3OA0iflaYZNJV/vrXHvHIePdN6v+fqgKtMyMWYGxrcUmjWpA== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lm13-20020a170903298d00b001db28ba8ca0si2868543plb.54.2024.02.13.16.20.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 16:20:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64575-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w5NHqP36; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-64575-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64575-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E4EAAB28FF6 for ; Tue, 13 Feb 2024 23:58:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 791C964CC4; Tue, 13 Feb 2024 23:57:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="w5NHqP36" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42F22633E3; Tue, 13 Feb 2024 23:57:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707868637; cv=none; b=nBB1PIrgomj1CTB9LqLOxr4lEoe8zIiZ5oGi1G8LBp3zHjNSG192XqIJqYqJLs1SAIYKiA1Pp/sAlfXUkSxXtYQxhmCKwiEJJEy5oNNFfLDAjnaawY0Ac6JFIYimuJSXfv59Bfdlrn8ldEN9hORWE8CGdlwkF/5up5qkprS66iA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707868637; c=relaxed/simple; bh=RliZgGwqkdZMf6oC5R6Ye0DRZwveQJjMq0kaUpVdYyc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Xn6duhEc81H2MUQCsJ/dkKcG5OUKvmdkkXHO8jHYqmPuP/mPhFwC1tDG2MNmW0Pjp11JreahFGs0GpLU9TjQX728XD6GhnYZCqP4dqKmTpeNYOHSnmkiW0x3KWiksTt6HBXdUlp23Im31UhwfYLS3mET58GJPktFFoTtYYKAQlI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=w5NHqP36; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41DNv1eO011587; Tue, 13 Feb 2024 17:57:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707868621; bh=OYMUtm7mcaGUZqYkatydGnP5VB4U9ZqqxfxUI7h4/CA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=w5NHqP36UW8VxqgJLjKK4vVsybPjPgy6SxUTycDjrPAMvGf5+sSM8c7l9rNBCbi8b QUtahuij9zVSURNEumFTxdMz6zGJOdludmf15Y+yKmsuU84gV+0DbEB+xAfFVkQLXw J2Hl83ylIEelThaxVS3RkHi8xWOJ4zdS6ASNxWkM= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41DNv1aQ074637 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 13 Feb 2024 17:57:01 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 13 Feb 2024 17:57:01 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE102.ent.ti.com (10.64.6.23) 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; Tue, 13 Feb 2024 17:57:01 -0600 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41DNv1R5091761; Tue, 13 Feb 2024 17:57:01 -0600 From: Judith Mendez To: Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , , , , Wadim Egorov , Francesco Dolcini Subject: [PATCH v3 1/9] arm64: dts: ti: k3-am62a-main: Add sdhci0 instance Date: Tue, 13 Feb 2024 17:56:53 -0600 Message-ID: <20240213235701.2438513-2-jm@ti.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213235701.2438513-1-jm@ti.com> References: <20240213235701.2438513-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790831515910900160 X-GMAIL-MSGID: 1790831515910900160 From: Nitin Yadav Add sdhci0 DT node in k3-am62a-main for eMMC support. Add otap/itap values according to the datasheet[0], refer to Table 7-79. [0] https://www.ti.com/lit/ds/symlink/am62a3.pdf Signed-off-by: Nitin Yadav Signed-off-by: Judith Mendez --- Changes since V3: - No change --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index 972971159a62..ce5f278235a4 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -536,6 +536,24 @@ 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>; + bus-width = <8>; + mmc-hs200-1_8v; + ti,clkbuf-sel = <0x7>; + ti,otap-del-sel-legacy = <0x0>; + ti,otap-del-sel-mmc-hs = <0x0>; + ti,otap-del-sel-hs200 = <0x6>; + status = "disabled"; + }; + sdhci1: mmc@fa00000 { compatible = "ti,am62-sdhci"; reg = <0x00 0xfa00000 0x00 0x260>, <0x00 0xfa08000 0x00 0x134>;