Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1029589rdh; Fri, 27 Oct 2023 02:40:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8nzkscfluxoK2IuKiWuiLSlRTWlSsyobJWiJ7sgnPgCddiPFv48Xyh7jUL/60TM7Uk9jz X-Received: by 2002:a05:6808:68d:b0:3af:9866:2481 with SMTP id k13-20020a056808068d00b003af98662481mr1778740oig.11.1698399631112; Fri, 27 Oct 2023 02:40:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698399631; cv=none; d=google.com; s=arc-20160816; b=pysUnJB2s52kNrcpiaNjT7p2vNlEg4sPSOMdCDgdx/5HgD6mssoxEO+I0my6W+NvB9 33aV7B2GmI6k/IpcKDP/UJxHaKUMiJXWGHg280rLzsc1h9heXLWUa4cmei7or7MuCFyV v/uVXwTL7c8dKa359RQUdJu8L0WtqGKOwAfHDeeeEAaMT/qZFsxQeUZBoT8HmXnm6xUs 2/JA8M5Nc1oZTSjdcwxWRPArLlC2c/UyZ5NYucDTSDQZN8yYN7RSNonAe9d84lAvEqzX SSoxxtyE6UxFTV3BQgmoGIqDihSiPY4nIOfg8NLBdfFPyql7tSDtsTjQJJAxXp/q1LJf NGQg== 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=0WxedLojY6wNJBa4g9+h9AlfhSUeJJ1XYerTxtOZric=; fh=wRy+0P4PRbqeISr0G5B5SsLmRsUbmsPjMVMxcl8infM=; b=Z5JcOi5GhtrCK1J7WMgwNHHZuQvUHMGdeyNLeKSyp9dWVJQIVkMjkhLJ1Jk9VQPMg+ KkxJZ/tfz3u77NFEv5up4/7d1DZBU9xDP4kdCaKIWqaDBiq65AdNsA1pe2nl+lJUq2Q4 jtw01f9TwTCYRp3X4YBCCV1slcTTz1ohuNN5i1FjNCHSJ1m3f90okGGM52GzsyzcP5CQ fkPLDBK42n+X7uz+nZ9V4kiFqB9BVXCfkS5Y5gGUgti2tFo1HGdr8/JmRpl6/D+BKvzQ vmQ0UVcXvexC8fyWZVy/NcfDAQDN6Lxr5KWm6NnLywKac5e/lmVX9/l9EiJZWW/KS3c1 ckOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RObeZZPU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id r65-20020a254444000000b00da0caf9ff7asi2054660yba.176.2023.10.27.02.40.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 02:40:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RObeZZPU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 8E8608227193; Fri, 27 Oct 2023 02:40:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345633AbjJ0JkI (ORCPT + 99 others); Fri, 27 Oct 2023 05:40:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjJ0JkE (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 6697ACE; Fri, 27 Oct 2023 02:40:02 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39R9dsR0008709; Fri, 27 Oct 2023 04:39:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1698399594; bh=0WxedLojY6wNJBa4g9+h9AlfhSUeJJ1XYerTxtOZric=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=RObeZZPURXAQA/byWjIlOe4hj6MQi2UjQORtOUvnfqecmiSpDufG85ZR0QAMkCX/S YGd8MScacXn51Y094T+ElnWC+0Z1KnfNrE/EawIiEaVNidCMqG9Nbhy+ixvYg9brsy MbxdQoz267Bq+h1YmTg99+IaGYadufAUJFampvsM= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39R9dsZE052573 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 27 Oct 2023 04:39:54 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE100.ent.ti.com (157.170.170.30) 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:54 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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; Fri, 27 Oct 2023 04:39:54 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39R9drYe030842; Fri, 27 Oct 2023 04:39:53 -0500 From: Nitin Yadav To: , , , , , CC: , , Subject: [PATCH 2/2] arm64: dts: ti: k3-am62a7-sk: Enable eMMC support Date: Fri, 27 Oct 2023 15:09:50 +0530 Message-ID: <20231027093950.1202549-3-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.8 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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Fri, 27 Oct 2023 02:40:23 -0700 (PDT) Add support for 32GB eMMC card on AM62A7. Includes adding mmc0 pins settings and set sdhci0 status to okay. Signed-off-by: Nitin Yadav --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index 5d28c390b28e..c6f144d91734 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -173,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 */ @@ -362,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