From patchwork Mon Nov 4 14:45:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 3136101 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8BDF49F432 for ; Mon, 4 Nov 2013 14:48:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C95820131 for ; Mon, 4 Nov 2013 14:48:14 +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 0757A2017A for ; Mon, 4 Nov 2013 14:48:11 +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 1VdLQF-0001V7-4D; Mon, 04 Nov 2013 14:46:32 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VdLPs-0005d3-Cc; Mon, 04 Nov 2013 14:46:08 +0000 Received: from va3ehsobe003.messaging.microsoft.com ([216.32.180.13] helo=va3outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VdLPM-0005YO-5Q for linux-arm-kernel@lists.infradead.org; Mon, 04 Nov 2013 14:45:50 +0000 Received: from mail183-va3-R.bigfish.com (10.7.14.254) by VA3EHSOBE006.bigfish.com (10.7.40.26) with Microsoft SMTP Server id 14.1.225.22; Mon, 4 Nov 2013 14:45:14 +0000 Received: from mail183-va3 (localhost [127.0.0.1]) by mail183-va3-R.bigfish.com (Postfix) with ESMTP id 71BF51001D6; Mon, 4 Nov 2013 14:45:14 +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(zcb8kzb922lc8kzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h1d1ah1d2ah1fc6hzz1de098h8275dh1de097hz2dh87h2a8h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1e23h1fe8h1ff5h2218h2216h1151h1155h) X-FB-DOMAIN-IP-MATCH: fail Received: from mail183-va3 (localhost.localdomain [127.0.0.1]) by mail183-va3 (MessageSwitch) id 1383576312692676_22217; Mon, 4 Nov 2013 14:45:12 +0000 (UTC) Received: from VA3EHSMHS002.bigfish.com (unknown [10.7.14.229]) by mail183-va3.bigfish.com (Postfix) with ESMTP id 9A559360058; Mon, 4 Nov 2013 14:45:12 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by VA3EHSMHS002.bigfish.com (10.7.99.12) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 4 Nov 2013 14:45:03 +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; Mon, 4 Nov 2013 14:45:02 +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 rA4Eit3h020608; Mon, 4 Nov 2013 07:45:00 -0700 From: Shawn Guo To: Subject: [PATCH 2/5] ARM: dts: imx6sl: make pinctrl nodes board specific Date: Mon, 4 Nov 2013 22:45:30 +0800 Message-ID: <1383576333-19113-3-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_094536_336727_CFBCA540 X-CRM114-Status: GOOD ( 17.94 ) 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/imx6sl-evk.dts | 80 +++++++++++--- arch/arm/boot/dts/imx6sl-pingrp.h | 144 +++++++++++++++++++++++++ arch/arm/boot/dts/imx6sl.dtsi | 214 +------------------------------------ 3 files changed, 211 insertions(+), 227 deletions(-) create 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 cc68e19..7d01c8e 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts @@ -45,7 +45,7 @@ fsl,spi-num-chipselects = <1>; cs-gpios = <&gpio4 11 0>; pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ecspi1_1>; + pinctrl-0 = <&pinctrl_ecspi1>; status = "okay"; flash: m25p80@0 { @@ -59,7 +59,7 @@ &fec { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_fec_1>; + pinctrl-0 = <&pinctrl_fec>; phy-mode = "rmii"; status = "okay"; }; @@ -68,7 +68,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>; - hog { + imx6sl-evk { pinctrl_hog: hoggrp { fsl,pins = < MX6SL_PAD_KEY_ROW7__GPIO4_IO07 0x17059 @@ -80,19 +80,71 @@ MX6SL_PAD_KEY_COL5__GPIO4_IO02 0x80000000 >; }; + + pinctrl_ecspi1: ecspi1grp { + fsl,pins = ; + }; + + pinctrl_fec: fecgrp { + fsl,pins = ; + }; + + pinctrl_uart1: uart1grp { + fsl,pins = ; + }; + + pinctrl_usbotg1: usbotg1grp { + fsl,pins = ; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = ; + }; + + pinctrl_usdhc1_100mhz: usdhc1grp100mhz { + fsl,pins = ; + }; + + pinctrl_usdhc1_200mhz: usdhc1grp200mhz { + fsl,pins = ; + }; + + pinctrl_usdhc2: usdhc2grp { + fsl,pins = ; + }; + + pinctrl_usdhc2_100mhz: usdhc2grp100mhz { + fsl,pins = ; + }; + + pinctrl_usdhc2_200mhz: usdhc2grp200mhz { + fsl,pins = ; + }; + + pinctrl_usdhc3: usdhc3grp { + fsl,pins = ; + }; + + pinctrl_usdhc3_100mhz: usdhc3grp100mhz { + fsl,pins = ; + }; + + pinctrl_usdhc3_200mhz: usdhc3grp200mhz { + fsl,pins = ; + }; }; }; &uart1 { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart1_1>; + pinctrl-0 = <&pinctrl_uart1>; status = "okay"; }; &usbotg1 { vbus-supply = <®_usb_otg1_vbus>; pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usbotg1_1>; + pinctrl-0 = <&pinctrl_usbotg1>; disable-over-current; status = "okay"; }; @@ -106,9 +158,9 @@ &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; - pinctrl-0 = <&pinctrl_usdhc1_1>; - pinctrl-1 = <&pinctrl_usdhc1_1_100mhz>; - pinctrl-2 = <&pinctrl_usdhc1_1_200mhz>; + pinctrl-0 = <&pinctrl_usdhc1>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz>; bus-width = <8>; cd-gpios = <&gpio4 7 0>; wp-gpios = <&gpio4 6 0>; @@ -117,9 +169,9 @@ &usdhc2 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; - pinctrl-0 = <&pinctrl_usdhc2_1>; - pinctrl-1 = <&pinctrl_usdhc2_1_100mhz>; - pinctrl-2 = <&pinctrl_usdhc2_1_200mhz>; + pinctrl-0 = <&pinctrl_usdhc2>; + pinctrl-1 = <&pinctrl_usdhc2_100mhz>; + pinctrl-2 = <&pinctrl_usdhc2_200mhz>; cd-gpios = <&gpio5 0 0>; wp-gpios = <&gpio4 29 0>; status = "okay"; @@ -127,9 +179,9 @@ &usdhc3 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; - pinctrl-0 = <&pinctrl_usdhc3_1>; - pinctrl-1 = <&pinctrl_usdhc3_1_100mhz>; - pinctrl-2 = <&pinctrl_usdhc3_1_200mhz>; + pinctrl-0 = <&pinctrl_usdhc3>; + pinctrl-1 = <&pinctrl_usdhc3_100mhz>; + pinctrl-2 = <&pinctrl_usdhc3_200mhz>; cd-gpios = <&gpio3 22 0>; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6sl-pingrp.h b/arch/arm/boot/dts/imx6sl-pingrp.h new file mode 100644 index 0000000..984077b --- /dev/null +++ b/arch/arm/boot/dts/imx6sl-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_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_PINGRP1 \ + 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 + +#define MX6SL_USDHC1_PINGRP1_100MHZ \ + 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 + +#define MX6SL_USDHC1_PINGRP1_200MHZ \ + 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 + +#define MX6SL_USDHC2_PINGRP1 \ + 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 + +#define MX6SL_USDHC2_PINGRP1_100MHZ \ + 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 + +#define MX6SL_USDHC2_PINGRP1_200MHZ \ + 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 + +#define MX6SL_USDHC3_PINGRP1 \ + 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 + +#define MX6SL_USDHC3_PINGRP1_100MHZ \ + 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 + +#define MX6SL_USDHC3_PINGRP1_200MHZ \ + 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 + +#endif /* __DTS_IMX6SL_PINGRP_H */ diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index 28558f1..000e1b4 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -9,6 +9,7 @@ #include "skeleton.dtsi" #include "imx6sl-pinfunc.h" +#include "imx6sl-pingrp.h" #include / { @@ -543,219 +544,6 @@ iomuxc: iomuxc@020e0000 { compatible = "fsl,imx6sl-iomuxc"; reg = <0x020e0000 0x4000>; - - ecspi1 { - pinctrl_ecspi1_1: ecspi1grp-1 { - fsl,pins = < - MX6SL_PAD_ECSPI1_MISO__ECSPI1_MISO 0x100b1 - MX6SL_PAD_ECSPI1_MOSI__ECSPI1_MOSI 0x100b1 - MX6SL_PAD_ECSPI1_SCLK__ECSPI1_SCLK 0x100b1 - >; - }; - }; - - fec { - pinctrl_fec_1: fecgrp-1 { - 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 - >; - }; - }; - - uart1 { - pinctrl_uart1_1: uart1grp-1 { - fsl,pins = < - MX6SL_PAD_UART1_RXD__UART1_RX_DATA 0x1b0b1 - MX6SL_PAD_UART1_TXD__UART1_TX_DATA 0x1b0b1 - >; - }; - }; - - usbotg1 { - pinctrl_usbotg1_1: usbotg1grp-1 { - fsl,pins = < - MX6SL_PAD_EPDC_PWRCOM__USB_OTG1_ID 0x17059 - >; - }; - - pinctrl_usbotg1_2: usbotg1grp-2 { - fsl,pins = < - MX6SL_PAD_FEC_RXD0__USB_OTG1_ID 0x17059 - >; - }; - - pinctrl_usbotg1_3: usbotg1grp-3 { - fsl,pins = < - MX6SL_PAD_LCD_DAT1__USB_OTG1_ID 0x17059 - >; - }; - - pinctrl_usbotg1_4: usbotg1grp-4 { - fsl,pins = < - MX6SL_PAD_REF_CLK_32K__USB_OTG1_ID 0x17059 - >; - }; - - pinctrl_usbotg1_5: usbotg1grp-5 { - fsl,pins = < - MX6SL_PAD_SD3_DAT0__USB_OTG1_ID 0x17059 - >; - }; - }; - - usbotg2 { - pinctrl_usbotg2_1: usbotg2grp-1 { - fsl,pins = < - MX6SL_PAD_ECSPI1_SCLK__USB_OTG2_OC 0x17059 - >; - }; - - pinctrl_usbotg2_2: usbotg2grp-2 { - fsl,pins = < - MX6SL_PAD_ECSPI2_SCLK__USB_OTG2_OC 0x17059 - >; - }; - - pinctrl_usbotg2_3: usbotg2grp-3 { - fsl,pins = < - MX6SL_PAD_KEY_ROW5__USB_OTG2_OC 0x17059 - >; - }; - - pinctrl_usbotg2_4: usbotg2grp-4 { - fsl,pins = < - MX6SL_PAD_SD3_DAT2__USB_OTG2_OC 0x17059 - >; - }; - }; - - usdhc1 { - pinctrl_usdhc1_1: usdhc1grp-1 { - 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_1_100mhz: usdhc1grp-1-100mhz { - 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_1_200mhz: usdhc1grp-1-200mhz { - 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 - >; - }; - - - }; - - usdhc2 { - pinctrl_usdhc2_1: usdhc2grp-1 { - 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_1_100mhz: usdhc2grp-1-100mhz { - 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_1_200mhz: usdhc2grp-1-200mhz { - 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 - >; - }; - - }; - - usdhc3 { - pinctrl_usdhc3_1: usdhc3grp-1 { - 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_1_100mhz: usdhc3grp-1-100mhz { - 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_1_200mhz: usdhc3grp-1-200mhz { - 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 - >; - }; - }; }; csi: csi@020e4000 {