Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2547628rdh; Sun, 29 Oct 2023 23:32:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFaWXI6tiVvIdsSVKeLse9Bq0Ye6GAgEHonf+tlnbjv3r6JK1C+pzX+bMiyO55LiNzqbooi X-Received: by 2002:a05:6358:881f:b0:168:e322:105a with SMTP id hv31-20020a056358881f00b00168e322105amr11720106rwb.23.1698647534061; Sun, 29 Oct 2023 23:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698647534; cv=none; d=google.com; s=arc-20160816; b=xQpwEAr9KKM5LU6zD8osQLnCvbjfsg1LS85SArRP+x3YhyGowp/TMvnzvy21ti4EId xJ3QSS5UQRRhW+R0/0D3R65BumcsmytbqH4Vtnrkq35k0vLZtNTDM0pGgCl3VR8xha4M D82bjpcjF/R17i8Z84qfAI7h2sGGBduz4+3gMsumS33EaPVqii5WZNVQehmsRr4B1Klp 3q2R1GBJezhvVSKfUgASdUttmG2cRLbXIBpyClrKFcQDthfN+SGUyCzZnkmAtqFQVBgD 8Gjhdv0NzofXIhOtrb5BJ5bFUzVAwNOGhpQ+6uANSxnWQBuw1tswY5bZZ6zmtquszG+G QsgQ== 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=OtZFtIFREEESTg5HAudJttlbJ/qTUDF7HYozNKuBTlc=; fh=wRy+0P4PRbqeISr0G5B5SsLmRsUbmsPjMVMxcl8infM=; b=DeWdbk8txspijRA87XE5CohsxgZ/tkliujzcJrXGyiiMrrHzyTTRGh72gJwobXeQ1a VXcvvlP4PjV0WKxZ5WNF72QfQHZSa8zBjmxt0Ib7CXjMJOxrgGkD9DRKQqF8XYqz20/b 5LaUY6peXMiel8MhyWv+/vWKJTrqWYmHHZpjzT2mjBrcWkvScCW9raiRpXs8ZxJAfy5p 3nKiouPklHQ+37qhVxS5haT0vgfcumxvqu7/0i1acGsY3uxSXUYAucj66SJoKh/BBg6F KrOtdsxbNqn8NIRx0c/2qfAdDXeCKxR2qLL9fE3toK1UVizt6q87A8BuxzDaNcnry5Ys ssqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Ivh1PAoj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id bx38-20020a056a02052600b00563f627f2easi1540668pgb.122.2023.10.29.23.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 23:32:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Ivh1PAoj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 12F2C8052585; Sun, 29 Oct 2023 23:32:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231626AbjJ3Gbz (ORCPT + 99 others); Mon, 30 Oct 2023 02:31:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231483AbjJ3Gbu (ORCPT ); Mon, 30 Oct 2023 02:31:50 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46723FE; Sun, 29 Oct 2023 23:31:23 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39U6VD1Z019513; Mon, 30 Oct 2023 01:31:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1698647473; bh=OtZFtIFREEESTg5HAudJttlbJ/qTUDF7HYozNKuBTlc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Ivh1PAojPU857VrQcoxZpWW/eSgNwAFcoFWztyCjgpcJ+drp7NY/ZL42Vn9aGDUXh r5WpvVkv2mwZgMcvKg32ZIRxfnn6+wAoUcjdeADZFqTyg85R9iTnKhEtsqhc4rv+8P EhdRqMh2ZmMoaGDDnvSsSJEFXuHxnvPhS2tXDLPY= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39U6VDxu015572 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 30 Oct 2023 01:31:13 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 30 Oct 2023 01:31:12 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE106.ent.ti.com (10.64.6.27) 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, 30 Oct 2023 01:31:12 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39U6VCGC026352; Mon, 30 Oct 2023 01:31:12 -0500 From: Nitin Yadav To: , , , , , CC: , , Subject: [PATCH v2 2/2] arm64: dts: ti: k3-am62a7-sk: Enable eMMC support Date: Mon, 30 Oct 2023 12:01:08 +0530 Message-ID: <20231030063108.1242981-3-n-yadav@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231030063108.1242981-1-n-yadav@ti.com> References: <20231030063108.1242981-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=-1.3 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 howler.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 (howler.vger.email [0.0.0.0]); Sun, 29 Oct 2023 23:32:09 -0700 (PDT) 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: Nitin Yadav --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index cff283c75f8e..c6f144d91734 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; }; @@ -172,6 +173,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 */ @@ -361,3 +378,11 @@ cpsw3g_phy0: ethernet-phy@0 { ti,min-output-impedance; }; }; + +&sdhci0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc0_pins_default>; + ti,driver-strength-ohm = <50>; + disable-wp; +}; -- 2.25.1