From patchwork Sat Jan 25 16:43:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 23701 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C2A2820300 for ; Sat, 25 Jan 2014 16:51:05 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id ii20sf7588748qab.5 for ; Sat, 25 Jan 2014 08:51:04 -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=Bz5nr4xAppOt+dfB59tH5IaMZHet86B6SeNejmdtQvw=; b=IbiqeMfAQSxLS3KlA4crhrrLre0OoPdjcY1Rc4wG4lvQsWOIInlYu+KbKmvJXtsJj2 1ZiPd49Ny/6Ysyg/4r61ul9w47CgPGD3AHlGn04NT0UiJBVWSnMKhtlp4jrpbehS5l/2 FULgcyShViEfX/jY7wt5jcQb7AJsz0uO3rJR+Te4pkwAfBGkLolleB1HNfOK+vbir8/t BaZp+4IVeCVs06p8yCENbkt+f25S6E74RUGLATffCeKDkmohosburJAp7Xqbbajm5df0 S+GEd1chLPIG8C0vxIrZyvzH7r5PXbr6CCV5jloK+VhIY5bSbsI0AMeHFynMzl1dIXSW RFoA== X-Gm-Message-State: ALoCoQngLT7EIMGSdAJR97ASiPwhbTb0b1h83ypK32HbZMyceOTLouyoiewYJfr0W+CHqiSLKwxc X-Received: by 10.236.7.78 with SMTP id 54mr6122337yho.39.1390668664700; Sat, 25 Jan 2014 08:51:04 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.7 with SMTP id o7ls1071633qgo.15.gmail; Sat, 25 Jan 2014 08:51:04 -0800 (PST) X-Received: by 10.59.6.225 with SMTP id cx1mr47467ved.50.1390668664555; Sat, 25 Jan 2014 08:51:04 -0800 (PST) Received: from mail-vb0-f41.google.com (mail-vb0-f41.google.com [209.85.212.41]) by mx.google.com with ESMTPS id b2si2754744vcy.10.2014.01.25.08.51.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 25 Jan 2014 08:51:04 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.41 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.41; Received: by mail-vb0-f41.google.com with SMTP id g10so2543998vbg.0 for ; Sat, 25 Jan 2014 08:51:04 -0800 (PST) X-Received: by 10.220.110.210 with SMTP id o18mr49968vcp.49.1390668664459; Sat, 25 Jan 2014 08:51:04 -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 u4csp22283vcz; Sat, 25 Jan 2014 08:51:03 -0800 (PST) X-Received: by 10.66.102.4 with SMTP id fk4mr20419466pab.59.1390668569546; Sat, 25 Jan 2014 08:49:29 -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.49.28; Sat, 25 Jan 2014 08:49:29 -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 S1752052AbaAYQt2 (ORCPT + 9 others); Sat, 25 Jan 2014 11:49:28 -0500 Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:59605 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752014AbaAYQt2 (ORCPT ); Sat, 25 Jan 2014 11:49:28 -0500 Received: from mail154-tx2-R.bigfish.com (10.9.14.234) by TX2EHSOBE014.bigfish.com (10.9.40.34) with Microsoft SMTP Server id 14.1.225.22; Sat, 25 Jan 2014 16:49:27 +0000 Received: from mail154-tx2 (localhost [127.0.0.1]) by mail154-tx2-R.bigfish.com (Postfix) with ESMTP id 074F93C0407; Sat, 25 Jan 2014 16:49:26 +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: 8 X-BigFish: VS8(zza1fflb922lzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h17326ah8275dh1de097h186068hz2dh87h2a8h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1e23h1fe8h1ff5h2218h2216h226dh22d0h24afh2327h2336h2438h2461h2487h24d7h1151h1155h) X-FB-DOMAIN-IP-MATCH: fail Received: from mail154-tx2 (localhost.localdomain [127.0.0.1]) by mail154-tx2 (MessageSwitch) id 1390668408991475_5977; Sat, 25 Jan 2014 16:46:48 +0000 (UTC) Received: from TX2EHSMHS013.bigfish.com (unknown [10.9.14.234]) by mail154-tx2.bigfish.com (Postfix) with ESMTP id 64A60440054; Sat, 25 Jan 2014 16:46:48 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS013.bigfish.com (10.9.99.113) with Microsoft SMTP Server (TLS) id 14.16.227.3; Sat, 25 Jan 2014 16:46:43 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-005.039d.mgd.msft.net (10.84.1.17) with Microsoft SMTP Server (TLS) id 14.3.158.2; Sat, 25 Jan 2014 16:46:43 +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 s0PGk7uR013196; Sat, 25 Jan 2014 09:46:40 -0700 From: Shawn Guo To: Rob Herring , CC: , Russell King - ARM Linux , , , Shawn Guo Subject: [PATCH 8/9] ARM: dts: imx27: remove the use of pingrp macros Date: Sun, 26 Jan 2014 00:43:10 +0800 Message-ID: <1390668191-20289-9-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.212.41 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 imx27-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/imx27-apf27.dts | 26 +++- arch/arm/boot/dts/imx27-apf27dev.dts | 65 +++++++++- arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts | 27 ++-- arch/arm/boot/dts/imx27-phytec-phycard-s-som.dts | 26 +++- arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts | 23 +++- arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi | 38 +++++- arch/arm/boot/dts/imx27-pingrp.h | 151 ---------------------- arch/arm/boot/dts/imx27.dtsi | 2 +- 8 files changed, 177 insertions(+), 181 deletions(-) delete mode 100644 arch/arm/boot/dts/imx27-pingrp.h diff --git a/arch/arm/boot/dts/imx27-apf27.dts b/arch/arm/boot/dts/imx27-apf27.dts index 8bc75c7..09f57b3 100644 --- a/arch/arm/boot/dts/imx27-apf27.dts +++ b/arch/arm/boot/dts/imx27-apf27.dts @@ -37,11 +37,33 @@ &iomuxc { imx27-apf27 { pinctrl_fec1: fec1grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_SD3_CMD__FEC_TXD0 0x0 + MX27_PAD_SD3_CLK__FEC_TXD1 0x0 + MX27_PAD_ATA_DATA0__FEC_TXD2 0x0 + MX27_PAD_ATA_DATA1__FEC_TXD3 0x0 + MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0 + MX27_PAD_ATA_DATA3__FEC_RXD1 0x0 + MX27_PAD_ATA_DATA4__FEC_RXD2 0x0 + MX27_PAD_ATA_DATA5__FEC_RXD3 0x0 + MX27_PAD_ATA_DATA6__FEC_MDIO 0x0 + MX27_PAD_ATA_DATA7__FEC_MDC 0x0 + MX27_PAD_ATA_DATA8__FEC_CRS 0x0 + MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0 + MX27_PAD_ATA_DATA10__FEC_RXD0 0x0 + MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0 + MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0 + MX27_PAD_ATA_DATA13__FEC_COL 0x0 + MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0 + MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0 + >; }; pinctrl_uart1: uart1grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_UART1_TXD__UART1_TXD 0x0 + MX27_PAD_UART1_RXD__UART1_RXD 0x0 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts index 2555d80..2b6d489 100644 --- a/arch/arm/boot/dts/imx27-apf27dev.dts +++ b/arch/arm/boot/dts/imx27-apf27dev.dts @@ -108,7 +108,11 @@ &iomuxc { imx27-apf27dev { pinctrl_cspi1: cspi1grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_CSPI1_MISO__CSPI1_MISO 0x0 + MX27_PAD_CSPI1_MOSI__CSPI1_MOSI 0x0 + MX27_PAD_CSPI1_SCLK__CSPI1_SCLK 0x0 + >; }; pinctrl_cspi1_cs: cspi1csgrp { @@ -116,7 +120,11 @@ }; pinctrl_cspi2: cspi2grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_CSPI2_MISO__CSPI2_MISO 0x0 + MX27_PAD_CSPI2_MOSI__CSPI2_MOSI 0x0 + MX27_PAD_CSPI2_SCLK__CSPI2_SCLK 0x0 + >; }; pinctrl_cspi2_cs: cspi2csgrp { @@ -136,23 +144,66 @@ }; pinctrl_imxfb1: imxfbgrp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_CLS__CLS 0x0 + MX27_PAD_CONTRAST__CONTRAST 0x0 + MX27_PAD_LD0__LD0 0x0 + MX27_PAD_LD1__LD1 0x0 + MX27_PAD_LD2__LD2 0x0 + MX27_PAD_LD3__LD3 0x0 + MX27_PAD_LD4__LD4 0x0 + MX27_PAD_LD5__LD5 0x0 + MX27_PAD_LD6__LD6 0x0 + MX27_PAD_LD7__LD7 0x0 + MX27_PAD_LD8__LD8 0x0 + MX27_PAD_LD9__LD9 0x0 + MX27_PAD_LD10__LD10 0x0 + MX27_PAD_LD11__LD11 0x0 + MX27_PAD_LD12__LD12 0x0 + MX27_PAD_LD13__LD13 0x0 + MX27_PAD_LD14__LD14 0x0 + MX27_PAD_LD15__LD15 0x0 + MX27_PAD_LD16__LD16 0x0 + MX27_PAD_LD17__LD17 0x0 + MX27_PAD_LSCLK__LSCLK 0x0 + MX27_PAD_OE_ACD__OE_ACD 0x0 + MX27_PAD_PS__PS 0x0 + MX27_PAD_REV__REV 0x0 + MX27_PAD_SPL_SPR__SPL_SPR 0x0 + MX27_PAD_HSYNC__HSYNC 0x0 + MX27_PAD_VSYNC__VSYNC 0x0 + >; }; pinctrl_i2c1: i2c1grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_I2C_DATA__I2C_DATA 0x0 + MX27_PAD_I2C_CLK__I2C_CLK 0x0 + >; }; pinctrl_i2c2: i2c2grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_I2C2_SDA__I2C2_SDA 0x0 + MX27_PAD_I2C2_SCL__I2C2_SCL 0x0 + >; }; pinctrl_pwm: pwmgrp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_PWMO__PWMO 0x0 + >; }; pinctrl_sdhc2: sdhc2grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_SD2_CLK__SD2_CLK 0x0 + MX27_PAD_SD2_CMD__SD2_CMD 0x0 + MX27_PAD_SD2_D0__SD2_D0 0x0 + MX27_PAD_SD2_D1__SD2_D1 0x0 + MX27_PAD_SD2_D2__SD2_D2 0x0 + MX27_PAD_SD2_D3__SD2_D3 0x0 + >; }; pinctrl_sdhc2_cd: sdhc2cdgrp { diff --git a/arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts b/arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts index 0d65023..04cadfc 100644 --- a/arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts +++ b/arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts @@ -76,31 +76,42 @@ &iomuxc { imx27-phycard-s-rdk { pinctrl_i2c1: i2c1grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_I2C2_SDA__I2C2_SDA 0x0 + MX27_PAD_I2C2_SCL__I2C2_SCL 0x0 + >; }; pinctrl_owire1: owire1grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_RTCK__OWIRE 0x0 + >; }; pinctrl_uart1: uart1grp { fsl,pins = < - MX27_UART1_PINGRP1 - MX27_UART1_RTSCTS_PINGRP1 + MX27_PAD_UART1_TXD__UART1_TXD 0x0 + MX27_PAD_UART1_RXD__UART1_RXD 0x0 + MX27_PAD_UART1_CTS__UART1_CTS 0x0 + MX27_PAD_UART1_RTS__UART1_RTS 0x0 >; }; pinctrl_uart2: uart2grp { fsl,pins = < - MX27_UART2_PINGRP1 - MX27_UART2_RTSCTS_PINGRP1 + MX27_PAD_UART2_TXD__UART2_TXD 0x0 + MX27_PAD_UART2_RXD__UART2_RXD 0x0 + MX27_PAD_UART2_CTS__UART2_CTS 0x0 + MX27_PAD_UART2_RTS__UART2_RTS 0x0 >; }; pinctrl_uart3: uart3grp { fsl,pins = < - MX27_UART3_PINGRP1 - MX27_UART3_RTSCTS_PINGRP1 + MX27_PAD_UART3_TXD__UART3_TXD 0x0 + MX27_PAD_UART3_RXD__UART3_RXD 0x0 + MX27_PAD_UART3_CTS__UART3_CTS 0x0 + MX27_PAD_UART3_RTS__UART3_RTS 0x0 >; }; }; diff --git a/arch/arm/boot/dts/imx27-phytec-phycard-s-som.dts b/arch/arm/boot/dts/imx27-phytec-phycard-s-som.dts index db8c095..e51e550 100644 --- a/arch/arm/boot/dts/imx27-phytec-phycard-s-som.dts +++ b/arch/arm/boot/dts/imx27-phytec-phycard-s-som.dts @@ -32,11 +32,33 @@ &iomuxc { imx27-phycard-s-som { pinctrl_fec1: fec1grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_SD3_CMD__FEC_TXD0 0x0 + MX27_PAD_SD3_CLK__FEC_TXD1 0x0 + MX27_PAD_ATA_DATA0__FEC_TXD2 0x0 + MX27_PAD_ATA_DATA1__FEC_TXD3 0x0 + MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0 + MX27_PAD_ATA_DATA3__FEC_RXD1 0x0 + MX27_PAD_ATA_DATA4__FEC_RXD2 0x0 + MX27_PAD_ATA_DATA5__FEC_RXD3 0x0 + MX27_PAD_ATA_DATA6__FEC_MDIO 0x0 + MX27_PAD_ATA_DATA7__FEC_MDC 0x0 + MX27_PAD_ATA_DATA8__FEC_CRS 0x0 + MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0 + MX27_PAD_ATA_DATA10__FEC_RXD0 0x0 + MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0 + MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0 + MX27_PAD_ATA_DATA13__FEC_COL 0x0 + MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0 + MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0 + >; }; pinctrl_i2c2: i2c2grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_I2C2_SDA__I2C2_SDA 0x0 + MX27_PAD_I2C2_SCL__I2C2_SCL 0x0 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts b/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts index eaaff00..9f8ad51 100644 --- a/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts +++ b/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts @@ -45,12 +45,19 @@ }; pinctrl_owire1: owire1grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_RTCK__OWIRE 0x0 + >; }; pinctrl_sdhc2: sdhc2grp { fsl,pins = < - MX27_SDHC2_PINGRP1 + MX27_PAD_SD2_CLK__SD2_CLK 0x0 + MX27_PAD_SD2_CMD__SD2_CMD 0x0 + MX27_PAD_SD2_D0__SD2_D0 0x0 + MX27_PAD_SD2_D1__SD2_D1 0x0 + MX27_PAD_SD2_D2__SD2_D2 0x0 + MX27_PAD_SD2_D3__SD2_D3 0x0 MX27_PAD_SSI3_FS__GPIO3_28 0x0 /* WP */ MX27_PAD_SSI3_RXDAT__GPIO3_29 0x0 /* CD */ >; @@ -58,15 +65,19 @@ pinctrl_uart1: uart1grp { fsl,pins = < - MX27_UART1_PINGRP1 - MX27_UART1_RTSCTS_PINGRP1 + MX27_PAD_UART1_TXD__UART1_TXD 0x0 + MX27_PAD_UART1_RXD__UART1_RXD 0x0 + MX27_PAD_UART1_CTS__UART1_CTS 0x0 + MX27_PAD_UART1_RTS__UART1_RTS 0x0 >; }; pinctrl_uart2: uart2grp { fsl,pins = < - MX27_UART2_PINGRP1 - MX27_UART2_RTSCTS_PINGRP1 + MX27_PAD_UART2_TXD__UART2_TXD 0x0 + MX27_PAD_UART2_RXD__UART2_RXD 0x0 + MX27_PAD_UART2_CTS__UART2_CTS 0x0 + MX27_PAD_UART2_RTS__UART2_RTS 0x0 >; }; diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi index c934999..230cfaf 100644 --- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi @@ -186,7 +186,9 @@ imx27_phycore_som { pinctrl_cspi1: cspi1grp { fsl,pins = < - MX27_CSPI1_PINGRP1 + MX27_PAD_CSPI1_MISO__CSPI1_MISO 0x0 + MX27_PAD_CSPI1_MOSI__CSPI1_MOSI 0x0 + MX27_PAD_CSPI1_SCLK__CSPI1_SCLK 0x0 MX27_PAD_CSPI1_SS0__GPIO4_28 0x0 /* SPI1 CS0 */ MX27_PAD_USB_PWR__GPIO2_23 0x0 /* PMIC IRQ */ >; @@ -194,17 +196,45 @@ pinctrl_fec1: fec1grp { fsl,pins = < - MX27_FEC1_PINGRP1 + MX27_PAD_SD3_CMD__FEC_TXD0 0x0 + MX27_PAD_SD3_CLK__FEC_TXD1 0x0 + MX27_PAD_ATA_DATA0__FEC_TXD2 0x0 + MX27_PAD_ATA_DATA1__FEC_TXD3 0x0 + MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0 + MX27_PAD_ATA_DATA3__FEC_RXD1 0x0 + MX27_PAD_ATA_DATA4__FEC_RXD2 0x0 + MX27_PAD_ATA_DATA5__FEC_RXD3 0x0 + MX27_PAD_ATA_DATA6__FEC_MDIO 0x0 + MX27_PAD_ATA_DATA7__FEC_MDC 0x0 + MX27_PAD_ATA_DATA8__FEC_CRS 0x0 + MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0 + MX27_PAD_ATA_DATA10__FEC_RXD0 0x0 + MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0 + MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0 + MX27_PAD_ATA_DATA13__FEC_COL 0x0 + MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0 + MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0 MX27_PAD_SSI3_TXDAT__GPIO3_30 0x0 /* FEC RST */ >; }; pinctrl_i2c2: i2c2grp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_I2C2_SDA__I2C2_SDA 0x0 + MX27_PAD_I2C2_SCL__I2C2_SCL 0x0 + >; }; pinctrl_nfc: nfcgrp { - fsl,pins = ; + fsl,pins = < + MX27_PAD_NFRB__NFRB 0x0 + MX27_PAD_NFCLE__NFCLE 0x0 + MX27_PAD_NFWP_B__NFWP_B 0x0 + MX27_PAD_NFCE_B__NFCE_B 0x0 + MX27_PAD_NFALE__NFALE 0x0 + MX27_PAD_NFRE_B__NFRE_B 0x0 + MX27_PAD_NFWE_B__NFWE_B 0x0 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx27-pingrp.h b/arch/arm/boot/dts/imx27-pingrp.h deleted file mode 100644 index 57ca02f..0000000 --- a/arch/arm/boot/dts/imx27-pingrp.h +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Copyright 2013 Markus Pargmann , Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ -#ifndef __DTS_IMX27_PINGRP_H -#define __DTS_IMX27_PINGRP_H - -#include "imx27-pinfunc.h" - -#define MX27_CSPI1_PINGRP1 \ - MX27_PAD_CSPI1_MISO__CSPI1_MISO 0x0 \ - MX27_PAD_CSPI1_MOSI__CSPI1_MOSI 0x0 \ - MX27_PAD_CSPI1_SCLK__CSPI1_SCLK 0x0 - -#define MX27_CSPI2_PINGRP1 \ - MX27_PAD_CSPI2_MISO__CSPI2_MISO 0x0 \ - MX27_PAD_CSPI2_MOSI__CSPI2_MOSI 0x0 \ - MX27_PAD_CSPI2_SCLK__CSPI2_SCLK 0x0 - -#define MX27_CSPI3_PINGRP1 \ - MX27_PAD_SD1_CLK__CSPI3_SCLK 0x0 \ - MX27_PAD_SD1_D0__CSPI3_MISO 0x0 \ - MX27_PAD_SD1_CMD__CSPI3_MOSI 0x0 - -#define MX27_FB_PINGRP1 \ - MX27_PAD_CLS__CLS 0x0 \ - MX27_PAD_CONTRAST__CONTRAST 0x0 \ - MX27_PAD_LD0__LD0 0x0 \ - MX27_PAD_LD1__LD1 0x0 \ - MX27_PAD_LD2__LD2 0x0 \ - MX27_PAD_LD3__LD3 0x0 \ - MX27_PAD_LD4__LD4 0x0 \ - MX27_PAD_LD5__LD5 0x0 \ - MX27_PAD_LD6__LD6 0x0 \ - MX27_PAD_LD7__LD7 0x0 \ - MX27_PAD_LD8__LD8 0x0 \ - MX27_PAD_LD9__LD9 0x0 \ - MX27_PAD_LD10__LD10 0x0 \ - MX27_PAD_LD11__LD11 0x0 \ - MX27_PAD_LD12__LD12 0x0 \ - MX27_PAD_LD13__LD13 0x0 \ - MX27_PAD_LD14__LD14 0x0 \ - MX27_PAD_LD15__LD15 0x0 \ - MX27_PAD_LD16__LD16 0x0 \ - MX27_PAD_LD17__LD17 0x0 \ - MX27_PAD_LSCLK__LSCLK 0x0 \ - MX27_PAD_OE_ACD__OE_ACD 0x0 \ - MX27_PAD_PS__PS 0x0 \ - MX27_PAD_REV__REV 0x0 \ - MX27_PAD_SPL_SPR__SPL_SPR 0x0 \ - MX27_PAD_HSYNC__HSYNC 0x0 \ - MX27_PAD_VSYNC__VSYNC 0x0 - -#define MX27_FEC1_PINGRP1 \ - MX27_PAD_SD3_CMD__FEC_TXD0 0x0 \ - MX27_PAD_SD3_CLK__FEC_TXD1 0x0 \ - MX27_PAD_ATA_DATA0__FEC_TXD2 0x0 \ - MX27_PAD_ATA_DATA1__FEC_TXD3 0x0 \ - MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0 \ - MX27_PAD_ATA_DATA3__FEC_RXD1 0x0 \ - MX27_PAD_ATA_DATA4__FEC_RXD2 0x0 \ - MX27_PAD_ATA_DATA5__FEC_RXD3 0x0 \ - MX27_PAD_ATA_DATA6__FEC_MDIO 0x0 \ - MX27_PAD_ATA_DATA7__FEC_MDC 0x0 \ - MX27_PAD_ATA_DATA8__FEC_CRS 0x0 \ - MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0 \ - MX27_PAD_ATA_DATA10__FEC_RXD0 0x0 \ - MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0 \ - MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0 \ - MX27_PAD_ATA_DATA13__FEC_COL 0x0 \ - MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0 \ - MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0 - -#define MX27_I2C1_PINGRP1 \ - MX27_PAD_I2C_DATA__I2C_DATA 0x0 \ - MX27_PAD_I2C_CLK__I2C_CLK 0x0 - -#define MX27_I2C2_PINGRP1 \ - MX27_PAD_I2C2_SDA__I2C2_SDA 0x0 \ - MX27_PAD_I2C2_SCL__I2C2_SCL 0x0 - -#define MX27_NFC_PINGRP1 \ - MX27_PAD_NFRB__NFRB 0x0 \ - MX27_PAD_NFCLE__NFCLE 0x0 \ - MX27_PAD_NFWP_B__NFWP_B 0x0 \ - MX27_PAD_NFCE_B__NFCE_B 0x0 \ - MX27_PAD_NFALE__NFALE 0x0 \ - MX27_PAD_NFRE_B__NFRE_B 0x0 \ - MX27_PAD_NFWE_B__NFWE_B 0x0 - -#define MX27_OWIRE1_PINGRP1 \ - MX27_PAD_RTCK__OWIRE 0x0 - -#define MX27_PWM_PINGRP1 \ - MX27_PAD_PWMO__PWMO 0x0 - -#define MX27_SDHC1_PINGRP1 \ - MX27_PAD_SD1_CLK__SD1_CLK 0x0 \ - MX27_PAD_SD1_CMD__SD1_CMD 0x0 \ - MX27_PAD_SD1_D0__SD1_D0 0x0 \ - MX27_PAD_SD1_D1__SD1_D1 0x0 \ - MX27_PAD_SD1_D2__SD1_D2 0x0 \ - MX27_PAD_SD1_D3__SD1_D3 0x0 - -#define MX27_SDHC2_PINGRP1 \ - MX27_PAD_SD2_CLK__SD2_CLK 0x0 \ - MX27_PAD_SD2_CMD__SD2_CMD 0x0 \ - MX27_PAD_SD2_D0__SD2_D0 0x0 \ - MX27_PAD_SD2_D1__SD2_D1 0x0 \ - MX27_PAD_SD2_D2__SD2_D2 0x0 \ - MX27_PAD_SD2_D3__SD2_D3 0x0 - -#define MX27_SDHC3_PINGRP1 \ - MX27_PAD_SD3_CLK__SD3_CLK 0x0 \ - MX27_PAD_SD3_CMD__SD3_CMD 0x0 \ - MX27_PAD_SD3_D0__SD3_D0 0x0 \ - MX27_PAD_SD3_D1__SD3_D1 0x0 \ - MX27_PAD_SD3_D2__SD3_D2 0x0 \ - MX27_PAD_SD3_D3__SD3_D3 0x0 - -#define MX27_UART1_PINGRP1 \ - MX27_PAD_UART1_TXD__UART1_TXD 0x0 \ - MX27_PAD_UART1_RXD__UART1_RXD 0x0 - -#define MX27_UART1_RTSCTS_PINGRP1 \ - MX27_PAD_UART1_CTS__UART1_CTS 0x0 \ - MX27_PAD_UART1_RTS__UART1_RTS 0x0 - -#define MX27_UART2_PINGRP1 \ - MX27_PAD_UART2_TXD__UART2_TXD 0x0 \ - MX27_PAD_UART2_RXD__UART2_RXD 0x0 - -#define MX27_UART2_RTSCTS_PINGRP1 \ - MX27_PAD_UART2_CTS__UART2_CTS 0x0 \ - MX27_PAD_UART2_RTS__UART2_RTS 0x0 - -#define MX27_UART3_PINGRP1 \ - MX27_PAD_UART3_TXD__UART3_TXD 0x0 \ - MX27_PAD_UART3_RXD__UART3_RXD 0x0 - -#define MX27_UART3_RTSCTS_PINGRP1 \ - MX27_PAD_UART3_CTS__UART3_CTS 0x0 \ - MX27_PAD_UART3_RTS__UART3_RTS 0x0 - -#endif /* __DTS_IMX27_PINGRP_H */ diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index 63b1b32..1af8fcf 100644 --- a/arch/arm/boot/dts/imx27.dtsi +++ b/arch/arm/boot/dts/imx27.dtsi @@ -10,7 +10,7 @@ */ #include "skeleton.dtsi" -#include "imx27-pingrp.h" +#include "imx27-pinfunc.h" #include #include