Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1357372rdb; Tue, 30 Jan 2024 16:39:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHsfrrnawUKT4UD6aL+WYnEVXUqyixZ7AcQz2ZGBixa6stA39ydQFr54QIERFtAWgbccC5 X-Received: by 2002:a17:906:4f08:b0:a2f:ca2b:30a6 with SMTP id t8-20020a1709064f0800b00a2fca2b30a6mr29998eju.21.1706661546803; Tue, 30 Jan 2024 16:39:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706661546; cv=pass; d=google.com; s=arc-20160816; b=Vn6c8p826rXGYZC+YB4Wo6tm94t+zjGbdES5FVisI8TT0tTlZPKh0EEdrvxzu1ur9+ YdfyfhXOpPnn5pDNSxU6uzT4j7NVpAZr/yK4mwoixUJ0RS+KRBq5Fagsmizzao4vrKC8 D2b0b+P2aus7rG1bCQb5BI53xsOBF/wxiOYLtq3/vB9lAhMJnwkkI6m7ZPRSShICLXeO INpj5bmVTmZT2WJyQ5gplNfg0CIU0S/S4AS+q81QsAWvOEFm2u87NlXUss5HF9+W6YIL 264dpNCc/OsR3cf1SnS7djsCfbvfqRt7Fd3QMu7p8PKrAo4qNM55FGjVR938tUebfkNz MmtQ== 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=zkwcrne0XbKEdytWqRh3uctBmYEsUgvOo74fiuH10tc=; fh=emBJDS9zxJpQQ3c4GZNJbW5kRGG+tTbhFMC/igp/6iw=; b=JgjaVGaIjTw0iNetzZv8BHUpjT+WafJm7H/eRbQ6T8QmvhUzb2lSmy8tKtu+KoQr0l Q86T6xUCd+AX5uDrASzKboJ4U+K4NW8R0CRYRdIbxqwfeSOvzbgNoHatdAtFqoSfnV98 xlVz/2aR3TK7xGkp/XQRXs4GpBueHQTGqnsLbrefNDanR9/KPZ0juxVzPQmogCsBqklh 1D0Tx54EELj3nPF/3hZFX9wQGlOAK70uj6668D3FHppPXoAY2+KjvbMnk2bfMlQn/Gms VvWrckvPJal/A/BKvH4LNfoehjs//Hw/+7zd0YTSYLUf/vwtaZ6+1i1Dxu+E+drXGmyt +kcg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=U+93OxQn; 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-45530-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45530-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCU5nAotr23CchrWGJ+PxqtTwxhKoddeWvJnlpWI912gcdLIIPwlgSbLaQjb5kRdFzuHUF0JcWPBdTpSneGwUFNjUBhW3VRbTDwK5mzkPA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f17-20020a1709062c5100b00a312610847asi4963932ejh.48.2024.01.30.16.39.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 16:39:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45530-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=U+93OxQn; 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-45530-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45530-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 88E7B1F25EFE for ; Wed, 31 Jan 2024 00:39:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28EAAEAE4; Wed, 31 Jan 2024 00:37:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="U+93OxQn" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 40C461FBA; Wed, 31 Jan 2024 00:37:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706661446; cv=none; b=XzunxncAkKJlnoXWamRIIh9NfEL2aHNuPKWR14xo5iMNRV2YSSiUoRyM1dvtcZnSkxk2P05qd7q+kAQlTFVzvelVlwvaAjIQnFI7lOchrTYBa3mrFYbk8ufn5uPm/OF6IYmgJfqN5uY2ge1YfJJq04XCN/D5krw6xrGxSCQI8ao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706661446; c=relaxed/simple; bh=BaJ+2pN6/A+fuLA4/j8U/u2l/DCl6yBJ76g7kV3qe+I=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=C8kS1IsabY18p6kWJZN7qg3pwVc78VSyNoDwfX5AOr3ON/LgethONO8kVOkVw55UL2qpTMzJ7YXpECQgNEoIlzXca9JrRF90pv4LIJeNu0SkfAAVSQLhyFDzka7bLd+vVVdZFKoPZKT9p6YaIBu7xEr/S9/4B0ItIoBVZu5zSSU= 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=U+93OxQn; arc=none smtp.client-ip=198.47.19.142 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 fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40V0bFfu031424; Tue, 30 Jan 2024 18:37:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706661435; bh=zkwcrne0XbKEdytWqRh3uctBmYEsUgvOo74fiuH10tc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=U+93OxQnFYfXp6bS+nzW4mNXgE8deqHaDK3AtDZmleAXKR0qgXmx99GBMblzV/VgV Y2RQtKn117zzWYH6JO1KF5FPWRnGCzg57t3g6EKBJg1WnkajMjOgBjmMgVfwTTGsK9 j814DUUKyDSDdrEgkdNm9i2DitnFlC8/Sv+YwFtA= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40V0bF5u030616 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 30 Jan 2024 18:37:15 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 30 Jan 2024 18:37:15 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE108.ent.ti.com (157.170.170.38) 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, 30 Jan 2024 18:37:15 -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 40V0bEwE026520; Tue, 30 Jan 2024 18:37:15 -0600 From: Judith Mendez To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Adrian Hunter , , , Nishanth Menon , Vignesh Raghavendra , Andrew Davis , Udit Kumar , Roger Quadros , , Randolph Sapp Subject: [RFC PATCH 07/13] arm64: dts: ti: k3-am62a7-sk: Enable eMMC support Date: Tue, 30 Jan 2024 18:37:08 -0600 Message-ID: <20240131003714.2779593-8-jm@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131003714.2779593-1-jm@ti.com> References: <20240131003714.2779593-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 From: Nitin Yadav Add support for 32GB eMMC card on AM62A7 SK. Includes adding mmc0 pins settings. Add mmc0 alias for sdhci0 in k3-am62a7-sk.dts. Signed-off-by: Judith Mendez Signed-off-by: Nitin Yadav --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index 7b7142586295..2497acc0dd60 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; }; @@ -218,6 +219,22 @@ AM62AX_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ >; }; + main_mmc0_pins_default: main-mmc0-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ + AM62AX_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLKLB */ + AM62AX_IOPAD(0x21c, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ + AM62AX_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */ + AM62AX_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */ + AM62AX_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */ + AM62AX_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */ + AM62AX_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */ + AM62AX_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */ + AM62AX_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */ + AM62AX_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */ + >; + }; + main_mmc1_pins_default: main-mmc1-default-pins { pinctrl-single,pins = < AM62AX_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ @@ -475,6 +492,15 @@ &main_i2c2 { clock-frequency = <400000>; }; +&sdhci0 { + /* eMMC */ + status = "okay"; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc0_pins_default>; + disable-wp; +}; + &sdhci1 { /* SD/MMC */ status = "okay"; -- 2.34.1