From patchwork Wed Mar 30 19:14:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1889 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 498923F0E8 for ; Wed, 30 Mar 2022 21:15:02 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id 77-20020a621450000000b004fa8868a49esf12521641pfu.3 for ; Wed, 30 Mar 2022 12:15:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648667701; cv=pass; d=google.com; s=arc-20160816; b=vzWuBnha310CEB0RpH5XE4Xetv98nYJBzGvuPDPLmMGWmv45qFEVNBksBtk/A3zNlU MYNMVsF/IUj4MlyJnxkcktKOBp6YsOru14oAp+9VHnhCfYevaZDFgULpOhfYX5hdRXa0 GXgtRchcS4ZQiqjGzFOwdbDefQrV4uNEv7gZoCF69QXuKFiVD6vRf8KkN/VH7PPlWnIw Gp9hGNlu4dNTWRp5UYB8iRr6MLBGu7ugkS2twMagr9OfEoa2CA6Ecvb7JXoTTvnwTCnl a4uy8EFlmiTJApLENVWdxpIJGBRkameI7sKKWeiZ9SQBuRJteQYsztaTkl67w2t6yiw6 N1dw== 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=RUhCoZTlN0C5OY02SE36NgOZRa7wJbKr2lmYvJYquOQ=; b=kyzDJtEcT9NdEdLeIeoFx29AzOSBkyH+jRPW3isIvzw526YaPJEhThukGHz+kwvp06 hPJk59dQGDgLx7cpi5YrNBN2gDYMOg7gkQrnF7Qnm0g574ezO7QHxgBC0RRmZYlIOJ9/ xU7ZGmnICHlLoUNq9GGNkWkMUSxiwicjOpXqDg10/4zbeeKUUCW0ZF8mijl5g9smTR+A wTVbeDp507AWkWGYKi9JmgwiJuP+xmO8KP2rvZAN5AKTerJpK0YuWbaykgzUtXElUTXE lhEY+/K/DHy3G35/WkJEdHC1jD3R6zdFkJeM1MOSJEWMmX7ZX4vP6rgXxJCNdDqIBtZi wzxA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="i/9AGbek"; 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=RUhCoZTlN0C5OY02SE36NgOZRa7wJbKr2lmYvJYquOQ=; b=oAnRIjsIa9ggW2Omdrq3S9qrJ3F9+tJ/bpMRmL9LKvZEwOblYARan3k8LaUKv5xSjL Zu7Ob5ePd81YTGNTAJ7WqicQHxgJRTVPwDPVi3fDMBR11PCBrOIEfIesS5/5j/lUKHIy CXRwDHk/BtjP0rjPt1kq5h1eDr1PywBGqBNvo= 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=RUhCoZTlN0C5OY02SE36NgOZRa7wJbKr2lmYvJYquOQ=; b=cRKYhP7JE+mHmcQG+FpuxcGa/tc4BP7U2JYLuT2Hs+MmiEOVa8gOzGzA/iBf/50J1L Qmmzdz9v7fgv87et782ku9KtNBkyCAEU7Ih3xhCkaET1j4ow6HTPf63JeenD6a+yOIs5 brTwCu+v9Ef5PoQrKoNuqKTxtYDyOZzbJ0NF13lMhepz3DUBIF+O0huqNHI36/pSyVt2 cEgw06khIhoDCv4NnvjU7EehTUCWUZqr1uL6AvLohqfHAXkm/EEmC3mga43YCZTF0ewX WCfCcAi5F3Nv7wT+614jK9YF5M5JgXF4w1KKUa1cy8d7lqNC0Vx6N/WQfaRZT/dFZ2PL 94Lg== X-Gm-Message-State: AOAM533rqexjdhyzAgYD9jnOt7Pyckc7LIzktTJQahMP4AGaN+Fv3WFx HnWTfZ3gSZHSrNF3CrGuN5QTVBKX X-Google-Smtp-Source: ABdhPJycaZdUyvxGJjHD0lS0+htwb2JV/iH306o0cNOeCjSA1A6372Tk2BLS9a3UCFwojBwg3H+n4Q== X-Received: by 2002:a17:902:f701:b0:14d:7cea:82af with SMTP id h1-20020a170902f70100b0014d7cea82afmr36616843plo.71.1648667701042; Wed, 30 Mar 2022 12:15:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:1307:b0:1c6:9790:ee97 with SMTP id h7-20020a17090a130700b001c69790ee97ls607741pja.1.gmail; Wed, 30 Mar 2022 12:15:00 -0700 (PDT) X-Received: by 2002:a17:902:ab41:b0:153:2c4b:4eee with SMTP id ij1-20020a170902ab4100b001532c4b4eeemr920032plb.48.1648667700254; Wed, 30 Mar 2022 12:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648667700; cv=none; d=google.com; s=arc-20160816; b=kK68YbJ5519zZIVdzu6m4svWdf9EU0MIgmzfujMe+FTHEZNXKvsr5mcfRs+lWJULhR oeJaMKgAjsqXKQshVJb7ZFiXApnvc7RRFS5jIEBAZ3Fi7pdY53TvUbG/P2kGibdgG1+s Aywr6enMt1kCCCXGDFPtqup5z4oGGGbtxwy+wunr90g0wLvK3pN8FQMHMAh8xxVTxsB6 MZYiIZ3wS+iSfsOluHGp5hzp4wizgfNsduFgaEw2JP6eKMT469KFjyp3PywXJSaCXOSH HxdgMNnm6qEyknGOIG1WDohTyKvIw6zMl0ZnL3NFdNHVQVaM/9XIKvQdvcMs8y3lSnfv urzA== 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=YmPIfZNsaOlAIH1o6bSjpUNVHoOAM+3blRAMWjhkViM=; b=aN/r/ko3oNLdMfgwXrfowB3rpZ5IJ/9itvtJQouk2u31WQnUIEmBGwpmrzPztrgCOT RkxQUmsGJtgAKTRQYEe31l2Qcj1I7fKXE3aP5JQECltGbVJVOTJywMK7y4vR8YDikgCM YiS1SvUHkrtOHHGIaN5xvYyAgsFoZdmNAQkUjNpOy7VXybA/bK3XoIyC81Fg7edh6esy Vvl20r69PZJ2B+E59Q7Wwd30UkwC8SHHzIId9XHlR+EcK+FrUhJIMYg6MlBCy2U99g0g o3MTiK6CEBtDU7oMP7lG5goEn9tGAS1uBD+ZsuFHxsDBMvBckCyJCEMnz5M36NlfwDQ5 7gGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="i/9AGbek"; 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 d1-20020a170902cec100b00152fefff51asor7053051plg.165.2022.03.30.12.15.00 for (Google Transport Security); Wed, 30 Mar 2022 12:15:00 -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:902:8b88:b0:156:2b14:cb6e with SMTP id ay8-20020a1709028b8800b001562b14cb6emr1228327plb.14.1648667699738; Wed, 30 Mar 2022 12:14:59 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id ng17-20020a17090b1a9100b001c9f79927bfsm2955451pjb.25.2022.03.30.12.14.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 12:14:59 -0700 (PDT) From: Manoj Sai To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski , Matteo Lisi Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com, Jagan Teki , Catalin Marinas , Will Deacon , Rob Herring , Suniel Mahesh , Michael Nazzareno Trimarchi , Manoj Sai Subject: [PATCH 1/3] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Date: Thu, 31 Mar 2022 00:44:35 +0530 Message-Id: <20220330191437.614065-2-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220330191437.614065-1-abbaraju.manojsai@amarulasolutions.com> References: <20220330191437.614065-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="i/9AGbek"; 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 Reviewed-by: Jagan Teki --- 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 Wed Mar 30 19:14:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1890 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AB0493F0E8 for ; Wed, 30 Mar 2022 21:15:08 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id k71-20020a636f4a000000b00382a7c27856sf10865389pgc.3 for ; Wed, 30 Mar 2022 12:15:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648667707; cv=pass; d=google.com; s=arc-20160816; b=uzyLJlQn1NyqyZxUD7+IFLTfvf2nBwuXI9xB/Wp4ozB2Y2hKdQ9AXNdAI5F9GYa2tP n5Qwja67NDrWWO6wkGmkrkCmo0X+GgitWuDB5AxxhCMR6JrCPZkAGfmrFeZzOdsCbEK5 hGw1Zi3X4hQoFIO5MueVmLu+Gzn6YIcbtfZnPb3hRUSRvvgRIl0WCJdBXFYtt6x6Mpl/ p6T7ht9rbUq3T72RpTSBcdggUs75rQxz95IlPD92hxMpgaW1+sCmfCeuE4QqHiDo6itP hy9lcqS7NvJHONk5NZ2jYR0+2IfaghUxtlaCvLxCB92kODrOH7l5UQCmHzV/5KhfTTUF AtHw== 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=hdYCCEGt7ryVZS/YWgbiYA3RbF7izyd8BsAmNzLJp0Y=; b=IQVRU9UOkrX6gOjYMoe1APDz9q3Q0bhTjytkBWO39WJtsNg/wVxiSAqz9GHDBUnvgO MJajuIxasS6XuOQwe1d1JEyrPxfM/weVJoDvpWzQPDeq4hj5yueyr/TB296ZhZfzXdFY 7DPs/j+q3YNbBJ1KjKiXaNhCOWpc5CSad+dS8K/dqqlbfPobKiz7S3ha3a0+xGc3C5qC 3pK+ncS1d5HIFiVqnvWwIyudMTaujiBCKZpmZdR1a0xSYP1/U37frDMSB9UKYymjlYJB bX4PQhbdgZSvSuYmEthwdkyC+V6UGN2i7uXvuSnq8eTNdxmIvAtorxkEO7AjTSXK4+cy 46DQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=N4hRvUH8; 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=hdYCCEGt7ryVZS/YWgbiYA3RbF7izyd8BsAmNzLJp0Y=; b=Ewy9tGSZNvDw+3taxgxDUqcRoY6KQX6Both/wTwRGpw2BhD5v2Xo9pjTyTI135BFCe Uiem8BFQjOMk6vtYwKcf/fPaYUIj06VUqmWxswAt/i6D0vw9E3kHWJUvaceyMkNeEiXD 5nBVlKFy8dKiE8t042ZuM67BvIXKqgw6Bs3o8= 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=hdYCCEGt7ryVZS/YWgbiYA3RbF7izyd8BsAmNzLJp0Y=; b=DYGuJmGc6UDYQuVbJSG4inlMD4Jprl2rW1MPms6vU+dGNUc8qo8Zk7sL8lcNUnpLFo uxaPAmYtHf492TLs4SkEaUO+BT9cuSlxxVJV/b7d5laTB/R5NXjUtgAZCUFZ4aD1NEKW xguxC0EcxD8f9adCDmhl+J88JT9kSp1CzoC3LFQ7akRyTehyMhOlof22DngtUTMRMpmC bnvSYpnyv1kNyQh2HXxVdTkBzCQzMX8xyuKbjBwe+xq4Lnt9kYFEPzw0S/8QIjRGCvkE kycWkmsxi+5IXU1cUuwPW6egHYMkikdFndx3OrIH87cDW4lzRz+lhuHhELC3vGDAkbqq vfpQ== X-Gm-Message-State: AOAM532GrNdtCnaR/zd2hAVNMjjoOVLPuAH3im+5AanmUXjdCybI17PX +HerW7+vAMrHwVUEtJiQ0luKciW4 X-Google-Smtp-Source: ABdhPJx7li667cU5Gl9c+sIT+1qL7Xjbi76osbAHSz0etbG7i/g8nNCG/OdvY+cOrGeLS8Vq5JK9BQ== X-Received: by 2002:a17:90b:4f43:b0:1c7:552b:7553 with SMTP id pj3-20020a17090b4f4300b001c7552b7553mr1093541pjb.117.1648667707406; Wed, 30 Mar 2022 12:15:07 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:ced1:b0:154:624c:2ff4 with SMTP id d17-20020a170902ced100b00154624c2ff4ls2392828plg.8.gmail; Wed, 30 Mar 2022 12:15:06 -0700 (PDT) X-Received: by 2002:a17:902:e8cf:b0:156:36e0:6bcb with SMTP id v15-20020a170902e8cf00b0015636e06bcbmr819989plg.105.1648667706599; Wed, 30 Mar 2022 12:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648667706; cv=none; d=google.com; s=arc-20160816; b=ctEXwis8CkkOvil8TXQV+Asod0W1CiG+/hcMm31r+4D5MYn11CUW6klW2g8EeJRqvS 6P4XUk002DY5NA/xCT+CCG03TNrUfRBOHPKFx+ZW8WryJmS7UzKpBK72v4ifmleNKjDR wVt8gFosiVMF6i79xpk2io+wHNgTZJngARwED88zGfcZoZdrlv8GWj1XJ5e5dhl7w0qY bW9UFDUJDR6/BQvpy6Joa3lAIOx2qqMICgaiZrtUqjydoVkJ5NukqXz+rVuEvm8XNpnh SHay8+AcPPjEQgJgGNAdkXtfBtjgEn63AaXRrB8hi/CjQKMDGN8OXXD2EERJy3dAN3Xz y6JQ== 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=dgrQbWTYm0JXhwmeaxqOF+r6E1vVPT5p9UZVS+3fzyA=; b=jRYaWwX2bY8rwnOj2AsZSbBgBv4nRQISsQrMpPi7ZysUcg3OG7a4DYtGUZheCUL2Xp nI2VdvOkNAB5SR7Ty0fUXekRSp8hKBBXRfm5mSXsUE711G9Ah32V01guRgmmcbrcDHs9 OFYXdu9KiKeYJ0dZVe2oXXKUp3XEzAK1X+sqcH6ZcP1E/8eUTvw9a8Hkq5SH6H6nqjcX 4rG/KnxN/HOpFN5vDLaqFxGd9Om/eU+76hjNnmlFBVdmfOgBCCddIATcXd/xGGqHHtnb pDJb2fwFD8t9TRXGEBtiwNKbwAtNqglh/lH71mhvBKfdtVOCHbmTsLDfGXC+93uvLZJA KmRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=N4hRvUH8; 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 h7-20020a170902ac8700b001517b72321asor7359302plr.133.2022.03.30.12.15.06 for (Google Transport Security); Wed, 30 Mar 2022 12:15:06 -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:4052:b0:155:fc0b:48fb with SMTP id n18-20020a170903405200b00155fc0b48fbmr863080pla.27.1648667706249; Wed, 30 Mar 2022 12:15:06 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id ng17-20020a17090b1a9100b001c9f79927bfsm2955451pjb.25.2022.03.30.12.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 12:15:05 -0700 (PDT) From: Manoj Sai To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski , Matteo Lisi Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com, Jagan Teki , Catalin Marinas , Will Deacon , Rob Herring , Suniel Mahesh , Michael Nazzareno Trimarchi , Manoj Sai Subject: [PATCH 2/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus SoM Date: Thu, 31 Mar 2022 00:44:36 +0530 Message-Id: <20220330191437.614065-3-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220330191437.614065-1-abbaraju.manojsai@amarulasolutions.com> References: <20220330191437.614065-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=N4hRvUH8; 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 Signed-off-by: Matteo Lisi Reviewed-by: Jagan Teki --- .../dts/freescale/imx8mp-icore-mx8mp.dtsi | 202 ++++++++++++++++++ 1 file changed, 202 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..10afa8983700 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp.dtsi @@ -0,0 +1,202 @@ +// 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; + }; + }; + }; +}; + +&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 + >; + }; +}; + +/* 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"; +}; From patchwork Wed Mar 30 19:14:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1891 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D2A5C3F0E8 for ; Wed, 30 Mar 2022 21:15:22 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id y189-20020a6264c6000000b004faecedcb81sf10998050pfb.7 for ; Wed, 30 Mar 2022 12:15:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648667721; cv=pass; d=google.com; s=arc-20160816; b=yYW4O1KJ15uSmqHISK3VReaEs6iEDfIrO8U/MgsA1Kd8BwMljdpZxNESXMwc9Q/0X2 2kOdvTlGe60XFupj37IK9inXRyGVL5db86h8F39neQELDuS42a8Surtsa+MZqa2MyESi pv+aAdt7jcnXO0ZH7J3/5OJs3guo1WGOI7z+63hspEwyhk0U/8fs30GYAs3F0TSGwmam VsNIp88cB1BdhLqK8xQpOcjAsRQidkCB3Co88tsGQFbp6Z9xsClN6fZU/mIt9E9mhcrj vKVvQQp1w8B8a9ZzBZ4gECXK8fEaQqC0w9kHO8OTBQUQebtgsAlqIR/weMe0ZbQqFbaj Zvog== 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=4Q6uifZFxozFewYVsG/Zk1CUxBQOxKB/qtQoBx85NUw=; b=WmN63SrM1xl5JAHAIqzRaYEBWCAlfQXVfvHPsNEVaTB/mU5B1YZkzMpbZumqb5Nqbq PUMywY8z8GZqEZvx71paBVbQh6lpkTUeqsdvoOn7j8iZFGXv7EUXqjvA+L9Ap+YNxyXf kcXynFIIOZ2b2Nn2DUc7nkmERATfldGlsQZc4yRGa9dmUZxpPlHKlindVmI1RWAxnPTO vYe0Xqy0u8dAWtNLBGs4sdIkodg7dmSYh028jGL7lKp+FisL+xJ8Gfl17rf2SxW0t71w mKAYr7tRz4+TKYhea6DBtAZOqZsvP3qrhEH8R7LyNScUUzLeDukBEisuxSTPK+l7KHzK Cx3w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IX6V4gdx; 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=4Q6uifZFxozFewYVsG/Zk1CUxBQOxKB/qtQoBx85NUw=; b=gYj8imlEx1ZkydtZ7zBQplDNjljLf4iDt/h1iQgvzcxUikFL7eAmU2bBpOVaZd4zWm HNHcz+gUTYFK8EKBpPRIi5Q9r3RR3fhn3v5jBdsfEX/G7O++YP8jSFv1ph7BEI0L7MGy QaH9DzpSa0SkV5V42MhqyHguVqS7zmU7sWU6E= 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=4Q6uifZFxozFewYVsG/Zk1CUxBQOxKB/qtQoBx85NUw=; b=4uVyveIecxXYr4zwQE6GkDNnq3xnZa9ZZRQxCI/iOpofNb9RwktgmPiAzNUx0TDtxe KcyHP46ikryl/gDXuuPN3wGYNblizxnmJJs3bbYXXiD53pvnTC5Eh6NJNHarKdr8+ok2 QmOloaYx0lA/iTvG3gs8ZTsA6SNnqhqy6tI8j0/2m1XtIHkXbHChnndV0JlMnkY6GCYn 5PGtZZQWl+OsWJFhdKwF9z/N1xKKZJkfJjOJgUNiQFVVt37OTnlU0BgZ3/V4YOjvZ9pk GdDHBM7EpbQZL8/T9X2lTJ38Hy1q34ex5HZ5wt7TZZBBmzP/D4ZVzZOhns8/YyUs3fPP +aqA== X-Gm-Message-State: AOAM532DqxgFadSXbrpet6rZcKAFa9PHj4tE2iZBzl4z9OQI7lDUlUjm zhW9AbOXC9jyTLdNs8EJtl83kyHX X-Google-Smtp-Source: ABdhPJxf0CS2D4OcHyUJZB+oWHuAiOWwUoM/KCxWHxowZFwecMOryqzAyOkPv8QKZ7CNE5lOsT/+ng== X-Received: by 2002:a17:90b:4f43:b0:1c7:552b:7553 with SMTP id pj3-20020a17090b4f4300b001c7552b7553mr1094796pjb.117.1648667721595; Wed, 30 Mar 2022 12:15:21 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:b70c:0:b0:380:928b:8818 with SMTP id t12-20020a63b70c000000b00380928b8818ls1269060pgf.11.gmail; Wed, 30 Mar 2022 12:15:21 -0700 (PDT) X-Received: by 2002:a05:6a00:2887:b0:4fa:e10c:7ca with SMTP id ch7-20020a056a00288700b004fae10c07camr1068863pfb.9.1648667720784; Wed, 30 Mar 2022 12:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648667720; cv=none; d=google.com; s=arc-20160816; b=FImuVDtyLkSpgz7I6kV22sVatG/h4jcr4OK+G4veLFBRpsWgNZe0hXTYOy7ne3W4fV 7G4m23kK4HvfUinb0p2MJHwzP1y7mk82uIOjRnGXpoWNfcMLWSFjRu2XMKayxg0et4rA G6DBHmjtJHW8QiwBFDfDHyX0TM+5Dk1W5toRLi+6vXjboFCGfK64FoT83A/VgY6JoQo4 sdNIz2ldHDfnnHRhSqaKYqP8e9AZvaGgsrzR8rRciDvoRFEg54bk6ZPiw1kJWKMw87jP fBw9L3noox0AJRSJcO38rQFU/mPsFoR3ffN5e/4Bo7Uwoncyq15ZnkKsFVIAk0RLKW97 2FUg== 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=gf3wWTmjziJMOn16oc1W5zoqBMd/yr5SzLsh5YHyWfk=; b=fpwnl2yDAuwXydVBbshz+FTFbOs7n7lVavr/ckfgsguJROl/yebJkC7SXDHislVB7N 5jg88GBjCI+efgMn5ZjmH10Js5R+F0t+VEDI6Z8q5xQoD2Z5fHyt0eWK1U3VMvXE2NjC XHf0IJ3Ermqoonu12Mt8suZXHXZKjkp9F6ewxVQRnQ//gnrFn77Pc18Lt2Xo4AT5Qv0n w8uuh1Xm+A+ST2iHLn50Jbvr1O3Tf4vWALChjIhFfeEXxkfdP3Uo+EHPPbvnwE3U+xtH wsutapXKPkonfpErb5UYpVRw6BS2koSwsb2uA9ZBXWD4XFBJnvJzrTIIglGwPGC7259g FtGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IX6V4gdx; 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 g11-20020a17090a4b0b00b001c73f98702fsor232754pjh.40.2022.03.30.12.15.20 for (Google Transport Security); Wed, 30 Mar 2022 12:15:20 -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:3a84:b0:1c7:bc91:a870 with SMTP id om4-20020a17090b3a8400b001c7bc91a870mr1192429pjb.155.1648667720346; Wed, 30 Mar 2022 12:15:20 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id ng17-20020a17090b1a9100b001c9f79927bfsm2955451pjb.25.2022.03.30.12.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 12:15:19 -0700 (PDT) From: Manoj Sai To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski , Matteo Lisi Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com, Jagan Teki , Catalin Marinas , Will Deacon , Rob Herring , Suniel Mahesh , Michael Nazzareno Trimarchi , Manoj Sai Subject: [PATCH 3/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Date: Thu, 31 Mar 2022 00:44:37 +0530 Message-Id: <20220330191437.614065-4-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220330191437.614065-1-abbaraju.manojsai@amarulasolutions.com> References: <20220330191437.614065-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=IX6V4gdx; 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 Signed-off-by: Matteo Lisi Reviewed-by: Jagan Teki Reported-by: kernel test robot --- arch/arm64/boot/dts/freescale/Makefile | 1 + .../freescale/imx8mp-icore-mx8mp-edimm2.2.dts | 176 ++++++++++++++++++ 2 files changed, 177 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..e0667299388a --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-edimm2.2.dts @@ -0,0 +1,176 @@ +// 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"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_usb1_vbus>; + regulator-name = "usb1_host_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + usdhc2_vmmc: regulator-usdhc2 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; + regulator-name = "VSD_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; +}; + +/* 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"; + micrel,led-mode = <0>; + reg = <7>; + }; + }; +}; + +&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_reg_usdhc2_vmmc: regusdhc2vmmcgrp { + fsl,pins = < + MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x41 + >; + }; + + 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_reg_usb1_vbus: usb1grp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x19 + >; + }; + + 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 + >; + }; +}; + +/* console */ +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + 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" ; + pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; + cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; + vmmc-supply = <®_usdhc2_vmmc>; + bus-width = <4>; + status = "okay"; +};