From patchwork Tue Mar 22 06:56:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1879 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B8F253F0D5 for ; Tue, 22 Mar 2022 07:56:51 +0100 (CET) Received: by mail-pj1-f72.google.com with SMTP id mq8-20020a17090b380800b001c6f8962e95sf1278226pjb.1 for ; Mon, 21 Mar 2022 23:56:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647932210; cv=pass; d=google.com; s=arc-20160816; b=XexL3EArtMzG2UFh0WR/NQnpfGeQaVhgu3vn0kPgSFRTjUFJBjvHpTOYaMDxnRujiX p2GTgjeNgfwe9zvNK9J0oGxbBT3mCY2E/zlDGTeFa58yD/2eUCLGn7T3pFf8myMtNGk8 ZwqW3D9JLT3Ea/yEbb31J79Br67PsGfhRXFB7j6eO0NCaoOKAJEQoWJrQp9tw+Wr3n9B 05Zmx7we0m0QeolpuM9C3Al6UpTV9YmjkXGfbHuwgVDVMTUhbABT/cadknLIztju13mT mPyqGjAr/kelVMJuhYiMn6G6xFrHcnWVc7I/tlqjaVuepnVRCi6RaCsKS1opfOUR9R2Q d9OQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=K3TohRaEFseGPO8fgJ8LVI2BvPdHyvKrV/yOEMkiyeQ=; b=HYK3uHQEu12YccsGEIDc+wMHsnyIOHIHOjXUWb5XMokpM3Bb9W/JS0FwnacN/1bSwn 4epQbuWBt186/ex2h6V6OC+paKcCiuMgh+iteWl7LUCi7DivV6tOaVbVOrxmHZB1WDEO kgYUDQMK5ZaPaq19A/jVpfIbcVyIcVdkcXuHqE8pkZPrdfORH+vnNt6OrhqXOKMOq8v9 3MgTlVsrHLkQJteHY1TORiTxel4k8TMkFZNXVYI3X49nLI9H/CKcFijfl6hXCK2ttMwz AZSjeKXC2XeyNU+OrVGxfur5WX+eJukzXff3wocYOyfyHEz4X9NDNrRQLZkyTkkPZtX1 ZOXA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Y72otzT/"; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=K3TohRaEFseGPO8fgJ8LVI2BvPdHyvKrV/yOEMkiyeQ=; b=EoK7A0TlXPxNW2kVgoY8TB3vww2soCkAqKVZh/kvMFmmqNsdR4q80Ni7JPHWV02hiN 3bF9Kh54BSvj90Xu6dG5J1dGAlh11/e2GMkad6LJm2NvAxzBG4DRvukZNQb3YGayw8VZ 6T9jDDOJ2dCPgze6lrc+JFJJ3REaLDmvvqXCo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=K3TohRaEFseGPO8fgJ8LVI2BvPdHyvKrV/yOEMkiyeQ=; b=5xbLDt5iCKnjcwTOwZjWI0HhdtjN1SisS7W28dg6uuim9wDI89g7RSDaWkv06+6SAx I2qm+XwtXIRunR+ubedAuUh2rgnpSw4m/5lTPCT3by4Hh4L1mHh799e+wv+bMWE10rTh MJTKfhptWgAuhVU5BSmm3PzNIH+kji6KukOrhCWxhFfogD1gXEmR0eCcLlw5dWxf37Pf uBiDfvowMjMN+lmC50LfCMZPuVdn/NyzOcdd+ALaZqdo4aQOVgSSrbT4G05gHp0+r2Q4 dam/qABs4HLUfmwxREI89ZL+fvbUqmGm4+c97WYcnkUtDGpW5o3Qgi8rhhScgUNblqIk pfNA== X-Gm-Message-State: AOAM532En6CNbBpeCxd0SyaRcVHqVu9s1/UHFLeI9XPaLwxOYBRmLyHv uLMC9GBDbpI8HbYTeqgSxuJ2903r X-Google-Smtp-Source: ABdhPJywpPd+plJNCKWuWvgW6CcPK2CeXm2N2SX5x4NcClqOVwuiqLsnUfp0uVg/9aEPGzoSpsFyYA== X-Received: by 2002:a05:6a00:174e:b0:4f7:6590:6d6d with SMTP id j14-20020a056a00174e00b004f765906d6dmr27629832pfc.71.1647932210440; Mon, 21 Mar 2022 23:56:50 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6e8c:0:b0:381:309f:14a0 with SMTP id bm12-20020a656e8c000000b00381309f14a0ls7012797pgb.2.gmail; Mon, 21 Mar 2022 23:56:50 -0700 (PDT) X-Received: by 2002:a63:571e:0:b0:378:9f08:129b with SMTP id l30-20020a63571e000000b003789f08129bmr20628170pgb.75.1647932209775; Mon, 21 Mar 2022 23:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647932209; cv=none; d=google.com; s=arc-20160816; b=hysPOLSD/AVnsvnsYoCaxmqzTeOMy7YVYPKCjc7JbGE54i67wHMtQ3NcN8XmqM2SgV l5uMnHJ3X5FQOh7MeyycQAmxHuMY8kI7H33iwxTS8D9mCuMTVnpZiVoncMzzjjYB1lNP 8MsJRhJZerNH8j4QtfptitrAXcrxmkprvz+KTphvZArwpaVCqyh+7VstIpHQyotLnFfG LvagBjfjIFSfq1k64OgoqMGH+ef1OJUa8sJM5HChesYBR5xyLX0+zSXcFeoE0loi4esW UBDKRMBt/F6rE9BTagZIVzc6BpmrXsdRuho4Mo9HvD2uzcatcqq+dXcIZcXt7w5FGrSG eX8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ZKLJfUpeB9Xwm/RtsF81TbcD11WCQQBByJGSFwIL7HY=; b=kCapxw/KfDhdnglc3Lp53/fpOX+BgDJEBpfDtqIdJsc8sOsjZnDlDd2y1YCCcda+0C RRJE/MxTYsu4U7oCTgGCxqMaLZCGXMoUNiJBWv1Ea0yLEoDZJSFcflF1eqSuRQqPWHOU uSOFS9wAN639HxxRbHNhn1VYsUe8gImsawFbQMw3EpWmjZLm8FAhib1rAJKb8utnAQl9 WSvwMMVrC1Eyvx2gFSWbjdzN9KFkpqh5PuyD2yM+YNTzirSSGje+cKdE+tmfmqAVsOjz Y4+6gWxPPMAoM/lmHHFdDIXU6aepfirQOUOHss+6uw00d6Xnkctb6QVURPEgCiO8FWmh z6JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Y72otzT/"; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id p4-20020a63c144000000b00382385270ddsor3046119pgi.56.2022.03.21.23.56.49 for (Google Transport Security); Mon, 21 Mar 2022 23:56:49 -0700 (PDT) Received-SPF: pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:31cf:0:b0:382:2647:d3a9 with SMTP id x198-20020a6331cf000000b003822647d3a9mr17046196pgx.306.1647932209411; Mon, 21 Mar 2022 23:56:49 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id m11-20020a17090a3f8b00b001bc299e0aefsm1522749pjc.56.2022.03.21.23.56.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 23:56:48 -0700 (PDT) From: Manoj Sai To: Jagan Teki , Suniel Mahesh , Michael Nazzareno Trimarchi Cc: linux-amarula@amarulasolutions.com, Manoj Sai Subject: [PATCH v5 1/3] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Date: Tue, 22 Mar 2022 12:26:39 +0530 Message-Id: <20220322065641.9307-1-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-Original-Sender: abbaraju.manojsai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Y72otzT/"; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus from Engicam. EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board from Engicam. i.Core MX8M Plus needs to mount on top of this Evaluation board for creating complete i.Core MX8M Plus EDIMM2.2 Starter Kit. Add bindings for it. Signed-off-by: Manoj Sai --- changes for v5: - None changes for v4: - fixed commit message changes for v3: - fixed typo changes for v2: - fixed typo --- --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 08bdd30e511c..5c4137e4c859 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -787,6 +787,13 @@ properties: - const: engicam,icore-mx8mm # i.MX8MM Engicam i.Core MX8M Mini SoM - const: fsl,imx8mm + - description: Engicam i.Core MX8M Plus SoM based boards + items: + - enum: + - engicam,icore-mx8mp-edimm2.2 # i.MX8MP Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit + - const: engicam,icore-mx8mp # i.MX8MP Engicam i.Core MX8M Plus SoM + - const: fsl,imx8mp + - description: Kontron BL i.MX8MM (N801X S) Board items: - const: kontron,imx8mm-n801x-s From patchwork Tue Mar 22 06:56:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1880 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CB6CA3F0D5 for ; Tue, 22 Mar 2022 07:56:56 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id s68-20020a625e47000000b004fa6520b540sf7613394pfb.17 for ; Mon, 21 Mar 2022 23:56:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647932215; cv=pass; d=google.com; s=arc-20160816; b=BhOQ6msCGuZe9a2eWbMco6kkIkrA+2PXL6Ek8FKN35FmTBBHSVwfKcTR2D9OFVd35y kE7LFj3g1n/8tdjDByGiuFTSY8aPA4iHPegvdbclU2DQGdza/YneSjO5TrgL87L4UI1w ZlgKQqgS97Of6p7/6oF9bRoC5a1xWt7zM/JBSDmp3q35dI5Z5Rap2WzTKKlsrPQq0CKw AR3Mr8gQVxQE8oQibKXEoeL4me1lc9tZv1UPgm6BD35fCpdHuOquDLzRD6Mf+XsROyPW IM543YsYK4WHr36c4sqMXdNGTnly4PiUqQA7LfhwSdLGpsqJE4MmEW3wsUpdqN9FVunU ekyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=vbaxbpAQZefDwDH74hnX9u7tAGsFYnyRTQjpL3QoA/s=; b=VWlFDwIl8UpldnNpULdem9K8jg+JCZCg5H2lxuRY8l8svMrtY12uVBxXtR6z5l6RIO T4bLyODzj3e6KY6VrGSQuqVpVzRphsEMTcGAksHU4LMsuGNvJdfUbki+tbL3aVrV69vI 06ppJNk/wt2bYq29lsmNNHgkIA5i1mO9HdjJjEE05NRQzVbfXyL8sRZCYHSyGooQZHy5 6mTE8Vw3xfM2Fjh0yGfBEwosU7wFBBl6HkXwSCxRR9z0oboJ1mdlmR4Sxe8iGl2SyPas e6PlK5Z58x0iYwgVKhGEubpEYSZsWBTCVtzhottW3GA+JlmVrQkky6YzGwwGpLl8mJHS ocag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WzgL5gmA; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=vbaxbpAQZefDwDH74hnX9u7tAGsFYnyRTQjpL3QoA/s=; b=kYz5zNf+bUSx2puxlapII70x1on+jGJ+suCXeZVKhbwjIafvz7CM8RYAxBCY0MJliK kvPRNPjMMxDk4jgbzSP9PW8eoJXA9O4/IrkEKENJWE97qo2ZIhp3kDiDnsrBChVv3jTJ Fke5fh1sNsQJ+6v0od9UXxJSyOzoLYIjL4BNU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=vbaxbpAQZefDwDH74hnX9u7tAGsFYnyRTQjpL3QoA/s=; b=r2S7ZVTWBZHKJsWRTmbxQl12FmvRqdKFwv68VfdPgKneyo3Q91WZBiE/4GbbISv/5D X8QOSCgDpi0ayziSxxCRVxo27VuCl8nBlPpzu9SH+7Zx1P+gAKOQVFBby8gZYm82KOKf yonPGGLBhsLMOMSNyNVSd6MJrFtpXzKD5JC88NSgBMCSyQsI2eBpaT0W9ngwJiF+YW9e um7cwPjrXqKB5Iz4pcv9u2pGsHBp8UZFGXtScKPkBrvp/cgrSSoUCgsWSLyELWgR/3cR arqLYQnun7NOEhTYBjwCqB4hhw5lxW7h5oLQOuIecwo3aqnwexjRlLNwDm+FgRkTHSpj rhNw== X-Gm-Message-State: AOAM530lwP7uKevJusiJAi/83ymf0is40XmoB3yskdeR/dqScD2SEDBo ta+pCvAVjTk4aPRsvHKDBii6VlCB X-Google-Smtp-Source: ABdhPJzIeLV7iqGJ5KhkE7ouMwS2uUuQUyQ79+o+7OK9Th0+MS5rtWyP9ZUQD4+148llzX3943c9cQ== X-Received: by 2002:a17:90b:3508:b0:1c6:e4f9:538b with SMTP id ls8-20020a17090b350800b001c6e4f9538bmr3362743pjb.158.1647932215635; Mon, 21 Mar 2022 23:56:55 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:aa96:b0:151:90e4:821d with SMTP id d22-20020a170902aa9600b0015190e4821dls13894551plr.11.gmail; Mon, 21 Mar 2022 23:56:55 -0700 (PDT) X-Received: by 2002:a17:902:ce8f:b0:154:6031:b53e with SMTP id f15-20020a170902ce8f00b001546031b53emr7720282plg.159.1647932214914; Mon, 21 Mar 2022 23:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647932214; cv=none; d=google.com; s=arc-20160816; b=olkmXckO2CM/ns4M2Mkuv/iVj2hT/KjdUWlGfUoh5bGeMZ7dwfPuW7h+nlV/FPtTBc klewfWe75fPfV5FYfMnLvrQm3JNuxArlAYCb+VzzeAGnYBTmRqg8bxFrtpCKvHV/cxtU S7pw8U+UgNsxxGugETL1M5Lersl9osQZUnIn7NpYcb3j5hOPx4DgWl7fOi9sig7opF/m J2D3g8E5ByGmzJ8CAav1Mnl8KSZpUi+DcKYVicgDBmaC/25df9BbaiSRaxFDT4Q1fdc5 rla+mEbpPJeD2dn1vGnqBFc3e0pqybGspjPRz5owhbp05S4oO2DozWE1lJWYPT1cv7oS 69Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=hx//RPrfWJWRehgw/mUdLxe0FAM1j0ZnsZFlbxbgYVc=; b=xPxN0uCW30aGeFcpruOV/3DjijJof15dqmt47k17l79waxJ1raKnQCzWD7DrMsD1lx 6i9gnzoDhKgLWHPBtxn33OHsh472hySB3WTc4tKN/+PO7lRf11jOgy6+FIPGceEzSfM5 NaQ/fjO0WssPuC5v4dIYUH3lvEjPhINAUfZFer/bHoA23QuWodQb6MOEWA+Ofp/iUJOy uC9FIOcgOMci8iwQP+2tqJ27jxrLFAmIiEuezQRwLI2JYOQZVH37Yche3g5BbYuz+2Oc s5LFJlEAoKw0SeU1Gv2sC7EPdJ0OSSTvcPJazSs0S5hyAKPmSCW1hdH3YBuz/wNqvpyC Cs+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WzgL5gmA; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id d5-20020a655885000000b003812dd39febsor6530317pgu.7.2022.03.21.23.56.54 for (Google Transport Security); Mon, 21 Mar 2022 23:56:54 -0700 (PDT) Received-SPF: pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:f055:0:b0:380:f88a:9e2d with SMTP id s21-20020a63f055000000b00380f88a9e2dmr20902992pgj.596.1647932214588; Mon, 21 Mar 2022 23:56:54 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id m11-20020a17090a3f8b00b001bc299e0aefsm1522749pjc.56.2022.03.21.23.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 23:56:54 -0700 (PDT) From: Manoj Sai To: Jagan Teki , Suniel Mahesh , Michael Nazzareno Trimarchi Cc: linux-amarula@amarulasolutions.com, Manoj Sai Subject: [PATCH v5 2/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus SoM Date: Tue, 22 Mar 2022 12:26:40 +0530 Message-Id: <20220322065641.9307-2-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220322065641.9307-1-abbaraju.manojsai@amarulasolutions.com> References: <20220322065641.9307-1-abbaraju.manojsai@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: abbaraju.manojsai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WzgL5gmA; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus from Engicam. General features: - NXP i.MX8M Plus - Up to 4GB LDDR4 - 8 eMMC - Gigabit Ethernet - USB 3.0, 2.0 Host/OTG - PCIe 3.0 interface - I2S - LVDS - rest of i.MX8M Plus features i.Core MX8M Plus needs to mount on top of Engicam baseboards for creating complete platform solutions. Add support for it. Signed-off-by: Manoj Sai --- changes for v5 : - Fixed pmic gpio irq in iomux - changed nodes in ascending order changes for v4 : - Fixed commit message changes for v3 : -updated the nodes as per review comments changes for v2 : -removed commented properties, -removed unsupported driver property, -added pin control name for pmic, -changed matching naming convention for pmic 9540c node, -added node in ascending order --- --- .../dts/freescale/imx8mp-icore-mx8mp.dtsi | 201 ++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp.dtsi diff --git a/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp.dtsi new file mode 100644 index 000000000000..e0aba9820f40 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp.dtsi @@ -0,0 +1,201 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 NXP + * Copyright (c) 2019 Engicam srl + * Copyright (c) 2020 Amarula Solutons(India) + */ + +/ { + compatible = "engicam,icore-mx8mp", "fsl,imx8mp"; +}; + +&A53_0 { + cpu-supply = <&buck2>; +}; + +&A53_1 { + cpu-supply = <&buck2>; +}; + +&A53_2 { + cpu-supply = <&buck2>; +}; + +&A53_3 { + cpu-supply = <&buck2>; +}; + +&i2c1 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic: pca9450@25 { + reg = <0x25>; + compatible = "nxp,pca9450c"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pmic>; + interrupt-parent = <&gpio1>; + interrupts = <3 GPIO_ACTIVE_LOW>; + + regulators { + buck1: BUCK1 { + regulator-name = "BUCK1"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + buck2: BUCK2 { + regulator-name = "BUCK2"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + nxp,dvs-run-voltage = <950000>; + nxp,dvs-standby-voltage = <850000>; + }; + + buck4: BUCK4{ + regulator-name = "BUCK4"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + buck5: BUCK5{ + regulator-name = "BUCK5"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + buck6: BUCK6 { + regulator-name = "BUCK6"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1: LDO1 { + regulator-name = "LDO1"; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo2: LDO2 { + regulator-name = "LDO2"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3: LDO3 { + regulator-name = "LDO3"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4: LDO4 { + regulator-name = "LDO4"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo5: LDO5 { + regulator-name = "LDO5"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; +}; + +/* EMMC */ +&usdhc3 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc3>; + pinctrl-1 = <&pinctrl_usdhc3_100mhz>; + pinctrl-2 = <&pinctrl_usdhc3_200mhz>; + bus-width = <8>; + non-removable; + status = "okay"; +}; + +&iomuxc { + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c3 + MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c3 + >; + }; + + pinctrl_pmic: pmicirq { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x000001c0 + >; + }; + + pinctrl_usdhc3: usdhc3grp { + fsl,pins = < + MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x190 + MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d0 + MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d0 + MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d0 + MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d0 + MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d0 + MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d0 + MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d0 + MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d0 + MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d0 + MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x190 + >; + }; + + pinctrl_usdhc3_100mhz: usdhc3grp-100mhz { + fsl,pins = < + MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x194 + MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d4 + MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d4 + MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d4 + MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d4 + MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d4 + MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d4 + MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d4 + MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d4 + MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d4 + MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x194 + >; + }; + pinctrl_usdhc3_200mhz: usdhc3grp-200mhz { + fsl,pins = < + MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x196 + MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6 + MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d6 + MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d6 + MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d6 + MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d6 + MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d6 + MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d6 + MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d6 + MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d6 + MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x196 + >; + }; +}; From patchwork Tue Mar 22 06:56:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1881 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CACB63F1DF for ; Tue, 22 Mar 2022 07:57:01 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id 77-20020a621450000000b004fa8868a49esf4424631pfu.3 for ; Mon, 21 Mar 2022 23:57:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647932220; cv=pass; d=google.com; s=arc-20160816; b=GRrlE48b5GV0Jo4C0+to8M95IDOcZpouu6YDR+DulyICIaj/24fiLadhzDuI/3vv6h /iK/XHgn3yd/ZnUuZ68qaL1681KTdl71qlN5TCnallhOt3vh9gM6+MXUTdQlwNfQhuFw blIW9a0wILJqgpZpU7GErTQLfIgK/LGt+o2ZKIN9oeAxeV2RE6BBHEIVqcTwOfST/xB2 4m08o7YXDmeTpil4LpO6pmyH1OhGhirNzDDi3A8AIhSVagB58pL6UxG316KIUP565AOQ JsAa15Q6GuxqRYcB9KdCaA8LCm/kI3+hkHrlNOzU4Pf4AxBkMdR8dQTCaaNfL49AUBal STeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=v9CAREwTQ8fhP0sJW4rMOPJ9yeBywsXBJhdpolfqRc0=; b=tzd9ffVno+NCEK5j1yOfwerL9f7ECXGLWitCTcthjFXpYhyEkOPfzs7zHUWqdo55kz ykUzeyu46kHz8Z1Lhy/hHpcDIiWFl0uvn5vV5xfpDMtR7yfMRlIGkyQxawVQLSgLd3Fh Tn2FNqueirX3l0UNRcbVCH5Ote11qzK6QMnjH/w4Op5egCwpmiBPK7Sy1bX0rilcZU7+ 6AcLMUrJnyA8vUy/4DYnruf/xGK/0DEH2gZfg85jLHnmVVDYSHWh6PxMaDSulX464ZB1 znwAX33VV4vL2kjqL8RCIxOs8KV1Y5/UN6RjdhRZtlKzlOk4zkS5GVmKX3fP9Vb7FcQC KXiQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AGlDR2FR; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=v9CAREwTQ8fhP0sJW4rMOPJ9yeBywsXBJhdpolfqRc0=; b=cY+dDZM0PfG0fCjjVV0Aaq6dHPDS6Sgb3BFTVfaZalDe7x6Q/HwZgKUHIQHpC96k4m jZ3bEAyqcrCuEXmgQ26Gek1vO5jzJ+vYgD6jrFrYZ/XBfH40cwwR+nV1v3Fosm8SbTZs AlMg7RkzmW73VVdfzxoNsH2hMobXb/YdX5Y+Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=v9CAREwTQ8fhP0sJW4rMOPJ9yeBywsXBJhdpolfqRc0=; b=VHTsA5grqpCfBE85X6y2IeApWnE17oaR45L5drR7wbQMza+LIpBLtmfyl7NuR4SWFV Ux9C01d3nbBeXPwddkRNedx5XtP03wMHFP5m8zIEYawK6BZWdw0FZbao1JM/BsqyyCt7 g3fF8Wjsb12Uxy80VOvvZi4OlJG/fz8HetMOlBncBLZZiVQ88RL6qazTQuhKya49gT48 pgSpsMfaPDPuZKY6rXGMVh9koeHvPFr+i8U+wCXBQDnU+Wtn6yFdv+ePIJrx730xpCC7 VbL9nf1dQhjvvT7AIs1F6pOLBaoPKi/PsNYmo7lKyxoa+ccNJoVQPGmIloZsQNdAksJP gbqg== X-Gm-Message-State: AOAM531lcO7n8b33TThXrulLEOXvuHGsTYPOyyc76cuArEAebNAYdXjM XxgGXrb23WlOSLOnW/yShyuMFyt5 X-Google-Smtp-Source: ABdhPJxYxwLLmdbVHYh8qr5aC+GNU4Pr+iTLqyGFPkugESW+gINC0LA/jeCDplqOS4fQk47ThCWjIQ== X-Received: by 2002:a17:902:f701:b0:14d:7cea:82af with SMTP id h1-20020a170902f70100b0014d7cea82afmr16367550plo.71.1647932220660; Mon, 21 Mar 2022 23:57:00 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:e005:0:b0:383:4ffa:a190 with SMTP id e5-20020a63e005000000b003834ffaa190ls634402pgh.8.gmail; Mon, 21 Mar 2022 23:57:00 -0700 (PDT) X-Received: by 2002:a05:6a00:21c8:b0:4c4:4bd:dc17 with SMTP id t8-20020a056a0021c800b004c404bddc17mr27557453pfj.57.1647932219958; Mon, 21 Mar 2022 23:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647932219; cv=none; d=google.com; s=arc-20160816; b=BibxzL6/6wWx8xRUsJjYEdU+kMQg96zigLgX9I09OgcV7UDspBHX3e9oj1yeW1UNn5 OAUsD364Amea4/WyHI5du35xMKTjJSFqNq2+PQqQhCWXqRYQSuPjiI7VuTA/vgpddfpj 6uaPKv23ZW6zkFlHCZb8koqu52m5B0wcLXGyUkOdO8k7NUnmngA3YZozBgzKmbhmARlw jLrHq8B9UmtsvotZrbAdQ8Bsybe9/uTTNJVTSPHzOOjLNyJnERO8LZdI3Ol05RRiRut+ 1U05ybpWmtu3wenTzXDp9YqIrO2Z+SPhqZr48Eegvr+odWOCWMtMb3qA8DWnE9vfnDAq tjYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ujZyM2ltio7rv58hODte27TLuadkvQp7axqXBQcW5q0=; b=ych5bthF0Io2iJ0FePbkG7lwtCv3h4XSDRHtBgO7Ejq8YCcu3rMwrkaWxlueZ9J+0U rkq7evMyU4whOsg64D8HAalml4pqSlzlWrzoohpqOdN8u9bGZHSB1F8OyFZGYltmaZq5 h899ZLu18qrqGSl12o6yRuHQOhTcxwVRrUR0Dxos1HXXjU0EyqwjlDgR/jytirsBBgQQ W6MNLpcpKGavb7R84Ma+bOhokcxT/BBmdBKYxr42vIWN30uHiywXliMYyuaHAjVHQEHI xMqH353XGrMru3vWIMRJYkqS9iVC4HrStMAXbzULFOLKFSyWdmmmGEzddP1KwRq4k5bz DeDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AGlDR2FR; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id nv16-20020a17090b1b5000b001c7112c1a43sor712772pjb.15.2022.03.21.23.56.59 for (Google Transport Security); Mon, 21 Mar 2022 23:56:59 -0700 (PDT) Received-SPF: pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90b:38cf:b0:1bf:42ee:6fa with SMTP id nn15-20020a17090b38cf00b001bf42ee06famr3260843pjb.9.1647932219615; Mon, 21 Mar 2022 23:56:59 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id m11-20020a17090a3f8b00b001bc299e0aefsm1522749pjc.56.2022.03.21.23.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 23:56:59 -0700 (PDT) From: Manoj Sai To: Jagan Teki , Suniel Mahesh , Michael Nazzareno Trimarchi Cc: linux-amarula@amarulasolutions.com, Manoj Sai Subject: [PATCH v5 3/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Date: Tue, 22 Mar 2022 12:26:41 +0530 Message-Id: <20220322065641.9307-3-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220322065641.9307-1-abbaraju.manojsai@amarulasolutions.com> References: <20220322065641.9307-1-abbaraju.manojsai@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: abbaraju.manojsai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AGlDR2FR; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Engicam EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board. Genaral features: - LCD 7" C.Touch - microSD slot - Ethernet 1Gb - Wifi/BT - 2x LVDS Full HD interfaces - 3x USB 2.0 - 1x USB 3.0 - HDMI Out - Plus PCIe - MIPI CSI - 2x CAN - Audio Out i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus from Engicam. i.Core MX8M Plus needs to mount on top of this Evaluation board for creating complete i.Core MX8M Plus EDIMM2.2 Starter Kit. Add support for it. Signed-off-by: Manoj Sai --- changes for v5 : - Fixed nodes in ascending order changes for v4 : - Fixed commit Message changes for v3 : - checked nodes and properties and updated as per comments changes for v2 : - checked nodes and properties --- --- arch/arm64/boot/dts/freescale/Makefile | 1 + .../freescale/imx8mp-icore-mx8mp-edimm2.2.dts | 230 ++++++++++++++++++ 2 files changed, 231 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-edimm2.2.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 7f51b537df40..66985eae4942 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -77,6 +77,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mn-tqma8mqnl-mba8mx.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mn-var-som-symphony.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mn-venice-gw7902.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mp-icore-mx8mp-edimm2.2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-hummingboard-pulse.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-edimm2.2.dts b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-edimm2.2.dts new file mode 100644 index 000000000000..882f82ac4d4b --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-edimm2.2.dts @@ -0,0 +1,230 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 NXP + * Copyright (c) 2019 Engicam srl + * Copyright (c) 2020 Amarula Solutons(India) + */ + +/dts-v1/; + +#include "imx8mp.dtsi" +#include "imx8mp-icore-mx8mp.dtsi" +#include + +/ { + model = "Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit"; + compatible = "engicam,icore-mx8mp-edimm2.2", "engicam,icore-mx8mp", + "fsl,imx8mp"; + chosen { + stdout-path = &uart2; + }; + + reg_usb1_host_vbus: regulator-usb1-vbus { + compatible = "regulator-fixed"; + regulator-name = "usb1_host_vbus"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1_vbus>; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + reg_usdhc2_vmmc: regulator-usdhc2 { + compatible = "regulator-fixed"; + regulator-name = "VSD_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; + enable-active-high; + startup-delay-us = <100>; + off-on-delay-us = <12000>; + }; +}; + +/* Ethernet */ +&eqos { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_eqos>; + phy-mode = "rgmii-id"; + phy-handle = <ðphy0>; + status = "okay"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@7 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <7>; + eee-broken-1000t; + }; + }; +}; + +&i2c3 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3>; + status = "okay"; +}; + +/* console */ +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + status = "okay"; +}; + +/* RS485 */ +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>; + assigned-clocks = <&clk IMX8MP_CLK_UART3>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; + fsl,uart-has-rtscts; + status = "okay"; +}; + +&usb3_phy0 { + status = "okay"; +}; + +&usb3_0 { + status = "okay"; +}; + +&usb_dwc3_0 { + dr_mode = "host"; + status = "okay"; +}; + +&usb3_phy1 { + status = "okay"; +}; + +&usb3_1 { + status = "okay"; +}; + +&usb_dwc3_1 { + dr_mode = "host"; + status = "okay"; +}; + +/* SDCARD */ +&usdhc2 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; + pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; + pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; + cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; + vmmc-supply = <®_usdhc2_vmmc>; + no-1-8-v; + bus-width = <4>; + status = "okay"; +}; + +&iomuxc { + pinctrl_eqos: eqosgrp { + fsl,pins = < + MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x3 + MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x3 + MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x91 + MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x91 + MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x91 + MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x91 + MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x91 + MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x91 + MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x1f + MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x1f + MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x1f + MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x1f + MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x1f + MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x1f + MX8MP_IOMUXC_NAND_DATA01__GPIO3_IO07 0x19 + >; + }; + + pinctrl_i2c3: i2c3grp { + fsl,pins = < + MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c3 + MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA 0x400001c3 + >; + }; + + pinctrl_uart2: uart2grp { + fsl,pins = < + MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x49 + MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x49 + >; + }; + + pinctrl_uart3: uart3grp { + fsl,pins = < + MX8MP_IOMUXC_UART3_RXD__UART3_DCE_RX 0x140 + MX8MP_IOMUXC_UART3_TXD__UART3_DCE_TX 0x140 + MX8MP_IOMUXC_SD1_STROBE__UART3_DCE_CTS 0x140 + >; + }; + + pinctrl_usb1_vbus: usb1grp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x19 + >; + }; + pinctrl_usdhc1_200mhz: usdhc1grp-200mhz { + fsl,pins = < + MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x196 + MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d6 + MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d6 + MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d6 + MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d6 + MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d6 + >; + }; + + pinctrl_usdhc2_gpio: usdhc2grp-gpio { + fsl,pins = < + MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x1c4 + >; + }; + + pinctrl_usdhc2: usdhc2grp { + fsl,pins = < + MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190 + MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d0 + MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d0 + MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d0 + MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d0 + MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d0 + MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 + >; + }; + + pinctrl_usdhc2_100mhz: usdhc2grp-100mhz { + fsl,pins = < + MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194 + MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4 + MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4 + MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4 + MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4 + MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4 + MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 + >; + }; + + pinctrl_usdhc2_200mhz: usdhc2grp-200mhz { + fsl,pins = < + MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x196 + MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d6 + MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d6 + MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d6 + MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d6 + MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d6 + MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 + >; + }; +};