Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1667664

[PATCH 09/12] ARM: dts: am572x-idk: Add pinmux configuration for MMC

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Kishon Vijay Abraham I <kishon@ti.com>
Newsgroups linux.kernel
Subject [PATCH 09/12] ARM: dts: am572x-idk: Add pinmux configuration for MMC
Date Fri, 16 Jun 2017 14:00:01 +0200
Message-ID <tSY4V-7Xg-5@gated-at.bofh.it> (permalink)
References <tSY4V-7Xg-7@gated-at.bofh.it>
X-Original-To Tony Lindgren <tony@atomide.com>, <nsekhar@ti.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1497614116; bh=RWo9O49SJSs1+9hJktXcCEWPkgm6objj/QL/mB7g3sk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=nRYXNxj8t5EptvW5QcJP6prNvlDAfXFj3966Wdctt2MWFUMKfAN5f1YS0sKh+m69j Z7ega8FJeMnMaiIt8Wuk6oI8WT1x6W7valgwpM/XiA7qMoFWfG601DFJYxrcecesWi wgMbZ2oFG79pn6HNlcmMmPDyyWHAf2EiGezVnjgw=
X-Mailer git-send-email 2.11.0
MIME-Version 1.0
Content-Type text/plain
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 49
Organization linux.* mail to news gateway
X-Original-Cc Rob Herring <robh+dt@kernel.org>, <linux-omap@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Ulf Hansson <ulf.hansson@linaro.org>, <linux-mmc@vger.kernel.org>, Russell King <linux@armlinux.org.uk>, <kishon@ti.com>
X-Original-Date Fri, 16 Jun 2017 17:24:36 +0530
X-Original-Message-ID <20170616115439.8508-10-kishon@ti.com>
X-Original-References <20170616115439.8508-1-kishon@ti.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1667664

Show key headers only | View raw


Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay
configuration values for the various MMC modes for dra74x SoC
and use it in the pinctrl properties of MMC devicetree
nodes present in am572x-idk.dts.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/boot/dts/am572x-idk.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/am572x-idk.dts b/arch/arm/boot/dts/am572x-idk.dts
index 1c112eb25db4..79fac687428c 100644
--- a/arch/arm/boot/dts/am572x-idk.dts
+++ b/arch/arm/boot/dts/am572x-idk.dts
@@ -12,6 +12,7 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include "am57xx-idk-common.dtsi"
+#include "dra74x-mmc-iodelay.dtsi"
 
 / {
 	model = "TI AM5728 IDK";
@@ -67,6 +68,24 @@
 	};
 };
 
+&mmc1 {
+	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
+	pinctrl-0 = <&mmc1_pins_default>;
+	pinctrl-1 = <&mmc1_pins_hs>;
+	pinctrl-2 = <&mmc1_pins_sdr12>;
+	pinctrl-3 = <&mmc1_pins_sdr25>;
+	pinctrl-4 = <&mmc1_pins_sdr50>;
+	pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>;
+	pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
+};
+
+&mmc2 {
+	pinctrl-names = "default", "hs", "ddr_1_8v";
+	pinctrl-0 = <&mmc2_pins_default>;
+	pinctrl-1 = <&mmc2_pins_hs>;
+	pinctrl-2 = <&mmc2_pins_ddr_rev20>;
+};
+
 &omap_dwc3_2 {
 	extcon = <&extcon_usb2>;
 };
-- 
2.11.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 09/12] ARM: dts: am572x-idk: Add pinmux configuration for MMC Kishon Vijay Abraham I <kishon@ti.com> - 2017-06-16 14:00 +0200

csiph-web