From patchwork Thu Mar 8 10:03:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 10267511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 40AF3602C8 for ; Thu, 8 Mar 2018 10:02:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E0F529844 for ; Thu, 8 Mar 2018 10:02:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 220A429846; Thu, 8 Mar 2018 10:02:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 50AB329844 for ; Thu, 8 Mar 2018 10:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ByiO0nQ2Iw3JhYSYTxmBza0TnzqY7gjvUqvY9VDNFZI=; b=IG0PE3wTmYTvmW m1iyMVYlsr32FM1JI2mqjLjukfhKFnSvFfMxxeS+3h+xojP/xMCBBjIKhVgfIq8WLRdXWmBcINm2O Huy2EYv1yNzyXG3WdSkDuswsnbHQQbkGBS2Xgwk4O4Ct70aINcCsVr7f/xVUiUXwFk620SZHbeewI XpT/LkWIXnc0shylFY4U7h258O79kRpl4SFBTdOiKCLRQJLcdgUS3GEDBG81YJO6STlOKOsA2yHt9 lrfhaVgq3CVymi8m5V1xNlo9LMPeRHm/wlCV8MUH2NCa8wAt1JYP9IPm3lLR3n39ItoXe9FwdlX33 oEXGX9fanihgY5DmWWFg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1etsNL-0002Ll-5I; Thu, 08 Mar 2018 10:02:15 +0000 Received: from mail-eopbgr50057.outbound.protection.outlook.com ([40.107.5.57] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etsN7-0002DG-6d for linux-arm-kernel@lists.infradead.org; Thu, 08 Mar 2018 10:02:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=iMGL8JClgaY7KX426D51Hw3rOviZ5YgD1+aSvBk8aQ0=; b=nBTJcTJW0QQtFzPNQChmZZ/KzEH/KQ3poUPntPBFNAFk5MzVX8+LkQNzvO7m2IF5VeGYeG0J7l13Xub2opdQvQiUDH0ID5c/wOGC5PzhFJxg6bs6X/Lo1coBJigtmz+nKYxe2h7z6VRYe2ZIC/YdsIrJu8MOQHok4LeFrJeSWg4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ping.bai@nxp.com; Received: from localhost.localdomain (92.121.68.129) by HE1PR04MB3116.eurprd04.prod.outlook.com (2603:10a6:7:21::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Thu, 8 Mar 2018 10:01:09 +0000 From: Bai Ping To: robh+dt@kernel.org, shawnguo@kernel.org, kernel@pengutronix.de Subject: [PATCH v4 2/2] ARM: dts: imx: Add basic dts support for imx6sll EVK board Date: Thu, 8 Mar 2018 18:03:44 +0800 Message-Id: <1520503424-22985-2-git-send-email-ping.bai@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1520503424-22985-1-git-send-email-ping.bai@nxp.com> References: <1520503424-22985-1-git-send-email-ping.bai@nxp.com> MIME-Version: 1.0 X-Originating-IP: [92.121.68.129] X-ClientProxiedBy: HK2PR02CA0190.apcprd02.prod.outlook.com (2603:1096:201:21::26) To HE1PR04MB3116.eurprd04.prod.outlook.com (2603:10a6:7:21::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7a950f5b-44e6-44ab-339b-08d584db8629 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB3116; X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB3116; 3:JoPSI7GKvpoqkHyEE3Q+9SEKKnPPDh9KXD4wsnXKd6npnzDfwWjreNfc8T2QqPLwBaLnDUuRvFjKUaH0ysuq0XIK1rSXaG38z+7TtJ8m5yFxZW90Pd/h9f8esw0SesEpUQJFL+0LXddn4tO1KAmdBkkESPWqrtPdsrBtvYaIAahaJP/8xDUaAEVt8xYnOA8HFNiLCUnzBWcd/ikhPzjnoF7JsIxOLVacLTTXwOWNLFHqo+XVC1dUM/lzbzA9oTYF; 25:Esd6fuX13w/7ErmUDUfmDz4LdfsgEHdT/b/eiQh2j+4rMIbgWcZoFmHFf6bTlPdv1rUXrbVBQx3on/aV+U1QMDEPtNwZwUr1IIyDTpsR3zIsgjBouHGoy1o8RrT3B25J9vHSQmF4diLgk5Hb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22kETIkl0U1k+d0qUl2qmZP0Ya2Otw3DjRPOeA9vhVXsXXmSbuJk1M9TqKv37zeYQ4bc+2VMkKuN/Z6iyUnPjlOtpq3/bb1DB8Z07/ZeUMC4O9gr7UqQEJXUyHUAdVIzTLFbFYGyBwqA7RcHVSIvTEHHuBAfJkjX4GaMkHb89ZX14vy6GC0xmMomNUIMj5wvSrzpxRmogUrkOLQO5ARi8gexLcH5kyq6eh/aYTsY6ydkeWHKpuwnqAJyTQvWmiZt9hARr+VxUb87 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3002001)(3231220)(944501244)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:HE1PR04MB3116; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB3116; X-Forefront-PRVS: 060503E79B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(376002)(366004)(39860400002)(39380400002)(346002)(199004)(189003)(5660300001)(81156014)(8676002)(478600001)(50466002)(6666003)(2950100002)(16586007)(48376002)(50226002)(52116002)(105586002)(8936002)(3846002)(6116002)(81166006)(386003)(76176011)(316002)(66066001)(51416003)(47776003)(6506007)(2906002)(305945005)(68736007)(4326008)(39060400002)(86362001)(6486002)(106356001)(36756003)(6512007)(25786009)(53936002)(186003)(575784001)(59450400001)(26005)(97736004)(7736002)(16526019)(32563001)(473944003)(414714003)(357404004); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB3116; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q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4VKc+?= =?us-ascii?Q?0CdVsmrxyEf2EgyjKtiAQzvAgqORw1+VB/2v2Tr+eqFsA0WfwNCOHyBqBeZo?= =?us-ascii?Q?1DWjfiBKfkdtE143VJZxu2g3yTjDjH4pacvbTJ8DQGj3auR//d9DAPvidxli?= =?us-ascii?Q?2JAezT+0P3dWaogUnFm2+5j72OTahMtm95CFPTqWPbqcZTkyz83hxxJZ5eA+?= =?us-ascii?Q?RRmh3gWLEbspXPQ1wMrZK7mgWwWHWgHpUe/Wz6dlvBHuVj/LrtIMIGyquHyv?= =?us-ascii?Q?kj9P8qIlzDO09iXSlMF7FqnExuZgBk/RdCOGE5Nx6wVJDmukLbtcGB5AlVZv?= =?us-ascii?Q?Q1NO6vqTCBptZhohQbkySHwxoPXbnZWsc+Cbw1Kxhpq+paT+u/BkcgBd/cTq?= =?us-ascii?Q?2wI6OkJznc4pDZcuAPd5GvdgsyguEJOoPyJXFSQ?= X-Microsoft-Antispam-Message-Info: SjLskc/am5JpkI21OnBMiuj+TkuEfQQMRQzI7ccwY9pHzTebyml1gswp+81EZHRYm/5H9FVjH7amflim0m9b2jrS4qCtT5zQhnekCZnY3hhU9mtxMdVk5+Kx/5qkY9FBKouKMcTWv6fI/QV5MachiMBEa6uNpsSryb6ojIm+jaa3WMXRQK+G/ElYXIl+dkhm X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB3116; 6:uqe4TPruXk27+SjnqGgTzYL428fVOV4oNzMY/Fur40QEHyExS8S4/y7TzM09BwPgEajdKPn+ba6w2/CS5MF5yDDys1GSRAtVBnnIpe45C0nrU2Aj8nKMua6iz2LZ2CL2TCU+EOe4ijJah6KdykULwXrX1nUVPDYLgqA3uC5M57nMsuEu7egXt/sorWpXPRtzhvzgRMUDKniV+oZF0gnUY1CGNu3duHmUmx16tbYFnTj+T8Vbo1EsZvvFvcID0xG9hJ8fy5oOadTt/jXHCjDma4/EEEDQZHRtr1xl40A1qV2qMRLJeGAWTnOzMyUjGqfeeliO0NQuvNgQ4Ih2I59lF6Rws0KKFYIvS1tiXqLJiYg=; 5:VgBEaGzPkjyyfO18Fr1E4qqnxLOZYWvvom+eX6cR9XcfCyNccY5M2+oxeojqI5h+52P7M1HYvEZqRayVhe4ewjp8bRbAgwbKV+bMUwBACJRIXO/DYu/a4adO8nz4itWr6diNIz+XXpY7EjWDQ5TDGtorxpgVeVMNPcK+7m0P5O4=; 24:OlyM5RF9vEMAkr2m8TevONJfU/r9NIDh02b/4d/efUTQs5TPw9pCCFy2sLfj51UajoNJeBGegC5WsAd3PHcx96E0nOM5DfM2BgD+DZjqMho=; 7:NDSykHvqnfeULLi+vAYNybzxAdpIgBsRnj7rnk2eIp68I81a9SkHn/FKml7k6w6J55uZqNVLSDtFuMhM6gYo2lnRJkBI0mrw02N2YNbHijWx31Fn47OSaLpsHpcP4fWGuBYAAp+mL4Fi4yyPlvVWg9JkUb+25KR35U1hC0MdnwtYNRVHxuSBn7QijjLAZNP2pL1nlicWV+c4g/8JiVzWr67THAzVUKO/70VAqQjLsbV2QXEfqT7tPMC2BK2h9KdB SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2018 10:01:09.0094 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7a950f5b-44e6-44ab-339b-08d584db8629 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB3116 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180308_020201_900311_B64841F5 X-CRM114-Status: GOOD ( 14.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aisheng.dong@nxp.com, devicetree@vger.kernel.org, linux-imx@nxp.com, jacky.baip@gmail.com, fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add dts file support for imx6sll EVK board. Signed-off-by: Bai Ping Reviewed-by: Rob Herring --- change v3->v4 - update the license indentifier - remove leading zero of node - remove unused pin from hog group --- Documentation/devicetree/bindings/arm/fsl.txt | 4 + arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx6sll-evk.dts | 372 ++++++++++++++++++++++++++ 3 files changed, 378 insertions(+) create mode 100644 arch/arm/boot/dts/imx6sll-evk.dts diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt index cdb9dd7..8a1baa2 100644 --- a/Documentation/devicetree/bindings/arm/fsl.txt +++ b/Documentation/devicetree/bindings/arm/fsl.txt @@ -53,6 +53,10 @@ i.MX6 Quad SABRE Automotive Board Required root node properties: - compatible = "fsl,imx6q-sabreauto", "fsl,imx6q"; +i.MX6SLL EVK board +Required root node properties: + - compatible = "fsl,imx6sll-evk", "fsl,imx6sll"; + Generic i.MX boards ------------------- diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ade7a38..28bff8b 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -505,6 +505,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ dtb-$(CONFIG_SOC_IMX6SL) += \ imx6sl-evk.dtb \ imx6sl-warp.dtb +dtb-$(CONFIG_SOC_IMX6SLL) += \ + imx6sll-evk.dtb dtb-$(CONFIG_SOC_IMX6SX) += \ imx6sx-nitrogen6sx.dtb \ imx6sx-sabreauto.dtb \ diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts new file mode 100644 index 0000000..892fbec --- /dev/null +++ b/arch/arm/boot/dts/imx6sll-evk.dts @@ -0,0 +1,372 @@ +//SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP. + * + */ + +/dts-v1/; + +#include +#include +#include "imx6sll.dtsi" + +/ { + model = "Freescale i.MX6SLL EVK Board"; + compatible = "fsl,imx6sll-evk", "fsl,imx6sll"; + + memory@80000000 { + reg = <0x80000000 0x80000000>; + }; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm1 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <6>; + status = "okay"; + }; + + reg_usb_otg1_vbus: reg-usb-otg1-vbus { + compatible = "regulator-fixed"; + regulator-name = "usb_otg1_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio4 0 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_usb_otg2_vbus: reg-usb-otg2-vbus { + compatible = "regulator-fixed"; + regulator-name = "usb_otg2_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_aud3v: reg-aud3v { + compatible = "regulator-fixed"; + regulator-name = "wm8962-supply-3v15"; + regulator-min-microvolt = <3150000>; + regulator-max-microvolt = <3150000>; + regulator-boot-on; + }; + + reg_aud4v: reg-aud4v { + compatible = "regulator-fixed"; + regulator-name = "wm8962-supply-4v2"; + regulator-min-microvolt = <4325000>; + regulator-max-microvolt = <4325000>; + regulator-boot-on; + }; + + reg_lcd: reg-lcd { + compatible = "regulator-fixed"; + regulator-name = "lcd-pwr"; + gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_sd1_vmmc: reg-sd1-vmmc { + compatible = "regulator-fixed"; + regulator-name = "SD1_SPWR"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; +}; + +&cpu0 { + arm-supply = <&sw1a_reg>; + soc-supply = <&sw1c_reg>; +}; + +&i2c1 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic: pfuze100@8 { + compatible = "fsl,pfuze100"; + reg = <0x08>; + + regulators { + sw1a_reg: sw1ab { + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1875000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + sw1c_reg: sw1c { + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1875000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + sw2_reg: sw2 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + sw3a_reg: sw3a { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1975000>; + regulator-boot-on; + regulator-always-on; + }; + + sw3b_reg: sw3b { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1975000>; + regulator-boot-on; + regulator-always-on; + }; + + sw4_reg: sw4 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + }; + + swbst_reg: swbst { + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5150000>; + }; + + snvs_reg: vsnvs { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + }; + + vref_reg: vrefddr { + regulator-boot-on; + regulator-always-on; + }; + + vgen1_reg: vgen1 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1550000>; + regulator-always-on; + }; + + vgen2_reg: vgen2 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1550000>; + }; + + vgen3_reg: vgen3 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + + vgen4_reg: vgen4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen5_reg: vgen5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen6_reg: vgen6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; + }; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog0>, <&pinctrl_hog1>; + + pinctrl_hog0: hog0grp { + pinmux = < + MX6SLL_PAD_KEY_ROW7__GPIO4_IO07 + MX6SLL_PAD_GPIO4_IO22__GPIO4_IO22 + MX6SLL_PAD_KEY_COL3__GPIO3_IO30 + MX6SLL_PAD_KEY_COL4__GPIO4_IO00 + MX6SLL_PAD_KEY_COL5__GPIO4_IO02 + >; + slew-rate = <0x1>; + drive-strength = <0x3>; + fsl,pin-speed = <0x1>; + bias-pull-up = <0x1>; + input-schmitt-enable; + }; + + pinctrl_hog1: hog1grp { + pinmux = < + /* + * Must set the LVE of pad SD2_RESET, otherwise current + * leakage through eMMC chip will pull high the VCCQ to + * 2.6v, which will impact SD1 and SD3 SD3.0 voltage switch. + */ + MX6SLL_PAD_SD2_RESET__GPIO4_IO27 + >; + slew-rate = <0x1>; + drive-strength = <0x3>; + fsl,pin-speed = <0x1>; + bias-pull-up = <0x1>; + input-schmitt-enable; + fsl,low-voltage-enable = <0x1>; + }; + + pinctrl_uart1: uart1grp { + pinmux = < + MX6SLL_PAD_UART1_TXD__UART1_DCE_TX + MX6SLL_PAD_UART1_RXD__UART1_DCE_RX + >; + slew-rate = <0x1>; + drive-strength = <0x6>; + fsl,pin-speed = <0x2>; + bias-pull-up = <0x2>; + input-schmitt-enable; + }; + + pinctrl_usdhc1_data: usdhc1datagrp { + pinmux = < + MX6SLL_PAD_SD1_CMD__SD1_CMD + MX6SLL_PAD_SD1_DATA0__SD1_DATA0 + MX6SLL_PAD_SD1_DATA1__SD1_DATA1 + MX6SLL_PAD_SD1_DATA2__SD1_DATA2 + MX6SLL_PAD_SD1_DATA3__SD1_DATA3 + >; + slew-rate = <0x1>; + drive-strength = <0x4>; + fsl,pin-speed = <0x1>; + bias-pull-up = <0x1>; + input-schmitt-enable; + }; + + pinctrl_usdhc1_clk: usdhc1clkgrp { + pinmux = ; + slew-rate = <0x1>; + drive-strength = <0x4>; + fsl,pin-speed = <0x1>; + bias-pull-down = <0x0>; + input-schmitt-enable; + }; + + pinctrl_usdhc1_data_100mhz: usdhc1datagrp_100mhz { + pinmux = < + MX6SLL_PAD_SD1_CMD__SD1_CMD + MX6SLL_PAD_SD1_DATA0__SD1_DATA0 + MX6SLL_PAD_SD1_DATA1__SD1_DATA1 + MX6SLL_PAD_SD1_DATA2__SD1_DATA2 + MX6SLL_PAD_SD1_DATA3__SD1_DATA3 + >; + slew-rate = <0x1>; + drive-strength = <0x4>; + fsl,pin-speed = <0x2>; + bias-pull-up = <0x1>; + input-schmitt-enable; + }; + + pinctrl_usdhc1_clk_100mhz: usdhc1clkgrp_100mhz { + pinmux = < MX6SLL_PAD_SD1_CLK__SD1_CLK>; + slew-rate = <0x1>; + drive-strength = <0x4>; + fsl,pin-speed = <0x2>; + bias-pull-down = <0x0>; + input-schmitt-enable; + }; + + pinctrl_usdhc1_data_200mhz: usdhc1datagrp_200mhz { + pinmux = < + MX6SLL_PAD_SD1_CMD__SD1_CMD + MX6SLL_PAD_SD1_DATA0__SD1_DATA0 + MX6SLL_PAD_SD1_DATA1__SD1_DATA1 + MX6SLL_PAD_SD1_DATA2__SD1_DATA2 + MX6SLL_PAD_SD1_DATA3__SD1_DATA3 + >; + slew-rate = <0x1>; + drive-strength = <0x5>; + fsl,pin-speed = <0x3>; + bias-pull-up = <0x1>; + input-schmitt-enable; + }; + + pinctrl_usdhc1_clk_200mhz: usdhc1clkgrp_200mhz { + pinmux = ; + slew-rate = <0x1>; + drive-strength = <0x7>; + fsl,pin-speed = <0x3>; + bias-pull-down = <0x0>; + input-schmitt-enable; + }; + + pinctrl_usbotg1: usbotg1grp { + pinmux = ; + slew-rate = <0x1>; + drive-strength = <0x3>; + fsl,pin-speed = <0x1>; + bias-pull-up = <0x1>; + input-schmitt-enable; + }; + + pinctrl_i2c1: i2c1grp { + pinmux = < + MX6SLL_PAD_I2C1_SCL__I2C1_SCL + MX6SLL_PAD_I2C1_SDA__I2C1_SDA + >; + slew-rate = <0x1>; + drive-strength = <0x6>; + fsl,pin-speed = <0x2>; + drive-open-drain; + bias-pull-up = <0x2>; + input-schmitt-enable; + input-enable; + }; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + status = "okay"; +}; + +&usdhc1 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc1_data>, <&pinctrl_usdhc1_clk>; + pinctrl-1 = <&pinctrl_usdhc1_data_100mhz>, <&pinctrl_usdhc1_clk_100mhz>; + pinctrl-2 = <&pinctrl_usdhc1_data_200mhz>, <&pinctrl_usdhc1_clk_200mhz>; + cd-gpios = <&gpio4 7 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; + keep-power-in-suspend; + wakeup-source; + vmmc-supply = <®_sd1_vmmc>; + status = "okay"; +}; + +&usbotg1 { + vbus-supply = <®_usb_otg1_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1>; + disable-over-current; + srp-disable; + hnp-disable; + adp-disable; + status = "okay"; +}; + +&usbotg2 { + vbus-supply = <®_usb_otg2_vbus>; + dr_mode = "host"; + disable-over-current; + status = "okay"; +};