From patchwork Fri Apr 13 08:01:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 10339617 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 F384660329 for ; Fri, 13 Apr 2018 07:58:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD7512858E for ; Fri, 13 Apr 2018 07:58:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1D2E286EE; Fri, 13 Apr 2018 07:58:30 +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 C676A28592 for ; Fri, 13 Apr 2018 07:58:29 +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=PaHsLLVT32cjoiNMTnuGZwtUkvitieNK4aUlbWMPmwg=; b=pYTB4RS0lQp+W1 LPitvDhpK5W8AsE1uiN7L8bYnssbE894UwHBsWIIQNgHGT2PsMrFRwXQj4IMAZHjHi8S4AcyGx9ju 232wW0dTQZnck7TqF7iY0tokQem9y4/EeJPI+bHHKRFVFi/+WhdDFe6dldg86NGJJqHF+mUFdUsU7 mNCfc/ObYYEezMbWKMcpzHYx+9SUEpliEjGXh4GPaowfH/2DH9f0ksrY/bpCe7xDWfhIt1j8/AeS8 OoKcQjn+huhZm8hQRkukUhAw78prWcbRy/vBob/uawLxw2aJsEmYjiGpvTJKntMPgSWGWUjBAXW4S fVR13DoCHpJNWkBPYIVg==; 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 1f6tbE-0000pX-PQ; Fri, 13 Apr 2018 07:58:24 +0000 Received: from mail-he1eur01on0624.outbound.protection.outlook.com ([2a01:111:f400:fe1e::624] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f6tbA-0000nb-NP for linux-arm-kernel@lists.infradead.org; Fri, 13 Apr 2018 07:58:22 +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=9NxJKIjdSd7f6KNxNcaDJSypr1BiWEO5X/9QoVGu4H4=; b=d3HiyUaGTDdv52L6+uu13ZEcZcIBaiMBFRaeqc1WzzgFcWCzY+N7KyBg1r439t2dhYhmzXbPyjB7GP49qqhpfichuwhMQBypvVDXynL8I04ZueUW+TU7XRU4bKMDFjtSp2vAJp7YTbJDP+1Hf9uYSbmyBE/F4MBo/Ce4dJA4Gkg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ping.bai@nxp.com; Received: from localhost.localdomain (92.121.68.129) by DB6PR04MB3110.eurprd04.prod.outlook.com (2603:10a6:6:c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Fri, 13 Apr 2018 07:58:09 +0000 From: Bai Ping To: robh+dt@kernel.org, shawnguo@kernel.org, kernel@pengutronix.de Subject: [PACTCH v5 2/2] ARM: dts: imx: Add basic dts support for imx6sll EVK board Date: Fri, 13 Apr 2018 16:01:04 +0800 Message-Id: <1523606464-21561-2-git-send-email-ping.bai@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1523606464-21561-1-git-send-email-ping.bai@nxp.com> References: <1523606464-21561-1-git-send-email-ping.bai@nxp.com> MIME-Version: 1.0 X-Originating-IP: [92.121.68.129] X-ClientProxiedBy: HK2PR04CA0070.apcprd04.prod.outlook.com (2603:1096:202:15::14) To DB6PR04MB3110.eurprd04.prod.outlook.com (2603:10a6:6:c::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB6PR04MB3110; X-Microsoft-Exchange-Diagnostics: 1; DB6PR04MB3110; 3:Faa06mctl2WeDcCaTbJTA9TCPW5cg1djVhljZM9jbvqPmVhgWl4C9bedJlff5elXTqFkf8wEIut+p7dzZgcHMmbopcreKnpuWoHYj8ogGONsfT+U64HY5pNtQ/2ZnTNHLE672FhJCCpkyvDssGtZrneNEbXBl3kYidCXF2ZIB8aozSQM3M5y9Wz06ihbpr1ew4AZUUiDU5JSvxVA8b+gQrA/KJhNB9Z+HD1UCmhikUGWcg65OaU2ffL3WUFFbUti; 25:Hazx9ljPEaC4MFUl2Bp9laqQL5aaU9BsNfbg5sMWamxumOO+7mA3YShuC8QGT7LfyXQxDaFVGUvv29wpBojQo8YA8alS/TFyxRPe+wIxQQ04zJ6QA91BLEFR0UhaB5V3HWAPNTZEtbUtoDxVWVY6m+zZ9Q87ezQpD4JOIVdcnWaAzUrPzZGO/J7OkrEq1pYJ1CK0TL0OfM8yUzYVj0LEdWfXM5CGETV1/Hcq0XZFz1sF6Z+v4VwOe8KjdTI+2uhpkizrA/ZSgrCQDZeV8bBrEfdAQo7Kdtff2jpFi3TKJdlfxrqxGiNNSWvjeKUGlMBYTu00XgEa2Cc+Pfwkcajn5g==; 31:ApTygnty/ky1MIp4Yf5gxM92Ur9X9iuYGLN/JYcQhRW4Gbop3nZ3mxDYajnGaiO4jwmQZ+974+g5mq5waWnGiTIyP0AQT6QaN3rT01bOmnrqgrvuzYfTwL2vPrRMqqk7qtuATAOJ4NIT5SoRFi6UI4XW/rhpImSw7wIYUbjcFMCTLAGiOnBPW5Dt179qL3nDcq9jgZtR1Ws4zGqR+jpqDMOA74U86ezGU7EI94jrPr4= X-MS-TrafficTypeDiagnostic: DB6PR04MB3110: X-Microsoft-Exchange-Diagnostics: 1; DB6PR04MB3110; 20:KZErsNhkp4njqwBQxb85b4TgLPGEzw0Buq5w/4mbQaJIU2NowYLcV8xA1xEjkAn5ml0VF5R+it+gwRIFURsFWV8jIoDq3lfc0HmXGUsvaALxGgMM/U1nDFWrHPzIXOGFJu7yVpp7x1lj5iACTKaz05f1UKz4JAWKVu8RbKdLMM4X6s/EzON0nh9O+ojJL8pQ+oGVzezYrm0QDevYtbwSGcy0qf26/Kh05LwvdiXiyyJ40tCcKQSp+RpRbTx9u6j0c2pMo+5c6SibmB7T2f206PFx5DETaOZViAA8X/j0yn/4PUGcn8TlwKmJHtZ/zJfKBEyVNt422L9BgYH3NZ60AZWldhA6zhalZ5pwVSQ2FZHbQXPfk+ko6nasFvA+inri5x/5dJB95pc71iuqYzZcJ91nbMEYVdyFOYqGm8+0GxNxOOsAEGjiM/Cq5IY3pMmquz8prnOzMdJ0BfqHrEVgxy/5kp+PKNIV9HfcFoAlJbL4/jkP8vInOEszbpc6DJ4S; 4:UW0Tj7SfyGQmAE6PeU+hqhQ+7McQ7jyDSss3Y4yODZYtpB9k9t/Zvi3zd3iAtRv0C+UobQLq2q/W7T1byLcLpwJO7c+eA6E7iQGuK1aAeRI6GA8oJE0mWyLvfRf2sVsjpebQcFvN27IAbyDESynbP2GEosyxIi96a5AM4LmMGlyg/KX8duUvkSwOpW9UqSu5Zfjjkyf+2E0mNvGtVx2XGI7yPuacQ1UbxCq7d2P/RSO3bJop72P2MSKOuSQQ6e1GouO6RkoKDJyI13HWz2oBLaf2yMY/lcVFYFUdikV5ojsVSgDQlz4tT4eZr7qB+k3c X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231232)(944501327)(52105095)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB6PR04MB3110; BCL:0; PCL:0; RULEID:; SRVR:DB6PR04MB3110; X-Forefront-PRVS: 0641678E68 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(39380400002)(366004)(39860400002)(346002)(376002)(189003)(199004)(50226002)(81156014)(11346002)(446003)(52116002)(25786009)(6666003)(2616005)(476003)(486006)(66066001)(956004)(478600001)(68736007)(6512007)(51416003)(2906002)(186003)(6486002)(16526019)(26005)(36756003)(76176011)(86362001)(575784001)(48376002)(305945005)(7736002)(4326008)(5660300001)(53936002)(8676002)(6116002)(59450400001)(6506007)(8936002)(39060400002)(81166006)(50466002)(16586007)(97736004)(316002)(3846002)(106356001)(386003)(105586002)(47776003)(32563001)(473944003)(414714003)(357404004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR04MB3110; 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: =?us-ascii?Q?1; DB6PR04MB3110; 23:C9iJ6l3AxHrM7WKmA9DbkjaqB/LwxiW5bnhl5tvH+?= =?us-ascii?Q?Yk6HlMyZJOQx0TyoC49EPugAlaf5qQW+nqT/4g3nftaAiZdCuO4no1cXN7jE?= =?us-ascii?Q?JUhMwdsH+rotRQP7nI94G+lcYaDlazXozeChs+WP645cit5nt+kPrZUewxbr?= =?us-ascii?Q?+MI4DW3bX4TaRh3vApXFPABOLeMRtLMCGAaJKI9gRV27kOFVdSOwJ4k1kbOS?= =?us-ascii?Q?/00vjVssYn+4EQ2mFUZZz6IsSsoCVv+jOTnLP5aEWjfwo5ym2xHOt1iTI5HC?= =?us-ascii?Q?GRKKfVEkOREtBG3IeearmGlOZYKca+eoVFsp083HaJkb2PYNir6yL/VDZ2Tx?= =?us-ascii?Q?GoLlkrLm2M5GWnSApL4Q95m4ZGxQu8larDnlyf3ZECM0H6AtI5Q45K52jYNW?= =?us-ascii?Q?vx1F6NOji++zIbeBjMm5krMSYVXGIb5wnugJ54EM7DV3qaanb5U4731xFYl9?= =?us-ascii?Q?YOEfzXyaEfubEFVmp5q2M1nlto/mp2jNpRb/j/IIIX+OmAr2XIknuVOiId2k?= =?us-ascii?Q?1T+9xw/5csMVN4z8zQLv0KyVJNnPYCGbTau4FwsB5hOQhz242ERO9fBO97Tt?= =?us-ascii?Q?8al26hBsVaC7HTVLRhWOPZzjm4S/d4/OLCIM7C14Ow8METMOebUiHqffoXfo?= =?us-ascii?Q?6Cq9wsZFlExh6GccK1phAB7K2EqJsFzhRThDBiBTYxEsneNEeD1+cqsdCvjn?= =?us-ascii?Q?93Mu+QAsMzXDuimuVX9ymuOCfbBY7zlad8Uk9RjsxfWuqmawrtc0XCnu3neJ?= =?us-ascii?Q?H72nSLrvHuWa+TE7eQL6kWjMbkoDOdYn6gszGG9KmBeqDRyvrwsg2adqd/cW?= =?us-ascii?Q?Kvcts1ryb0IWD4zAe7IngW5esG5TV0xcOzyQIw5C/wPj8anP6y1GI77w23yV?= =?us-ascii?Q?ksP7NjV9aer5UeKesXWDOK7aJimheVD4ZYMCqVQYL0qJMpLwtM+SpKERPN/+?= =?us-ascii?Q?K/oTrvjg3+WYmqCjui4SNBNR9y5sDwMCXzMKDA39xXrmct30qF2RhkE9XxS1?= =?us-ascii?Q?EsiNOO6wZigtoVesEfhSGG3Nuk/hbMOoKNBAKhCtqIFC5AynBXkbM28LeC4+?= =?us-ascii?Q?tzNON8BfJghoLP4D5trvdeM4GpJDLmrLwLvG/R/I97/k8PXBdX+I9BDkQvxl?= =?us-ascii?Q?Jtxou1nfUmvPj/Lc2GQZbY8IVNCgFXyASWoqkj/8ewrn0dnXQBd30t2itMvZ?= =?us-ascii?Q?AE3ZSFU92oWtkGf9Wrfb37vlu4xw4uWHUqmACXnb1ZTgrBrRVHd1OTuKvpyc?= =?us-ascii?Q?opI6Fb1YKEY8nuTDmSYj6ai/aMhg22bglSYtel3So3Woktc6PWIq/lRI7ll6?= =?us-ascii?Q?VRsMcnw/RXgIWWumMDYt0i4H2eu7aBhONoGLVyWmXFzMdXyQXPO9kQ762M0V?= =?us-ascii?Q?n285w=3D=3D?= X-Microsoft-Antispam-Message-Info: 2WOCx19fNwunf5XF9ul8JlwZVH3nmTiA6bwi8qaTOJDxQhH8TtRxuTzAiG45f99/B8AiFsq8lWH7+wbecz3RMf0EcfcdRa0L6gexO//Ks3fg78x4BxpMNnmTh2A9jzPZPxAQZ4U48i8U/sMaYI0H0XXw+oytedX1LkgvbX8xle3L/aLIic/y+xDXwdLudOtL X-Microsoft-Exchange-Diagnostics: 1; DB6PR04MB3110; 6:ElfKgcfT4jvG1kqTCb++Ri2fLTNkj22aH1+NuuFd/tlXfiJZ2FRD6ckE0c0j3HZf8vQAm1abNYzwnTVzOUOYKuk/ZN8oGi14Hh3fmaGvck7L99za4L5/hGjC7Ds10L0+EM3XXtZSvZWm225+a2AYNxUBBkxyaFzEHOQbN5ufPb46ECrI5c/QFMVAEBG+xEUUTKgdZMBx12kCkzXxcE2niFDMARelbOnKy29P8wdC3Qoo7AKEO8CjAyoXS3ex7mPI1kqrlqZ6zdx1pbQoIaAY9fiCANjXIGUxwGvdjBfnsT74y6lccdiqFELvVa4m6ngVh+h3NVOEFnJAjtHeWf2Z/TbQAV2W0BOOK/3uNG1SIB8rkn0YzpV9LtjU7GPD4i6NuLi9O2XNQnGuoAJS1DX2ug7GnccexJjPGcApJiDdjBLmilPjWoOsXTXFrw2ImXSMABeayuJ4Yc/r5wD7JwHfLA==; 5:ia5KvUGnHHTPfjnrsIpOIlUByREYF1p8rDmS5OAslh2Nk2aCPvEsAbDiNj4B34ND1V3M61nXFQe/Za/55hYksYg3bYmjk01SlVBHxL5zkyfHwICRjjY1PmQLTrBIbkL5l0X1rKW2ULQTAeJA0UebItrtEq0Tjxsx64VY9KLBlsI=; 24:oW8cos3/NIYfRPL+rOtCgseIxTpFMBnY0mEipQysFoCXpF8Ftu6DmNE51DhbwTDrCOu8lvi6yCPjoBk8sC/UM2dNaO81f3q3GBKbfnpvaDw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB6PR04MB3110; 7:pSqH0r6xSHTVxvJzmmxXIXsQ9Ke2Rnx/lFvfcHfsRkSXlZfMRBvsM7zFrQnw1PitgRlwsm7m4Hdy15Gj5MtUsNbp9J0w6u4Z7on09KnAR7ao1PvoGt6cl7RMuk94A/1ZJXwEXNUMMfWlK8KsOFI0ta8Cl07BD5Hp+Jiou4sTEAR5Hy3AKLhU+egAe15w+GvRtFi+SRoBOjomRLWVxz853vi4+6LzEduM9uyiakhy04xgXIW/rWiD9gpMhaQ9dXrA X-MS-Office365-Filtering-Correlation-Id: 58b03075-b4ff-4379-fa37-08d5a1144e9b X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2018 07:58:09.6337 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 58b03075-b4ff-4379-fa37-08d5a1144e9b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR04MB3110 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180413_005820_780257_9A416532 X-CRM114-Status: GOOD ( 15.53 ) 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 change v4->v5 - use generic name for device node - remove unnecessary hog pin group --- Documentation/devicetree/bindings/arm/fsl.txt | 4 + arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx6sll-evk.dts | 315 ++++++++++++++++++++++++++ 3 files changed, 321 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..0cfa4a2 --- /dev/null +++ b/arch/arm/boot/dts/imx6sll-evk.dts @@ -0,0 +1,315 @@ +// 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; + }; + }; + }; +}; + +&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 + >; + }; +}; + +&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"; +};