From patchwork Mon Mar 27 08:31:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 13188767 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72BECC7619A for ; Mon, 27 Mar 2023 08:32:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HGKtIAD+xPpTsug64B3QS8WcvlnLqJy+NKHsGOck1yg=; b=Lw7TU/0rQWydhr +ed+LlGJH2VWJA6aY4IKtDS+4CC2p7fFpgaUm9Z/9FPvHZoJOPBYzA+xrIPw3L588RMVfIy+UPcL8 JeRpE64xpLFF3cPYwqmMItWBUL9oCPe2cALI0X+dnQeWLmjOe/yC6u6wcJlq7lGaM23Z49945cyyj jNXGAlCEN+P6tPK/UYh+xee9lnCR2HeqsV+U8/fGWUBOYwUz5dmldY57PrvQBdLlGbXzZKl+mSmIU 04HBn9bUAjcFbwJahvX456VmgDHDgewImx7s/QB8pYBmyt/H/AZ3cRHtXS8QdzCmjh21ur8I86x9n 9ne170byzyfk/oYoMudg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pgiG5-00AGBs-0M; Mon, 27 Mar 2023 08:31:17 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pgiFz-00AGA1-1m for linux-arm-kernel@lists.infradead.org; Mon, 27 Mar 2023 08:31:15 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32R8V4Kx105347; Mon, 27 Mar 2023 03:31:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679905864; bh=BppbkJnUwX1hnpY0dz4TOhs1NIDT6BbXPKDS29uuRLU=; h=From:To:CC:Subject:Date; b=r7AaL5hGPYAJHsnlmjPD2PRUmiiTeVx/DQb53+HkCE4A1cxjCr4zBVWBxjppLWa0F Ruqsl9M3QYyrJxQUvmaSbecuuLI3HeAs/B50DizYWGiSU4ikemyPgn0Z3x3hoDXnoL Y6dNkAkb7lN0k4XCUlqrnrCzw09vbnIngS+PJ/7I= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32R8V4ad129553 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 27 Mar 2023 03:31:04 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 27 Mar 2023 03:31:03 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 27 Mar 2023 03:31:03 -0500 Received: from LT5CD112GSQZ.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32R8V0KG100230; Mon, 27 Mar 2023 03:31:01 -0500 From: Apurva Nandan To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , , , CC: Apurva Nandan Subject: [PATCH] arm64: dts: ti: k3-j784s4-evm: Add eMMC mmc0 support Date: Mon, 27 Mar 2023 14:01:00 +0530 Message-ID: <20230327083100.12587-1-a-nandan@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230327_013111_632913_1E63D492 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for eMMC card connected to main sdhci0 instance. Signed-off-by: Apurva Nandan Reviewed-by: Bhavya Kapoor --- arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts index 7480f37e89e8..1622a01a4667 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts @@ -21,6 +21,7 @@ chosen { aliases { serial2 = &main_uart8; + mmc0 = &main_sdhci0; mmc1 = &main_sdhci1; i2c0 = &main_i2c0; }; @@ -225,6 +226,14 @@ exp2: gpio@22 { }; }; +&main_sdhci0 { + /* eMMC */ + status = "okay"; + non-removable; + ti,driver-strength-ohm = <50>; + disable-wp; +}; + &main_sdhci1 { /* SD card */ status = "okay";