From patchwork Wed Mar 16 14:57:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1869 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 81F0D3FA0F for ; Wed, 16 Mar 2022 15:57:13 +0100 (CET) Received: by mail-pj1-f70.google.com with SMTP id il17-20020a17090b165100b001c659558b26sf1701055pjb.0 for ; Wed, 16 Mar 2022 07:57:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647442632; cv=pass; d=google.com; s=arc-20160816; b=MpQVwPT4WQ7O66aB4h6X3c+8V5aoIfI0/Xu1ZyJJ7J5sDSxX00DsvA/YFbZcklOTm0 NZVnHiQVPx5DrkWrnDwCwGWjGaLWwJwab42eVBekwKFBl3MPpFmyqlT85qwQRmahDMWe Vdhf5f5vFKBdmtEMglvlUmY6DugqVzpj0mne0tVcFaEMRoUa4k7b7OywZJA0cH7IGmrP yXOrOaPu8WTaK15o00bqDrMFk1qamLOq8+WeyrwRyeglH8oeWulP3OxLmGm6Y3w1wjSV BmgsXrOlpAvfBwf4ELP3mDwnkOYjHtCSKa0HUhOP7+KVqfmQFlty0u2JeMsdZgfRuOiq sEzQ== 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:message-id:date:subject:cc:to:from :mime-version:dkim-signature; bh=bQaT78mHumTfFyjCaOqMu7w368tvPvgBUG3n2xIdWac=; b=T5ACLuJXZ2VUXaxb4cb+3rdpRayBjojeO9bA6h9p/tum1Vj+Jm33qdWeKOdP+9KuAY kT5kpkWUFUGmNShpcZZZRNunfpVpenFnV6J30jDP4kAgEdlsT+n9x0RRZf0KTNG9Uu0C 5GfP9tGzM8df+Q2kkuw/1rGShtaQEL5tMX4EQVylUNuiEMGKtpM4RYwv+JVer+uuJdU0 0X93ZREj8O60qdP4UBKBJfwGD+V7e2QQX2SR037O48XkkBceI58gsSJFUcmnvQ94q2M2 L3oDLs6r4iadC55tqY3Pq43QZWKessAn0u0xqN7Gc5Pa1xWUh0l61EfLj8Bih/M8Zwkb CpTA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Mh9UDdJz; 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=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=bQaT78mHumTfFyjCaOqMu7w368tvPvgBUG3n2xIdWac=; b=r8tKY7Mr80dulaePFR9JAZXolMSL+0nVmeSXVrbcKFgX4D4V+f7a1+adTJIWLCWlYk MZyhMrdATBeE6E98YRYrWGtAvC8A8eVD7CveAG0bJDYSzM2aTP9PVRqxM/uuOEYMSx1E g+qLn/IyiyNllUPyEhFv+1d0mmtexyVg1scZA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :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=bQaT78mHumTfFyjCaOqMu7w368tvPvgBUG3n2xIdWac=; b=bAk/nVwcHkqel8CjSe67H4KVJVg5dUEYmHJOLyOz/SAsWqiwU1qFHZpo3SY5cL+ny4 zLTiUCue1okVWWbIvG/WPn4sjsJPVwzlo15TiJl8UGVeMedTI0iUDIII/0S81+Qe+GwJ jcbaAb+y4FOp3lxJ8Vxvbqgmg97WiVuRWDPFeYdNarKNIa9tN6+rVrY8o9XGq02cJJ9X 8TXOBIU0u322YxIU0oWazGctfRRMWUoC6VCywocSP7dAr3A4yXD8iXv7KSLxXi3lCaU3 VxdtYXk0jGyk0RHHMCG/cuxbqxbuqU4zzgzrWe0GjQgPNx2MD76xIxLUw4Fqr7OvgSDY Au2g== X-Gm-Message-State: AOAM532l3HG/dOmZpf/zfgN4k4pNN75elsMRH7jNYT47GfNvPn8Upryy XLNijkz+XljRb6rQxor2mFy6TYlA X-Google-Smtp-Source: ABdhPJwaBpRWo2CrTNTMvSAbXjDtaN8jZXYWrqgUetNYQVRcWQ1lZ20EMlWOaF807cMjcqu8ZdHx3A== X-Received: by 2002:a62:1608:0:b0:4f6:f496:c678 with SMTP id 8-20020a621608000000b004f6f496c678mr34174475pfw.49.1647442632241; Wed, 16 Mar 2022 07:57:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:7ad6:0:b0:4f7:1c55:c251 with SMTP id v205-20020a627ad6000000b004f71c55c251ls1269274pfc.0.gmail; Wed, 16 Mar 2022 07:57:11 -0700 (PDT) X-Received: by 2002:a63:1a56:0:b0:381:ede3:979d with SMTP id a22-20020a631a56000000b00381ede3979dmr32992pgm.372.1647442631547; Wed, 16 Mar 2022 07:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647442631; cv=none; d=google.com; s=arc-20160816; b=kjlULLk2TeBCX2fbhhI94h2QbbFag7Bcsx8j8ErcIY4qBfGYqgDz5EAlzdmAsEewah PyJqhtFMv8A+euXD29W2pC01//TBVOi+gzhck2NwjpVHXfjUKDQBd5GXaCd66wP5h0kF wT0a2CEBTMgbWGWEc67OUoVnWF2mDMbVwjNlA8XoQpPNAedSdfOgYZWb9T9ZLnMjhfqN 8xXEeAFpnNMEtu3H2mQO3PGGLu5C6mlEnHKCnb7kle3C34cTWeESss3H1zjGUVKSdLW1 x+j9+s0a/F2sionvXmXUzsZnff/KLr+XP5iBz5nEPzSkxNj4OL/eVHlHz0vfWVXde9zM 2NAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=MMvlQoe9xNFw5A+5kOb5XrcpOrtbWXFaJHrA4HwIsSc=; b=wnhNCWvpWE6Cof00dvrOOY5HvQCNp6wCWV7Xqgn++KhMKvBkdsXMzQtsr1ukUk4HYs iTD2rulP7MxGEItp0pWbO0J7dfOxP/h9Uo+pjiibDqs/CP1Uz+UJez4v17MNdl2kBYz8 hftfW73FX6wK2Hh8fyS8Rolm9cE4yiTuiN81WzX69B57oyuFCTntqTSLiEe+HcxWKTQQ QE1tFJm9uyDlCm83AETgwMi6Mj7sQJIDSQ9Ph+8yH5KbaTfoCFHK1IO0h4ZY/xPtDeet vaUg/vTr6EuesYAg7nYYUlMVZDaDvS1YN28nkLy6MSSPzN0ykKye5gqXCO8y4lGK5mZ8 qwVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Mh9UDdJz; 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 66-20020a620545000000b004f7134a7119sor9780181pff.42.2022.03.16.07.57.11 for (Google Transport Security); Wed, 16 Mar 2022 07:57:11 -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:a05:6a00:703:b0:4f7:299d:46af with SMTP id 3-20020a056a00070300b004f7299d46afmr218752pfl.25.1647442631286; Wed, 16 Mar 2022 07:57:11 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id k4-20020a17090a910400b001bd171c7fd4sm6706846pjo.25.2022.03.16.07.57.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 07:57:10 -0700 (PDT) From: Manoj Sai To: Michael Nazzareno Trimarchi , Jagan Teki , Suniel Mahesh Cc: linux-amarula@amarulasolutions.com, Manoj Sai Subject: [PATCH 1/3] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Date: Wed, 16 Mar 2022 20:27:02 +0530 Message-Id: <20220316145704.11810-1-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 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=Mh9UDdJz; 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 --- 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..7f969d687f47 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 # i.MX8MP Engicam i.Core MX8M Plus EDIMM2 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 Wed Mar 16 14:57:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1870 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 DA5E93FA0F for ; Wed, 16 Mar 2022 15:57:15 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id t134-20020a62788c000000b004e1367caccasf1933064pfc.14 for ; Wed, 16 Mar 2022 07:57:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647442634; cv=pass; d=google.com; s=arc-20160816; b=HDrBWT429Po2KIWWJ8JhOl1Yl8COXPDbv94bpV4NMoocOQCVlihPixeBvkOWnteBxm Tl8undXklSCTJ++kJDbLt7QGJx381dbP5T07hcwzqsSZU0lNeUf7ahyrOVjXLqeibNoW lTE/j34n3VH1C2Sku/Zvko8+lmsGUBr88jkNd6/5RlR5XdDl/5LI5Cj+LsKjr8Wbtvk4 hgbFs0ujL2y1ccl461kYzwbtAAg3apbq0VM93MImPzGX+HuTiCj/ByzLzktkSooaQF46 Ok/eGoiJtbbBz/ym/gxp6cPZtQms+LrAEM/y6i8BPT+xE1s8PHpstPmWOrqBS8MoWIHw 2l6g== 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:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:dkim-signature; bh=IpreLEi+z6jL7NVh4VGVboLFxY82gvXTeN7hzzXfGBw=; b=RRMxyeSKF1HEgwBzl1Pdx0wgqkFz0JX4tdCZu54jweR0xmfO9Q+M+VDxpPRNaRDjnF F0ZT1y04WepoTON+Rd/yhYKcOlWx3JbSu8tfv32G68bFoUsezVWJSVRpHGZt+ba9mClj fMPTsjfXLn01OjnIdLFYiX74RqK9Sbl81TuytzWbZm0zmN8A41GWPOfszvLXpi4V7jdM kObreUcMvY+koBj0/VeecSAXCqwkddfxyHOgm2Va4rTSLuEAIBnzm6HYEl72GSaseL1O Ia6CIxc55CpqXur8dAUwKGQ/LHilbn1Nil7BZ5ci73SgVuokjg+8/uoDt7l3LTqKjYmn OK6g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IXW3m6Rq; 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=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=IpreLEi+z6jL7NVh4VGVboLFxY82gvXTeN7hzzXfGBw=; b=Iy3IWNnzbDXJ4M0HrH23nOkRU/7Jj4AuOb+B4kdoKK95FjyhaKxn9OmeKHFClWUDUs 0d+b4BlOceDteHd0fMzUrxMlRaNfG1zkEPDDOjx8dVm47HGGPxi15mVHEuj7WSOJxiZ0 jEtnDmXHHc6LIst2Kfh/zmMt6NCMfQ3e93qHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :in-reply-to:references: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=IpreLEi+z6jL7NVh4VGVboLFxY82gvXTeN7hzzXfGBw=; b=rFHAy5OlN69YpgOsbxhpAGyj92g9DOsU8eo+r3Wg9Qk1fLvXbxAcxfo7rY915t6Smk LwsIfRKZohSLQ+Rf55K6TyM53f3iBvUcG6e7srDwirZsi0HqolAILl4xpY239U428N1c ACOW8QJgKqbUk4H/RJGmPAJUYqirxKFJcv1kBKH6yvcziIPNEff3YmGFGFa7iUuLRItt mdFYTU384nFon2LS4Ns3zoFA8pX8+Ci+xjNFNPZiSMSI2icW9lqt+h21w4P3XHq2nBX6 Hctl1XhqpP+K3x43ggII/djHivx/SVNssKXxwdRS2CBIV05BTR5Asxyrronb3iDmmkZy kPwg== X-Gm-Message-State: AOAM530yCicWlXpnlRsdf6QgXKpnR15GvIQuoyRkooY6kXevWbfHpGyi fTu7/nVaPRDo8DBk6ihovBqdLGGI X-Google-Smtp-Source: ABdhPJxUBLYPg4y3BbqEp/CHODmbl4XIzUJ1woqcUJbCjQ7lr94vScXs8DQWPyUlyxLkkRaWSL4PgA== X-Received: by 2002:a17:90a:9294:b0:1b9:48e9:a030 with SMTP id n20-20020a17090a929400b001b948e9a030mr10585237pjo.200.1647442634647; Wed, 16 Mar 2022 07:57:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d483:b0:153:ae58:cc5a with SMTP id c3-20020a170902d48300b00153ae58cc5als1987871plg.4.gmail; Wed, 16 Mar 2022 07:57:14 -0700 (PDT) X-Received: by 2002:a17:902:ea09:b0:151:f547:90a with SMTP id s9-20020a170902ea0900b00151f547090amr33883185plg.63.1647442633976; Wed, 16 Mar 2022 07:57:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647442633; cv=none; d=google.com; s=arc-20160816; b=n8xy5q5vSCgYAvb57detyLDyqoHdty/LnD9aBo1d4wHHhg5dPZkyUQZBqgf6fiJdNE Q6eW8XXtGNAWikpM5x1oHE+LkDp1m/fMTAc2sdRM+60ebMa2W239y2/30Jf5XavtXN4u SaFuNSr8P1Jy9BfjykIoKhOUP/VClovqOXTrkUcPk3Ns3i79o6ojZrCWGSWsHHzb27bg XMNFrxrkJ6I8QwPYM7+hCQxPSnfm6CrYZgf0skUFsfcYnL/m6Gn5gkkGct3nkv3uuXI+ QygjP+u6T+YUv4wZDmixbehE5cZztao/+uC1lCXp71uEDcb1iu6XqtTsKKkcijGGWWyG waMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+IxxX8Noq+HPvYVyyxAn2AIn5E7xEPQktxWyosWSEfI=; b=z9TEDBv/MJvrR+3SpHxFidMSE4LMz+66fjvF7Iv3oLpy44b42RmetvMl0gVq84wraP X8D6RwZJH8UF7JrXMWVGJ1ThAct73Lp5SYrNcmI9LDc/yoDCKdSLrhBnKURlHeLfBGmD 4O39QIRhi89glB4N+pSgb3bwvCiEalRSY/bA9GPq4WrIGgkF91DkVdrdHQrsLwBccaTc P+JUPQcnUlp3VrRY9gH+tJ2sPN/bMir7ZojiQReE1VtZHEiMbc/K62pVPLZJX8XOiztd 2aggq+eaR7UPxexebbReWm5ZqTRece6JhbzFucPutwY990RI/aW8AecTgAex2kM5eiq+ Y56Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IXW3m6Rq; 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 a13-20020a056a001d0d00b004f65e8a698fsor9733795pfx.47.2022.03.16.07.57.13 for (Google Transport Security); Wed, 16 Mar 2022 07:57:13 -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:a05:6a00:194c:b0:4f7:8a93:e814 with SMTP id s12-20020a056a00194c00b004f78a93e814mr2443pfk.77.1647442633640; Wed, 16 Mar 2022 07:57:13 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id k4-20020a17090a910400b001bd171c7fd4sm6706846pjo.25.2022.03.16.07.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 07:57:13 -0700 (PDT) From: Manoj Sai To: Michael Nazzareno Trimarchi , Jagan Teki , Suniel Mahesh Cc: linux-amarula@amarulasolutions.com, Manoj Sai Subject: [PATCH 2/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus SoM Date: Wed, 16 Mar 2022 20:27:03 +0530 Message-Id: <20220316145704.11810-2-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220316145704.11810-1-abbaraju.manojsai@amarulasolutions.com> References: <20220316145704.11810-1-abbaraju.manojsai@amarulasolutions.com> 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=IXW3m6Rq; 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 --- .../dts/freescale/imx8mp-icore-mx8mp.dtsi | 221 ++++++++++++++++++ 1 file changed, 221 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..db420e5d567a --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp.dtsi @@ -0,0 +1,221 @@ +// 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_reg>; +}; + +&A53_1 { + cpu-supply = <&buck2_reg>; +}; + +&A53_2 { + cpu-supply = <&buck2_reg>; +}; + +&A53_3 { + cpu-supply = <&buck2_reg>; +}; + +&clk { + init-on-array = ; +}; + +/* 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"; +}; + +&i2c1 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic: pca9450@25 { + reg = <0x25>; + compatible = "nxp,pca9450c"; + /* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */ + pinctrl-0 = <&pinctrl_pmic>; + //gpio_intr = <&gpio1 3 GPIO_ACTIVE_LOW>; + interrupt-parent = <&gpio3>; + interrupts = <1 GPIO_ACTIVE_LOW>; + + regulators { + #address-cells = <1>; + #size-cells = <0>; + + pca9450,pmic-buck2-uses-i2c-dvs; + /* Run/Standby voltage */ + pca9450,pmic-buck2-dvs-voltage = <950000>, <850000>; + + buck1_reg: regulator@0 { + reg = <0>; + regulator-compatible = "buck1"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + buck2_reg: regulator@1 { + reg = <1>; + regulator-compatible = "buck2"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + buck4_reg: regulator@3 { + reg = <3>; + regulator-compatible = "buck4"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + buck5_reg: regulator@4 { + reg = <4>; + regulator-compatible = "buck5"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + buck6_reg: regulator@5 { + reg = <5>; + regulator-compatible = "buck6"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1_reg: regulator@6 { + reg = <6>; + regulator-compatible = "ldo1"; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo2_reg: regulator@7 { + reg = <7>; + regulator-compatible = "ldo2"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3_reg: regulator@8 { + reg = <8>; + regulator-compatible = "ldo3"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4_reg: regulator@9 { + reg = <9>; + regulator-compatible = "ldo4"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo5_reg: regulator@10 { + reg = <10>; + regulator-compatible = "ldo5"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + }; + }; +}; + +&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_NAND_CE0_B__GPIO3_IO01 0x41 + >; + }; + + 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 Wed Mar 16 14:57:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1871 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3A09B3FA0F for ; Wed, 16 Mar 2022 15:57:18 +0100 (CET) Received: by mail-pg1-f199.google.com with SMTP id 196-20020a6307cd000000b0038027886594sf263724pgh.4 for ; Wed, 16 Mar 2022 07:57:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647442637; cv=pass; d=google.com; s=arc-20160816; b=OpZAxSBD6Vd187MEgS+aMhGETIaydxM54mlcQyaxnwwCnZpnQxrilWt0uxrbZ3YMwq snfLHCMd4+o05meCUNPfWYnj56k98Ux6eTOe/8mAh+qqR2x71i17/QkVNd+YmdFz/Z8Q 9rXnPCITeU/Jw8wAxGXqMFDTYYwhdVChaCN7BRwajPH8AM1OzqeOn5A/vf18Soly/Q9v VTntAoAwdKNeRKWpdQKKIvl6WdrzejbPFxw6aE6qU3VZ9hFAKvCf7sC0Tg/maXysxKGa oGtprYy3I/plckiNBs4Ybe+BeWd+pH7OmUBeaS/8z2h0LhKx4EYeLWpc9fdCdwo7KO7O WYlw== 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:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:dkim-signature; bh=jhFQvw8E/v+5ju0WfcTtwaifwoYv6QBkFlxvKrQwJcM=; b=olWxXniEhrmDYGgP8s5PG/CVY67ChfzqQedG6xWGis5CVe6m/XYRhCucLsYtmUuV4D iLCgZ9JrpwNLlJbPcDNouxNsibq8+mMnfNeGr6b6gxogCDu7jUNcrgp0+ZEUhHJ/y0TD +lIL8buHQgAOHgSVYlZD+HnPjzVRMPmsfj1Ha4Z4EHOlVvdKiakWC5W2eM7MOX6BjHj+ yCEeM1qBbRJxDol9YyeN4L+z+mIJ58aH07ylj4VihTaLkoiliSepKJFf9FaknmabP9RJ DZC72ra74OM1Pzx1CN8sKf+9S7PiKTHKUogaF9LxLGyXn7FcL6WbWeSmm4/kxzYGXlnW XJeA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=adpqQjZE; 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=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=jhFQvw8E/v+5ju0WfcTtwaifwoYv6QBkFlxvKrQwJcM=; b=cvp15KOYVBIfYv4VzE1maauN/dR5twnc0lZS92QdiyIBPj+CKDsnGKgsBETeKtDKDQ lpCUQTye8YIyaLZ5KIOvJPptd1zNFXcvqTxFYIevtQRjTYSsnVDADQSgKR1dXGEBamRe DOpeY7Xcz86IbtFtUlsQMcQtthJP7Y2B2w2P4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :in-reply-to:references: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=jhFQvw8E/v+5ju0WfcTtwaifwoYv6QBkFlxvKrQwJcM=; b=ipvKkT3DBq/Tzus4aGdStfevRNVVgIkCUCo6ib9xLLfTXWNoO5ynnbpaZsdBK3E2nk a6aAtFV5wzR8gDDM4UYpuTZkWc1M/xjUrH/0AzyeJjX7g559x8uBY+aPaegRFy+zxHjW levKnhQpzItYD3dIIifzBO4y9MtT54OVhRWAaXl+gUmZzHRZk2Pbc3FJRCcfGSWEW5eY sXJDXhb+H9UtCNPoj8DAuBYCzhERIM5+ZTn6NClOQGovltZdCr9Pa85zuXOMvkdvyBAJ IeSHHlDvjvuP4ypc9n9VXkqKWxMQkGr9Bna/m9u+TCS1EQxs9LuKA1QM/qYee1p4b6Mh qhMw== X-Gm-Message-State: AOAM533UBX/ep6lUqwjd7p3VZdMYC2y91uwGZmih2TSGF/gEScu6mGtc oa1GtJEhe3h0+JfErZWxTlFrE8IL X-Google-Smtp-Source: ABdhPJyMdA0aThVQx3J8YorN/7IOgEe0E6hlaGCAwYk9mSnNm5NrZoP/UILDj5PbOwFFXvMvZ5BE8g== X-Received: by 2002:a17:902:f785:b0:14d:d2b6:b7c with SMTP id q5-20020a170902f78500b0014dd2b60b7cmr33244033pln.68.1647442637049; Wed, 16 Mar 2022 07:57:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:318c:0:b0:37c:926d:3fc3 with SMTP id x134-20020a63318c000000b0037c926d3fc3ls1163222pgx.8.gmail; Wed, 16 Mar 2022 07:57:16 -0700 (PDT) X-Received: by 2002:a62:840b:0:b0:4fa:31ae:7739 with SMTP id k11-20020a62840b000000b004fa31ae7739mr119577pfd.6.1647442636382; Wed, 16 Mar 2022 07:57:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647442636; cv=none; d=google.com; s=arc-20160816; b=KO/cjgNSHd5JlnZiXPomOL04WV+j17iiZvzFjMSWITOzGmYngpgDBalF4EuGcr41Gu P0Fk5fmfIQapxur309lUwhnvcxVQuvlqOqNOSwJ0FRATGHb7a/KHBg6ZT6XOvh5hq4vd V3hzB2HwV2vUaRVSYIOuzeDDLkoVe+WCupObkDvbm0H3X/Mhc2VbjkzPYtgqxaC1VZa6 3bJUaNE9wyVGaCRPYuz7RZAp7dKM2Jp172wGIk/COpKKRQCMIJ/3smlrMhJeGRvP6X/i NDYxOzuY/k1JgvggH+ZZbG/t6ZcXXNvQ6TucOYo3POiSJNkFRx18OW6sKoUpccSVjl3F eKFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IKzFRc8s0PDn/+41Rb2F8tsafFTeju3CtbT8PWg2hlg=; b=UHNkDI6Ao4ObNq37LXdgi+jq6zj1ACOMptWWIpA8Ov83lh2W0siBZzl9nG4zOF2vCk G7DEmiOruawVAV+LPEn+k7OEvxTEvct3diA1C0wsQpE+6kdovsYUnaXnnm1NJhZyWMrr JdlfZULxRIDGv33I3MUmRdsknLUn8e3G2ey2AAo7OSEErps4zQQq/+vKtRKKwRlTUY2N G0fczCLVeaYg7EGfy9Ok5Ezn37aw4fJKEEDl2W56xK7JPgoMuPxLJJcbbw5qnIIwm8ta FrEzf4GckIpq7MxRL5sVO0v+Xy6JCC8uiDs50784+uiiwP/f5Owg3GlJ+XUCvVBP+Lzg 1X4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=adpqQjZE; 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 w4-20020a170902e88400b0014fe92899e1sor7942466plg.145.2022.03.16.07.57.16 for (Google Transport Security); Wed, 16 Mar 2022 07:57:16 -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:903:32cd:b0:153:9c6a:575d with SMTP id i13-20020a17090332cd00b001539c6a575dmr367834plr.3.1647442636079; Wed, 16 Mar 2022 07:57:16 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id k4-20020a17090a910400b001bd171c7fd4sm6706846pjo.25.2022.03.16.07.57.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 07:57:15 -0700 (PDT) From: Manoj Sai To: Michael Nazzareno Trimarchi , Jagan Teki , Suniel Mahesh Cc: linux-amarula@amarulasolutions.com, Manoj Sai Subject: [PATCH 3/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Date: Wed, 16 Mar 2022 20:27:04 +0530 Message-Id: <20220316145704.11810-3-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220316145704.11810-1-abbaraju.manojsai@amarulasolutions.com> References: <20220316145704.11810-1-abbaraju.manojsai@amarulasolutions.com> 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=adpqQjZE; 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 --- arch/arm64/boot/dts/freescale/Makefile | 1 + .../freescale/imx8mp-icore-mx8mp-edimm2.2.dts | 231 ++++++++++++++++++ 2 files changed, 232 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..6c89fdf94f65 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-edimm2.2.dts @@ -0,0 +1,231 @@ +// 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_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>; + }; + + 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; + }; +}; + +/* 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; + }; + }; +}; + +/* 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"; +}; + +&i2c3 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3>; + 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_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 + >; + }; + + pinctrl_usb1_vbus: usb1grp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x19 + >; + }; +};