From patchwork Tue Feb 13 00:24:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 200120 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp266335dyb; Mon, 12 Feb 2024 17:20:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXHYEzgF0NQ5j1gX+mpufnuWFYwK+HCPXhaejpkK8Nk3sOmhzejCEy/RobtBiz1Pj5a+R5u8HHwMb+o/OXhii1iMfJTdA== X-Google-Smtp-Source: AGHT+IHQcvqbgi8I1jVdO7qbKuKnqthk76Fqm0A1eozFQPK+RKxQvO5GXw8pkhdqDMtIrZP67QTr X-Received: by 2002:a62:e309:0:b0:6e0:dc68:409d with SMTP id g9-20020a62e309000000b006e0dc68409dmr3691668pfh.2.1707787226370; Mon, 12 Feb 2024 17:20:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707787226; cv=pass; d=google.com; s=arc-20160816; b=IgCxEmVTY/7KPr9llPp95KJEg5fLbNyAdpfV7Q1yB2Cqyav4BKIokWJEnn0yijjj/b oHbFxvRyCsCniVstBq3bhu3p1un9JdGojFMVas1xcDwrI6CZhqSOnLiTO2RkcvvtRMLf MfjNBxQoWox8LwT89MfjobHAxgz27Aj5gaApsaYLIpX2DmEny6SZlMcVU1uB3tgecWBE aac+dkokvHNXrfCoEY2JDSx398pyp2+x7HuferLkzkhGQH/Xd3vyr0F8nP9HZvXNls/i DI+WJBuBW/gke8q1cbC+kK4N0YRQJUgVZbFUCznWO0GkFrShu5YCOYlAm7opKmPmHZ+g Bx3w== 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=aKC3bNCwNMsnTfZxsiEGvPlTn9Qm7mUqp3b7qpQ++Lc=; fh=KUkd5BhFABskBquNCbCRGqPUCn/D3Omi3REbo99d/qw=; b=heRdqm4Ze1tWE1eXtgxt14T+g2UCXpBjeOE6cmjVJ/MS1U1By3NHudLeITPxK4bmLD AWRfMBYRtWFHvcpwLTcgS9V4AulpJlk7s5OGBmjpb/dMgtOZU8jLIz3P0FmaLViIDRuw wHMwl4Uz6nfZv9Yln0TncW9MzMJuunY2v16LuzwcULTXM9QWdJhvzVZuqFya1667YEhr qpwgZvdLTC7OyeSFjCoIcw4A1HlK2/3S4gxh02jD/azE3ouonrr62UUyvT5Wv8AR1YRT st5Cd0QBNGMosMuvayeQfg8GTP6O1N541Q51sgulNYfF81HraUE+VJs1126em3U2J67d +4SA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hJVQXkr0; 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-62754-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62754-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCXF44eGtWazxvG5/G7ZrxGl7P9hdjyjXBFV4snlBPU/nbKqECgrCOYrJpEbJu+kZ5quc63HXiSmT9NsyIxrLS56BBYDQg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id dq8-20020a056a020f8800b005b86142ee56si1070139pgb.277.2024.02.12.17.20.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 17:20:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62754-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hJVQXkr0; 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-62754-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62754-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E9853286808 for ; Tue, 13 Feb 2024 01:11:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 308EC1353F2; Tue, 13 Feb 2024 00:24:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="hJVQXkr0" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 53ED5130AD8; Tue, 13 Feb 2024 00:24:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707783876; cv=none; b=kJyAtgqF/a3ic7KDMWEw8ZEJkTfeJ1w0QNlE+VwYdYyIUwKt031L4BMnl7BmmqrSmN5PhSyhY+RwBMgZvr3NvEgodrKaar7NU3ptUvsZy7We0QCBlJeqNH58jWrPJEE4WMrKpj3TaOC2V3WQKegEGu1qkKD6c9EcMe3j6m/tS2M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707783876; c=relaxed/simple; bh=1k0cCcnPSIAEDeivS8TGmRqODSX3jEw9ruc/JVokoiQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fwTsaxv+1nXOTPy9whDv0zn8dah5Cci6XhGDEPDHzYRLtG8piYJ1XLQ+TmaSANNDPWI9PkL7Kfv/g83w7m6m5nNm/RMeX9Vgh57/gJe7ArPfSrFPw2BroJBTvsj33CFB1AC4RNP+Qfxm+X4nXt5eKUDdbm6KJJmz3kQcKkKDe+k= 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=hJVQXkr0; arc=none smtp.client-ip=198.47.19.141 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 lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41D0OHHk061428; Mon, 12 Feb 2024 18:24:17 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707783857; bh=aKC3bNCwNMsnTfZxsiEGvPlTn9Qm7mUqp3b7qpQ++Lc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hJVQXkr0Km3ROghV+J+d0jrBk8PFyabf6Y4YQV24peNS8r8p+thX3l/wBpHhuZdic jkeRBhrqhN7r4AOtk6uzolk+xfuVJ34Nvun8bINj0fHLpwBLUVv3z6ECN0gXCR6F4E bxMDlIt5S7kFFbk49WMCKFV2Z0qgMqdPC7mEKfmA= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41D0OHP1022914 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 12 Feb 2024 18:24:17 -0600 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 12 Feb 2024 18:24:16 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE106.ent.ti.com (157.170.170.36) 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; Mon, 12 Feb 2024 18:24:16 -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 41D0OGXg119810; Mon, 12 Feb 2024 18:24:16 -0600 From: Judith Mendez To: Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , , , , Wadim Egorov , Francesco Dolcini Subject: [PATCH v2 2/9] arm64: dts: ti: k3-am62a-main: Add sdhci2 instance Date: Mon, 12 Feb 2024 18:24:09 -0600 Message-ID: <20240213002416.1560357-3-jm@ti.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213002416.1560357-1-jm@ti.com> References: <20240213002416.1560357-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: 1790744698471970612 X-GMAIL-MSGID: 1790744698471970612 Add sdhci2 DT node in k3-am62a-main for mmc2. Add otap/itap values according to the datasheet[0], Refer to Table 7-97. [0] https://www.ti.com/lit/ds/symlink/am62a3.pdf Signed-off-by: Judith Mendez --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index ce5f278235a4..6806288ec227 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -579,6 +579,30 @@ sdhci1: mmc@fa00000 { status = "disabled"; }; + sdhci2: mmc@fa20000 { + compatible = "ti,am62-sdhci"; + reg = <0x00 0xfa20000 0x00 0x260>, <0x00 0xfa28000 0x00 0x134>; + interrupts = ; + power-domains = <&k3_pds 184 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 184 5>, <&k3_clks 184 6>; + clock-names = "clk_ahb", "clk_xin"; + bus-width = <4>; + ti,clkbuf-sel = <0x7>; + ti,otap-del-sel-legacy = <0x0>; + ti,otap-del-sel-sd-hs = <0x0>; + ti,otap-del-sel-sdr12 = <0xf>; + ti,otap-del-sel-sdr25 = <0xf>; + ti,otap-del-sel-sdr50 = <0xc>; + ti,otap-del-sel-sdr104 = <0x6>; + ti,otap-del-sel-ddr50 = <0x9>; + ti,itap-del-sel-legacy = <0x0>; + ti,itap-del-sel-sd-hs = <0x0>; + ti,itap-del-sel-sdr12 = <0x0>; + ti,itap-del-sel-sdr25 = <0x0>; + no-1-8-v; + status = "disabled"; + }; + usbss0: dwc3-usb@f900000 { compatible = "ti,am62-usb"; reg = <0x00 0x0f900000 0x00 0x800>;