From patchwork Wed Feb 7 02:11:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 10204541 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 A61D06037E for ; Wed, 7 Feb 2018 02:09:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9355E28EC6 for ; Wed, 7 Feb 2018 02:09:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8522328ECA; Wed, 7 Feb 2018 02:09:46 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 B796928EC6 for ; Wed, 7 Feb 2018 02:09:45 +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=iAK0IRQxxCREUS3aq+rSW80u51KT+eQaT7XVphRb64k=; b=YGeWt/PL39sq9F 0T2npq+iFtf0g9DpLuj2v8IcVEb5Oc+beaQt3zQZ9UJq5RRSRsFVAcs/JeAT1abfDtgkg2SvBRbn+ ZKo+161iRxYmP2pWCq7fARi9zEXt2DOWU4RVIvYGJ5q+7dMxco/pHGeQGfFITczQ/lLfC5qCouGDU HYVlkUznZ9h8cEd/8CdqeKM2eciilMkyL6cYYfbnDRSk0C71V8ZabBA6w4ozBu9Lnt9Fja9qPH4i8 Y+GTkaAvxGpRTsk5Is/QrNCH/sWzAoYYIdjQ4A4DuG61YkaeKugcg/giqZCbmf6Bv2P0hXRdBx5U8 5qoZaDu/ML90hIWiQ3rQ==; 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 1ejFBA-000685-AC; Wed, 07 Feb 2018 02:09:44 +0000 Received: from mail-he1eur01on0080.outbound.protection.outlook.com ([104.47.0.80] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejFAw-0005u4-HU for linux-arm-kernel@lists.infradead.org; Wed, 07 Feb 2018 02:09:32 +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=aCQrRdfB0broTcwvj9SBJhq3HCejSur00t3lNsxPyKI=; b=nMlYbaEgk9z+sTPEhzPwCHaRKj+utaKI8eQOfgegahYkOfGNVZt5VC8dQRfJr3JovKU3gFSjVcWWgw/yLc3cnO8ogxXUFVAzkfxgteQ3lvMw09/2a/BY77aEXfXmVRpKh8UX7Adwh7xwjCiT45Ft6sydigGTIFz2xO25+XWCLIA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ping.bai@nxp.com; Received: from localhost.localdomain (92.121.68.129) by AM5PR04MB3105.eurprd04.prod.outlook.com (2603:10a6:206:c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.464.11; Wed, 7 Feb 2018 02:09:12 +0000 From: Bai Ping To: robh+dt@kernel.org, shawnguo@kernel.org, kernel@pengutronix.de Subject: [PATCH v3 2/2] ARM: dts: imx: Add basic dts support for imx6sll EVK board Date: Wed, 7 Feb 2018 10:11:21 +0800 Message-Id: <1517969481-13411-2-git-send-email-ping.bai@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1517969481-13411-1-git-send-email-ping.bai@nxp.com> References: <1517969481-13411-1-git-send-email-ping.bai@nxp.com> MIME-Version: 1.0 X-Originating-IP: [92.121.68.129] X-ClientProxiedBy: HK2PR04CA0060.apcprd04.prod.outlook.com (2603:1096:202:14::28) To AM5PR04MB3105.eurprd04.prod.outlook.com (2603:10a6:206:c::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2a539d32-7413-4a8a-c9f6-08d56dcfca90 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:AM5PR04MB3105; X-Microsoft-Exchange-Diagnostics: 1; AM5PR04MB3105; 3:5XD3H9cXSqbfejdhTE1WL7O/NDUv1XbSLkDUipw+ILSCakzUGT4uMdpOyRJyaeafgzWtgvs3Ni+TlD7s20HBJsNXBNhQghOtwkRymQ+DA9FqCkIZ+SBr9vQUwbKJj7dfP1gPZRRA2E3UARg1QXzzNk9bRXxGxvWMjFM37dprDLHSGOPEvNYaIT0l7wTw1/6V/JKXaeKLZdnu8bi4qYrKi5JXMmYzYBZLx61sdlTumOtZawPvjjQm2YBPEAqAg/8E; 25:+PI7KclOB5HZlbIen+Cv8TWwIdhfT+4sJBmDI+4spFiQ9d1aUH98Eu9KdG7mDOBpH8fUR2tWMjJfW54+hVXeDToPDelgCoC8bGKN0wXPA41WXnjTsLp75JFCFulVPcDiw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Oq+DL04zRNSOVynY4/Zk4crq/ArkCch6O55LoFGFnybJAdjSr3wgIf05DcUvsTUsP10Xk2PUgSPCaC5pQ4VAOaFzZyT9SsuKmzHQ0kh8oxbsVv8MmOVJqYGunNivNulsLA3EflBaGmRli/41p5WujzhDfDpZZwo0/GSVI4MkfolKwJTxy/70EkwWDvZ3YYyqQC2+FckTXHvjtn5LUb5jZthTGw5xx6RLY3k2eE5uTiJCAuf2d/Ld39BqayDkQOE5cA+mHmqsUPhqArHdPsZ+Oe+9u3qBOwycmhtUY X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(3231101)(2400082)(944501161)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:AM5PR04MB3105; BCL:0; PCL:0; RULEID:; SRVR:AM5PR04MB3105; X-Forefront-PRVS: 0576145E86 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(376002)(346002)(39860400002)(366004)(396003)(39380400002)(189003)(199004)(76176011)(305945005)(16526019)(7736002)(105586002)(47776003)(16586007)(316002)(53936002)(6666003)(575784001)(2950100002)(6512007)(39060400002)(86362001)(66066001)(97736004)(186003)(26005)(5660300001)(51416003)(48376002)(68736007)(6506007)(386003)(4326008)(6486002)(50226002)(106356001)(59450400001)(8936002)(6116002)(478600001)(3846002)(2906002)(50466002)(81166006)(8676002)(81156014)(25786009)(52116002)(36756003)(32563001)(473944003)(414714003)(357404004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR04MB3105; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =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EvieaYZVWVUL9JdAHQ38FbZyPZ4AIuupBU=; 24:ys0pGCtsIWwI7J9thsIodg8yOIBP0QfmGbp2guaZblNYLiW/gxx/jCeJ/4v8cf1YHjrxCUcHhf2iUo/Vntx07idcyJQ7jo9hBDWGOpe+UJ4=; 7:TKiUZXIpECsRXGTJFZ9l1VIGdG+dkRo8L8EYrfEGSDoEB/Zl3zLrqpYapSMIBkZfzNA9bhwJETM97zbh6xmTBus/2mAsacktIDSxRBtF10bFfNR7Z12lYV9/4942KHDUyjt1CszzBg84gfLV4ay7sWSJYruovBsI6i/miYKFrjQyjupXt6vFxmvpOfmVRFGRu3+nu51vR5ytYuVfdviwMkDdABUSJX5yCTyuxIenvHQKncz9vnePHTGrfXFg+B/W SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2018 02:09:12.5688 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a539d32-7413-4a8a-c9f6-08d56dcfca90 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR04MB3105 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 --- change v2->v3: - use generic pinconfig binding --- Documentation/devicetree/bindings/arm/fsl.txt | 4 + arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx6sll-evk.dts | 374 ++++++++++++++++++++++++++ 3 files changed, 380 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..e5a381a --- /dev/null +++ b/arch/arm/boot/dts/imx6sll-evk.dts @@ -0,0 +1,374 @@ +/* + * Copyright 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP. + * + * SPDX-License-Identifier: (GPL-2.0 OR MIT) + */ + +/dts-v1/; + +#include +#include +#include "imx6sll.dtsi" + +/ { + model = "Freescale i.MX6SLL EVK Board"; + compatible = "fsl,imx6sll-evk", "fsl,imx6sll"; + + memory { + 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 0>; + 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@08 { + 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_REF_CLK_32K__GPIO3_IO22 /* SD3 CD */ + MX6SLL_PAD_KEY_COL6__GPIO4_IO04 /*SD3 RESET */ + MX6SLL_PAD_KEY_COL5__GPIO4_IO02 + MX6SLL_PAD_GPIO4_IO24__GPIO4_IO24 /* HP DETECT */ + >; + 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; + }; +}; + +&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; + enable-sdio-wakeup; + 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"; +};