From patchwork Tue Jul 12 14:19:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9225397 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 A9963604DB for ; Tue, 12 Jul 2016 14:21:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99475272AA for ; Tue, 12 Jul 2016 14:21:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CE9C27C8F; Tue, 12 Jul 2016 14:21:28 +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, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 84C9E272AA for ; Tue, 12 Jul 2016 14:21:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMyXM-00087E-RR; Tue, 12 Jul 2016 14:19:48 +0000 Received: from mail-sn1nam01on0079.outbound.protection.outlook.com ([104.47.32.79] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMyXI-0007y8-8w for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2016 14:19:46 +0000 Received: from BN3PR0301CA0037.namprd03.prod.outlook.com (10.160.180.175) by BLUPR0301MB1988.namprd03.prod.outlook.com (10.164.22.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16; Tue, 12 Jul 2016 14:19:22 +0000 Received: from BY2FFO11FD021.protection.gbl (2a01:111:f400:7c0c::105) by BN3PR0301CA0037.outlook.office365.com (2a01:111:e400:4000::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16 via Frontend Transport; Tue, 12 Jul 2016 14:19:22 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD021.mail.protection.outlook.com (10.1.15.210) with Microsoft SMTP Server (TLS) id 15.1.534.7 via Frontend Transport; Tue, 12 Jul 2016 14:19:21 +0000 Received: from fabio-Latitude-E6410.am.freescale.net (fabio-Latitude-E6410.am.freescale.net [10.29.244.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u6CEJJAb022337; Tue, 12 Jul 2016 07:19:19 -0700 From: Fabio Estevam To: Subject: [PATCH] ARM: dts: imx7s-warp: Add initial support Date: Tue, 12 Jul 2016 11:19:06 -0300 Message-ID: <1468333146-26680-1-git-send-email-fabio.estevam@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131128067617435398; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(86362001)(229853001)(8936002)(36756003)(50986999)(68736007)(48376002)(87936001)(5003940100001)(85426001)(586003)(81166006)(8676002)(2351001)(11100500001)(77096005)(81156014)(189998001)(6806005)(104016004)(50226002)(97736004)(305945005)(47776003)(50466002)(356003)(106466001)(8666005)(33646002)(15975445007)(19580405001)(7846002)(92566002)(19580395003)(2906002)(4326007)(110136002)(105606002)(7059030)(2004002)(473944003)(357404004); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0301MB1988; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD021; 1:ZSqnq/AVu+5N6n8LN3EFuisAnUgNspimvDz//doHqRUBt4avyH/wExNduuFxyf7jw9c3xbAmK6fA47Yq4pXDl4hiAv8oiRuXLHZJE0EUlzDRL+IukxkVurpobtg6n3tn+MoU64H854OO5PUIFiyUSkT8NsT0uOQ9hbKibwLxFWlbN2nr+JxCbuRx4OO14UXo1RExYmGvp7eyVXgtHhnRSWvjN1GYhi0tRB4MJIOTiQJkmtwKmSD6zQHTl04zxAc8mmYaabgseciPDujAvS7Mh8bn89BcVKr1vioG3ZjN56MUyp00o901NS8R6W7cXTH8ylTtbDmSSiiDugS4ePMOaosxAX1ZBj9KPo6WyA9cTLkn35OG1SNm+JHKDXjXt6NbV686R28FicHcgemP86hUlsucIGgCYY1Dg3S9JbjOHl8U/uGE/djOf1+ZWIWcz0n+98qg3s8oVEJEAdZParYk6cxDlUTuZoKO5oG4mTr1USMhFdiLXXLvWZcMy5Z0gQ/IzaTpQdUGwE0PiQycDfJCJqjcX9nh4AZyw23/N1H+c8duZZKzHaXnLB5fRuKXKfs/xCacaRSq+K3bzqFrlokyaJp3gvGtbsKDKhde0zeR219NyghCmZ0WRRb7qRobQ6j1aMY5IY6jjoaWIR6wZoRgMwemjnkfb3LgBPnd42ZInbr8mzQCp8InPpG6+7qIotu0uh70t45Z8sEOyFhYWOnDBg85l0F+4wY18iPJZ9d/TWA= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 11114203-fedb-4a52-a3fe-08d3aa5f84cf X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1988; 2:tJrkRrYid2lOcE0Pk+C9t13x43lfapYFJ3kDeeAuXXqwL/Xn7uhEM3M+brm9GO7Pv9Olll8QXoO7hPr9MeAHu7T2q8XQKds4LDzr/kG8JWRBMF5u0/wVPBfHTz/STijaMa4J89DnQDa1AeWkC/ZMjDJVFFQ9UPna0GwtJxfJd/bblUtxlT/aaPFxEFIkKB56; 3:y3wQ0K7omqqWCd41gd7PvKrdtAadltvMrH1SeQqQTy2gMxTEkvw0nKMAvykRSAu6ipFvjUED7N/pALNHcL1FC/XRS9vAOp1r8RYKj8t3eoS1VDre4q3chp9dLBvWbxF7540YWBUanN2Xu+5uScMnesEsV4c8lzGNbOrUh/BM7Ds6xR524LsMiD0exxYP7NM17e1l2t7wRMJ7E1NzAk/Wto4pPWb247PaFY/tmwjROI8= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0301MB1988; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1988; 25:eK2l+1Q0nrWU2RMAO5joNNgnfPFn2RVQvW6LTzwFZmZdk1CUVB0n1eP1Kr6qeAY1WfxmNZo671dPND+ufxH5s6oIAsn+rMqtUzPknWmkQqF9kJwm94GoUQW6V1snYK4FHH0ByF9XUsECgoVYeKsg8vjO/G9t5eJvE4+/J83iDyUm2SSz5C9Wcy35b7di8po9Eb+U8un4cB3bBjkxxoW8ZC/PIFnO/F8vNzjEW5adoitNHw/og2G6MSDTcFyORXl30Kt+c4gIjfyx/u5v2xUORCSR4YEEn2HnU7C2BGCu7VWCQZNNvpatoc5+Q8DZzftO/+NA/2Xk4yWQyUsHQrXQDYZMksSaf0CBpRDjns2gn8nWh8inLtA4UPbdjDED3C7Qahzb42NQnQcuSP9gmuWXiyS1Wdxp3eNzW5Cu3BCmTEdWiVkIshmMBFHTr6myolYWEQF+nsHY0AyneLhgCv08V6lU7FaGOUm4k3HZOrWnt1t7FKPhw9OS+wl1bpiWmzXDOQZTsmEhVUDdCy/1xiQ8gHYidPQOEBZWdD2tUy4b6WUrUnFt0xYyMxW0gxCPW9/76gPplI4K4kHzBOr1GPSzlwbTmB2IBO4PgAoWatT+VEdru8HP9oGUZKewLaigqWXzuAjI9iuISlK6jSkoco7Aq6GZ3c9vQG7Qnkdr/JioqXYhZc670/Fc/oY2n149fGZ8WPhCmORezGvnOUF9YdAMedGpvJCpoOI99lGA1S4qE4U1N6m0Je9thGVUSexcIBRqtcn4pr4ww9r7C9dCnqQjTRJYOQYeIlh1BRUpITykHde0TMCtyIbC55Mn0iD3cvmPth+9gq+cT/CSscukOnEnbQ== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1988; 31:1NmgoUB+SjIrDJ6zBQQLMZJ4u+La2nQ3bMsUVbg8XGCCWJWdXTaG/nYabwNJDbH4MSc6PbiDpxOai54g98NghxBgpZE0ndJRDy74R3KbNLNzz3c81dSX6GZhQv9KkaOF5WzlE6wsqY3Zy7W8izbWeIJS6CzEEg9lGfCKBpQD6ZHTUvFM1huKdam4UOKu8ubXjqjCL63UTh6kOz/XE6B8Eg==; 4:D1hZhlBy1NcofdBfrPD9eYrF2OhdNsNJIEkXVPE6yMfaw71o3rn6lx+KXjTlTD++UkN5/t/l0X1s3Ed+/5ktJ2VgE4JyjJ1JONIEVpNjksc0m5cbzpmXPKxUSPMdCJiNWlR1qel2w86i/KYTx4T8CNCdPbm5QuVbFGa/Ex3EtxXa4Ra2WMXoVtl2y0+3lFNi7BOzUtVtLYTlZsz0pWJTWTisiREX0tUHaGM4vr4YkdHyFmS93nu1dXuzZ2sHnKUHlFL9N5KZQ0i95DET6CvgInoqsgiqrqAnvN0MB8XWwY0BC0C2WRApRN9HnHqpAvhslScZ/Ii2iXNHbetIWJAORGw1XUkV3H9NXL/mMmL9MuzAyo+Yj95SsjI543Rpf1Q9YqgxirHDn+BToyjckku+F5KbVUqJlhdNpdSc43NmHND+AusEuVR+YWmsdvj2u5rIl0tlx8b4MdChNQMCSMsMHAhs/jlhsp2ZsyDwW9UAeOvsUYPvSeGntc67djZxHe87SzHr1DLEz8pyetK0ufVT44FbDRvheS+I1InZONQ2Aff21MN1uNrjOUo+aQe7CV5/ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(153712827804883)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(13018025)(13024025)(13017025)(13023025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:BLUPR0301MB1988; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR0301MB1988; X-Forefront-PRVS: 0001227049 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0301MB1988; 23:GXBeYEOK2xYScr59iDHwRVBi7UESalddlo0a/Rq?= =?us-ascii?Q?ZB4QHlMMC/fIB3SyJVYX0z5HtTWewMW/FDW3TObT5zOFUBn5vTMIn7DP1LTX?= =?us-ascii?Q?vvoLUEebS1ZiQYFXxCDB0v3juZlJRCPwZude2wi9VV0OQ7HUiEb3852Nsv5c?= =?us-ascii?Q?1P2Hi0SQAQOySQ0HAhpSrUQU+UgRIy+buP0nfRLJvK4DZbIsbC5SrInoUEDb?= =?us-ascii?Q?648m0T8J+pyR9n30HbjTJ+nZuiOCrl8u9FCp5OUWfAMhYh5PIg8nLI4hTMNH?= =?us-ascii?Q?vvbqD6c+C8Wa7Txi8+ujlnVv7Q53D1ktFVS7qPrWGGHR3+rvnJdpowk24vG6?= =?us-ascii?Q?zgbsDDCKdfGILFIfHOsEYG5AfKZ7Dpu9T7fIIBfTJHOZJYiACO5Jz7L0XhYx?= =?us-ascii?Q?eKR24H67QUMixcBm86Q+AtUyamo0X5bTarceYXINKwRFg4BIFNeySJ7yN4j8?= =?us-ascii?Q?ajKfpGADWost6hcl3nYCzxlRRRfm9Ngdn7N805mYTLv47I7sczsdLTsh+6tG?= =?us-ascii?Q?VEyR7ZtakFBmQ9cEFVqh/FcyXsmyZ+f/0XsceuGMw0/+0ROW40frkIA4f0eZ?= =?us-ascii?Q?4VHOxmB5iOh25SqNsDXjg0r9VFXkeWhrS0mS1/j1DIsRfGxViMZlnQAykrAr?= =?us-ascii?Q?9NplH9EkfbhYaXND2vl36PdRqvnQ1KV4GFpFYFBgXTIOuK4PwWobtfdViV8c?= =?us-ascii?Q?kpvcrDTGGmi7sa4wGId8eFe6bMVzWX6/UAbOOFfYFUGToOCITzHo7laIQlga?= =?us-ascii?Q?r/CvkPWyK+zwCcM9Xkvep6RTKIRWMP40vcuIwBYxyEpV0ByRiEhjVtQYqfzT?= =?us-ascii?Q?2BVe091NVB3qVTG9jwv8XRcquYa+JmG3dXIjeVXayIDl5ugntNKyuydiXm2r?= =?us-ascii?Q?pI2s27U1dzxHjjF2fHtzjRyp2ZwW7RM6yusBt69tFKweezKgcFAHTA/iXGN3?= =?us-ascii?Q?nKBGVZH6Mgu5hLeYMC6xImqMB7EM7JMD3dKYVTyGr2zON55t8yxE4/IWkMf0?= =?us-ascii?Q?LDglYtSx7Gzi5q51CKnZjfT+/Sj6a6UsESo/UGIt2pS4+ZMQjac/14FqhlW7?= =?us-ascii?Q?nCM7eO6H1eMd4RH6mpPKRtduv1MLQCSYdvINqZQBhGrxSwaUEOktnJ3m4cv7?= =?us-ascii?Q?HS469nODlc7W7h2h3MfEXdmoocZn9xHtuaSBZc2iFOURObVxTgl1TrxgZOMQ?= =?us-ascii?Q?0xC8tiwdf/48UtVVdjYPSA8s+QGH7oR9cGcHq?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1988; 6:qkAaUFXuA62Tqx33rDf/wae9N18AAY3bO/i/CqoFGVrKxg6ioNyiyEo4eGeKGKZvVtCvbGpvR0U3Cc123PolBnAvsunurzsZxRmSZv5qNnkrD9ZFkeL1sWAYDNbcu8jJ8J8oVvF+VfxqiM6DWHDGz9WhpxeCuZl46/232PysSqL9shKcWxkAd57IAysRmqIQOjXc8dgzVVAWld8yVQG85JtrMhiEtB9TNAHbL0o0k2L5+FgGAjUMUGEgj3MmxhgUG/+uzeVrziK6MnaLJ2d3Viwqz8xHsvZqsYQo8XAl5Yg=; 5:6Nj3ZmzdiKDVtVbfnVGnh8lMVX6DMxamN7i9KIaQEb+CziROaNXnwhzvQ7YUzeBm7g5oBpy5U+syCrG+gn/3sYIpIVxTfw1z2d1uwrtiXm7fOkbEvgegyo38i8w3ic9H7LvvOaiG2RSwgT+B3HlkFMi+M/c2kDms0jEtAhxdbD4=; 24:p4tsYHbW02DC6Cc53K2HYtvFDErRS2vBiY61ISrqou/v3O8IhbAWJplhqc6FWYEWIXmgoqV/HjX6AHh7FffD+tSxY4iFZ7AJ8p4ZaxAHMOU=; 7:/w1xBZ6Sjv1ACgiUWFKlRmQrPXPtaMTRgayrw2cNnQZGLAhqhZ/9TY/sPUfj61zEKK8j4AHbA+zw44y3MSU79x1T6grtkAK4cjhlqxxqfUMPUh6GFTsTJ5co0PYB7aYJ7L37yE/sCQojMYPhdW/qK6+kn+956pVvUcCKkrIbQo4E5DMJwkFV1d80/FiRYSEzqPXu3nywoE/weh5TfxLEu4C5uc9XNkObxgPE+dmkJhTYv7hoerG+rEXkmkc2upux SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2016 14:19:21.4159 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0301MB1988 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160712_071944_499288_371227D1 X-CRM114-Status: GOOD ( 20.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , 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 the initial support for the Warp7 board. For more information about this reference design, please visit: https://www.element14.com/community/docs/DOC-79058/l/warp-7-the-next-generation-wearable-reference-platform Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imx7s-warp.dts | 246 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 248 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/imx7s-warp.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 7df2446..c159ced 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -416,7 +416,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \ imx7d-nitrogen7.dtb \ imx7d-sbc-imx7.dtb \ imx7d-sdb.dtb \ - imx7s-colibri-eval-v3.dtb + imx7s-colibri-eval-v3.dtb \ + imx7s-warp.dtb dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-qds.dtb \ ls1021a-twr.dtb diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts new file mode 100644 index 0000000..e318c98 --- /dev/null +++ b/arch/arm/boot/dts/imx7s-warp.dts @@ -0,0 +1,246 @@ +/* + * Copyright (C) 2016 NXP Semiconductors. + * Author: Fabio Estevam + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/dts-v1/; + +#include +#include "imx7s.dtsi" + +/ { + model = "Warp i.MX7 Board"; + compatible = "warp,imx7s-warp", "fsl,imx7s"; + + memory { + reg = <0x80000000 0x20000000>; + }; +}; + +&cpu0 { + arm-supply = <&sw1a_reg>; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic: pfuze3000@08 { + compatible = "fsl,pfuze3000"; + reg = <0x08>; + + regulators { + sw1a_reg: sw1a { + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1475000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + /* use sw1c_reg to align with pfuze100/pfuze200 */ + sw1c_reg: sw1b { + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1475000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + sw2_reg: sw2 { + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1850000>; + regulator-boot-on; + regulator-always-on; + }; + + sw3a_reg: sw3 { + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1650000>; + regulator-boot-on; + regulator-always-on; + }; + + 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: vldo1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen2_reg: vldo2 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1550000>; + }; + + vgen3_reg: vccsd { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen4_reg: v33 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen5_reg: vldo3 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen6_reg: vldo4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; + }; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + assigned-clocks = <&clks IMX7D_UART1_ROOT_SRC>; + assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>; + status = "okay"; +}; + +&usbotg1 { + dr_mode = "peripheral"; + status = "okay"; +}; + +&usdhc3 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc3>; + pinctrl-1 = <&pinctrl_usdhc3_100mhz>; + pinctrl-2 = <&pinctrl_usdhc3_200mhz>; + assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>; + assigned-clock-rates = <400000000>; + bus-width = <8>; + fsl,tuning-step = <2>; + non-removable; + status = "okay"; +}; + +&iomuxc { + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f + MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f + >; + }; + + pinctrl_uart1: uart1grp { + fsl,pins = < + MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79 + MX7D_PAD_UART1_RX_DATA__UART1_DCE_RX 0x79 + >; + }; + + pinctrl_usdhc3: usdhc3grp { + fsl,pins = < + MX7D_PAD_SD3_CMD__SD3_CMD 0x59 + MX7D_PAD_SD3_CLK__SD3_CLK 0x19 + MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59 + MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59 + MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59 + MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59 + MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59 + MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59 + MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59 + MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59 + MX7D_PAD_SD3_RESET_B__SD3_RESET_B 0x19 + >; + }; + + pinctrl_usdhc3_100mhz: usdhc3grp_100mhz { + fsl,pins = < + MX7D_PAD_SD3_CMD__SD3_CMD 0x5a + MX7D_PAD_SD3_CLK__SD3_CLK 0x1a + MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5a + MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5a + MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5a + MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5a + MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5a + MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5a + MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5a + MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5a + MX7D_PAD_SD3_RESET_B__SD3_RESET_B 0x1a + >; + }; + + pinctrl_usdhc3_200mhz: usdhc3grp_200mhz { + fsl,pins = < + MX7D_PAD_SD3_CMD__SD3_CMD 0x5b + MX7D_PAD_SD3_CLK__SD3_CLK 0x1b + MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5b + MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5b + MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5b + MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5b + MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5b + MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5b + MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5b + MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5b + MX7D_PAD_SD3_RESET_B__SD3_RESET_B 0x1b + >; + }; +};