From patchwork Fri May 25 07:42:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 10426517 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 12A38602D8 for ; Fri, 25 May 2018 07:39:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E182F29497 for ; Fri, 25 May 2018 07:39:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D359429561; Fri, 25 May 2018 07:39:03 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI 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 ED4AB29497 for ; Fri, 25 May 2018 07:39:02 +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=Eh6j945ncJ33Jop5dg197hYQVV4cY2RAAwLi+F4Hlwk=; b=jwHL4+y/wePuq5 +rTOC4LsAPhe7IiUXVIrcOzD3H5FDr/lPLIXsJ4ZeqXAk7VNrz+JRQ9B/2J4IsBKB7VeLNs3nP6fA g5Ccbj0NeUg6Ug1pc6LSD6Vr/5jkjd+6ar3nj6Dj9j3RGATIJqD7saZ7l0TgXVJCe9kHuC3uA/++E IJhxDwbiy18LSYKJPuHY0fFcCKAf+YpeYClyRc9Bm+QAkOaXwKRNhrcqz3UExzFTuIbM9HubWPuv8 6sHPWAweV3tpPUR0A7tpQiSITqu3K0sSeU9T2x0jqMu9L9bD2w3ewRM5/040rKk03vDP2LT1JCwDV c1O0STxBSgLs0+jhJb4w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fM7JL-0006vl-II; Fri, 25 May 2018 07:38:51 +0000 Received: from mail-eopbgr30062.outbound.protection.outlook.com ([40.107.3.62] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fM7JH-0006tt-OX for linux-arm-kernel@lists.infradead.org; Fri, 25 May 2018 07:38:49 +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:X-MS-Exchange-SenderADCheck; bh=kmJay01i4xZ67Br9OHBt7k3adLkCAvadhHOOvhyheuo=; b=ucw8D6VTBcWXCcpASu2gJ0KGIDwCY/YgQIpu4hfGsEVBjNbu9V+AZxXqVPB8KT7TOzFfCfCET0rLntaIyU8pTigdbzqDeh+kgxyZW/OMt7KjKerSjOw8TIYpqCVXxhB2YYh0okna1KoO2fbI6X/3vpujf4fvWElg0f28jnGnV2U= Received: from localhost.localdomain (92.121.68.129) by AM5PR04MB3107.eurprd04.prod.outlook.com (2603:10a6:206:c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.797.11; Fri, 25 May 2018 07:38:30 +0000 From: Bai Ping To: shawnguo@kernel.org, robh+dt@kernel.org, kernel@pengutronix.de Subject: [PATCH v7 2/2] ARM: dts: imx: Add basic dts support for imx6sll EVK board Date: Fri, 25 May 2018 15:42:07 +0800 Message-Id: <1527234127-11991-2-git-send-email-ping.bai@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1527234127-11991-1-git-send-email-ping.bai@nxp.com> References: <1527234127-11991-1-git-send-email-ping.bai@nxp.com> MIME-Version: 1.0 X-Originating-IP: [92.121.68.129] X-ClientProxiedBy: HK2PR0302CA0024.apcprd03.prod.outlook.com (2603:1096:202::34) To AM5PR04MB3107.eurprd04.prod.outlook.com (2603:10a6:206:c::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM5PR04MB3107; X-Microsoft-Exchange-Diagnostics: 1; AM5PR04MB3107; 3:XWB5VLt8poYATz9AsWkqJWGQYq4arC5vOZuVkq79zddTiKTQx8s5pc3iHFLI4XuLG95UWHT40POyDDxgj5LV0or7/Scvjt4mJDizFStx+KmXD/W8Opj7bKxbdbRTz1kQ25aoNtizy+Yl1RPAf5b1YkJt01Eva+ScpYILl0q6yRTIuq0Od4S+OZFzFERY7DPam21Jew/72vbg7DC3gfXH4NkSm/8nuboFBcsP2M9yhv95GVsktAWWjQhkir2GKfD9; 25:J0Gliu973Rw37pI5puy21Y6maI7I8F37JSYNy1Sclz6g/xIm3E131sd51eJJXjLru5Lr8+mENz4U6TzmyNWEbJHMRYHqhCBfNQdlpD6bfKnZlgvp96Vu5gnOuF021cBbSb24O2FHXt9QnYtgJcEdXm5lxXnvNTjrlybaxNsTxBCPi/7kVM3mtNZQYQSvdMLyo3aWiuroKBIIZJ3+wSuzR5wHn5FjShHODiRbUbxBkvahwIFnYNAS07TdBcs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XSZZ70EztDgNqH+kisYoS5SDmN9QdzCBnZOubdD6Ts2xLkgk6QbgACLBaFM8iDhinEP+LJq8AbfRvykaMEYyCyX/6DJZySP8h+KlXXAB43s/H6gvhrSvgfWDwq4oqj7tYQbsFRQF7tSPqGmtol8w40udwP/FwzQvnlHCTRhBT8/ke8pdsjUMMtn3O+X/dyhbdg76hJIEY2Nhu7pic2xBAU8QBJSxyPUsaWd X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:AM5PR04MB3107; BCL:0; PCL:0; RULEID:; SRVR:AM5PR04MB3107; X-Forefront-PRVS: 06833C6A67 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(39380400002)(39860400002)(396003)(366004)(346002)(376002)(189003)(199004)(8676002)(50226002)(6486002)(81166006)(6666003)(8936002)(478600001)(446003)(11346002)(2616005)(956004)(5660300001)(486006)(81156014)(6512007)(476003)(86362001)(575784001)(66066001)(6116002)(3846002)(47776003)(7736002)(305945005)(26005)(16586007)(51416003)(76176011)(2906002)(16526019)(186003)(48376002)(106356001)(105586002)(50466002)(316002)(25786009)(68736007)(36756003)(4326008)(39060400002)(6506007)(52116002)(386003)(59450400001)(97736004)(53936002)(32563001)(473944003)(414714003)(357404004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR04MB3107; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?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9KIW0Jth7f5h22meWNUR9o?= =?us-ascii?Q?0xigbKBEd8J7NRCqD97VWpFq4uDV1okEJZ+N70zr7HwYVdon0JyPF5/Rta4O?= =?us-ascii?Q?yREG95XhCg9tNQRUjANXMFkjrP/WZvqWRfKfeALfYuTuqpv/ecYvt61F6ejw?= =?us-ascii?Q?GRrjJv7TjBFPmVREJ06aRSZIffn36JTSI/YL5pfsiiVxoMxqvoFcI+zyJATe?= =?us-ascii?Q?f70PMOU+VPU0TY9MbrHXVC/WN/gH5H1g/2O1KwNYLym6aGRxDa9+qfjklWQd?= =?us-ascii?Q?mOVg+4PzEpf8CaFX+12TiHEOIQuz1dK7gcVcSS1Xg+ucSIFAVSyxVD7gqdTc?= =?us-ascii?Q?awdq29YR0RuIXzyf4knOcN7gA7BXoEa2m2XvWyRrsbyKdQzZMKCz7gMgtHEw?= =?us-ascii?Q?MPZWIQ3GU+lgQHuW1BVW69cbxBH53efKUMljAXoa82lC4pCDIfEsPNIceQVk?= =?us-ascii?Q?fyiThEcIfMXihsiPLbr7NCLICYemebL+ehWToJe9GAHeSuyvyos18uf5Jf9d?= =?us-ascii?Q?JD42w=3D=3D?= X-Microsoft-Antispam-Message-Info: Vql2pD6Mqzyu5SNX8oJe2cItTC9m7TCBCmjqJBuMse6cZf3ruHy3XsLEOl88Zi3ue2i0FnPo32G7f4uhSgChk7qcN55tIf0xeYX7sQ+UDJGCa8G9PSLRHZevkecaD/tihqcdRHa6WDV4HZCwnPeSHgCyTiiwVVTK93qA3XajsDMFnRtn9jeiyycbOc3dQ16S X-Microsoft-Exchange-Diagnostics: 1; AM5PR04MB3107; 6:SQGPtRmrL/DQtUC5CIYuHvenVcWS+9HnI/AX/R9v7ym7iDAWnuV04VY7fAM79OGP0CcFGo05YuEbT8esOKbuaZY6LBkfM95L8Awo6FRyP99+tbPVXrcewauYaJIfHxLVtlOUTjAVc/iSmOAQ7BhQsDG6jn8ji67I2TVyuz2Jhw+yGCvOm1njxgMqDw+cCYt7nE+PbvKD0dfbCRPwN4EiMiR+Yr1OmoOt1M/mEqoAHoDEuHk6zxcbcgbpwLtWmQcN7GP1wb0BxAj6mGMWL+Y1hZ9kEJ1f6ly8yfZQOsvq+7VELx+r3Y73OUMLkhwxpmgd0/J+6G+kJqz7EJXB/qgSAXaY+5rjAW4WGWetQEc13a4qJs8dLMhDkAmpVX4+BngPWieH2AUf0HE7eUZMqcx9SPDTHUDG1xDR951XwgnIFNkK/Tny8N5oLwij/ZvQVO+bVPQ/KgN64ncZdXT5zx5dtg==; 5:QaSZoTLxEk9PQGrPehsvrOlAbEKvAUJi1ZG2oAVqG41wOykNHEbTxywGz2yoA7c/iY3ODQjXfmzzUucV5Wdvyk+XG66BKlgHN0Q/YkHTWcQgaRdOL4dZoZNTSoX9kn9wotaUwIymhCUM12MtQ/+8I+XnCcD+sV7ByoXKPuAK4Qk=; 24:DKdTfozEIOtIaBfkMy2IsMQpkV8rl1nOokQYPlo7cA1Z7cEUILhAGxvP7Xk2Y+IFHlj/ahE5TQvNWvFONbfGRwcs1gVtB+pXKMF910RZY+E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR04MB3107; 7:V81l4C0kdikDvHFRZoOMswNhiFhsyIpL3EF9G4vDOlnGpIYI9DE4kB8dFqwgXFxmKfbBk2mZM0tHJjTpXz0KH9YU6iaGxYgnurKcZ1+xCGSKWhd9dOaUjp6KBYObyYg9tOI6j3pHLdsRlZmVpXL9aa6SEhznUnl3zHRmKoXKd9jtVwjCoDfEWijDJC7SzUYmOZMnlQ2TM/ItVTHNXc/I3pEGsjO+QDyyfiTs/2lH8ylGpZSsokaD8QULwzP/bIdj X-MS-Office365-Filtering-Correlation-Id: adc9dc36-b27d-4b95-d74d-08d5c21284aa X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2018 07:38:30.1369 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: adc9dc36-b27d-4b95-d74d-08d5c21284aa X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR04MB3107 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180525_003847_821940_F83D76E9 X-CRM114-Status: GOOD ( 16.94 ) 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, linux-arm-kernel@lists.infradead.org, jacky.baip@gmail.com 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 Acked-by: Dong Aisheng --- change v3->v4 - update the license indentifier - remove leading zero of node - remove unused pin from hog group change v4->v5 - use generic name for device node - remove unnecessary hog pin group change v5->v6 - no change v6->v7 - move the iomuxc node to the end of dts file --- Documentation/devicetree/bindings/arm/fsl.txt | 4 + arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx6sll-evk.dts | 317 ++++++++++++++++++++++++++ 3 files changed, 323 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 f4753b0..f3fb85f 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -521,6 +521,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..0f5bd16 --- /dev/null +++ b/arch/arm/boot/dts/imx6sll-evk.dts @@ -0,0 +1,317 @@ +// 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: regulator-otg1-vbus { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_otg1_vbus>; + 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: regulator-otg2-vbus { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_otg2_vbus>; + regulator-name = "usb_otg2_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_aud3v: regulator-aud3v { + compatible = "regulator-fixed"; + regulator-name = "wm8962-supply-3v15"; + regulator-min-microvolt = <3150000>; + regulator-max-microvolt = <3150000>; + regulator-boot-on; + }; + + reg_aud4v: regulator-aud4v { + compatible = "regulator-fixed"; + regulator-name = "wm8962-supply-4v2"; + regulator-min-microvolt = <4325000>; + regulator-max-microvolt = <4325000>; + regulator-boot-on; + }; + + reg_lcd: regulator-lcd { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_lcd>; + regulator-name = "lcd-pwr"; + gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_sd1_vmmc: regulator-sd1-vmmc { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_sd1_vmmc>; + 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"; + + pfuze100: pmic@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; + }; + }; + }; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + status = "okay"; +}; + +&usdhc1 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc1>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>; + pinctrl-2 = <&pinctrl_usdhc1_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"; +}; + +&iomuxc { + pinctrl_usb_otg1_vbus: vbus1grp { + fsl,pins = < + MX6SLL_PAD_KEY_COL4__GPIO4_IO00 0x17059 + >; + }; + + pinctrl_usb_otg2_vbus: vbus2grp { + fsl,pins = < + MX6SLL_PAD_KEY_COL5__GPIO4_IO02 0x17059 + >; + }; + + pinctrl_reg_lcd: reglcdgrp { + fsl,pins = < + MX6SLL_PAD_ECSPI1_SCLK__GPIO4_IO08 0x17059 + >; + }; + + pinctrl_reg_sd1_vmmc: sd1vmmcgrp { + fsl,pins = < + MX6SLL_PAD_KEY_COL3__GPIO3_IO30 0x17059 + >; + }; + + pinctrl_uart1: uart1grp { + fsl,pins = < + MX6SLL_PAD_UART1_TXD__UART1_DCE_TX 0x1b0b1 + MX6SLL_PAD_UART1_RXD__UART1_DCE_RX 0x1b0b1 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX6SLL_PAD_SD1_CMD__SD1_CMD 0x17059 + MX6SLL_PAD_SD1_CLK__SD1_CLK 0x13059 + MX6SLL_PAD_SD1_DATA0__SD1_DATA0 0x17059 + MX6SLL_PAD_SD1_DATA1__SD1_DATA1 0x17059 + MX6SLL_PAD_SD1_DATA2__SD1_DATA2 0x17059 + MX6SLL_PAD_SD1_DATA3__SD1_DATA3 0x17059 + >; + }; + + pinctrl_usdhc1_100mhz: usdhc1grp_100mhz { + fsl,pins = < + MX6SLL_PAD_SD1_CMD__SD1_CMD 0x170b9 + MX6SLL_PAD_SD1_CLK__SD1_CLK 0x130b9 + MX6SLL_PAD_SD1_DATA0__SD1_DATA0 0x170b9 + MX6SLL_PAD_SD1_DATA1__SD1_DATA1 0x170b9 + MX6SLL_PAD_SD1_DATA2__SD1_DATA2 0x170b9 + MX6SLL_PAD_SD1_DATA3__SD1_DATA3 0x170b9 + >; + }; + + pinctrl_usdhc1_200mhz: usdhc1grp_200mhz { + fsl,pins = < + MX6SLL_PAD_SD1_CMD__SD1_CMD 0x170f9 + MX6SLL_PAD_SD1_CLK__SD1_CLK 0x130f9 + MX6SLL_PAD_SD1_DATA0__SD1_DATA0 0x170f9 + MX6SLL_PAD_SD1_DATA1__SD1_DATA1 0x170f9 + MX6SLL_PAD_SD1_DATA2__SD1_DATA2 0x170f9 + MX6SLL_PAD_SD1_DATA3__SD1_DATA3 0x170f9 + >; + }; + + pinctrl_usbotg1: usbotg1grp { + fsl,pins = < + MX6SLL_PAD_EPDC_PWR_COM__USB_OTG1_ID 0x17059 + >; + }; + + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX6SLL_PAD_I2C1_SCL__I2C1_SCL 0x4001b8b1 + MX6SLL_PAD_I2C1_SDA__I2C1_SDA 0x4001b8b1 + >; + }; +}; + +