From patchwork Sat Jan 25 16:43:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 23694 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f71.google.com (mail-pb0-f71.google.com [209.85.160.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 119EF20300 for ; Sat, 25 Jan 2014 16:46:39 +0000 (UTC) Received: by mail-pb0-f71.google.com with SMTP id jt11sf10375564pbb.2 for ; Sat, 25 Jan 2014 08:46:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=0yzxOPRg98DCvoUgyMm8nL/PSRTWjDHzXKaJ6SAZqy8=; b=ItSVXFqgkdoQ9XzjKLCW9cj9KNmMVZ6s3tVJg9BhAqJXvSar0zfur+O42ZZKJ0oG0d KnWePEEi8KsQMC1Tzve6MY7FKLItb9Z07jZR3tpElZr6D6/b6m5nZwCj9dNE/gLJepl5 N2wVyZFYhCalCjPXRCrych3H5zCGIuLKp6vWZZgcOHuyQhwEhSB3z5Oa5wS6b3w6I6Q1 1IAehsMypBq4L+g1o2ZqhaOtpsj+8YmXBYxrmvVSewp690uSjxm7JpNtr0XZoCnXRM6M wz3ms7qbCGJgpMcs+BsUa2Pt+RSeGxulh2rYLg9H7d6bFh0pMKywxB1BfuDGrUiNEIQ6 Tlww== X-Gm-Message-State: ALoCoQmNpLxjy0bq6u8quTzl/uwub/hR+9wHrMEFVC+kQvvMw3xHC/dJfvthPaadrjbziATkpWtE X-Received: by 10.67.14.70 with SMTP id fe6mr7258745pad.15.1390668399357; Sat, 25 Jan 2014 08:46:39 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.98 with SMTP id b89ls1050009qgd.9.gmail; Sat, 25 Jan 2014 08:46:39 -0800 (PST) X-Received: by 10.220.193.70 with SMTP id dt6mr10715872vcb.17.1390668399226; Sat, 25 Jan 2014 08:46:39 -0800 (PST) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id b2si2730118vcy.85.2014.01.25.08.46.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 25 Jan 2014 08:46:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id ia6so2554625vcb.10 for ; Sat, 25 Jan 2014 08:46:39 -0800 (PST) X-Received: by 10.220.103.141 with SMTP id k13mr10691172vco.25.1390668399121; Sat, 25 Jan 2014 08:46:39 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp22071vcz; Sat, 25 Jan 2014 08:46:38 -0800 (PST) X-Received: by 10.66.165.4 with SMTP id yu4mr20837893pab.88.1390668398103; Sat, 25 Jan 2014 08:46:38 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zk9si5267935pac.144.2014.01.25.08.46.37; Sat, 25 Jan 2014 08:46:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbaAYQqh (ORCPT + 9 others); Sat, 25 Jan 2014 11:46:37 -0500 Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:54146 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751914AbaAYQqg (ORCPT ); Sat, 25 Jan 2014 11:46:36 -0500 Received: from mail162-tx2-R.bigfish.com (10.9.14.248) by TX2EHSOBE003.bigfish.com (10.9.40.23) with Microsoft SMTP Server id 14.1.225.22; Sat, 25 Jan 2014 16:46:35 +0000 Received: from mail162-tx2 (localhost [127.0.0.1]) by mail162-tx2-R.bigfish.com (Postfix) with ESMTP id 9675D202E8; Sat, 25 Jan 2014 16:46:35 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 10 X-BigFish: VS10(zcb8kze0eahb922lc8kzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h8275dh1de097hz2dh87h2a8h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1e23h1fe8h1ff5h2218h2216h226dh22d0h24afh2327h2336h2438h2461h2487h24d7h1151h1155h) X-FB-DOMAIN-IP-MATCH: fail Received: from mail162-tx2 (localhost.localdomain [127.0.0.1]) by mail162-tx2 (MessageSwitch) id 1390668388548512_2625; Sat, 25 Jan 2014 16:46:28 +0000 (UTC) Received: from TX2EHSMHS042.bigfish.com (unknown [10.9.14.237]) by mail162-tx2.bigfish.com (Postfix) with ESMTP id 737A74A0072; Sat, 25 Jan 2014 16:46:28 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS042.bigfish.com (10.9.99.142) with Microsoft SMTP Server (TLS) id 14.16.227.3; Sat, 25 Jan 2014 16:46:24 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server (TLS) id 14.3.158.2; Sat, 25 Jan 2014 16:46:23 +0000 Received: from S2101-09.ap.freescale.net ([10.192.185.238]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s0PGk7uL013196; Sat, 25 Jan 2014 09:46:20 -0700 From: Shawn Guo To: Rob Herring , CC: , Russell King - ARM Linux , , , Shawn Guo Subject: [PATCH 2/9] ARM: dts: imx6sl: remove the use of pingrp macros Date: Sun, 26 Jan 2014 00:43:04 +0800 Message-ID: <1390668191-20289-3-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1390668191-20289-1-git-send-email-shawn.guo@linaro.org> References: <1390668191-20289-1-git-send-email-shawn.guo@linaro.org> MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shawn.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , We created the pingrp macros in imx6sl-pingrp.h for purpose of less LOC when same pin group is used by multiple boards. However, DT maintainers take it as an abuse of DTC macro support. So let's get rid of it to make the pins used by given device more intuitive. Signed-off-by: Shawn Guo --- arch/arm/boot/dts/imx6sl-evk.dts | 120 ++++++++++++++++++++++++++---- arch/arm/boot/dts/imx6sl-pingrp.h | 148 ------------------------------------- arch/arm/boot/dts/imx6sl.dtsi | 1 - 3 files changed, 107 insertions(+), 162 deletions(-) delete mode 100644 arch/arm/boot/dts/imx6sl-pingrp.h diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index f5e4513..8594d13 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts @@ -86,55 +86,149 @@ }; pinctrl_ecspi1: ecspi1grp { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_ECSPI1_MISO__ECSPI1_MISO 0x100b1 + MX6SL_PAD_ECSPI1_MOSI__ECSPI1_MOSI 0x100b1 + MX6SL_PAD_ECSPI1_SCLK__ECSPI1_SCLK 0x100b1 + >; }; pinctrl_fec: fecgrp { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_FEC_MDC__FEC_MDC 0x1b0b0 + MX6SL_PAD_FEC_MDIO__FEC_MDIO 0x1b0b0 + MX6SL_PAD_FEC_CRS_DV__FEC_RX_DV 0x1b0b0 + MX6SL_PAD_FEC_RXD0__FEC_RX_DATA0 0x1b0b0 + MX6SL_PAD_FEC_RXD1__FEC_RX_DATA1 0x1b0b0 + MX6SL_PAD_FEC_TX_EN__FEC_TX_EN 0x1b0b0 + MX6SL_PAD_FEC_TXD0__FEC_TX_DATA0 0x1b0b0 + MX6SL_PAD_FEC_TXD1__FEC_TX_DATA1 0x1b0b0 + MX6SL_PAD_FEC_REF_CLK__FEC_REF_OUT 0x4001b0a8 + >; }; pinctrl_uart1: uart1grp { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_UART1_RXD__UART1_RX_DATA 0x1b0b1 + MX6SL_PAD_UART1_TXD__UART1_TX_DATA 0x1b0b1 + >; }; pinctrl_usbotg1: usbotg1grp { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_EPDC_PWRCOM__USB_OTG1_ID 0x17059 + >; }; pinctrl_usdhc1: usdhc1grp { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_SD1_CMD__SD1_CMD 0x17059 + MX6SL_PAD_SD1_CLK__SD1_CLK 0x10059 + MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x17059 + MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x17059 + MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x17059 + MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x17059 + MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x17059 + MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x17059 + MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x17059 + MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x17059 + >; }; pinctrl_usdhc1_100mhz: usdhc1grp100mhz { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_SD1_CMD__SD1_CMD 0x170b9 + MX6SL_PAD_SD1_CLK__SD1_CLK 0x100b9 + MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x170b9 + MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x170b9 + MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x170b9 + MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x170b9 + MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x170b9 + MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x170b9 + MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x170b9 + MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x170b9 + >; }; pinctrl_usdhc1_200mhz: usdhc1grp200mhz { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_SD1_CMD__SD1_CMD 0x170f9 + MX6SL_PAD_SD1_CLK__SD1_CLK 0x100f9 + MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x170f9 + MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x170f9 + MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x170f9 + MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x170f9 + MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x170f9 + MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x170f9 + MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x170f9 + MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x170f9 + >; }; pinctrl_usdhc2: usdhc2grp { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_SD2_CMD__SD2_CMD 0x17059 + MX6SL_PAD_SD2_CLK__SD2_CLK 0x10059 + MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x17059 + MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x17059 + MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x17059 + MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x17059 + >; }; pinctrl_usdhc2_100mhz: usdhc2grp100mhz { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_SD2_CMD__SD2_CMD 0x170b9 + MX6SL_PAD_SD2_CLK__SD2_CLK 0x100b9 + MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x170b9 + MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x170b9 + MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x170b9 + MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x170b9 + >; }; pinctrl_usdhc2_200mhz: usdhc2grp200mhz { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_SD2_CMD__SD2_CMD 0x170f9 + MX6SL_PAD_SD2_CLK__SD2_CLK 0x100f9 + MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x170f9 + MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x170f9 + MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x170f9 + MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x170f9 + >; }; pinctrl_usdhc3: usdhc3grp { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_SD3_CMD__SD3_CMD 0x17059 + MX6SL_PAD_SD3_CLK__SD3_CLK 0x10059 + MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x17059 + MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x17059 + MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x17059 + MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x17059 + >; }; pinctrl_usdhc3_100mhz: usdhc3grp100mhz { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_SD3_CMD__SD3_CMD 0x170b9 + MX6SL_PAD_SD3_CLK__SD3_CLK 0x100b9 + MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x170b9 + MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x170b9 + MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x170b9 + MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x170b9 + >; }; pinctrl_usdhc3_200mhz: usdhc3grp200mhz { - fsl,pins = ; + fsl,pins = < + MX6SL_PAD_SD3_CMD__SD3_CMD 0x170f9 + MX6SL_PAD_SD3_CLK__SD3_CLK 0x100f9 + MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x170f9 + MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x170f9 + MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x170f9 + MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x170f9 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx6sl-pingrp.h b/arch/arm/boot/dts/imx6sl-pingrp.h deleted file mode 100644 index ead26d4..0000000 --- a/arch/arm/boot/dts/imx6sl-pingrp.h +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Copyright (C) 2013 Freescale Semiconductor, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - */ - -#ifndef __DTS_IMX6SL_PINGRP_H -#define __DTS_IMX6SL_PINGRP_H - -#define MX6SL_ECSPI1_PINGRP1 \ - MX6SL_PAD_ECSPI1_MISO__ECSPI1_MISO 0x100b1 \ - MX6SL_PAD_ECSPI1_MOSI__ECSPI1_MOSI 0x100b1 \ - MX6SL_PAD_ECSPI1_SCLK__ECSPI1_SCLK 0x100b1 - -#define MX6SL_FEC_PINGRP1 \ - MX6SL_PAD_FEC_MDC__FEC_MDC 0x1b0b0 \ - MX6SL_PAD_FEC_MDIO__FEC_MDIO 0x1b0b0 \ - MX6SL_PAD_FEC_CRS_DV__FEC_RX_DV 0x1b0b0 \ - MX6SL_PAD_FEC_RXD0__FEC_RX_DATA0 0x1b0b0 \ - MX6SL_PAD_FEC_RXD1__FEC_RX_DATA1 0x1b0b0 \ - MX6SL_PAD_FEC_TX_EN__FEC_TX_EN 0x1b0b0 \ - MX6SL_PAD_FEC_TXD0__FEC_TX_DATA0 0x1b0b0 \ - MX6SL_PAD_FEC_TXD1__FEC_TX_DATA1 0x1b0b0 \ - MX6SL_PAD_FEC_REF_CLK__FEC_REF_OUT 0x4001b0a8 - -#define MX6SL_UART1_PINGRP1 \ - MX6SL_PAD_UART1_RXD__UART1_RX_DATA 0x1b0b1 \ - MX6SL_PAD_UART1_TXD__UART1_TX_DATA 0x1b0b1 - -#define MX6SL_USBOTG1_PINGRP1 \ - MX6SL_PAD_EPDC_PWRCOM__USB_OTG1_ID 0x17059 - -#define MX6SL_USBOTG1_PINGRP2 \ - MX6SL_PAD_FEC_RXD0__USB_OTG1_ID 0x17059 - -#define MX6SL_USBOTG1_PINGRP3 \ - MX6SL_PAD_LCD_DAT1__USB_OTG1_ID 0x17059 - -#define MX6SL_USBOTG1_PINGRP4 \ - MX6SL_PAD_REF_CLK_32K__USB_OTG1_ID 0x17059 - -#define MX6SL_USBOTG1_PINGRP5 \ - MX6SL_PAD_SD3_DAT0__USB_OTG1_ID 0x17059 - -#define MX6SL_USBOTG2_PINGRP1 \ - MX6SL_PAD_ECSPI1_SCLK__USB_OTG2_OC 0x17059 - -#define MX6SL_USBOTG2_PINGRP2 \ - MX6SL_PAD_ECSPI2_SCLK__USB_OTG2_OC 0x17059 - -#define MX6SL_USBOTG2_PINGRP3 \ - MX6SL_PAD_KEY_ROW5__USB_OTG2_OC 0x17059 - -#define MX6SL_USBOTG2_PINGRP4 \ - MX6SL_PAD_SD3_DAT2__USB_OTG2_OC 0x17059 - -#define MX6SL_USDHC1_D4(pad, pad_data3, pad_clk) \ - MX6SL_PAD_SD1_CMD__SD1_CMD pad \ - MX6SL_PAD_SD1_CLK__SD1_CLK pad_clk \ - MX6SL_PAD_SD1_DAT0__SD1_DATA0 pad \ - MX6SL_PAD_SD1_DAT1__SD1_DATA1 pad \ - MX6SL_PAD_SD1_DAT2__SD1_DATA2 pad \ - MX6SL_PAD_SD1_DAT3__SD1_DATA3 pad_data3 - -#define MX6SL_USDHC1_D8(pad, pad_data3, pad_clk) \ - MX6SL_USDHC1_D4(pad, pad_data3, pad_clk) \ - MX6SL_PAD_SD1_DAT4__SD1_DATA4 pad \ - MX6SL_PAD_SD1_DAT5__SD1_DATA5 pad \ - MX6SL_PAD_SD1_DAT6__SD1_DATA6 pad \ - MX6SL_PAD_SD1_DAT7__SD1_DATA7 pad - -#define MX6SL_USDHC2_D4(pad, pad_data3, pad_clk) \ - MX6SL_PAD_SD2_CMD__SD2_CMD pad \ - MX6SL_PAD_SD2_CLK__SD2_CLK pad_clk \ - MX6SL_PAD_SD2_DAT0__SD2_DATA0 pad \ - MX6SL_PAD_SD2_DAT1__SD2_DATA1 pad \ - MX6SL_PAD_SD2_DAT2__SD2_DATA2 pad \ - MX6SL_PAD_SD2_DAT3__SD2_DATA3 pad_data3 - -#define MX6SL_USDHC2_D8(pad, pad_data3, pad_clk) \ - MX6SL_USDHC2_D4(pad, pad_data3, pad_clk) \ - MX6SL_PAD_SD2_DAT4__SD2_DATA4 pad \ - MX6SL_PAD_SD2_DAT5__SD2_DATA5 pad \ - MX6SL_PAD_SD2_DAT6__SD2_DATA6 pad \ - MX6SL_PAD_SD2_DAT7__SD2_DATA7 pad - -#define MX6SL_USDHC3_D4(pad, pad_data3, pad_clk) \ - MX6SL_PAD_SD3_CMD__SD3_CMD pad \ - MX6SL_PAD_SD3_CLK__SD3_CLK pad_clk \ - MX6SL_PAD_SD3_DAT0__SD3_DATA0 pad \ - MX6SL_PAD_SD3_DAT1__SD3_DATA1 pad \ - MX6SL_PAD_SD3_DAT2__SD3_DATA2 pad \ - MX6SL_PAD_SD3_DAT3__SD3_DATA3 pad_data3 - -#define MX6SL_USDHC3_D8(pad, pad_data3, pad_clk) \ - MX6SL_USDHC3_D4(pad, pad_data3, pad_clk) \ - MX6SL_PAD_SD2_DAT4__SD3_DATA4 pad \ - MX6SL_PAD_SD2_DAT5__SD3_DATA5 pad \ - MX6SL_PAD_SD2_DAT6__SD3_DATA6 pad \ - MX6SL_PAD_SD2_DAT7__SD3_DATA7 pad - -#define MX6SL_USDHC4_D4(pad, pad_data3, pad_clk) \ - MX6SL_PAD_EPDC_BDR1__SD4_CMD pad \ - MX6SL_PAD_EPDC_BDR0__SD4_CLK pad_clk \ - MX6SL_PAD_EPDC_PWRCOM__SD4_DATA0 pad \ - MX6SL_PAD_EPDC_PWRINT__SD4_DATA1 pad \ - MX6SL_PAD_EPDC_PWRSTAT__SD4_DATA2 pad \ - MX6SL_PAD_EPDC_PWRWAKEUP__SD4_DATA3 pad_data3 - -#define MX6SL_USDHC4_D8(pad, pad_data3, pad_clk) \ - MX6SL_USDHC4_D4(pad, pad_data3, pad_clk) \ - MX6SL_PAD_KEY_COL7__SD4_DATA4 pad \ - MX6SL_PAD_KEY_ROW7__SD4_DATA5 pad \ - MX6SL_PAD_KEY_COL3__SD4_DATA6 pad \ - MX6SL_PAD_KEY_ROW3__SD4_DATA7 pad - -#define MX6SL_USDHC1_PINGRP_D4 MX6SL_USDHC1_D4(0x17059, 0x17059, 0x10059) -#define MX6SL_USDHC1_PINGRP_D4_100MHZ MX6SL_USDHC1_D4(0x170b9, 0x170b9, 0x100b9) -#define MX6SL_USDHC1_PINGRP_D4_200MHZ MX6SL_USDHC1_D4(0x170f9, 0x170f9, 0x100f9) -#define MX6SL_USDHC1_PINGRP_D8 MX6SL_USDHC1_D8(0x17059, 0x17059, 0x10059) -#define MX6SL_USDHC1_PINGRP_D8_100MHZ MX6SL_USDHC1_D8(0x170b9, 0x170b9, 0x100b9) -#define MX6SL_USDHC1_PINGRP_D8_200MHZ MX6SL_USDHC1_D8(0x170f9, 0x170f9, 0x100f9) - -#define MX6SL_USDHC2_PINGRP_D4 MX6SL_USDHC2_D4(0x17059, 0x17059, 0x10059) -#define MX6SL_USDHC2_PINGRP_D4_100MHZ MX6SL_USDHC2_D4(0x170b9, 0x170b9, 0x100b9) -#define MX6SL_USDHC2_PINGRP_D4_200MHZ MX6SL_USDHC2_D4(0x170f9, 0x170f9, 0x100f9) -#define MX6SL_USDHC2_PINGRP_D8 MX6SL_USDHC2_D8(0x17059, 0x17059, 0x10059) -#define MX6SL_USDHC2_PINGRP_D8_100MHZ MX6SL_USDHC2_D8(0x170b9, 0x170b9, 0x100b9) -#define MX6SL_USDHC2_PINGRP_D8_200MHZ MX6SL_USDHC2_D8(0x170f9, 0x170f9, 0x100f9) - -#define MX6SL_USDHC3_PINGRP_D4 MX6SL_USDHC3_D4(0x17059, 0x17059, 0x10059) -#define MX6SL_USDHC3_PINGRP_D4_100MHZ MX6SL_USDHC3_D4(0x170b9, 0x170b9, 0x100b9) -#define MX6SL_USDHC3_PINGRP_D4_200MHZ MX6SL_USDHC3_D4(0x170f9, 0x170f9, 0x100f9) -#define MX6SL_USDHC3_PINGRP_D8 MX6SL_USDHC3_D8(0x17059, 0x17059, 0x10059) -#define MX6SL_USDHC3_PINGRP_D8_100MHZ MX6SL_USDHC3_D8(0x170b9, 0x170b9, 0x100b9) -#define MX6SL_USDHC3_PINGRP_D8_200MHZ MX6SL_USDHC3_D8(0x170f9, 0x170f9, 0x100f9) - -#define MX6SL_USDHC4_PINGRP_D4 MX6SL_USDHC4_D4(0x17059, 0x17059, 0x10059) -#define MX6SL_USDHC4_PINGRP_D4_100MHZ MX6SL_USDHC4_D4(0x170b9, 0x170b9, 0x100b9) -#define MX6SL_USDHC4_PINGRP_D4_200MHZ MX6SL_USDHC4_D4(0x170f9, 0x170f9, 0x100f9) -#define MX6SL_USDHC4_PINGRP_D8 MX6SL_USDHC4_D8(0x17059, 0x17059, 0x10059) -#define MX6SL_USDHC4_PINGRP_D8_100MHZ MX6SL_USDHC4_D8(0x170b9, 0x170b9, 0x100b9) -#define MX6SL_USDHC4_PINGRP_D8_200MHZ MX6SL_USDHC4_D8(0x170f9, 0x170f9, 0x100f9) - -#endif /* __DTS_IMX6SL_PINGRP_H */ diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index 2ed687c..2b7641a 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -10,7 +10,6 @@ #include #include "skeleton.dtsi" #include "imx6sl-pinfunc.h" -#include "imx6sl-pingrp.h" #include / {