From patchwork Mon Mar 21 10:39:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1876 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2DC7D3F1DF for ; Mon, 21 Mar 2022 11:39:39 +0100 (CET) Received: by mail-pl1-f199.google.com with SMTP id l6-20020a170903120600b0014f43ba55f3sf5423896plh.11 for ; Mon, 21 Mar 2022 03:39:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647859178; cv=pass; d=google.com; s=arc-20160816; b=ffIQrya8L2kJfwKjSNffhFZ1ZZ46kjAk5iYfW/zutK3V/F6X1MbTwerkf9EZEVFWys vdCtWUT19xnbU/dCxCWmIYOKLTkgc3NApC5CTYHFnJIJY6/qls7K1AzFiVpENMsRU33B ClGLViS5XyQWpGePX5U2ucc+Hb0qwJBxtKz7if0ygzkw2Pesqg915RQZxT2qeLn3LiSL yLm01eU6lZXtLePE5cpGfQ70PY44Yc2avb4hh3TR2L6OeUNlUH+HG+m7LZcvAj7PpkpW u+5sXjLrvOvvenfwMhe4tDlWZ1V4ydDb5oLsgV3NNnn+9HI3VSao/YZPB+eEKtMaLE4E sHuQ== 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=dxaYcXbeLsYkKpAy4E7ddPEFpCVW2vOMj0Dfnv51f3Q=; b=ZzclNcGJ/PWElR8ottfVxWx5XC6Xstvx1yk+ufqbEO8ooH92ZaD+Dtduuloihrz5EB aEkdvsCk7Rdq3OVRIJzx8UWaIW9GfAmDHt7Z/n7qqFSkU1IyCqao2ppR9cj2r6L+MmgX wgBAlKQ/1eVYbk8A4LtfvIg5KplPpO2Eunc6BFP438z1ivU/EP83Eo8d0oO7kh3aBr02 /HRxzymqDZ+OU+7jif7nC4T9hoF7Bs46I88PlCGsbF31HaerZLqcoEMAIqE9iownuiiZ 1VAjmXoGANpcH0Hs0ltGhWVJJeRnGmGxelLDS23EgfxgKrMQC9mdhI2sQ1vrmPwDqm1Z e59w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Hhy4KSeo; 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=dxaYcXbeLsYkKpAy4E7ddPEFpCVW2vOMj0Dfnv51f3Q=; b=TT9xO/ivT2MJWzogNEAihi4IFComuc2X93bgq+pYrmXyT3rEMSXr9zs0V/i2cF3m+U etbtKz4GclTV+dEXzPZb6RmFdHhqwREkQnUVPDQl+e1R/AOk+coBUEKJEXQd3nFN9Uom zg33aC1R5bDDQEDOiaHhC1SjK/ZUwX51w9UUE= 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=dxaYcXbeLsYkKpAy4E7ddPEFpCVW2vOMj0Dfnv51f3Q=; b=7bcQdxhhaPBc420HK/byIBFsEAVb31f3vqLfvw8N72HJEmaWMkQkACG2OzvIgcXzyt knu1yTXtgjR3ckaiEhgNqKBYJBDMXUF3wJ6rBuWLLNpObtKLKqWzuAtm0eBA87M5rI4e O9ZkHIVMrY3JEVpwq5mjN7PIryczu1DzPxTh11GCP4E7XK94B5elDOV2YGd3S8cb41HV fPwjE7/Ur5dPF/eF6eNgRaIKLmPXLp1/sNm0TU/Ku3WPaSdU9c2/JP2J1XncrG/iBdIR 64xM+REvf7Ke8nl8Si868aMpGL1a2o88YXsLAGIriaip8AFjnk6UBmMhmqF4BXqkMC2A ZQPQ== X-Gm-Message-State: AOAM531ia0MRKPIhUD0m6MufffuTZZi6BXBhGjjWLz1iH/MbxarIMg7T dntWwifNlGvoPm2uLOJBk0sjG6y+ X-Google-Smtp-Source: ABdhPJw3nd0Nx6Hu17bkZAA2kVJVUom57VxWgEzFO0CQ9Mr8Mp7/VdkM/jieeAc1Lye2GRfXu5af9g== X-Received: by 2002:a17:90a:c70f:b0:1bf:3e2d:6cfa with SMTP id o15-20020a17090ac70f00b001bf3e2d6cfamr25315917pjt.70.1647859177906; Mon, 21 Mar 2022 03:39:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:13aa:b0:4fa:9dfd:68ee with SMTP id t42-20020a056a0013aa00b004fa9dfd68eels1239474pfg.10.gmail; Mon, 21 Mar 2022 03:39:37 -0700 (PDT) X-Received: by 2002:a63:935e:0:b0:382:33e5:ea00 with SMTP id w30-20020a63935e000000b0038233e5ea00mr11053979pgm.307.1647859177252; Mon, 21 Mar 2022 03:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647859177; cv=none; d=google.com; s=arc-20160816; b=FiO8OHFqMhcw7ao4lwMmM9ueIffkhvU+y53h0jQudiJphBSes5icinMXygiHPqoZVU sA8f81mpD7n7yiUPvDL3wLtUeEG3DqEeR5xY8Hmtu3ASvYladeqCBMyolkA0ebof2gpU 8ovGLz09m1Rqb+KDofdkXYSrnnOTc5vtUdXzpi1NTR9O/L4fEtYrkN9mLkdItzibq1zl Ov+/U1Z4wNwqgH4Ldw4SXi4lhHuhBFGHyiOkPm7M4GACWjNR7A911D7FbZFQBxmvy3qD 9bUAyulDm/cgI6mxPtlTSFgyld0kv061ZhZVr55mQcVmQgchn4huxQzH5kEwwL2j6ckJ xvAw== 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=K28J5PnwH32XFwtjvi7nDaSs9j9ZKiUEY4NXzvnLtcU=; b=Hor2XtjAANp+B09Ce63emwlS2NYp8051z00cPR7euo32zCi/ubAYItqmQCt4RG8kaE W0wW/tKzNmqegYOZTNCjRRHO2nMPNFWVkepESPE1rffaGRvFYYHSMASq7oZgBfQObVdl wzo7bBJloDpk3OkwJ2raCmrz3iyoPEto16tzn3DCxA84Z24IVp3m2wOcvv+inl2iSgcp eyw4LG94e4pL8+OfH+fBamwx16be9KL5G2HbDR03kRfzNzwTM1pSvGgDGA3jUTY6QX8y jYIOLy1vuulCMTiQ07+ljZ/BxHtUBzA7/Vc6kyTKrz9Gt1Dt1v1XC0Akn5CkB+ZXXebz sEKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Hhy4KSeo; 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 21-20020aa79255000000b004f781a49862sor6603677pfp.100.2022.03.21.03.39.37 for (Google Transport Security); Mon, 21 Mar 2022 03:39:37 -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:1501:b0:4f7:5773:f3f6 with SMTP id q1-20020a056a00150100b004f75773f3f6mr23333942pfu.31.1647859176894; Mon, 21 Mar 2022 03:39:36 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id pc13-20020a17090b3b8d00b001c62a846311sm21732858pjb.6.2022.03.21.03.39.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 03:39:36 -0700 (PDT) From: Manoj Sai To: Jagan Teki , Suniel Mahesh , Michael Nazzareno Trimarchi Cc: linux-amarula@amarulasolutions.com, Manoj Sai Subject: [PATCH v3 1/3] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Date: Mon, 21 Mar 2022 16:09:22 +0530 Message-Id: <20220321103924.21468-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=Hhy4KSeo; 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 --- Changes for v2: - fixed typo --- Changes for v3: - 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 Mon Mar 21 10:39:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1877 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 B9A203F1DF for ; Mon, 21 Mar 2022 11:39:43 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id s68-20020a625e47000000b004fa6520b540sf6210120pfb.17 for ; Mon, 21 Mar 2022 03:39:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647859182; cv=pass; d=google.com; s=arc-20160816; b=L69IdvBkWr0MIzUEIGYbY1Oy3UnpNbWdgwYwFNYtClZh+2numjt5F5MF1lWJJTQyKd UPsM1Sr94rX30GfOkN2sIYlKtwe6le4Y1M+FjZ+0iXVSlQvKsN9QwkHeGsg0e4/UP/fG Z+zisVjwHQcEd/MoV8++xbB3a6RSxurmebFdJmodUlaLraUDZtRDSxYvqjktBgI0WEZu w8HY20gNj8pMuuy9AN5GK+94LB+XC8pPmg1BY6030vAwtQlkiOHJIdl+DOxHYUfL5c5h iZ7m3q7jWvQE56hhLDlvuVK7vIxddYIdtnhUkmkwdppJAUNnnP1a2m8ljDAHH7NRaSdX 2Uxw== 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=bzyldjSLqnv06X+6Mml0/QoFoqK1AS0fQBqORxLdpKs=; b=PQuWPs4QByGNGf8z6uD5wWM3wYJY4ZKR/lezEpPVpv+zoRfaiL6kbqTEas2wV0Bq4C xpsZtquJN+es3NTp8i8XTrAj19Apw+mN/1zSO3Lju2pHAEyPxeZtvjdo9Gv2wmeKtauM eYERPtpM5l/mYMHUwFW7iO4Y2kxj9VrvwBJ1M351mpb0xMIEP07bQJsfBoNvnj0CFE6G 8NGDCig1cK30002PNs2tEMYausq+rVwHX3bKvfKJ8TOmoBwZgh8SXzn7cWI6E9rwJpog ZLYR7VWliFPJSsRk9YgigOsg3O/GkRS7BJDPY3hhEw5qK57Dei0+h8APS5+tjTPfEQpj a9vA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dVcJfvJL; 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=bzyldjSLqnv06X+6Mml0/QoFoqK1AS0fQBqORxLdpKs=; b=C8tzu9xNnpd/pNmOXqRr6KRFY07zSdprk2WZprG5lMs+0Jb9ToFiCkuIeQZoMvpwBB z5z87maSTdY/J0XLa4ZgNrx1cA6eTCFcF8TyusuRmu5lPNNLARVWNZasejXHdi4VFkIg nCDJ7FRcDIvieP8Gy+YtuSybImvThBzHqGc0U= 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=bzyldjSLqnv06X+6Mml0/QoFoqK1AS0fQBqORxLdpKs=; b=Zo9JihpD1bS5RoMFQxZoTW37WshhQR8Iihlr4L3NtPrjtrfrNi76j6W6dP8KHZ+nNY TFY/7MIn+6FROhedsZIpav4YMTAdWW0JaAmCuXE2EfOcUEVbuFScuLq/Rh9Xm+DBnejf wjFVIe4uy6kcAwh4gBBfuAqmqHFAGi7Pvc3q94nZk13a5mxEn2yT/Kcg4V3KNXdbu8oZ pvm2a6MM8yAQceIq0iscC7lPqkinQmYoX3m2jNxe+wb74+g2DXDOhWhVlheXGUQWMGa/ Qp3/pWpVpaKSnxm9nQ+sdbeUQDwMPxKo4OhRrSeK9xx6Ji0qlqaFUorI+T32z4EAKFwG bCPg== X-Gm-Message-State: AOAM532XLjzcPW0QxseXxVN51MUgQlyFJckGILdnjdoCiXzGZKmNk7E7 WF5NfBKVNdn8WiBt+mv0dtfShoe3 X-Google-Smtp-Source: ABdhPJxQNdtO6+AWGi02e8WKPFsAgEkG5XTjabo1vrxY8d8Cfz1UPgIZ0CLSIjNM/UC+q9DTnvpW+w== X-Received: by 2002:a63:be0c:0:b0:373:9f38:928e with SMTP id l12-20020a63be0c000000b003739f38928emr17475911pgf.241.1647859182557; Mon, 21 Mar 2022 03:39:42 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:3ecd:b0:1bf:65ff:cbd5 with SMTP id rm13-20020a17090b3ecd00b001bf65ffcbd5ls14791790pjb.0.canary-gmail; Mon, 21 Mar 2022 03:39:42 -0700 (PDT) X-Received: by 2002:a17:90b:3ec3:b0:1c7:24c4:e28f with SMTP id rm3-20020a17090b3ec300b001c724c4e28fmr3360189pjb.191.1647859181799; Mon, 21 Mar 2022 03:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647859181; cv=none; d=google.com; s=arc-20160816; b=L1Q+wQs7ZWNB9+22uJuqyP6v3Azl+M5Q/h1pqvsUTWDaGbWHtnakwnoTv6XkbRDq8O yYxoWD/wIrgw4uwNOsPQlIzx1zMwJIe15uiA5GHEs728xFpla0znYTslHl3T7OfhCXuQ M7+Ubmydr0FuzAJtNVimSRkRJNQcWfYUVlV4VC82f706c+XrPH+CAq9HaPbEhskqxgNr 2sWkSsxPzYYZlMa6Y1U6igXTXohF9Wrs43wtB9h6ojkKx00W8LyOAFpTxsj1OD44UQ62 SUVnmh2kNf2y02quhXmh8Cf/SpKPjv7UZwn+h3ZIIOiArDO5FBq/2VKz9Dg0WLGl9itu ZFmw== 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=rRAODsyXyAAQU+mnym1CBNbffx1Wku99Fua86wlEwN8=; b=vyn04ziMHu9TyC623HMPJmWGOowfpD5Rei1ENguNLDbNGSvR1XtMswAbA8SmErW0SE 0GLoX+SkjlEBWXOsLsf5gYsQ3q8yQYXp7trYEKxiqGR9LEmWlAC9qQnV589vroDtJAl4 v/31ksDbdZzT4wxMGeUIVc3/k3k3QQW4RlyrLyrywiZG7HftpwR2Bnq0/EDhrPCuilgK YInEulkvIBmuilnNMRnreae88o0TLbWh2hAM7VPIz679cerX8dZB49f6OG8SoVbDWUTU bKPibB+i2bC5cqcslF6RoQU7EamHgyvhiPtmxNq1TbDGfKPHswOiygKL8uVyMRd+QFrW NlSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dVcJfvJL; 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 b19-20020a170902d41300b00151753d87a5sor5402268ple.34.2022.03.21.03.39.41 for (Google Transport Security); Mon, 21 Mar 2022 03:39:41 -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:1205:b0:151:8ae9:93ea with SMTP id l5-20020a170903120500b001518ae993eamr12337478plh.37.1647859181491; Mon, 21 Mar 2022 03:39:41 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id pc13-20020a17090b3b8d00b001c62a846311sm21732858pjb.6.2022.03.21.03.39.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 03:39:41 -0700 (PDT) From: Manoj Sai To: Jagan Teki , Suniel Mahesh , Michael Nazzareno Trimarchi Cc: linux-amarula@amarulasolutions.com, Manoj Sai Subject: [PATCH v3 2/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus SoM Date: Mon, 21 Mar 2022 16:09:23 +0530 Message-Id: <20220321103924.21468-2-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220321103924.21468-1-abbaraju.manojsai@amarulasolutions.com> References: <20220321103924.21468-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=dVcJfvJL; 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 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. --- changes for v3 - updated the nodes as per review comments . --- --- .../dts/freescale/imx8mp-icore-mx8mp.dtsi | 200 ++++++++++++++++++ 1 file changed, 200 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..cb9a5f4e03e3 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp.dtsi @@ -0,0 +1,200 @@ +// 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>; +}; + +/* 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"; + 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_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 Mon Mar 21 10:39:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1878 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6CB563F1DF for ; Mon, 21 Mar 2022 11:39:48 +0100 (CET) Received: by mail-pf1-f200.google.com with SMTP id t184-20020a6281c1000000b004e103c5f726sf9562832pfd.8 for ; Mon, 21 Mar 2022 03:39:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647859187; cv=pass; d=google.com; s=arc-20160816; b=i+JGHgZY0I5UBtNgU477e5tSyJ7ws5K+oujKKibZBF45mh0SMN1zufEBPWI61N3qaj 05sSxSi8Q9weu9tf6qZmpDhqrFAbje1kbtpS2861AdsuFK80uKtl+pTdc6+WBSxTw2Te oww4arJaC69AjC4c3Kg7iHVASBBU6WaqRBpdETeDM93A8Rze1//Mx/Yf/nc71hheEqCk 3c14LUDCXIjNQfVkMycji3ErezX22JE+dUlG6SRSltwsY/GC+yX/S7VI2IlJvdXWqjLs jiTR4qvAtT8ep/vXfhN+/2OrVenpuTHyEZuugAHShqgX09FGHVhQSYchptFwRmBqXEmy Nh8g== 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=BmGcr+w6TFEtbiPgtCz2YrPxj6+GbgOVT2J2jcw+TFY=; b=RHuI+iiMAaU1Tc8+upmT4/KpiVoi06ZcTj7u9qr2NZT9zK9JMb1QK1C/U4g9UG2cTE Yikx2hnUBVN2NynqZ2Jo0VI9YuGZWV5YoqwlVwFZj8k42VVcq1/dXn4tyYCyIPaL1+4e l/RvYkkvjxO0UwOSL1z1yn39TQrIO4+xUx5/m+dxofvVlwJX9FFQCEUiYwvZEF1gSTa4 nqLkUIVOL0JxI+plPSA6lYEpRFeexgj99/+RQ0oz2ANZHKpxUrcL040R3jjP/KGil6BW HSNSZ6i4fl39XCO99gA30AEBeJqOsxv3YoJQXT2hY8LbTgdPmMPYYVcJmXMx968fo8WJ 7eEA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GRbytWlM; 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=BmGcr+w6TFEtbiPgtCz2YrPxj6+GbgOVT2J2jcw+TFY=; b=LLgAmxSXIcZhI9EPx6tgJjQR5TphWj4+Mhf9qL+/a1wvIPBZKKIamhXRoUSe4szvQp 8k4FxNg/e1+GsPcZAG4WCeIG31OnvwWkBS0wLdxOGiywNjbwJoTzoZqZMKjC0VYBhozE 6rvQG88Qa4DsqE2CaLLtJpxjTE8TSC6IJpVww= 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=BmGcr+w6TFEtbiPgtCz2YrPxj6+GbgOVT2J2jcw+TFY=; b=A8axVJC1P1ZM5CQrrhUS9+8GkUQJj0L14f+KawwC7afWN4cGPjCrrSMU73Bk81IZoO CnDJmi1/jquVeFSfGBW2+lJx/iBvo6tUgTh8LeRnkwL9n78CiWgNR507SMzH8Zhdsc+s 1Zl2/F+bpTv8E/ag9ecHjIachLxqWrrR+bTfnKOXFKa2Sij6GH/AvGy+qlcUFo+SUfKO 9rfwecZtpNAbTNz8IwZU2vmTOOPcfpZALPoVaq3fCpmQOaXoc8MQ7/602Iaqhh81gqso viphyjuQ+0MrVLmu+LqTPi5C7oTE08v3KEE7hTmqRyPGqTABukyLF7BezAIooGVn7CC+ Stcg== X-Gm-Message-State: AOAM532BjBvBB+Xxzj+7gaqlF7XnnQdQ/9kSaLSxw5sz4mPaqNe7CKmx eK+qdxXJGJ9wjbanklKOPS2qvzGa X-Google-Smtp-Source: ABdhPJyulGYjQpKK8d2yYpRCkYsjq1ctqNSzKXsqHuovLN6finY0un5ml/fQkRhEHKbcEj41CxqA6A== X-Received: by 2002:a17:90a:1596:b0:1bd:4af:6055 with SMTP id m22-20020a17090a159600b001bd04af6055mr36154290pja.139.1647859187247; Mon, 21 Mar 2022 03:39:47 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:3ecd:b0:1bf:65ff:cbd5 with SMTP id rm13-20020a17090b3ecd00b001bf65ffcbd5ls14791906pjb.0.canary-gmail; Mon, 21 Mar 2022 03:39:46 -0700 (PDT) X-Received: by 2002:a17:902:b189:b0:14d:6f87:7c25 with SMTP id s9-20020a170902b18900b0014d6f877c25mr12243005plr.31.1647859186588; Mon, 21 Mar 2022 03:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647859186; cv=none; d=google.com; s=arc-20160816; b=bv6FBuzgpgFrC2aIgA6DLw4ROkHGf6J65NsP/wTl9OoO40ngV6qPYYc1P+UmGgSzNu ZrQqv2mH90LOcIdUu0Zeu9X4zTWqUjz6hhikcFFpiZfHqRoT7XlfMs8e72XnB+9U1hQq +lMzViibqYnteMs2EszBvnYCMyYcN6C7ONgn1OLsuMuLDq9qQbecTB8TvgxI6pizaKom 3guDJiCk6Q8G7uXCj+zzLVcxDFCSUpn8+l/t+zz1BDzgsN4tC8Sa4rBbr873WQaWFkbs WF7P/pTNWaprIJVrFWh0ct+jrc4mZjRcGIDvO2OzrraInkiMVjiVNeZkaAvJFvUm6Jxw G8QA== 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=CLkmopSJl3WqEhd+sDlczp7BID9oFI6WCXQ9H3dq0UY=; b=t+a1IW3F+Yke1AifwxeJBLbEM1zlDUUWW+S/W1nc65oai5X1AjUuU/N2oR/X0LX7lb OqNpJMsC568X4nYHxJci5e/uA0acvxBM4ixI8TGC0is3TkFYLfEH4CfUh9ocgVXwm+jA ZuM1koJGySOKu35toPRUocih1kbvEtt8dcimiuNP7JnozNwe0iXk/3zd+oZEwaIif+lv PlJPVm7tQQMCACHIyAc+BIuZ76gcX/tls2/bC0G3+fEY2HjbIo/6pHIHn0oztEzQYkkf mfpmX7a87l4kiPzO4QZ5wJq5q1tEWQvSwARu6wru8Y/Xqeu18ZITYONlf5OAvoBMva44 WwWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GRbytWlM; 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 a12-20020a1709027d8c00b00151bfdc8251sor5218561plm.172.2022.03.21.03.39.46 for (Google Transport Security); Mon, 21 Mar 2022 03:39:46 -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:e742:b0:154:3e6a:21c0 with SMTP id p2-20020a170902e74200b001543e6a21c0mr8542148plf.117.1647859186244; Mon, 21 Mar 2022 03:39:46 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id pc13-20020a17090b3b8d00b001c62a846311sm21732858pjb.6.2022.03.21.03.39.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 03:39:45 -0700 (PDT) From: Manoj Sai To: Jagan Teki , Suniel Mahesh , Michael Nazzareno Trimarchi Cc: linux-amarula@amarulasolutions.com, Manoj Sai Subject: [PATCH v3 3/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Date: Mon, 21 Mar 2022 16:09:24 +0530 Message-Id: <20220321103924.21468-3-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220321103924.21468-1-abbaraju.manojsai@amarulasolutions.com> References: <20220321103924.21468-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=GRbytWlM; 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 --- changed for v2 -checked node and properties --- changed for v3 -checked node 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..346a5e3595a4 --- /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_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_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 + >; + }; +};