From patchwork Fri Jun 16 11:54:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 105721 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp1264269qgd; Fri, 16 Jun 2017 04:56:12 -0700 (PDT) X-Received: by 10.99.250.69 with SMTP id g5mr10718115pgk.11.1497614172764; Fri, 16 Jun 2017 04:56:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497614172; cv=none; d=google.com; s=arc-20160816; b=iLtQHuq9Q+dpuBOXqqdW5mMnnwXXSOwC/BZqzUIlqw1Bpzm6eroXewoYgoNO+CWP3V aj+RUNTvqJDHcRTNR8xBZzx976+z6a//lS60GHci41zmoqt2UpxsjXXa+hkFDWM9f+YV 09VmtU1+GifiO2fmP+GutJGaKXSOHdNzoCsfTiYVrKz4tCEdqyJhpke6GfDV5/GSV0fH +ji0neZ0DrQppBhQukCWNHuuKc0efn3aBe271a53cvAUmAl5rAMLA4wy8p+p6SGLPxUL ZE81EZqcTlDuHfOBoiUVl98R+iqq/MIfK5zj0xdoNL4Lf7rSFPWOpTYLRlrV28JEOrVF Lg8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=mzvkeIT3AhG9zhPg/HKTg0CecptIR571J2uqtOEQpcQ=; b=Cml0qx6J1+QtG8S+wJbyq4RM/uosnuKic2pHSnWRpCXZlCx5Ifo4i8VMRdlKvylvFw toTAKl06eHk+kpv+uEnM2g6pw5Yj7iW9u8IDqKUYLgaMLl/fk2O48bWGxZPX5Hd8qchT HHhI4Wgnt2zdmJ8p61qBIqknfu2yldUYCJcLFN3LLlMhJYtNjpC2gpbZ9NtOjjIe0WYx iAezchMjTzjhsR95q7be29gwXV+/H5kkgpsjXc84EGGKdiuG1LoH3nFPK1q/C1xiXMct EZYW0WtV5zF1v4xf9RfVDjI1S5SWyFOCRFEoyYNDVYqfnoCg9BspbMBjEfS2pCri7vip O8fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.b=nRYXNxj8; 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 m11si1843908pgt.21.2017.06.16.04.56.12; Fri, 16 Jun 2017 04:56:12 -0700 (PDT) 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.b=nRYXNxj8; 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 S1753417AbdFPL4C (ORCPT + 25 others); Fri, 16 Jun 2017 07:56:02 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:54922 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752993AbdFPLz6 (ORCPT ); Fri, 16 Jun 2017 07:55:58 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v5GBtGFY015141; Fri, 16 Jun 2017 06:55:16 -0500 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= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5GBtGOc012120; Fri, 16 Jun 2017 06:55:16 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Fri, 16 Jun 2017 06:55:15 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5GBsd1c016625; Fri, 16 Jun 2017 06:55:12 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren , CC: Rob Herring , , , , , Ulf Hansson , , Russell King , Subject: [PATCH 09/12] ARM: dts: am572x-idk: Add pinmux configuration for MMC Date: Fri, 16 Jun 2017 17:24:36 +0530 Message-ID: <20170616115439.8508-10-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616115439.8508-1-kishon@ti.com> References: <20170616115439.8508-1-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/boot/dts/am572x-idk.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.11.0 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 #include #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>; };