From patchwork Sat Jan 25 16:43:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 3538841 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F2133C02DC for ; Sat, 25 Jan 2014 19:22:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9879201B6 for ; Sat, 25 Jan 2014 19:22:20 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7AC9E2013D for ; Sat, 25 Jan 2014 19:22:14 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W76Q2-0007Hm-M7; Sat, 25 Jan 2014 16:49:20 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W76PG-0003fm-O0; Sat, 25 Jan 2014 16:48:30 +0000 Received: from tx2ehsobe005.messaging.microsoft.com ([65.55.88.15] helo=tx2outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W76O6-0003ZP-Sc for linux-arm-kernel@lists.infradead.org; Sat, 25 Jan 2014 16:47:22 +0000 Received: from mail85-tx2-R.bigfish.com (10.9.14.225) by TX2EHSOBE011.bigfish.com (10.9.40.31) with Microsoft SMTP Server id 14.1.225.22; Sat, 25 Jan 2014 16:46:48 +0000 Received: from mail85-tx2 (localhost [127.0.0.1]) by mail85-tx2-R.bigfish.com (Postfix) with ESMTP id EF7443E02F1; Sat, 25 Jan 2014 16:46:47 +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: 11 X-BigFish: VS11(zze0eaha1fflb922lc8kzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h8275dh1de097hz2dh87h2a8h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1e23h1fe8h1ff5h2218h2216h226dh22d0h24afh2327h2336h2438h2461h2487h24d7h1151h1155h) X-FB-DOMAIN-IP-MATCH: fail Received: from mail85-tx2 (localhost.localdomain [127.0.0.1]) by mail85-tx2 (MessageSwitch) id 1390668393665666_17475; Sat, 25 Jan 2014 16:46:33 +0000 (UTC) Received: from TX2EHSMHS018.bigfish.com (unknown [10.9.14.232]) by mail85-tx2.bigfish.com (Postfix) with ESMTP id 99CB63A005A; Sat, 25 Jan 2014 16:46:33 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS018.bigfish.com (10.9.99.118) with Microsoft SMTP Server (TLS) id 14.16.227.3; Sat, 25 Jan 2014 16:46:27 +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:26 +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 s0PGk7uM013196; Sat, 25 Jan 2014 09:46:24 -0700 From: Shawn Guo To: Rob Herring , Subject: [PATCH 3/9] ARM: dts: imx53: remove the use of pingrp macros Date: Sun, 26 Jan 2014 00:43:05 +0800 Message-ID: <1390668191-20289-4-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% X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140125_114719_231903_0A3B414B X-CRM114-Status: GOOD ( 14.81 ) X-Spam-Score: -3.5 (---) Cc: devicetree@vger.kernel.org, Shawn Guo , Russell King - ARM Linux , linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY, UPPERCASE_50_75 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We created the pingrp macros in imx53-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/imx53-ard.dts | 18 +- arch/arm/boot/dts/imx53-evk.dts | 51 +++- arch/arm/boot/dts/imx53-m53evk.dts | 128 ++++++++-- arch/arm/boot/dts/imx53-pingrp.h | 352 --------------------------- arch/arm/boot/dts/imx53-qsb.dts | 88 ++++++- arch/arm/boot/dts/imx53-smd.dts | 77 +++++- arch/arm/boot/dts/imx53-tqma53.dtsi | 89 ++++++- arch/arm/boot/dts/imx53-voipac-bsb.dts | 21 +- arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi | 47 +++- arch/arm/boot/dts/imx53.dtsi | 2 +- 10 files changed, 459 insertions(+), 414 deletions(-) delete mode 100644 arch/arm/boot/dts/imx53-pingrp.h diff --git a/arch/arm/boot/dts/imx53-ard.dts b/arch/arm/boot/dts/imx53-ard.dts index 2bd97c3..e9337ad 100644 --- a/arch/arm/boot/dts/imx53-ard.dts +++ b/arch/arm/boot/dts/imx53-ard.dts @@ -153,11 +153,25 @@ }; pinctrl_esdhc1: esdhc1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5 + MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5 + MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5 + MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5 + MX53_PAD_PATA_DATA8__ESDHC1_DAT4 0x1d5 + MX53_PAD_PATA_DATA9__ESDHC1_DAT5 0x1d5 + MX53_PAD_PATA_DATA10__ESDHC1_DAT6 0x1d5 + MX53_PAD_PATA_DATA11__ESDHC1_DAT7 0x1d5 + MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5 + MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5 + >; }; pinctrl_uart1: uart1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4 + MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx53-evk.dts b/arch/arm/boot/dts/imx53-evk.dts index 214ac2e..2727a6f 100644 --- a/arch/arm/boot/dts/imx53-evk.dts +++ b/arch/arm/boot/dts/imx53-evk.dts @@ -94,27 +94,66 @@ }; pinctrl_ecspi1: ecspi1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_EIM_D16__ECSPI1_SCLK 0x80000000 + MX53_PAD_EIM_D17__ECSPI1_MISO 0x80000000 + MX53_PAD_EIM_D18__ECSPI1_MOSI 0x80000000 + >; }; pinctrl_esdhc1: esdhc1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5 + MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5 + MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5 + MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5 + MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5 + MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5 + >; }; pinctrl_esdhc3: esdhc3grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_DATA8__ESDHC3_DAT0 0x1d5 + MX53_PAD_PATA_DATA9__ESDHC3_DAT1 0x1d5 + MX53_PAD_PATA_DATA10__ESDHC3_DAT2 0x1d5 + MX53_PAD_PATA_DATA11__ESDHC3_DAT3 0x1d5 + MX53_PAD_PATA_DATA0__ESDHC3_DAT4 0x1d5 + MX53_PAD_PATA_DATA1__ESDHC3_DAT5 0x1d5 + MX53_PAD_PATA_DATA2__ESDHC3_DAT6 0x1d5 + MX53_PAD_PATA_DATA3__ESDHC3_DAT7 0x1d5 + MX53_PAD_PATA_RESET_B__ESDHC3_CMD 0x1d5 + MX53_PAD_PATA_IORDY__ESDHC3_CLK 0x1d5 + >; }; pinctrl_fec: fecgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 + MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 + MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 + MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 + MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 + MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 + MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 + MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 + MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 + MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 + >; }; pinctrl_i2c2: i2c2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_ROW3__I2C2_SDA 0xc0000000 + MX53_PAD_KEY_COL3__I2C2_SCL 0xc0000000 + >; }; pinctrl_uart1: uart1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_CSI0_DAT10__UART1_TXD_MUX 0x1e4 + MX53_PAD_CSI0_DAT11__UART1_RXD_MUX 0x1e4 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts index c623774..7100d08 100644 --- a/arch/arm/boot/dts/imx53-m53evk.dts +++ b/arch/arm/boot/dts/imx53-m53evk.dts @@ -244,59 +244,159 @@ }; pinctrl_audmux: audmuxgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD2_DATA3__AUDMUX_AUD4_TXC 0x80000000 + MX53_PAD_SD2_DATA2__AUDMUX_AUD4_TXD 0x80000000 + MX53_PAD_SD2_DATA1__AUDMUX_AUD4_TXFS 0x80000000 + MX53_PAD_SD2_DATA0__AUDMUX_AUD4_RXD 0x80000000 + >; }; pinctrl_can1: can1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_GPIO_7__CAN1_TXCAN 0x80000000 + MX53_PAD_GPIO_8__CAN1_RXCAN 0x80000000 + >; }; pinctrl_can2: can2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_COL4__CAN2_TXCAN 0x80000000 + MX53_PAD_KEY_ROW4__CAN2_RXCAN 0x80000000 + >; }; pinctrl_esdhc1: esdhc1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5 + MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5 + MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5 + MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5 + MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5 + MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5 + >; }; pinctrl_fec: fecgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 + MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 + MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 + MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 + MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 + MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 + MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 + MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 + MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 + MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 + >; }; pinctrl_i2c1: i2c1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_EIM_D21__I2C1_SCL 0xc0000000 + MX53_PAD_EIM_D28__I2C1_SDA 0xc0000000 + >; }; pinctrl_i2c2: i2c2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_EIM_D16__I2C2_SDA 0xc0000000 + MX53_PAD_EIM_EB2__I2C2_SCL 0xc0000000 + >; }; pinctrl_i2c3: i2c3grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000 + MX53_PAD_GPIO_5__I2C3_SCL 0xc0000000 + >; }; pinctrl_ipu_disp1: ipudisp1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_EIM_DA9__IPU_DISP1_DAT_0 0x5 + MX53_PAD_EIM_DA8__IPU_DISP1_DAT_1 0x5 + MX53_PAD_EIM_DA7__IPU_DISP1_DAT_2 0x5 + MX53_PAD_EIM_DA6__IPU_DISP1_DAT_3 0x5 + MX53_PAD_EIM_DA5__IPU_DISP1_DAT_4 0x5 + MX53_PAD_EIM_DA4__IPU_DISP1_DAT_5 0x5 + MX53_PAD_EIM_DA3__IPU_DISP1_DAT_6 0x5 + MX53_PAD_EIM_DA2__IPU_DISP1_DAT_7 0x5 + MX53_PAD_EIM_DA1__IPU_DISP1_DAT_8 0x5 + MX53_PAD_EIM_DA0__IPU_DISP1_DAT_9 0x5 + MX53_PAD_EIM_EB1__IPU_DISP1_DAT_10 0x5 + MX53_PAD_EIM_EB0__IPU_DISP1_DAT_11 0x5 + MX53_PAD_EIM_A17__IPU_DISP1_DAT_12 0x5 + MX53_PAD_EIM_A18__IPU_DISP1_DAT_13 0x5 + MX53_PAD_EIM_A19__IPU_DISP1_DAT_14 0x5 + MX53_PAD_EIM_A20__IPU_DISP1_DAT_15 0x5 + MX53_PAD_EIM_A21__IPU_DISP1_DAT_16 0x5 + MX53_PAD_EIM_A22__IPU_DISP1_DAT_17 0x5 + MX53_PAD_EIM_A23__IPU_DISP1_DAT_18 0x5 + MX53_PAD_EIM_A24__IPU_DISP1_DAT_19 0x5 + MX53_PAD_EIM_D31__IPU_DISP1_DAT_20 0x5 + MX53_PAD_EIM_D30__IPU_DISP1_DAT_21 0x5 + MX53_PAD_EIM_D26__IPU_DISP1_DAT_22 0x5 + MX53_PAD_EIM_D27__IPU_DISP1_DAT_23 0x5 + MX53_PAD_EIM_A16__IPU_DI1_DISP_CLK 0x5 + MX53_PAD_EIM_DA13__IPU_DI1_D0_CS 0x5 + MX53_PAD_EIM_DA14__IPU_DI1_D1_CS 0x5 + MX53_PAD_EIM_DA15__IPU_DI1_PIN1 0x5 + MX53_PAD_EIM_DA11__IPU_DI1_PIN2 0x5 + MX53_PAD_EIM_DA12__IPU_DI1_PIN3 0x5 + MX53_PAD_EIM_A25__IPU_DI1_PIN12 0x5 + MX53_PAD_EIM_DA10__IPU_DI1_PIN15 0x5 + >; }; pinctrl_nand: nandgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B 0x4 + MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B 0x4 + MX53_PAD_NANDF_CLE__EMI_NANDF_CLE 0x4 + MX53_PAD_NANDF_ALE__EMI_NANDF_ALE 0x4 + MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B 0xe0 + MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0 0xe0 + MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0 0x4 + MX53_PAD_PATA_DATA0__EMI_NANDF_D_0 0xa4 + MX53_PAD_PATA_DATA1__EMI_NANDF_D_1 0xa4 + MX53_PAD_PATA_DATA2__EMI_NANDF_D_2 0xa4 + MX53_PAD_PATA_DATA3__EMI_NANDF_D_3 0xa4 + MX53_PAD_PATA_DATA4__EMI_NANDF_D_4 0xa4 + MX53_PAD_PATA_DATA5__EMI_NANDF_D_5 0xa4 + MX53_PAD_PATA_DATA6__EMI_NANDF_D_6 0xa4 + MX53_PAD_PATA_DATA7__EMI_NANDF_D_7 0xa4 + >; }; pinctrl_pwm1: pwm1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_DISP0_DAT8__PWM1_PWMO 0x5 + >; }; pinctrl_uart1: uart1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4 + MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4 + >; }; pinctrl_uart2: uart2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX 0x1e4 + MX53_PAD_PATA_DMARQ__UART2_TXD_MUX 0x1e4 + >; }; pinctrl_uart3: uart3grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_CS_0__UART3_TXD_MUX 0x1e4 + MX53_PAD_PATA_CS_1__UART3_RXD_MUX 0x1e4 + MX53_PAD_PATA_DA_1__UART3_CTS 0x1e4 + MX53_PAD_PATA_DA_2__UART3_RTS 0x1e4 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx53-pingrp.h b/arch/arm/boot/dts/imx53-pingrp.h deleted file mode 100644 index ac8e73d..0000000 --- a/arch/arm/boot/dts/imx53-pingrp.h +++ /dev/null @@ -1,352 +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_IMX53_PINGRP_H -#define __DTS_IMX53_PINGRP_H - -#include "imx53-pinfunc.h" - -#define MX53_AUDMUX_PINGRP1 \ - MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC 0x80000000 \ - MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD 0x80000000 \ - MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS 0x80000000 \ - MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD 0x80000000 - -#define MX53_AUDMUX_PINGRP2 \ - MX53_PAD_SD2_DATA3__AUDMUX_AUD4_TXC 0x80000000 \ - MX53_PAD_SD2_DATA2__AUDMUX_AUD4_TXD 0x80000000 \ - MX53_PAD_SD2_DATA1__AUDMUX_AUD4_TXFS 0x80000000 \ - MX53_PAD_SD2_DATA0__AUDMUX_AUD4_RXD 0x80000000 - -#define MX53_AUDMUX_PINGRP3 \ - MX53_PAD_CSI0_DAT4__AUDMUX_AUD3_TXC 0x80000000 \ - MX53_PAD_CSI0_DAT5__AUDMUX_AUD3_TXD 0x80000000 \ - MX53_PAD_CSI0_DAT6__AUDMUX_AUD3_TXFS 0x80000000 \ - MX53_PAD_CSI0_DAT7__AUDMUX_AUD3_RXD 0x80000000 - -#define MX53_CAN1_PINGRP1 \ - MX53_PAD_PATA_INTRQ__CAN1_TXCAN 0x80000000 \ - MX53_PAD_PATA_DIOR__CAN1_RXCAN 0x80000000 - -#define MX53_CAN1_PINGRP2 \ - MX53_PAD_KEY_COL2__CAN1_TXCAN 0x80000000 \ - MX53_PAD_KEY_ROW2__CAN1_RXCAN 0x80000000 - -#define MX53_CAN1_PINGRP3 \ - MX53_PAD_GPIO_7__CAN1_TXCAN 0x80000000 \ - MX53_PAD_GPIO_8__CAN1_RXCAN 0x80000000 - -#define MX53_CAN2_PINGRP1 \ - MX53_PAD_KEY_COL4__CAN2_TXCAN 0x80000000 \ - MX53_PAD_KEY_ROW4__CAN2_RXCAN 0x80000000 - - -#define MX53_CSI_PINGRP1 \ - MX53_PAD_CSI0_DATA_EN__IPU_CSI0_DATA_EN 0x1d5 \ - MX53_PAD_CSI0_VSYNC__IPU_CSI0_VSYNC 0x1d5 \ - MX53_PAD_CSI0_MCLK__IPU_CSI0_HSYNC 0x1d5 \ - MX53_PAD_CSI0_PIXCLK__IPU_CSI0_PIXCLK 0x1d5 \ - MX53_PAD_CSI0_DAT19__IPU_CSI0_D_19 0x1d5 \ - MX53_PAD_CSI0_DAT18__IPU_CSI0_D_18 0x1d5 \ - MX53_PAD_CSI0_DAT17__IPU_CSI0_D_17 0x1d5 \ - MX53_PAD_CSI0_DAT16__IPU_CSI0_D_16 0x1d5 \ - MX53_PAD_CSI0_DAT15__IPU_CSI0_D_15 0x1d5 \ - MX53_PAD_CSI0_DAT14__IPU_CSI0_D_14 0x1d5 \ - MX53_PAD_CSI0_DAT13__IPU_CSI0_D_13 0x1d5 \ - MX53_PAD_CSI0_DAT12__IPU_CSI0_D_12 0x1d5 \ - MX53_PAD_CSI0_DAT11__IPU_CSI0_D_11 0x1d5 \ - MX53_PAD_CSI0_DAT10__IPU_CSI0_D_10 0x1d5 \ - MX53_PAD_CSI0_DAT9__IPU_CSI0_D_9 0x1d5 \ - MX53_PAD_CSI0_DAT8__IPU_CSI0_D_8 0x1d5 \ - MX53_PAD_CSI0_DAT7__IPU_CSI0_D_7 0x1d5 \ - MX53_PAD_CSI0_DAT6__IPU_CSI0_D_6 0x1d5 \ - MX53_PAD_CSI0_DAT5__IPU_CSI0_D_5 0x1d5 \ - MX53_PAD_CSI0_DAT4__IPU_CSI0_D_4 0x1d5 \ - MX53_PAD_CSI0_PIXCLK__IPU_CSI0_PIXCLK 0x1d5 - -#define MX53_CSI_PINGRP2 \ - MX53_PAD_CSI0_VSYNC__IPU_CSI0_VSYNC 0x1d5 \ - MX53_PAD_CSI0_MCLK__IPU_CSI0_HSYNC 0x1d5 \ - MX53_PAD_CSI0_PIXCLK__IPU_CSI0_PIXCLK 0x1d5 \ - MX53_PAD_CSI0_DAT19__IPU_CSI0_D_19 0x1d5 \ - MX53_PAD_CSI0_DAT18__IPU_CSI0_D_18 0x1d5 \ - MX53_PAD_CSI0_DAT17__IPU_CSI0_D_17 0x1d5 \ - MX53_PAD_CSI0_DAT16__IPU_CSI0_D_16 0x1d5 \ - MX53_PAD_CSI0_DAT15__IPU_CSI0_D_15 0x1d5 \ - MX53_PAD_CSI0_DAT14__IPU_CSI0_D_14 0x1d5 \ - MX53_PAD_CSI0_DAT13__IPU_CSI0_D_13 0x1d5 \ - MX53_PAD_CSI0_DAT12__IPU_CSI0_D_12 0x1d5 - -#define MX53_CSPI_PINGRP1 \ - MX53_PAD_SD1_DATA0__CSPI_MISO 0x1d5 \ - MX53_PAD_SD1_CMD__CSPI_MOSI 0x1d5 \ - MX53_PAD_SD1_CLK__CSPI_SCLK 0x1d5 - -#define MX53_CSPI_PINGRP2 \ - MX53_PAD_EIM_D22__CSPI_MISO 0x1d5 \ - MX53_PAD_EIM_D28__CSPI_MOSI 0x1d5 \ - MX53_PAD_EIM_D21__CSPI_SCLK 0x1d5 - -#define MX53_ECSPI1_PINGRP1 \ - MX53_PAD_EIM_D16__ECSPI1_SCLK 0x80000000 \ - MX53_PAD_EIM_D17__ECSPI1_MISO 0x80000000 \ - MX53_PAD_EIM_D18__ECSPI1_MOSI 0x80000000 - -#define MX53_ECSPI1_PINGRP2 \ - MX53_PAD_GPIO_19__ECSPI1_RDY 0x80000000 \ - MX53_PAD_EIM_EB2__ECSPI1_SS0 0x80000000 \ - MX53_PAD_EIM_D16__ECSPI1_SCLK 0x80000000 \ - MX53_PAD_EIM_D17__ECSPI1_MISO 0x80000000 \ - MX53_PAD_EIM_D18__ECSPI1_MOSI 0x80000000 \ - MX53_PAD_EIM_D19__ECSPI1_SS1 0x80000000 - -#define MX53_ECSPI2_PINGRP1 \ - MX53_PAD_EIM_OE__ECSPI2_MISO 0x80000000 \ - MX53_PAD_EIM_CS1__ECSPI2_MOSI 0x80000000 \ - MX53_PAD_EIM_CS0__ECSPI2_SCLK 0x80000000 - -#define MX53_ESDHC1_PINGRP1 \ - MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5 \ - MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5 \ - MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5 \ - MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5 \ - MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5 \ - MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5 - -#define MX53_ESDHC1_PINGRP2 \ - MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5 \ - MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5 \ - MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5 \ - MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5 \ - MX53_PAD_PATA_DATA8__ESDHC1_DAT4 0x1d5 \ - MX53_PAD_PATA_DATA9__ESDHC1_DAT5 0x1d5 \ - MX53_PAD_PATA_DATA10__ESDHC1_DAT6 0x1d5 \ - MX53_PAD_PATA_DATA11__ESDHC1_DAT7 0x1d5 \ - MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5 \ - MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5 - -#define MX53_ESDHC2_PINGRP1 \ - MX53_PAD_SD2_CMD__ESDHC2_CMD 0x1d5 \ - MX53_PAD_SD2_CLK__ESDHC2_CLK 0x1d5 \ - MX53_PAD_SD2_DATA0__ESDHC2_DAT0 0x1d5 \ - MX53_PAD_SD2_DATA1__ESDHC2_DAT1 0x1d5 \ - MX53_PAD_SD2_DATA2__ESDHC2_DAT2 0x1d5 \ - MX53_PAD_SD2_DATA3__ESDHC2_DAT3 0x1d5 - -#define MX53_ESDHC3_PINGRP1 \ - MX53_PAD_PATA_DATA8__ESDHC3_DAT0 0x1d5 \ - MX53_PAD_PATA_DATA9__ESDHC3_DAT1 0x1d5 \ - MX53_PAD_PATA_DATA10__ESDHC3_DAT2 0x1d5 \ - MX53_PAD_PATA_DATA11__ESDHC3_DAT3 0x1d5 \ - MX53_PAD_PATA_DATA0__ESDHC3_DAT4 0x1d5 \ - MX53_PAD_PATA_DATA1__ESDHC3_DAT5 0x1d5 \ - MX53_PAD_PATA_DATA2__ESDHC3_DAT6 0x1d5 \ - MX53_PAD_PATA_DATA3__ESDHC3_DAT7 0x1d5 \ - MX53_PAD_PATA_RESET_B__ESDHC3_CMD 0x1d5 \ - MX53_PAD_PATA_IORDY__ESDHC3_CLK 0x1d5 - -#define MX53_FEC_PINGRP1 \ - MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 \ - MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 \ - MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 \ - MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 \ - MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 \ - MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 \ - MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 \ - MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 \ - MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 \ - MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 - -#define MX53_FEC_PINGRP2 \ - MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 \ - MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 \ - MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 \ - MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 \ - MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 \ - MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 \ - MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 \ - MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 \ - MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 \ - MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 \ - MX53_PAD_KEY_ROW1__FEC_COL 0x80000000 \ - MX53_PAD_KEY_COL3__FEC_CRS 0x80000000 \ - MX53_PAD_KEY_COL2__FEC_RDATA_2 0x80000000 \ - MX53_PAD_KEY_COL0__FEC_RDATA_3 0x80000000 \ - MX53_PAD_KEY_COL1__FEC_RX_CLK 0x80000000 \ - MX53_PAD_KEY_ROW2__FEC_TDATA_2 0x80000000 \ - MX53_PAD_GPIO_19__FEC_TDATA_3 0x80000000 \ - MX53_PAD_KEY_ROW0__FEC_TX_ER 0x80000000 - -#define MX53_I2C1_PINGRP1 \ - MX53_PAD_CSI0_DAT8__I2C1_SDA 0xc0000000 \ - MX53_PAD_CSI0_DAT9__I2C1_SCL 0xc0000000 - -#define MX53_I2C1_PINGRP2 \ - MX53_PAD_EIM_D21__I2C1_SCL 0xc0000000 \ - MX53_PAD_EIM_D28__I2C1_SDA 0xc0000000 - -#define MX53_I2C2_PINGRP1 \ - MX53_PAD_KEY_ROW3__I2C2_SDA 0xc0000000 \ - MX53_PAD_KEY_COL3__I2C2_SCL 0xc0000000 - -#define MX53_I2C2_PINGRP2 \ - MX53_PAD_EIM_D16__I2C2_SDA 0xc0000000 \ - MX53_PAD_EIM_EB2__I2C2_SCL 0xc0000000 - -#define MX53_I2C3_PINGRP1 \ - MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000 \ - MX53_PAD_GPIO_5__I2C3_SCL 0xc0000000 - -#define MX53_I2C3_PINGRP2 \ - MX53_PAD_GPIO_3__I2C3_SCL 0xc0000000 \ - MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000 - -#define MX53_IPU_DISP0_PINGRP1 \ - MX53_PAD_DI0_DISP_CLK__IPU_DI0_DISP_CLK 0x5 \ - MX53_PAD_DI0_PIN15__IPU_DI0_PIN15 0x5 \ - MX53_PAD_DI0_PIN2__IPU_DI0_PIN2 0x5 \ - MX53_PAD_DI0_PIN3__IPU_DI0_PIN3 0x5 \ - MX53_PAD_DISP0_DAT0__IPU_DISP0_DAT_0 0x5 \ - MX53_PAD_DISP0_DAT1__IPU_DISP0_DAT_1 0x5 \ - MX53_PAD_DISP0_DAT2__IPU_DISP0_DAT_2 0x5 \ - MX53_PAD_DISP0_DAT3__IPU_DISP0_DAT_3 0x5 \ - MX53_PAD_DISP0_DAT4__IPU_DISP0_DAT_4 0x5 \ - MX53_PAD_DISP0_DAT5__IPU_DISP0_DAT_5 0x5 \ - MX53_PAD_DISP0_DAT6__IPU_DISP0_DAT_6 0x5 \ - MX53_PAD_DISP0_DAT7__IPU_DISP0_DAT_7 0x5 \ - MX53_PAD_DISP0_DAT8__IPU_DISP0_DAT_8 0x5 \ - MX53_PAD_DISP0_DAT9__IPU_DISP0_DAT_9 0x5 \ - MX53_PAD_DISP0_DAT10__IPU_DISP0_DAT_10 0x5 \ - MX53_PAD_DISP0_DAT11__IPU_DISP0_DAT_11 0x5 \ - MX53_PAD_DISP0_DAT12__IPU_DISP0_DAT_12 0x5 \ - MX53_PAD_DISP0_DAT13__IPU_DISP0_DAT_13 0x5 \ - MX53_PAD_DISP0_DAT14__IPU_DISP0_DAT_14 0x5 \ - MX53_PAD_DISP0_DAT15__IPU_DISP0_DAT_15 0x5 \ - MX53_PAD_DISP0_DAT16__IPU_DISP0_DAT_16 0x5 \ - MX53_PAD_DISP0_DAT17__IPU_DISP0_DAT_17 0x5 \ - MX53_PAD_DISP0_DAT18__IPU_DISP0_DAT_18 0x5 \ - MX53_PAD_DISP0_DAT19__IPU_DISP0_DAT_19 0x5 \ - MX53_PAD_DISP0_DAT20__IPU_DISP0_DAT_20 0x5 \ - MX53_PAD_DISP0_DAT21__IPU_DISP0_DAT_21 0x5 \ - MX53_PAD_DISP0_DAT22__IPU_DISP0_DAT_22 0x5 \ - MX53_PAD_DISP0_DAT23__IPU_DISP0_DAT_23 0x5 - -#define MX53_IPU_DISP1_PINGRP1 \ - MX53_PAD_EIM_DA9__IPU_DISP1_DAT_0 0x5 \ - MX53_PAD_EIM_DA8__IPU_DISP1_DAT_1 0x5 \ - MX53_PAD_EIM_DA7__IPU_DISP1_DAT_2 0x5 \ - MX53_PAD_EIM_DA6__IPU_DISP1_DAT_3 0x5 \ - MX53_PAD_EIM_DA5__IPU_DISP1_DAT_4 0x5 \ - MX53_PAD_EIM_DA4__IPU_DISP1_DAT_5 0x5 \ - MX53_PAD_EIM_DA3__IPU_DISP1_DAT_6 0x5 \ - MX53_PAD_EIM_DA2__IPU_DISP1_DAT_7 0x5 \ - MX53_PAD_EIM_DA1__IPU_DISP1_DAT_8 0x5 \ - MX53_PAD_EIM_DA0__IPU_DISP1_DAT_9 0x5 \ - MX53_PAD_EIM_EB1__IPU_DISP1_DAT_10 0x5 \ - MX53_PAD_EIM_EB0__IPU_DISP1_DAT_11 0x5 \ - MX53_PAD_EIM_A17__IPU_DISP1_DAT_12 0x5 \ - MX53_PAD_EIM_A18__IPU_DISP1_DAT_13 0x5 \ - MX53_PAD_EIM_A19__IPU_DISP1_DAT_14 0x5 \ - MX53_PAD_EIM_A20__IPU_DISP1_DAT_15 0x5 \ - MX53_PAD_EIM_A21__IPU_DISP1_DAT_16 0x5 \ - MX53_PAD_EIM_A22__IPU_DISP1_DAT_17 0x5 \ - MX53_PAD_EIM_A23__IPU_DISP1_DAT_18 0x5 \ - MX53_PAD_EIM_A24__IPU_DISP1_DAT_19 0x5 \ - MX53_PAD_EIM_D31__IPU_DISP1_DAT_20 0x5 \ - MX53_PAD_EIM_D30__IPU_DISP1_DAT_21 0x5 \ - MX53_PAD_EIM_D26__IPU_DISP1_DAT_22 0x5 \ - MX53_PAD_EIM_D27__IPU_DISP1_DAT_23 0x5 \ - MX53_PAD_EIM_A16__IPU_DI1_DISP_CLK 0x5 \ - MX53_PAD_EIM_DA13__IPU_DI1_D0_CS 0x5 \ - MX53_PAD_EIM_DA14__IPU_DI1_D1_CS 0x5 \ - MX53_PAD_EIM_DA15__IPU_DI1_PIN1 0x5 \ - MX53_PAD_EIM_DA11__IPU_DI1_PIN2 0x5 \ - MX53_PAD_EIM_DA12__IPU_DI1_PIN3 0x5 \ - MX53_PAD_EIM_A25__IPU_DI1_PIN12 0x5 \ - MX53_PAD_EIM_DA10__IPU_DI1_PIN15 0x5 - -#define MX53_IPU_DISP2_PINGRP1 \ - MX53_PAD_LVDS0_TX0_P__LDB_LVDS0_TX0 0x80000000 \ - MX53_PAD_LVDS0_TX1_P__LDB_LVDS0_TX1 0x80000000 \ - MX53_PAD_LVDS0_TX2_P__LDB_LVDS0_TX2 0x80000000 \ - MX53_PAD_LVDS0_TX3_P__LDB_LVDS0_TX3 0x80000000 \ - MX53_PAD_LVDS0_CLK_P__LDB_LVDS0_CLK 0x80000000 \ - MX53_PAD_LVDS1_TX0_P__LDB_LVDS1_TX0 0x80000000 \ - MX53_PAD_LVDS1_TX1_P__LDB_LVDS1_TX1 0x80000000 \ - MX53_PAD_LVDS1_TX2_P__LDB_LVDS1_TX2 0x80000000 \ - MX53_PAD_LVDS1_TX3_P__LDB_LVDS1_TX3 0x80000000 \ - MX53_PAD_LVDS1_CLK_P__LDB_LVDS1_CLK 0x80000000 - -#define MX53_NAND_PINGRP1 \ - MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B 0x4 \ - MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B 0x4 \ - MX53_PAD_NANDF_CLE__EMI_NANDF_CLE 0x4 \ - MX53_PAD_NANDF_ALE__EMI_NANDF_ALE 0x4 \ - MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B 0xe0 \ - MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0 0xe0 \ - MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0 0x4 \ - MX53_PAD_PATA_DATA0__EMI_NANDF_D_0 0xa4 \ - MX53_PAD_PATA_DATA1__EMI_NANDF_D_1 0xa4 \ - MX53_PAD_PATA_DATA2__EMI_NANDF_D_2 0xa4 \ - MX53_PAD_PATA_DATA3__EMI_NANDF_D_3 0xa4 \ - MX53_PAD_PATA_DATA4__EMI_NANDF_D_4 0xa4 \ - MX53_PAD_PATA_DATA5__EMI_NANDF_D_5 0xa4 \ - MX53_PAD_PATA_DATA6__EMI_NANDF_D_6 0xa4 \ - MX53_PAD_PATA_DATA7__EMI_NANDF_D_7 0xa4 - -#define MX53_OWIRE_PINGRP1 \ - MX53_PAD_GPIO_18__OWIRE_LINE 0x80000000 - -#define MX53_PWM1_PINGRP1 \ - MX53_PAD_DISP0_DAT8__PWM1_PWMO 0x5 - -#define MX53_PWM2_PINGRP1 \ - MX53_PAD_GPIO_1__PWM2_PWMO 0x80000000 - -#define MX53_UART1_PINGRP1 \ - MX53_PAD_CSI0_DAT10__UART1_TXD_MUX 0x1e4 \ - MX53_PAD_CSI0_DAT11__UART1_RXD_MUX 0x1e4 - -#define MX53_UART1_PINGRP2 \ - MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4 \ - MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4 - -#define MX53_UART1_PINGRP3 \ - MX53_PAD_PATA_RESET_B__UART1_CTS 0x1c5 \ - MX53_PAD_PATA_IORDY__UART1_RTS 0x1c5 - -#define MX53_UART2_PINGRP1 \ - MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX 0x1e4 \ - MX53_PAD_PATA_DMARQ__UART2_TXD_MUX 0x1e4 - -#define MX53_UART2_PINGRP2 \ - MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX 0x1c5 \ - MX53_PAD_PATA_DMARQ__UART2_TXD_MUX 0x1c5 \ - MX53_PAD_PATA_DIOR__UART2_RTS 0x1c5 \ - MX53_PAD_PATA_INTRQ__UART2_CTS 0x1c5 - -#define MX53_UART3_PINGRP1 \ - MX53_PAD_PATA_CS_0__UART3_TXD_MUX 0x1e4 \ - MX53_PAD_PATA_CS_1__UART3_RXD_MUX 0x1e4 \ - MX53_PAD_PATA_DA_1__UART3_CTS 0x1e4 \ - MX53_PAD_PATA_DA_2__UART3_RTS 0x1e4 - -#define MX53_UART3_PINGRP2 \ - MX53_PAD_PATA_CS_0__UART3_TXD_MUX 0x1e4 \ - MX53_PAD_PATA_CS_1__UART3_RXD_MUX 0x1e4 - -#define MX53_UART4_PINGRP1 \ - MX53_PAD_KEY_COL0__UART4_TXD_MUX 0x1e4 \ - MX53_PAD_KEY_ROW0__UART4_RXD_MUX 0x1e4 - -#define MX53_UART5_PINGRP1 \ - MX53_PAD_KEY_COL1__UART5_TXD_MUX 0x1e4 \ - MX53_PAD_KEY_ROW1__UART5_RXD_MUX 0x1e4 - -#endif /* __DTS_IMX53_PINGRP_H */ diff --git a/arch/arm/boot/dts/imx53-qsb.dts b/arch/arm/boot/dts/imx53-qsb.dts index 4c04459..8595169 100644 --- a/arch/arm/boot/dts/imx53-qsb.dts +++ b/arch/arm/boot/dts/imx53-qsb.dts @@ -170,35 +170,107 @@ }; pinctrl_audmux: audmuxgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC 0x80000000 + MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD 0x80000000 + MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS 0x80000000 + MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD 0x80000000 + >; }; pinctrl_esdhc1: esdhc1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5 + MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5 + MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5 + MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5 + MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5 + MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5 + >; }; pinctrl_esdhc3: esdhc3grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_DATA8__ESDHC3_DAT0 0x1d5 + MX53_PAD_PATA_DATA9__ESDHC3_DAT1 0x1d5 + MX53_PAD_PATA_DATA10__ESDHC3_DAT2 0x1d5 + MX53_PAD_PATA_DATA11__ESDHC3_DAT3 0x1d5 + MX53_PAD_PATA_DATA0__ESDHC3_DAT4 0x1d5 + MX53_PAD_PATA_DATA1__ESDHC3_DAT5 0x1d5 + MX53_PAD_PATA_DATA2__ESDHC3_DAT6 0x1d5 + MX53_PAD_PATA_DATA3__ESDHC3_DAT7 0x1d5 + MX53_PAD_PATA_RESET_B__ESDHC3_CMD 0x1d5 + MX53_PAD_PATA_IORDY__ESDHC3_CLK 0x1d5 + >; }; pinctrl_fec: fecgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 + MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 + MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 + MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 + MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 + MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 + MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 + MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 + MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 + MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 + >; }; pinctrl_i2c1: i2c1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_CSI0_DAT8__I2C1_SDA 0xc0000000 + MX53_PAD_CSI0_DAT9__I2C1_SCL 0xc0000000 + >; }; pinctrl_i2c2: i2c2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_ROW3__I2C2_SDA 0xc0000000 + MX53_PAD_KEY_COL3__I2C2_SCL 0xc0000000 + >; }; pinctrl_ipu_disp0: ipudisp0grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_DI0_DISP_CLK__IPU_DI0_DISP_CLK 0x5 + MX53_PAD_DI0_PIN15__IPU_DI0_PIN15 0x5 + MX53_PAD_DI0_PIN2__IPU_DI0_PIN2 0x5 + MX53_PAD_DI0_PIN3__IPU_DI0_PIN3 0x5 + MX53_PAD_DISP0_DAT0__IPU_DISP0_DAT_0 0x5 + MX53_PAD_DISP0_DAT1__IPU_DISP0_DAT_1 0x5 + MX53_PAD_DISP0_DAT2__IPU_DISP0_DAT_2 0x5 + MX53_PAD_DISP0_DAT3__IPU_DISP0_DAT_3 0x5 + MX53_PAD_DISP0_DAT4__IPU_DISP0_DAT_4 0x5 + MX53_PAD_DISP0_DAT5__IPU_DISP0_DAT_5 0x5 + MX53_PAD_DISP0_DAT6__IPU_DISP0_DAT_6 0x5 + MX53_PAD_DISP0_DAT7__IPU_DISP0_DAT_7 0x5 + MX53_PAD_DISP0_DAT8__IPU_DISP0_DAT_8 0x5 + MX53_PAD_DISP0_DAT9__IPU_DISP0_DAT_9 0x5 + MX53_PAD_DISP0_DAT10__IPU_DISP0_DAT_10 0x5 + MX53_PAD_DISP0_DAT11__IPU_DISP0_DAT_11 0x5 + MX53_PAD_DISP0_DAT12__IPU_DISP0_DAT_12 0x5 + MX53_PAD_DISP0_DAT13__IPU_DISP0_DAT_13 0x5 + MX53_PAD_DISP0_DAT14__IPU_DISP0_DAT_14 0x5 + MX53_PAD_DISP0_DAT15__IPU_DISP0_DAT_15 0x5 + MX53_PAD_DISP0_DAT16__IPU_DISP0_DAT_16 0x5 + MX53_PAD_DISP0_DAT17__IPU_DISP0_DAT_17 0x5 + MX53_PAD_DISP0_DAT18__IPU_DISP0_DAT_18 0x5 + MX53_PAD_DISP0_DAT19__IPU_DISP0_DAT_19 0x5 + MX53_PAD_DISP0_DAT20__IPU_DISP0_DAT_20 0x5 + MX53_PAD_DISP0_DAT21__IPU_DISP0_DAT_21 0x5 + MX53_PAD_DISP0_DAT22__IPU_DISP0_DAT_22 0x5 + MX53_PAD_DISP0_DAT23__IPU_DISP0_DAT_23 0x5 + >; }; pinctrl_uart1: uart1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_CSI0_DAT10__UART1_TXD_MUX 0x1e4 + MX53_PAD_CSI0_DAT11__UART1_RXD_MUX 0x1e4 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx53-smd.dts b/arch/arm/boot/dts/imx53-smd.dts index e84decf..5ec1590 100644 --- a/arch/arm/boot/dts/imx53-smd.dts +++ b/arch/arm/boot/dts/imx53-smd.dts @@ -118,43 +118,100 @@ }; pinctrl_ecspi1: ecspi1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_EIM_D16__ECSPI1_SCLK 0x80000000 + MX53_PAD_EIM_D17__ECSPI1_MISO 0x80000000 + MX53_PAD_EIM_D18__ECSPI1_MOSI 0x80000000 + >; }; pinctrl_esdhc1: esdhc1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5 + MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5 + MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5 + MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5 + MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5 + MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5 + >; }; pinctrl_esdhc2: esdhc2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD2_CMD__ESDHC2_CMD 0x1d5 + MX53_PAD_SD2_CLK__ESDHC2_CLK 0x1d5 + MX53_PAD_SD2_DATA0__ESDHC2_DAT0 0x1d5 + MX53_PAD_SD2_DATA1__ESDHC2_DAT1 0x1d5 + MX53_PAD_SD2_DATA2__ESDHC2_DAT2 0x1d5 + MX53_PAD_SD2_DATA3__ESDHC2_DAT3 0x1d5 + >; }; pinctrl_esdhc3: esdhc3grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_DATA8__ESDHC3_DAT0 0x1d5 + MX53_PAD_PATA_DATA9__ESDHC3_DAT1 0x1d5 + MX53_PAD_PATA_DATA10__ESDHC3_DAT2 0x1d5 + MX53_PAD_PATA_DATA11__ESDHC3_DAT3 0x1d5 + MX53_PAD_PATA_DATA0__ESDHC3_DAT4 0x1d5 + MX53_PAD_PATA_DATA1__ESDHC3_DAT5 0x1d5 + MX53_PAD_PATA_DATA2__ESDHC3_DAT6 0x1d5 + MX53_PAD_PATA_DATA3__ESDHC3_DAT7 0x1d5 + MX53_PAD_PATA_RESET_B__ESDHC3_CMD 0x1d5 + MX53_PAD_PATA_IORDY__ESDHC3_CLK 0x1d5 + >; }; pinctrl_fec: fecgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 + MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 + MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 + MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 + MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 + MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 + MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 + MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 + MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 + MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 + >; }; pinctrl_i2c1: i2c1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_CSI0_DAT8__I2C1_SDA 0xc0000000 + MX53_PAD_CSI0_DAT9__I2C1_SCL 0xc0000000 + >; }; pinctrl_i2c2: i2c2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_ROW3__I2C2_SDA 0xc0000000 + MX53_PAD_KEY_COL3__I2C2_SCL 0xc0000000 + >; }; pinctrl_uart1: uart1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_CSI0_DAT10__UART1_TXD_MUX 0x1e4 + MX53_PAD_CSI0_DAT11__UART1_RXD_MUX 0x1e4 + >; }; pinctrl_uart2: uart2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX 0x1e4 + MX53_PAD_PATA_DMARQ__UART2_TXD_MUX 0x1e4 + >; }; pinctrl_uart3: uart3grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_CS_0__UART3_TXD_MUX 0x1e4 + MX53_PAD_PATA_CS_1__UART3_RXD_MUX 0x1e4 + MX53_PAD_PATA_DA_1__UART3_CTS 0x1e4 + MX53_PAD_PATA_DA_2__UART3_RTS 0x1e4 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx53-tqma53.dtsi b/arch/arm/boot/dts/imx53-tqma53.dtsi index b6483c9..4f1f0e2 100644 --- a/arch/arm/boot/dts/imx53-tqma53.dtsi +++ b/arch/arm/boot/dts/imx53-tqma53.dtsi @@ -92,27 +92,53 @@ }; pinctrl_audmux: audmuxgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC 0x80000000 + MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD 0x80000000 + MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS 0x80000000 + MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD 0x80000000 + >; }; pinctrl_can1: can1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_COL2__CAN1_TXCAN 0x80000000 + MX53_PAD_KEY_ROW2__CAN1_RXCAN 0x80000000 + >; }; pinctrl_can2: can2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_COL4__CAN2_TXCAN 0x80000000 + MX53_PAD_KEY_ROW4__CAN2_RXCAN 0x80000000 + >; }; pinctrl_cspi: cspigrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD1_DATA0__CSPI_MISO 0x1d5 + MX53_PAD_SD1_CMD__CSPI_MOSI 0x1d5 + MX53_PAD_SD1_CLK__CSPI_SCLK 0x1d5 + >; }; pinctrl_ecspi1: ecspi1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_EIM_D16__ECSPI1_SCLK 0x80000000 + MX53_PAD_EIM_D17__ECSPI1_MISO 0x80000000 + MX53_PAD_EIM_D18__ECSPI1_MOSI 0x80000000 + >; }; pinctrl_esdhc2: esdhc2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD2_CMD__ESDHC2_CMD 0x1d5 + MX53_PAD_SD2_CLK__ESDHC2_CLK 0x1d5 + MX53_PAD_SD2_DATA0__ESDHC2_DAT0 0x1d5 + MX53_PAD_SD2_DATA1__ESDHC2_DAT1 0x1d5 + MX53_PAD_SD2_DATA2__ESDHC2_DAT2 0x1d5 + MX53_PAD_SD2_DATA3__ESDHC2_DAT3 0x1d5 + >; }; pinctrl_esdhc2_cdwp: esdhc2cdwp { @@ -123,31 +149,68 @@ }; pinctrl_esdhc3: esdhc3grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_DATA8__ESDHC3_DAT0 0x1d5 + MX53_PAD_PATA_DATA9__ESDHC3_DAT1 0x1d5 + MX53_PAD_PATA_DATA10__ESDHC3_DAT2 0x1d5 + MX53_PAD_PATA_DATA11__ESDHC3_DAT3 0x1d5 + MX53_PAD_PATA_DATA0__ESDHC3_DAT4 0x1d5 + MX53_PAD_PATA_DATA1__ESDHC3_DAT5 0x1d5 + MX53_PAD_PATA_DATA2__ESDHC3_DAT6 0x1d5 + MX53_PAD_PATA_DATA3__ESDHC3_DAT7 0x1d5 + MX53_PAD_PATA_RESET_B__ESDHC3_CMD 0x1d5 + MX53_PAD_PATA_IORDY__ESDHC3_CLK 0x1d5 + >; }; pinctrl_fec: fecgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 + MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 + MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 + MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 + MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 + MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 + MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 + MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 + MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 + MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 + >; }; pinctrl_i2c2: i2c2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_ROW3__I2C2_SDA 0xc0000000 + MX53_PAD_KEY_COL3__I2C2_SCL 0xc0000000 + >; }; pinctrl_i2c3: i2c3grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000 + MX53_PAD_GPIO_5__I2C3_SCL 0xc0000000 + >; }; pinctrl_uart1: uart1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4 + MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4 + >; }; pinctrl_uart2: uart2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX 0x1e4 + MX53_PAD_PATA_DMARQ__UART2_TXD_MUX 0x1e4 + >; }; pinctrl_uart3: uart3grp { - fsl,ps = ; + fsl,pins = < + MX53_PAD_PATA_CS_0__UART3_TXD_MUX 0x1e4 + MX53_PAD_PATA_CS_1__UART3_RXD_MUX 0x1e4 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx53-voipac-bsb.dts b/arch/arm/boot/dts/imx53-voipac-bsb.dts index 61244cf..7f6711a 100644 --- a/arch/arm/boot/dts/imx53-voipac-bsb.dts +++ b/arch/arm/boot/dts/imx53-voipac-bsb.dts @@ -82,15 +82,30 @@ }; pinctrl_audmux: audmuxgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC 0x80000000 + MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD 0x80000000 + MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS 0x80000000 + MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD 0x80000000 + >; }; pinctrl_esdhc2: esdhc2grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_SD2_CMD__ESDHC2_CMD 0x1d5 + MX53_PAD_SD2_CLK__ESDHC2_CLK 0x1d5 + MX53_PAD_SD2_DATA0__ESDHC2_DAT0 0x1d5 + MX53_PAD_SD2_DATA1__ESDHC2_DAT1 0x1d5 + MX53_PAD_SD2_DATA2__ESDHC2_DAT2 0x1d5 + MX53_PAD_SD2_DATA3__ESDHC2_DAT3 0x1d5 + >; }; pinctrl_i2c3: i2c3grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_GPIO_3__I2C3_SCL 0xc0000000 + MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi b/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi index 04a2895..ba689fb 100644 --- a/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi +++ b/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi @@ -68,23 +68,60 @@ }; pinctrl_ecspi1: ecspi1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_EIM_D16__ECSPI1_SCLK 0x80000000 + MX53_PAD_EIM_D17__ECSPI1_MISO 0x80000000 + MX53_PAD_EIM_D18__ECSPI1_MOSI 0x80000000 + >; }; pinctrl_fec: fecgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 + MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 + MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 + MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 + MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 + MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 + MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 + MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 + MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 + MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 + >; }; pinctrl_i2c1: i2c1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_EIM_D21__I2C1_SCL 0xc0000000 + MX53_PAD_EIM_D28__I2C1_SDA 0xc0000000 + >; }; pinctrl_uart1: uart1grp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4 + MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4 + >; }; pinctrl_nand: nandgrp { - fsl,pins = ; + fsl,pins = < + MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B 0x4 + MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B 0x4 + MX53_PAD_NANDF_CLE__EMI_NANDF_CLE 0x4 + MX53_PAD_NANDF_ALE__EMI_NANDF_ALE 0x4 + MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B 0xe0 + MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0 0xe0 + MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0 0x4 + MX53_PAD_PATA_DATA0__EMI_NANDF_D_0 0xa4 + MX53_PAD_PATA_DATA1__EMI_NANDF_D_1 0xa4 + MX53_PAD_PATA_DATA2__EMI_NANDF_D_2 0xa4 + MX53_PAD_PATA_DATA3__EMI_NANDF_D_3 0xa4 + MX53_PAD_PATA_DATA4__EMI_NANDF_D_4 0xa4 + MX53_PAD_PATA_DATA5__EMI_NANDF_D_5 0xa4 + MX53_PAD_PATA_DATA6__EMI_NANDF_D_6 0xa4 + MX53_PAD_PATA_DATA7__EMI_NANDF_D_7 0xa4 + >; }; }; }; diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index 90359da..0e5c466 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi @@ -11,8 +11,8 @@ */ #include "skeleton.dtsi" -#include "imx53-pingrp.h" #include +#include "imx53-pinfunc.h" / { aliases {