Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1624813imu; Wed, 9 Jan 2019 23:33:22 -0800 (PST) X-Google-Smtp-Source: ALg8bN7bR/dDqdtes1WRflCzX2j6JngXxTLfYnwwRdqvseP5b8B21pdD9cp77Rp0Od+WBe5YEHuK X-Received: by 2002:a63:151f:: with SMTP id v31mr8247830pgl.34.1547105602417; Wed, 09 Jan 2019 23:33:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547105602; cv=none; d=google.com; s=arc-20160816; b=LbGyn/XTDEzGrl0hFHuZAd8xFKks385bDdnsSrqT/p1l2NvTpsJrLJPRV8gb4yw1/q dDKuoz1uxlu/zyECXVR7Q+/I3D16gMgVXaTTjl/aM/d5JwqB3TWYIyg2kMEm5Lgoa0X5 MY42vYgfl34An+aUmoCrdDAzOFg8eHYS97O8Rbs57ZQGaPgc2wJcZGw2mxxKZszquEss T7bJuL/GN9ezTB3xVsgCIa1emJp+45dZZF4CVNezSwQeQ5gjqA0TpKnt52gzcotiYGg4 X1a6WlcmOSFyyJKnQvPdqQw9m3qAmH6kxoD5ZBp2m4SekiDfJx3MhNgZj0Eerf9/ZpNT eAIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5++OiNtMlT2WVwSZ8rQJshX+c8F6SPQdlgQ6dUfIuPQ=; b=zx4jA/AyNRgjtTVuXdk9ICfncsEx2ySBEMZOI2cjA+P9ND9XGStBeE0m0oJAz3iFX4 ZMCgPahJ+RGQq2zYBgT6KNssOlu6NL/xI40zXPvwj+vFWUSO3ouM1ySxKpQkmn5g+qAa g+iAjDKzCAGOAdi2pNvnzauwct8es15UPjJ8xcSPfauO+j7xixwlPJNfFOzaVhfjm37k sM8QK7bZGT+syhv7ycsZBcTVh6kJiPgdGsgvupIIiWfy0hz4Z0k5YdmdnvWQSxddsHC6 3GlUshcxKeoX7LnLgdJnzLig7HPzhKYR3VA5exD9ugl6eU0dcYXjXmZeuPpAI1oUMBZt M7jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="YWPV24//"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si4097146pgf.136.2019.01.09.23.33.07; Wed, 09 Jan 2019 23:33:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="YWPV24//"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727498AbfAJHb0 (ORCPT + 99 others); Thu, 10 Jan 2019 02:31:26 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:45200 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbfAJHbY (ORCPT ); Thu, 10 Jan 2019 02:31:24 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0A7VC0V055751; Thu, 10 Jan 2019 01:31:12 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547105472; bh=5++OiNtMlT2WVwSZ8rQJshX+c8F6SPQdlgQ6dUfIuPQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YWPV24//Is/Sa+JKgD8/l10v8LnqE1KFVJz1i4uhJOyLse+lJNPOR3y802FWoZ8cQ wBC+poQK2XfwU8lyoflXGTIDfsGJraDtEzcdVfhrDBN21ixXzeJLcVx9uW+f9VOjXR nRNzBYQeu25k02DB/0DpyPrsFMegs+z7U5++b9Ew= 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 x0A7VCg7106552 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 10 Jan 2019 01:31:12 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) 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.1591.10; Thu, 10 Jan 2019 01:31:11 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Thu, 10 Jan 2019 01:31:11 -0600 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0A7V38j020221; Thu, 10 Jan 2019 01:31:09 -0600 From: Faiz Abbas To: , , CC: , , , , Subject: [PATCH v2 2/2] arm64: dts: ti: k3-am654-base-board: Add MMC support Date: Thu, 10 Jan 2019 13:03:55 +0530 Message-ID: <20190110073355.3382-3-faiz_abbas@ti.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190110073355.3382-1-faiz_abbas@ti.com> References: <20190110073355.3382-1-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On the am654x-evm, the sdhci0 node is connected to an eMMC. Add node and pinmux for the same. Signed-off-by: Faiz Abbas --- .../arm64/boot/dts/ti/k3-am654-base-board.dts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts index e41fc3a5987b..11e9a2a43dfc 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts @@ -69,6 +69,23 @@ AM65X_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (AG13) SPI0_CS0 */ >; }; + + main_mmc0_pins_default: main-mmc0-pins-default { + pinctrl-single,pins = < + AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */ + AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */ + AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */ + AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */ + AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */ + AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */ + AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */ + AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */ + AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */ + AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */ + AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */ + AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */ + >; + }; }; &main_pmx1 { @@ -163,3 +180,11 @@ #size-cells= <1>; }; }; + +&sdhci0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc0_pins_default>; + bus-width = <8>; + non-removable; + ti,driver-strength-ohm = <50>; +}; -- 2.19.2