From patchwork Mon Nov 4 14:45:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 3136091 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 54613BEEB2 for ; Mon, 4 Nov 2013 14:47:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BEDA92017A for ; Mon, 4 Nov 2013 14:47:46 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2431320131 for ; Mon, 4 Nov 2013 14:47:41 +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 1VdLQ3-0001Oo-6W; Mon, 04 Nov 2013 14:46: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 1VdLPm-0005cG-ED; Mon, 04 Nov 2013 14:46:02 +0000 Received: from co1ehsobe001.messaging.microsoft.com ([216.32.180.184] helo=co1outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VdLPI-0005YN-P9 for linux-arm-kernel@lists.infradead.org; Mon, 04 Nov 2013 14:45:48 +0000 Received: from mail187-co1-R.bigfish.com (10.243.78.245) by CO1EHSOBE034.bigfish.com (10.243.66.99) with Microsoft SMTP Server id 14.1.225.22; Mon, 4 Nov 2013 14:45:11 +0000 Received: from mail187-co1 (localhost [127.0.0.1]) by mail187-co1-R.bigfish.com (Postfix) with ESMTP id B6047940087; Mon, 4 Nov 2013 14:45:11 +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: 7 X-BigFish: VS7(zzb922lc8kzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h1d1ah1d2ah1fc6hzz1de098h8275dh1de097hz2dh87h2a8h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1e23h1fe8h1ff5h2218h2216h1151h1155h) X-FB-DOMAIN-IP-MATCH: fail Received: from mail187-co1 (localhost.localdomain [127.0.0.1]) by mail187-co1 (MessageSwitch) id 1383576308648873_1588; Mon, 4 Nov 2013 14:45:08 +0000 (UTC) Received: from CO1EHSMHS019.bigfish.com (unknown [10.243.78.237]) by mail187-co1.bigfish.com (Postfix) with ESMTP id 9BBCEC004F; Mon, 4 Nov 2013 14:45:08 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO1EHSMHS019.bigfish.com (10.243.66.29) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 4 Nov 2013 14:45:08 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.3.158.2; Mon, 4 Nov 2013 14:45:07 +0000 Received: from S2101-09.ap.freescale.net ([10.192.185.207]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id rA4Eit3k020608; Mon, 4 Nov 2013 07:45:06 -0700 From: Shawn Guo To: Subject: [PATCH 5/5] ARM: dts: imx50: make pinctrl nodes board specific Date: Mon, 4 Nov 2013 22:45:33 +0800 Message-ID: <1383576333-19113-6-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1383576333-19113-1-git-send-email-shawn.guo@linaro.org> References: <1383576333-19113-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-20131104_094533_099387_9EEBD0E8 X-CRM114-Status: GOOD ( 17.65 ) X-Spam-Score: -1.9 (-) Cc: Shawn Guo 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Currently, all pinctrl setting nodes are defined in .dtsi, so that boards that share the same pinctrl setting do not have to define it time and time again in .dts. However, along with the devices and use cases being added continuously, the pinctrl setting nodes under iomuxc becomes more than expected. This bloats device tree blob for particular board unnecessarily since only a small subset of those pinctrl setting nodes will be used by the board. It impacts not only the DTB file size but also the run-time device tree lookup efficiency. The patch provides a solution to avoid this device tree bloating problem while still keeping boards share the common pinctrl setting data by using DTC macro support. It creates -pingrp.h and move all those pinctrl setting data into there as macro definitions. The .dts will instead define the pinctrl setting nodes that are necessary for the board by referring to the macros in -pingrp.h, so that only the pinctrl setting data that will be used by the board will get compiled into the DTB for the board. With the changes, the pinctrl setting nodes becomes local to particular board, and it makes no sense to continue numbering the setting for given peripheral. Thus, all the pinctrl phandler name gets updated to have only peripheral name in there. Signed-off-by: Shawn Guo --- arch/arm/boot/dts/imx50-evk.dts | 22 +++- arch/arm/boot/dts/imx50-pingrp.h | 144 +++++++++++++++++++++++++ arch/arm/boot/dts/imx50.dtsi | 219 +------------------------------------- 3 files changed, 164 insertions(+), 221 deletions(-) create mode 100644 arch/arm/boot/dts/imx50-pingrp.h diff --git a/arch/arm/boot/dts/imx50-evk.dts b/arch/arm/boot/dts/imx50-evk.dts index 60d9baf..3d94615 100644 --- a/arch/arm/boot/dts/imx50-evk.dts +++ b/arch/arm/boot/dts/imx50-evk.dts @@ -25,7 +25,7 @@ &cspi { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_cspi_1>; + pinctrl-0 = <&pinctrl_cspi>; fsl,spi-num-chipselects = <2>; cs-gpios = <&gpio4 11 0>, <&gpio4 13 0>; status = "okay"; @@ -52,15 +52,31 @@ &fec { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_fec_1>; + pinctrl-0 = <&pinctrl_fec>; phy-mode = "rmii"; phy-reset-gpios = <&gpio4 12 0>; status = "okay"; }; +&iomuxc { + imx50-evk { + pinctrl_cspi: cspigrp { + fsl,pins = ; + }; + + pinctrl_fec: fecgrp { + fsl,pins = ; + }; + + pinctrl_uart1: uart1grp { + fsl,pins = ; + }; + }; +}; + &uart1 { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart1_1>; + pinctrl-0 = <&pinctrl_uart1>; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx50-pingrp.h b/arch/arm/boot/dts/imx50-pingrp.h new file mode 100644 index 0000000..d46b7e0 --- /dev/null +++ b/arch/arm/boot/dts/imx50-pingrp.h @@ -0,0 +1,144 @@ +/* + * 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_IMX50_PINGRP_H +#define __DTS_IMX50_PINGRP_H + +#define MX50_CSPI_PINGRP1 \ + MX50_PAD_CSPI_SCLK__CSPI_SCLK 0x00 \ + MX50_PAD_CSPI_MISO__CSPI_MISO 0x00 \ + MX50_PAD_CSPI_MOSI__CSPI_MOSI 0x00 \ + MX50_PAD_CSPI_SS0__GPIO4_11 0xc4 \ + MX50_PAD_ECSPI1_MOSI__CSPI_SS1 0xf4 + +#define MX50_ECSPI1_PINGRP1 \ + MX50_PAD_ECSPI1_SCLK__ECSPI1_SCLK 0x00 \ + MX50_PAD_ECSPI1_SS0__ECSPI1_SS0 0x00 \ + MX50_PAD_ECSPI1_MISO__ECSPI1_MISO 0x00 \ + MX50_PAD_ECSPI1_MOSI__ECSPI1_MOSI 0x00 + +#define MX50_ESDHC1_PINGRP1 \ + MX50_PAD_SD1_D0__ESDHC1_DAT0 0x1d4 \ + MX50_PAD_SD1_D1__ESDHC1_DAT1 0x1d4 \ + MX50_PAD_SD1_D2__ESDHC1_DAT2 0x1d4 \ + MX50_PAD_SD1_D3__ESDHC1_DAT3 0x1d4 \ + MX50_PAD_SD1_CMD__ESDHC1_CMD 0x1e4 \ + MX50_PAD_SD1_CLK__ESDHC1_CLK 0xd4 + +#define MX50_ESDHC1_PINGRP2 \ + MX50_PAD_SD1_D0__ESDHC1_DAT0 0x1d4 \ + MX50_PAD_SD1_D1__ESDHC1_DAT1 0x1d4 \ + MX50_PAD_SD1_D2__ESDHC1_DAT2 0x1d4 \ + MX50_PAD_SD1_D3__ESDHC1_DAT3 0x1d4 \ + MX50_PAD_UART3_TXD__ESDHC1_DAT4 0x1d4 \ + MX50_PAD_UART3_RXD__ESDHC1_DAT5 0x1d4 \ + MX50_PAD_UART4_TXD__ESDHC1_DAT6 0x1d4 \ + MX50_PAD_UART4_RXD__ESDHC1_DAT7 0x1d4 \ + MX50_PAD_SD1_CMD__ESDHC1_CMD 0x14 \ + MX50_PAD_SD1_CLK__ESDHC1_CLK 0xd4 + +#define MX50_ESDHC2_PINGRP1 \ + MX50_PAD_SD2_CMD__ESDHC2_CMD 0x1e4 \ + MX50_PAD_SD2_CLK__ESDHC2_CLK 0xd4 \ + MX50_PAD_SD2_D0__ESDHC2_DAT0 0x1d4 \ + MX50_PAD_SD2_D1__ESDHC2_DAT1 0x1d4 \ + MX50_PAD_SD2_D2__ESDHC2_DAT2 0x1d4 \ + MX50_PAD_SD2_D3__ESDHC2_DAT3 0x1d4 \ + MX50_PAD_SD2_D4__ESDHC2_DAT4 0x1d4 \ + MX50_PAD_SD2_D5__ESDHC2_DAT5 0x1d4 \ + MX50_PAD_SD2_D6__ESDHC2_DAT6 0x1d4 \ + MX50_PAD_SD2_D7__ESDHC2_DAT7 0x1d4 + +#define MX50_ESDHC3_PINGRP1 \ + MX50_PAD_SD3_D0__ESDHC3_DAT0 0x1d4 \ + MX50_PAD_SD3_D1__ESDHC3_DAT1 0x1d4 \ + MX50_PAD_SD3_D2__ESDHC3_DAT2 0x1d4 \ + MX50_PAD_SD3_D3__ESDHC3_DAT3 0x1d4 \ + MX50_PAD_SD3_D4__ESDHC3_DAT4 0x1d4 \ + MX50_PAD_SD3_D5__ESDHC3_DAT5 0x1d4 \ + MX50_PAD_SD3_D6__ESDHC3_DAT6 0x1d4 \ + MX50_PAD_SD3_D7__ESDHC3_DAT7 0x1d4 \ + MX50_PAD_SD3_CMD__ESDHC3_CMD 0x1e4 \ + MX50_PAD_SD3_CLK__ESDHC3_CLK 0xd4 + +#define MX50_FEC_PINGRP1 \ + MX50_PAD_SSI_RXFS__FEC_MDC 0x80 \ + MX50_PAD_SSI_RXC__FEC_MDIO 0x80 \ + MX50_PAD_DISP_D0__FEC_TX_CLK 0x80 \ + MX50_PAD_DISP_D1__FEC_RX_ERR 0x80 \ + MX50_PAD_DISP_D2__FEC_RX_DV 0x80 \ + MX50_PAD_DISP_D3__FEC_RDATA_1 0x80 \ + MX50_PAD_DISP_D4__FEC_RDATA_0 0x80 \ + MX50_PAD_DISP_D5__FEC_TX_EN 0x80 \ + MX50_PAD_DISP_D6__FEC_TDATA_1 0x80 \ + MX50_PAD_DISP_D7__FEC_TDATA_0 0x80 + +#define MX50_FEC_PINGRP2 \ + MX50_PAD_I2C3_SCL__FEC_MDC 0x80 \ + MX50_PAD_I2C3_SDA__FEC_MDIO 0x80 \ + MX50_PAD_DISP_D0__FEC_TX_CLK 0x80 \ + MX50_PAD_DISP_D10__FEC_RX_DV 0x80 \ + MX50_PAD_DISP_D11__FEC_RDATA_1 0x80 \ + MX50_PAD_DISP_D12__FEC_RDATA_0 0x80 \ + MX50_PAD_DISP_D13__FEC_TX_EN 0x80 \ + MX50_PAD_DISP_D14__FEC_TDATA_1 0x80 \ + MX50_PAD_DISP_D15__FEC_TDATA_0 0x80 + +#define MX50_I2C1_PINGRP1 \ + MX50_PAD_I2C1_SDA__I2C1_SDA 0x12c \ + MX50_PAD_I2C1_SCL__I2C1_SCL 0x12c + +#define MX50_I2C2_PINGRP1 \ + MX50_PAD_I2C2_SDA__I2C2_SDA 0x12c \ + MX50_PAD_I2C2_SCL__I2C2_SCL 0x12c + +#define MX50_I2C3_PINGRP1 \ + MX50_PAD_I2C3_SDA__I2C3_SDA 0x12c \ + MX50_PAD_I2C3_SCL__I2C3_SCL 0x12c + +#define MX50_OWIRE_PINGRP1 \ + MX50_PAD_OWIRE__OWIRE_LINE 0x84 + +#define MX50_UART1_PINGRP1 \ + MX50_PAD_UART1_TXD__UART1_TXD_MUX 0x1e4 \ + MX50_PAD_UART1_RXD__UART1_RXD_MUX 0x1e4 \ + MX50_PAD_UART1_RTS__UART1_RTS 0x1e4 \ + MX50_PAD_UART1_CTS__UART1_CTS 0x1e4 + +#define MX50_UART2_PINGRP1 \ + MX50_PAD_UART2_TXD__UART2_TXD_MUX 0x1e4 \ + MX50_PAD_UART2_RXD__UART2_RXD_MUX 0x1e4 \ + MX50_PAD_UART2_RTS__UART2_RTS 0x1e4 \ + MX50_PAD_UART2_CTS__UART2_CTS 0x1e4 + +#define MX50_UART2_PINGRP2 \ + MX50_PAD_I2C1_SCL__UART2_TXD_MUX 0x1e4 \ + MX50_PAD_I2C1_SDA__UART2_RXD_MUX 0x1e4 \ + MX50_PAD_I2C2_SDA__UART2_RTS 0x1e4 \ + MX50_PAD_I2C2_SCL__UART2_CTS 0x1e4 + +#define MX50_UART3_PINGRP1 \ + MX50_PAD_UART3_TXD__UART3_TXD_MUX 0x1e4 \ + MX50_PAD_UART3_RXD__UART3_RXD_MUX 0x1e4 \ + MX50_PAD_ECSPI1_SCLK__UART3_RTS 0x1e4 \ + MX50_PAD_ECSPI1_MOSI__UART3_CTS 0x1e4 + +#define MX50_UART4_PINGRP1 \ + MX50_PAD_UART4_TXD__UART4_TXD_MUX 0x1e4 \ + MX50_PAD_UART4_RXD__UART4_RXD_MUX 0x1e4 \ + MX50_PAD_ECSPI1_MISO__UART4_RTS 0x1e4 \ + MX50_PAD_ECSPI1_SS0__UART4_CTS 0x1e4 + +#define MX50_UART5_PINGRP1 \ + MX50_PAD_ECSPI2_MISO__UART5_TXD_MUX 0x1e4 \ + MX50_PAD_ECSPI2_SS0__UART5_RXD_MUX 0x1e4 \ + MX50_PAD_ECSPI2_SCLK__UART5_RTS 0x1e4 \ + MX50_PAD_ECSPI2_MOSI__UART5_CTS 0x1e4 + +#endif /* __DTS_IMX50_PINGRP_H */ diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi index 970b6e4..c547e29 100644 --- a/arch/arm/boot/dts/imx50.dtsi +++ b/arch/arm/boot/dts/imx50.dtsi @@ -13,6 +13,7 @@ #include "skeleton.dtsi" #include "imx50-pinfunc.h" +#include "imx50-pingrp.h" / { aliases { @@ -450,221 +451,3 @@ }; }; }; - -&iomuxc { - cspi { - pinctrl_cspi_1: cspigrp-1 { - fsl,pins = < - MX50_PAD_CSPI_SCLK__CSPI_SCLK 0x00 - MX50_PAD_CSPI_MISO__CSPI_MISO 0x00 - MX50_PAD_CSPI_MOSI__CSPI_MOSI 0x00 - MX50_PAD_CSPI_SS0__GPIO4_11 0xc4 - MX50_PAD_ECSPI1_MOSI__CSPI_SS1 0xf4 - >; - }; - }; - - ecspi1 { - pinctrl_ecspi1_1: ecspi1grp-1 { - fsl,pins = < - MX50_PAD_ECSPI1_SCLK__ECSPI1_SCLK 0x00 - MX50_PAD_ECSPI1_SS0__ECSPI1_SS0 0x00 - MX50_PAD_ECSPI1_MISO__ECSPI1_MISO 0x00 - MX50_PAD_ECSPI1_MOSI__ECSPI1_MOSI 0x00 - >; - }; - }; - - esdhc1 { - pinctrl_esdhc1_1: esdhc1grp-1 { - fsl,pins = < - MX50_PAD_SD1_D0__ESDHC1_DAT0 0x1d4 - MX50_PAD_SD1_D1__ESDHC1_DAT1 0x1d4 - MX50_PAD_SD1_D2__ESDHC1_DAT2 0x1d4 - MX50_PAD_SD1_D3__ESDHC1_DAT3 0x1d4 - MX50_PAD_SD1_CMD__ESDHC1_CMD 0x1e4 - MX50_PAD_SD1_CLK__ESDHC1_CLK 0xd4 - >; - }; - - pinctrl_esdhc1_2: esdhc1grp-2 { - fsl,pins = < - MX50_PAD_SD1_D0__ESDHC1_DAT0 0x1d4 - MX50_PAD_SD1_D1__ESDHC1_DAT1 0x1d4 - MX50_PAD_SD1_D2__ESDHC1_DAT2 0x1d4 - MX50_PAD_SD1_D3__ESDHC1_DAT3 0x1d4 - MX50_PAD_UART3_TXD__ESDHC1_DAT4 0x1d4 - MX50_PAD_UART3_RXD__ESDHC1_DAT5 0x1d4 - MX50_PAD_UART4_TXD__ESDHC1_DAT6 0x1d4 - MX50_PAD_UART4_RXD__ESDHC1_DAT7 0x1d4 - MX50_PAD_SD1_CMD__ESDHC1_CMD 0x14 - MX50_PAD_SD1_CLK__ESDHC1_CLK 0xd4 - >; - }; - }; - - esdhc2 { - pinctrl_esdhc2_1: esdhc2grp-1 { - fsl,pins = < - MX50_PAD_SD2_CMD__ESDHC2_CMD 0x1e4 - MX50_PAD_SD2_CLK__ESDHC2_CLK 0xd4 - MX50_PAD_SD2_D0__ESDHC2_DAT0 0x1d4 - MX50_PAD_SD2_D1__ESDHC2_DAT1 0x1d4 - MX50_PAD_SD2_D2__ESDHC2_DAT2 0x1d4 - MX50_PAD_SD2_D3__ESDHC2_DAT3 0x1d4 - MX50_PAD_SD2_D4__ESDHC2_DAT4 0x1d4 - MX50_PAD_SD2_D5__ESDHC2_DAT5 0x1d4 - MX50_PAD_SD2_D6__ESDHC2_DAT6 0x1d4 - MX50_PAD_SD2_D7__ESDHC2_DAT7 0x1d4 - >; - }; - }; - - esdhc3 { - pinctrl_esdhc3_1: esdhc3grp-1 { - fsl,pins = < - MX50_PAD_SD3_D0__ESDHC3_DAT0 0x1d4 - MX50_PAD_SD3_D1__ESDHC3_DAT1 0x1d4 - MX50_PAD_SD3_D2__ESDHC3_DAT2 0x1d4 - MX50_PAD_SD3_D3__ESDHC3_DAT3 0x1d4 - MX50_PAD_SD3_D4__ESDHC3_DAT4 0x1d4 - MX50_PAD_SD3_D5__ESDHC3_DAT5 0x1d4 - MX50_PAD_SD3_D6__ESDHC3_DAT6 0x1d4 - MX50_PAD_SD3_D7__ESDHC3_DAT7 0x1d4 - MX50_PAD_SD3_CMD__ESDHC3_CMD 0x1e4 - MX50_PAD_SD3_CLK__ESDHC3_CLK 0xd4 - >; - }; - }; - - fec { - pinctrl_fec_1: fecgrp-1 { - fsl,pins = < - MX50_PAD_SSI_RXFS__FEC_MDC 0x80 - MX50_PAD_SSI_RXC__FEC_MDIO 0x80 - MX50_PAD_DISP_D0__FEC_TX_CLK 0x80 - MX50_PAD_DISP_D1__FEC_RX_ERR 0x80 - MX50_PAD_DISP_D2__FEC_RX_DV 0x80 - MX50_PAD_DISP_D3__FEC_RDATA_1 0x80 - MX50_PAD_DISP_D4__FEC_RDATA_0 0x80 - MX50_PAD_DISP_D5__FEC_TX_EN 0x80 - MX50_PAD_DISP_D6__FEC_TDATA_1 0x80 - MX50_PAD_DISP_D7__FEC_TDATA_0 0x80 - >; - }; - - pinctrl_fec_2: fecgrp-2 { - fsl,pins = < - MX50_PAD_I2C3_SCL__FEC_MDC 0x80 - MX50_PAD_I2C3_SDA__FEC_MDIO 0x80 - MX50_PAD_DISP_D0__FEC_TX_CLK 0x80 - MX50_PAD_DISP_D10__FEC_RX_DV 0x80 - MX50_PAD_DISP_D11__FEC_RDATA_1 0x80 - MX50_PAD_DISP_D12__FEC_RDATA_0 0x80 - MX50_PAD_DISP_D13__FEC_TX_EN 0x80 - MX50_PAD_DISP_D14__FEC_TDATA_1 0x80 - MX50_PAD_DISP_D15__FEC_TDATA_0 0x80 - >; - }; - - }; - - i2c1 { - pinctrl_i2c1_1: i2c1grp-1 { - fsl,pins = < - MX50_PAD_I2C1_SDA__I2C1_SDA 0x12c - MX50_PAD_I2C1_SCL__I2C1_SCL 0x12c - >; - }; - }; - - i2c2 { - pinctrl_i2c2_1: i2c2grp-1 { - fsl,pins = < - MX50_PAD_I2C2_SDA__I2C2_SDA 0x12c - MX50_PAD_I2C2_SCL__I2C2_SCL 0x12c - >; - }; - }; - - i2c3 { - pinctrl_i2c3_1: i2c3grp-1 { - fsl,pins = < - MX50_PAD_I2C3_SDA__I2C3_SDA 0x12c - MX50_PAD_I2C3_SCL__I2C3_SCL 0x12c - >; - }; - }; - - owire { - pinctrl_owire_1: owiregrp-1 { - fsl,pins = < - MX50_PAD_OWIRE__OWIRE_LINE 0x84 - >; - }; - }; - - uart1 { - pinctrl_uart1_1: uart1grp-1 { - fsl,pins = < - MX50_PAD_UART1_TXD__UART1_TXD_MUX 0x1e4 - MX50_PAD_UART1_RXD__UART1_RXD_MUX 0x1e4 - MX50_PAD_UART1_RTS__UART1_RTS 0x1e4 - MX50_PAD_UART1_CTS__UART1_CTS 0x1e4 - >; - }; - }; - - uart2 { - pinctrl_uart2_1: uart2grp-1 { - fsl,pins = < - MX50_PAD_UART2_TXD__UART2_TXD_MUX 0x1e4 - MX50_PAD_UART2_RXD__UART2_RXD_MUX 0x1e4 - MX50_PAD_UART2_RTS__UART2_RTS 0x1e4 - MX50_PAD_UART2_CTS__UART2_CTS 0x1e4 - >; - }; - - pinctrl_uart2_2: uart2grp-2 { - fsl,pins = < - MX50_PAD_I2C1_SCL__UART2_TXD_MUX 0x1e4 - MX50_PAD_I2C1_SDA__UART2_RXD_MUX 0x1e4 - MX50_PAD_I2C2_SDA__UART2_RTS 0x1e4 - MX50_PAD_I2C2_SCL__UART2_CTS 0x1e4 - >; - }; - }; - - uart3 { - pinctrl_uart3_1: uart3grp-1 { - fsl,pins = < - MX50_PAD_UART3_TXD__UART3_TXD_MUX 0x1e4 - MX50_PAD_UART3_RXD__UART3_RXD_MUX 0x1e4 - MX50_PAD_ECSPI1_SCLK__UART3_RTS 0x1e4 - MX50_PAD_ECSPI1_MOSI__UART3_CTS 0x1e4 - >; - }; - }; - - uart4 { - pinctrl_uart4_1: uart4grp-1 { - fsl,pins = < - MX50_PAD_UART4_TXD__UART4_TXD_MUX 0x1e4 - MX50_PAD_UART4_RXD__UART4_RXD_MUX 0x1e4 - MX50_PAD_ECSPI1_MISO__UART4_RTS 0x1e4 - MX50_PAD_ECSPI1_SS0__UART4_CTS 0x1e4 - >; - }; - }; - - uart5 { - pinctrl_uart5_1: uart5grp-1 { - fsl,pins = < - MX50_PAD_ECSPI2_MISO__UART5_TXD_MUX 0x1e4 - MX50_PAD_ECSPI2_SS0__UART5_RXD_MUX 0x1e4 - MX50_PAD_ECSPI2_SCLK__UART5_RTS 0x1e4 - MX50_PAD_ECSPI2_MOSI__UART5_CTS 0x1e4 - >; - }; - }; -};