From patchwork Mon Dec 21 11:31:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11984513 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F049C433DB for ; Mon, 21 Dec 2020 11:33:37 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C0F73227BF for ; Mon, 21 Dec 2020 11:33:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C0F73227BF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YYmkQuLrKUtidOi/ReZqvUMjx/3jOY+DPH36F4nVero=; b=uOnYx5Pf/chfKADfWWJLHJ571 5lDx0prL1ci/O1s2EJcQTLZAz6y5XR0sJItIbHUAtIN34loiDLZK+04WSHppo71SonX9z+cbm4siz HL7KgzlYSRY3gEVNH1pFvzEIB3Chzz1/6RwxngZVoupSDEUMiWc1c6zZjE73oSMCd8uMHHxJ8NwkM eaSkKr6la5ULOOYBnmTS+JWk/tTsy7f5V5L8gRQT52g/rTPmBMFxPDygTzdoT758H91bZZSdXtBnp H9YYhMwh8MBeQW6h6NFE2Ebtzi1XPiIUjpWODcDUcjfzk1ERm0GOOSieWWdylePeOsgr4DgbUPn50 LmC6ZkrCw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQJ-0000b5-6u; Mon, 21 Dec 2020 11:32:19 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQF-0000aQ-JK for linux-arm-kernel@lists.infradead.org; Mon, 21 Dec 2020 11:32:16 +0000 Received: by mail-pl1-x629.google.com with SMTP id y8so5454445plp.8 for ; Mon, 21 Dec 2020 03:32:15 -0800 (PST) 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:content-transfer-encoding; bh=6R6A8Etc8hyt0q7ACP/cUsk4p17+yJdkd6xu17NqmR0=; b=ZgKNM68KFkvDjNj+DNF5qyZmgu01Wjrdtuow549ln51MMW9uTaStpu8Mg6IcltBLkp 2A9E5po+P9xh6+mNNu9lJa30fa0cTZo9tSFC0OluMQmqqynW2CB12l0GmcXxvqVeQqfL /vegrwvJlapiIAXMpWoDTJ2tZ7SleS1ojf9pQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6R6A8Etc8hyt0q7ACP/cUsk4p17+yJdkd6xu17NqmR0=; b=EvRaNuruzn95aXGjIIp/9SgX95F4nE+oXaoWnpWEdO77FoxwcBV1XjJGqJM1zlf6r8 mi+B2wx5JO0keC6bfq1Q2JWYgkrBVkSye+62c3DAJnj+rNshDai8YJ86M3C38whnQBy/ 42PflFAnu39wfzFg9ZQXm08UhLKAgRptoaLSnUHorOJ1mKYLr7kdFUHOXFvYgWqwXnjN 2a4S2VqerkqbvHJpZHQbv9yqaBHPVwQmAWGohxrJhUq3y3z6NKKIAd9BPy/qy5bUwa84 kz2/jhzcDtx0CALQfyC9rBUvpz/ns96CiG56mWQt6phS6+SW4KzsOwkuCUcpzvz22rYQ QJuQ== X-Gm-Message-State: AOAM530ICKdnJAy092QAmIfPkASmY7MngD7mVBkqHQumv3FSeLUzUZo2 gZdOziFpAMSgWtuDoRk5HwoBpA== X-Google-Smtp-Source: ABdhPJx2k57ZZyVOmRB8LiENmcfg/+eFDdN2OHq3HFCN+xe3wKNpsJQABJKk5g/QdV36Dcuf9de4fw== X-Received: by 2002:a17:902:7292:b029:dc:ac9:25b5 with SMTP id d18-20020a1709027292b02900dc0ac925b5mr16252531pll.2.1608550333484; Mon, 21 Dec 2020 03:32:13 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:b9d4:ed90:a69c:2530]) by smtp.gmail.com with ESMTPSA id 197sm16714859pgd.69.2020.12.21.03.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 03:32:12 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Subject: [PATCH v2 1/6] arm64: defconfig: Enable REGULATOR_PF8X00 Date: Mon, 21 Dec 2020 17:01:46 +0530 Message-Id: <20201221113151.94515-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201221113151.94515-1-jagan@amarulasolutions.com> References: <20201221113151.94515-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201221_063215_762788_4FF680F0 X-CRM114-Status: GOOD ( 14.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Will Deacon , Catalin Marinas , linux-kernel@vger.kernel.org, Jagan Teki , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, NXP Linux Team Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable PF8X00 regulator driver by default as it used in some of i.MX8MM hardware platforms. Engicam i.Core MX8M Mini SoM is using the PF8121A family PMIC. Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Jagan Teki Reviewed-by: Krzysztof Kozlowski --- Changes for v2: - updated commit message arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fae83673c3c3..e952c76ee970 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -594,6 +594,7 @@ CONFIG_REGULATOR_HI655X=y CONFIG_REGULATOR_MAX77620=y CONFIG_REGULATOR_MAX8973=y CONFIG_REGULATOR_PCA9450=y +CONFIG_REGULATOR_PF8X00=y CONFIG_REGULATOR_PFUZE100=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_QCOM_RPMH=y From patchwork Mon Dec 21 11:31:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11984517 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37C23C433E6 for ; Mon, 21 Dec 2020 11:33:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CEE2222BEA for ; Mon, 21 Dec 2020 11:33:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CEE2222BEA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DPGFmwgWVqnSuAeDuBRj4kMUks1aKTOa1IPtEehlU0Q=; b=cTBBqoV6CYnbyEBEhxKGdPVlp ICNBP3qoUXOwroVZG3Q65yUr/05u/sItDmwoiBr3sUbMLtgi+Ko1MXhZ89lMqE0D45io2QlxNu9AL eKU3VBJU2BQlA2hivkHwMDSZE2q7F97dkMKaUlcovot4j36jb0DWGu6o8rn2ta8BvncVl/0olk4d/ FDcheG4OkNirHgglPZtWTVzus8SfO6P0H+KEbMp8u3BXcpxL+Tutsnu4ulZLUrjKCk0pZHAUlJvB6 J3Zmw2/eKkiqehkxqWKh7B2QTFySo/YEH8qc01u3eV8PNPL2BwplO8Y7psMsc7GkQlKINpg3092yl Yys8W+oZQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQM-0000bg-SB; Mon, 21 Dec 2020 11:32:22 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQK-0000b6-6Z for linux-arm-kernel@lists.infradead.org; Mon, 21 Dec 2020 11:32:21 +0000 Received: by mail-pj1-x1032.google.com with SMTP id hk16so6301258pjb.4 for ; Mon, 21 Dec 2020 03:32:19 -0800 (PST) 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:content-transfer-encoding; bh=abAt+NSVaf1KMcs1DZiiEd8qzzP88WzmkG/ATpTCGjg=; b=CXPzRnXUvqW/ytMFY5VMHPB7/7tG4WgmC4rgtY004ulKieQNHRUgyUlgrFHGxbv46B 8T7vNdPXnt3o2RfqR1554zFUJNo/lClCoTZsS4Zl0XPek7OkozoJDQyBUsfM+unHitGz UBitmgMfExF1gLnX3r9Z2OwZGo57GRS/7FnxU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=abAt+NSVaf1KMcs1DZiiEd8qzzP88WzmkG/ATpTCGjg=; b=JhJm1Qb718XWpNsUJB3xuaRpVJJh241LqK3QoD4L/jnCK07vonMvrFPhPnPJbB7CW/ jnUXH2QFRV5pMBMcgcxrUixBy9rK4AzjqmzJUkBZ+mSlzUI+jOIZcDKMgYybE4YL93PV bL+7aLRAXcYc9/b2jCwnopG3mFhv59XeiNRESRR1JsmZUfN0WP3UhfNhx0s8kDO1bDzR 9nWP5HYdsnJixMv3ugVO+rKMNrBNX7EdCFwLTaCkcZOa4QzSy/GgRRkxP/6C1Rw7fCbl vbG4cj5FC8/OVuQ1Dk+Cx1WF8HE3Vqx9nFPD4WFG+mKDzC+mSHxDjW1qnnzhL3XrCdCK /kwg== X-Gm-Message-State: AOAM531z+zgeUB7JNIp/XNzwkkVojqlJosDNS0+diXGVfnmBpL7bB+xB GPpCCNHcCVJyWJuZodXB43dXPQ== X-Google-Smtp-Source: ABdhPJxnBDBcCKVkOAY0qr35XwO/GUoAuLGRcqUnMIEKyrss8ULZK3EZ/s1uOmyzaWk4X4Ok5hnQsg== X-Received: by 2002:a17:90a:3d0b:: with SMTP id h11mr1347867pjc.188.1608550338269; Mon, 21 Dec 2020 03:32:18 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:b9d4:ed90:a69c:2530]) by smtp.gmail.com with ESMTPSA id 197sm16714859pgd.69.2020.12.21.03.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 03:32:17 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Subject: [PATCH v2 2/6] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Mini C.TOUCH 2.0 Date: Mon, 21 Dec 2020 17:01:47 +0530 Message-Id: <20201221113151.94515-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201221113151.94515-1-jagan@amarulasolutions.com> References: <20201221113151.94515-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201221_063220_308307_77570559 X-CRM114-Status: GOOD ( 13.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Will Deacon , Catalin Marinas , linux-kernel@vger.kernel.org, Jagan Teki , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, NXP Linux Team Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. C.TOUCH 2.0 is a general purpose carrier board with capacitive touch interface support. i.Core MX8M Mini needs to mount on top of this Carrier board for creating complete i.Core MX8M Mini C.TOUCH 2.0 board. Add bindings for it. Signed-off-by: Jagan Teki --- Changes for v2: - updated commit message Documentation/devicetree/bindings/arm/fsl.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 67980dcef66d..e653e0a43016 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -667,6 +667,8 @@ properties: items: - enum: - beacon,imx8mm-beacon-kit # i.MX8MM Beacon Development Kit + - engicam,icore-mx8mm # i.MX8MM Engicam i.Core MX8M Mini SOM + - engicam,icore-mx8mm-ctouch2 # i.MX8MM Engicam i.Core MX8M Mini C.TOUCH 2.0 - fsl,imx8mm-ddr4-evk # i.MX8MM DDR4 EVK Board - fsl,imx8mm-evk # i.MX8MM EVK Board - kontron,imx8mm-n801x-som # i.MX8MM Kontron SL (N801X) SOM From patchwork Mon Dec 21 11:31:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11984519 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96398C433E6 for ; Mon, 21 Dec 2020 11:33:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C6E1227BF for ; Mon, 21 Dec 2020 11:33:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C6E1227BF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=59bCwJLT2VLpqjHFbINr+IarzPVUawpVaxY8489r+4Y=; b=pxgVLxJCZ+vNM2Jji5EFfm+mx 68LZg/ljoMWN4b8LZge+tvUqiSiTBNo18X6TerMF5f5m2KFnX//z0/t9hxGsLVzYvfkVnB1v5PO+Z zbfUtTf/hbu6ExRUzNSE5xgPoNeXy1CiVNQqpgvZ0RU6a1XwSLVjMJ/pIPM4Qa1b3FzN25YZzyfxT GYY9UMTQ3EPWEBdMeKTWKQYhTXQjJEnYI+SYGcw5cR5jrA7Ef1FeXzYtBRyaXs9BY7zTTg8OfkDwX Sxohd/79Ptca8obs385GDa3/xnc0+0BUSsK0iz4t+LGqBJbgO0B61BD1sxPFFdGnw4B8VmIfUwHgD 6DFnEmelQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQS-0000cM-D8; Mon, 21 Dec 2020 11:32:28 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQP-0000br-BN for linux-arm-kernel@lists.infradead.org; Mon, 21 Dec 2020 11:32:26 +0000 Received: by mail-pl1-x630.google.com with SMTP id x12so5449198plr.10 for ; Mon, 21 Dec 2020 03:32:24 -0800 (PST) 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:content-transfer-encoding; bh=WOFEUXTrIEFwAJjA7uwBOdNVJbs2hAoilHaZiMMbFn8=; b=pcsFX0KWUq0hkPjks8Q70d29QajxqL1bVJbnoh5sA8Uq5BbOB1UEzcIB8Uq2DidSPp HPepWMRZm2ZRgWFEHCcdJL0ZUbxsB9qXbo3bx8VH4Pau3LfzEZ0XQ4CBd/y1tJWFasXb icDEx2rcaijkYxgRgPH2CIzskCsnB7adYJ/AU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WOFEUXTrIEFwAJjA7uwBOdNVJbs2hAoilHaZiMMbFn8=; b=Q7HoEilKO1KZnt/j1eBjCTrUnSyBer5uptvRLglEnkdYEnDXENPevQYJeCdZ6LJeEs H/QURMoIgyyPPghFfBjhTUKB6IyOI06KhgVnGJvOQYopOW4k1jqvneEjZo7Z9mc/s6Du M992AmqYWJg1nKIXiYsCQRz8x3p96NjYt9ANcaFBdNEh95jXI7IjoFz5+e2XJkG0gHvp zujzmrjDkmGRPi+LkB8zHJ0kpmYtSO1rCqQe06SsFe0RCBNnbjubSTI6xoug58rLTQXe dbrgevDnXo0eToFu4LxyWTGwmIMx+fj8pdQBxyNYGqPRPYoJc8ffaJYCWyCuLgLbCqrP sh7Q== X-Gm-Message-State: AOAM532SxyPiKFisuLvfaSRbzuWfA2yWRaVxFQP2yfqyH4EITw09vNGP qN5SkUNRyyY2p41SgjQ8em9ilA== X-Google-Smtp-Source: ABdhPJxxgmqGjlE4tDAYi6d+90aGwpSMgjahhbi3PwZqAUeO/VaD2xxuNsFqP0wlm+nKTuP/Kq+GOw== X-Received: by 2002:a17:902:ee86:b029:da:76bc:2aa4 with SMTP id a6-20020a170902ee86b02900da76bc2aa4mr15872351pld.62.1608550343277; Mon, 21 Dec 2020 03:32:23 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:b9d4:ed90:a69c:2530]) by smtp.gmail.com with ESMTPSA id 197sm16714859pgd.69.2020.12.21.03.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 03:32:22 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Subject: [PATCH v2 3/6] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini SoM Date: Mon, 21 Dec 2020 17:01:48 +0530 Message-Id: <20201221113151.94515-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201221113151.94515-1-jagan@amarulasolutions.com> References: <20201221113151.94515-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201221_063225_507862_DA6EC847 X-CRM114-Status: GOOD ( 17.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matteo Lisi , Will Deacon , Catalin Marinas , linux-kernel@vger.kernel.org, Jagan Teki , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, NXP Linux Team Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. General features: - NXP i.MX8M Mini - Up to 2GB LDDR4 - 8/16GB eMMC - Gigabit Ethernet - USB 2.0 Host/OTG - PCIe Gen2 interface - I2S - MIPI DSI to LVDS - rest of i.MX8M Mini features i.Core MX8M Mini needs to mount on top of Engicam baseboards for creating complete platform solutions. Add support for it. Signed-off-by: Matteo Lisi Signed-off-by: Jagan Teki --- Changes for v2: - updated commit message - add cpu nodes - add fec1 node - fixed pmic tree comments - dropped engicam from filename since it aligned with imx6 engicam dts files naming conventions. .../dts/freescale/imx8mm-icore-mx8mm.dtsi | 232 ++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm.dtsi diff --git a/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm.dtsi new file mode 100644 index 000000000000..e67865fd102a --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm.dtsi @@ -0,0 +1,232 @@ +// 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-mx8mm", "fsl,imx8mm"; +}; + +&A53_0 { + cpu-supply = <®_buck4>; +}; + +&A53_1 { + cpu-supply = <®_buck4>; +}; + +&A53_2 { + cpu-supply = <®_buck4>; +}; + +&A53_3 { + cpu-supply = <®_buck4>; +}; + +&fec1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec1>; + phy-mode = "rgmii-id"; + phy-handle = <ðphy>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethernet-phy@3 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <3>; + reset-gpios = <&gpio3 7 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + }; + }; +}; + +&i2c1 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic@8 { + compatible = "nxp,pf8121a"; + reg = <0x08>; + + regulators { + reg_ldo1: ldo1 { + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <1500000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_ldo2: ldo2 { + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <1500000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_ldo3: ldo3 { + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <1500000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_ldo4: ldo4 { + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <1500000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck1: buck1 { + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <400000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck2: buck2 { + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <400000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck3: buck3 { + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <400000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck4: buck4 { + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <400000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck5: buck5 { + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <400000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck6: buck6 { + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <400000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck7: buck7 { + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_vsnvs: vsnvs { + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + }; + }; +}; + +&iomuxc { + pinctrl_fec1: fec1grp { + fsl,pins = < + MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3 + MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3 + MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f + MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f + MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f + MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f + MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 + MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 + MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 + MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 + MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f + MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 + MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 + MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f + MX8MM_IOMUXC_NAND_DATA01_GPIO3_IO7 0x19 + >; + }; + + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3 + MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3 + >; + }; + + pinctrl_usdhc3: usdhc3grp { + fsl,pins = < + MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x190 + MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d0 + MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d0 + MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d0 + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0 + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0 + MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d0 + MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d0 + MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d0 + MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d0 + MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d0 + MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x190 + >; + }; + + pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { + fsl,pins = < + MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x194 + MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d4 + MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4 + MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4 + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4 + MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4 + MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4 + MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4 + MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4 + MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4 + MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x194 + >; + }; + + pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { + fsl,pins = < + MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x196 + MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d6 + MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d6 + MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d6 + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d6 + MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d6 + MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d6 + MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d6 + MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d6 + MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d6 + MX8MM_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 Mon Dec 21 11:31:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11984521 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7374CC433E9 for ; Mon, 21 Dec 2020 11:33:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C5B5227BF for ; Mon, 21 Dec 2020 11:33:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C5B5227BF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dmRM+5KbpctaPDamxM0ovAhy6vj0sf8pAnG0ifMsAJg=; b=czdG16HV/c5oUJertigPHJA3p ONkAb7il9hht28BLBVw3BxLHVOP+Erf7kLmwfMJ4bhI12BkmqxtZSwYro97s+fKCgQ+nfZq6ZJ8Nz Xf+m3Do5NwRe0CoQ1KdfXGXRgAmjkFTCHCzxruwo5H8BVWIVqovIzJUadCSGLfcPizZIIull9fo56 udO8yaEbmQCa7A5X2QonYPNHSoExGo2ANu4wrpVm/hf3Of2BBFs4xp5pvDJ7I5Egpijyw/9n/7v2k ejtqBhJFa1JDXkXLIWtxAiLrs7J9O8mv1HUrZ3kYiAlVzC5SVEVW/6m9pNwHJxlOlKHSMs/QpDd3k CkQOBGy3g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQX-0000dD-7H; Mon, 21 Dec 2020 11:32:33 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQU-0000cZ-Qq for linux-arm-kernel@lists.infradead.org; Mon, 21 Dec 2020 11:32:31 +0000 Received: by mail-pg1-x529.google.com with SMTP id g18so6196561pgk.1 for ; Mon, 21 Dec 2020 03:32:30 -0800 (PST) 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:content-transfer-encoding; bh=UKdlQ3V1hZUict9vjwjzfE9Tv12t/Zmb8p1y78rJO2M=; b=R9FXXNW3XH3ZNbeKFe0ySnXKGRy18s7wgqEqVqjtv//KQtuxLbFU06jJUgEcsqs6tn Efe8kr76WRDilEB24NumB1aO70VFoLkQmgSM2T2GlLjE4g2VVMAAjZAjo0VcsF++23It d4weO18huNALF3Y7mpN0aENjXeiGwkwj5Tyxk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UKdlQ3V1hZUict9vjwjzfE9Tv12t/Zmb8p1y78rJO2M=; b=Vj4lLPlJox+XkKSlmO2gL0fU055+64ZQ8qQ3vMxyOyu8KnpeZ95luMKDgEdhtbMW9M f3uuvvRSuWxFBODApYPnEA4l3tzwfHdw/dijGDHUe5p9MQ3HtcEnbaEkqUHoTHIzh8Ut 5kd1VqZbqGumO+D95X4dJXqQ5PtjFSLhyiLQxouImJdk8lU+5Xfr4WvW8KeR67vL9N2S Ov9VBrMYOC28XNMYK4LnC/rS6yiDXveudBpIA/r1ftwN1zuESzXllyV45xykE4bB1+79 4w2dVda3gEiebzLsL9hlXv0ItWyh5t+pbF9vSeSLDTNpsOOao/8Y91kpCkHhChWxfCeo 6ptw== X-Gm-Message-State: AOAM530uEFm77Jj6JZ6jr4TotkLb+sVY0Y7G9n5W0ZDZvUUeXVYgSDe5 3UbfDdw4VqLndXM1NqxspWs63g== X-Google-Smtp-Source: ABdhPJwhWODf8Lhz54lWxo4EG6xtTUKWx+hwVV99f2EMZgyptkmoMGYv0jY9eRZlZsVys/t/ya3lAg== X-Received: by 2002:a63:d846:: with SMTP id k6mr14951139pgj.167.1608550348772; Mon, 21 Dec 2020 03:32:28 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:b9d4:ed90:a69c:2530]) by smtp.gmail.com with ESMTPSA id 197sm16714859pgd.69.2020.12.21.03.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 03:32:28 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Subject: [PATCH v2 4/6] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini C.TOUCH 2.0 Date: Mon, 21 Dec 2020 17:01:49 +0530 Message-Id: <20201221113151.94515-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201221113151.94515-1-jagan@amarulasolutions.com> References: <20201221113151.94515-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201221_063230_906903_8FF9B785 X-CRM114-Status: GOOD ( 20.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matteo Lisi , Will Deacon , Catalin Marinas , linux-kernel@vger.kernel.org, Jagan Teki , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, NXP Linux Team Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Engicam C.TOUCH 2.0 is an EDIMM compliant general purpose Carrier board. Genaral features: - Ethernet 10/100 - Wifi/BT - USB Type A/OTG - Audio Out - CAN - LVDS panel connector i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. i.Core MX8M Mini needs to mount on top of this Carrier board for creating complete i.Core MX8M Mini C.TOUCH 2.0 board. Add support for it. Signed-off-by: Matteo Lisi Signed-off-by: Jagan Teki --- Changes for v2: - enabled fec1 node - updated commit message - dropped engicam from filename since it aligned with imx6 engicam dts files naming conventions. - add i2c nodes - fixed v1 comments arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8mm-engicam-common.dtsi | 82 +++++++++++++++++++ .../dts/freescale/imx8mm-engicam-ctouch2.dtsi | 7 ++ .../freescale/imx8mm-icore-mx8mm-ctouch2.dts | 21 +++++ 4 files changed, 111 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-engicam-common.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-engicam-ctouch2.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 6f0777ee6cd6..8d49a2c74604 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2162a-qds.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-ctouch2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-engicam-common.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-engicam-common.dtsi new file mode 100644 index 000000000000..f7870efd9dab --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-engicam-common.dtsi @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +&fec1 { + status = "okay"; +}; + +&i2c2 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + +&i2c4 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c4>; + status = "okay"; +}; + +&iomuxc { + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3 + MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3 + >; + }; + + pinctrl_i2c4: i2c4grp { + fsl,pins = < + MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x400001c3 + MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400001c3 + >; + }; + + pinctrl_uart2: uart2grp { + fsl,pins = < + MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 + MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 + >; + }; + + pinctrl_usdhc1_gpio: usdhc1gpiogrp { + fsl,pins = < + MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x41 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x190 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0 + >; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + status = "okay"; +}; + +/* SD */ +&usdhc1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>; + cd-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; + max-frequency = <50000000>; + bus-width = <4>; + no-1-8-v; + pm-ignore-notify; + keep-power-in-suspend; + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-engicam-ctouch2.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-engicam-ctouch2.dtsi new file mode 100644 index 000000000000..294df07289a2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-engicam-ctouch2.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +#include "imx8mm-engicam-common.dtsi" diff --git a/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts new file mode 100644 index 000000000000..8eb01b1f882a --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 NXP + * Copyright (c) 2019 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "imx8mm.dtsi" +#include "imx8mm-engicam-ctouch2.dtsi" +#include "imx8mm-icore-mx8mm.dtsi" + +/ { + model = "Engicam i.Core MX8M Mini C.TOUCH 2.0"; + compatible = "engicam,icore-mx8mm-ctouch2", "engicam,icore-mx8mm", + "fsl,imx8mm"; + + chosen { + stdout-path = &uart2; + }; +}; From patchwork Mon Dec 21 11:31:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11984523 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BACEFC433DB for ; Mon, 21 Dec 2020 11:33:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 67331227BF for ; Mon, 21 Dec 2020 11:33:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 67331227BF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Z7gxTGR/JP2b5toT22dQO8dBORqASjUUcFHA2D4CUMw=; b=Wqjzs8apC+DyzGo9TRwZ/Wbeu 0VtPBY/QzdOnuilEK4RBwjcRYKSZ9oEpjKohBRln0YJtGnahR2zUqOFuTOrNkXi/irlKuHi2xhHFT Rw6rN7zDbvcEAmlV+bovZqp+/gwcDl/R/7M2CTPY031qO/lfDvs9LPzmCIPWHQuIQdM/VyaalQtSv QGJ295baVZ5D4r1+XoSgeSF65Jw1PGEflDvCDOkQDIOd2wFvoZZxA944yrC16cQETQfEYBToEEk9W jbkTmnK3axL7NYPcjK5alOQRqdW6ZU+ffFKLyf7C0h8l93nLFkLqRT5CMnGJ/CwmJw4JUBeEKRc0s 11OhZwQBA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQd-0000eo-Sj; Mon, 21 Dec 2020 11:32:39 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQa-0000dX-6o for linux-arm-kernel@lists.infradead.org; Mon, 21 Dec 2020 11:32:37 +0000 Received: by mail-pj1-x1029.google.com with SMTP id m5so6290626pjv.5 for ; Mon, 21 Dec 2020 03:32:35 -0800 (PST) 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:content-transfer-encoding; bh=V5g0Fxk7C0naTUIu01eMSChAjyhpoXuGHy8uA7He1GU=; b=bfpscItBOXZXMphURSPsQh8hk+cMeDQvKd0pnsw0EzwBSbjDNMUPq1ADO1SkJHgPSx myfAYx/UUoBVH/YOqo4DBmWoFdiuDv700VIuGAcEdcitUUTvY2/EIoxt9FUvytAmyk/X NShEy2nE9kkXZnbd2lGSlKLGHwv+et8qjzMXQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V5g0Fxk7C0naTUIu01eMSChAjyhpoXuGHy8uA7He1GU=; b=n/0aXR/h0ryHkfbdhPoY7agtbBcvtkM/9ZFBivZOvUW6q3BByFhr82KJ99Mb+zDc52 SLgQVSvn1HXfiGdweJXLsXRreIjgCujKZy2Ex6bE47OrG1uWbHfeMEes/CYDpx5qp6qx kMbCjnC0DkqCcauTcSUt0NUYICoicSqhSfnIeIAEhQCwT7VigknOZGrtuyp4cY+iABOC LGv0fEtJyssAV5fVBib9NB+T0sDA0W/R3AQbG+K+EYDfZxcDS7eNQ27lrzM52gAA0Orv UMFzsWkm3zoslBBqQpkLw0jrrpj7RvaetmVTIP06Yi8XvQU48f8US3C1e2xHIXkdxQ6Y VwJg== X-Gm-Message-State: AOAM531JVr/lvYhDQn6NHbBJvb0V2cvgLe5zYrf1vBQjWT+PW8fquodq n66MYpf7PkT4rexXud4vI+gCoQ== X-Google-Smtp-Source: ABdhPJyv8LW43+GsiZVqLEOSi1M3L5hJJEJRThEOBr7vpQZG+ssUn5LNHng4OAP8hRRbPv+xOzi9iw== X-Received: by 2002:a17:90a:67c5:: with SMTP id g5mr17544542pjm.20.1608550354292; Mon, 21 Dec 2020 03:32:34 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:b9d4:ed90:a69c:2530]) by smtp.gmail.com with ESMTPSA id 197sm16714859pgd.69.2020.12.21.03.32.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 03:32:33 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Subject: [PATCH v2 5/6] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit Date: Mon, 21 Dec 2020 17:01:50 +0530 Message-Id: <20201221113151.94515-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201221113151.94515-1-jagan@amarulasolutions.com> References: <20201221113151.94515-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201221_063236_262227_5A297CEB X-CRM114-Status: GOOD ( 13.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Will Deacon , Catalin Marinas , linux-kernel@vger.kernel.org, Jagan Teki , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, NXP Linux Team Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board from Engicam. i.Core MX8M Mini needs to mount on top of this Evaluation board for creating complete i.Core MX8M Mini EDIMM2.2 Starter Kit. Add bindings for it. Signed-off-by: Jagan Teki --- Changes for v2: - updated commit message Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index e653e0a43016..8c8f7728788d 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -669,6 +669,7 @@ properties: - beacon,imx8mm-beacon-kit # i.MX8MM Beacon Development Kit - engicam,icore-mx8mm # i.MX8MM Engicam i.Core MX8M Mini SOM - engicam,icore-mx8mm-ctouch2 # i.MX8MM Engicam i.Core MX8M Mini C.TOUCH 2.0 + - engicam,icore-mx8mm-edimm2.2 # i.MX8MM Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit - fsl,imx8mm-ddr4-evk # i.MX8MM DDR4 EVK Board - fsl,imx8mm-evk # i.MX8MM EVK Board - kontron,imx8mm-n801x-som # i.MX8MM Kontron SL (N801X) SOM From patchwork Mon Dec 21 11:31:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11984525 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73E56C433DB for ; Mon, 21 Dec 2020 11:33:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1CB7C20684 for ; Mon, 21 Dec 2020 11:33:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1CB7C20684 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yGUsEq9zxAVbMgjd2z/Bfvsmctb40ch3LxBmaYS6zC8=; b=jeQYTNAgIjnMoOeKh+XxLk2ad OHC9tuDhdsmI9S+WvTr0YVfscGfg1vf7gRj09XP0CsxPeWI0b5G6Z7SE3COCnVl5BDKcdvRinKuLK B0Hc5puQAlMKk1EFjOkPlnW3tMj11uU0hUPDq2rmT83xuGjTWfI3w/rp0OyYqCk/2Edtyia0GewfI aGlu3jIoQHnMrHjRo5+Cwa6AWN+Xg8df9+7nTKe6aXwpZBh5DW6JjLG9Ci8graMVJChxn4AnY4THQ ZpbXgESUEEcml2OpOEk0wWsvHfbOb1tfVlXiSRd5JgkeXUJZQNa900S8ZtPn//bbzO3GbnTQeS0/m z9iPIDzng==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQk-0000gc-Dr; Mon, 21 Dec 2020 11:32:46 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1krJQf-0000f2-Qm for linux-arm-kernel@lists.infradead.org; Mon, 21 Dec 2020 11:32:43 +0000 Received: by mail-pl1-x62b.google.com with SMTP id be12so5468102plb.4 for ; Mon, 21 Dec 2020 03:32:41 -0800 (PST) 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:content-transfer-encoding; bh=VePJY0a6rjDmZpfDR0wNpF7s+xv1D864zlJ9ZXiy38M=; b=lQP3ku+VS8Ub5R3eHsUKnDTf6y6tkJ9QGLGUKnQGyDDD+LzcSWc7EFJJR7ngNK7a0P xR8Km5alOacfGVFdfwd8ICx1HcBOu0flXmW7O3uDKGtWCOjEjmTCv1WLiRFy861N6JUT V5mG4Bj/msFHk+fD62R0i5HLDze0J/I+VkGN4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VePJY0a6rjDmZpfDR0wNpF7s+xv1D864zlJ9ZXiy38M=; b=oFokg++7bdj7JIj5l7NIlsp85AsG9+0dKHtzGbmqSFqORtTmWp5htTUL4if4CcMfYc Sl/JFgNmLM+grfi89nq2tMNuZnowxVnao9pwZdP8xndcC0/ERnce/CHhRRouUtAk16Kx 9guCyWMacJL0FpVP5Gl3eGvVdnnBOtzuGO8as+RvSxj5qw07ncEvoJyPD6E7dzgDRhGH kFxJGXvpY8n/VX7nMLV2s1J0Y6CmfCjCmMjEFKvGv4/745QfyJSGV1H9QoAd1KSdIthq sNWepYrXmD7WbVe5T+0CxrEdrAMrqLEBzHszwv1MQ7fB/4dqvX8Mg8+tZ/vVY4fVr2hS XLzg== X-Gm-Message-State: AOAM532QkgAN3b6erRLdA/3QCkm/ty8GOQNwc/vVrta/SNOzG+f/arVf 2OXg/1Q/aK9/xR9C2/Wy61fntF13HBhgIvM5 X-Google-Smtp-Source: ABdhPJwhYAmdPJGgNmoDuDgkqJ6x8f16wYpwZmSMEoA9rVYpI8VRDTwU/7fhVjYJ0kDvp5LUGqRKKg== X-Received: by 2002:a17:90b:19d2:: with SMTP id nm18mr17477538pjb.159.1608550359687; Mon, 21 Dec 2020 03:32:39 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:b9d4:ed90:a69c:2530]) by smtp.gmail.com with ESMTPSA id 197sm16714859pgd.69.2020.12.21.03.32.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 03:32:39 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Subject: [PATCH v2 6/6] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit Date: Mon, 21 Dec 2020 17:01:51 +0530 Message-Id: <20201221113151.94515-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201221113151.94515-1-jagan@amarulasolutions.com> References: <20201221113151.94515-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201221_063241_919539_D434EE17 X-CRM114-Status: GOOD ( 19.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matteo Lisi , Will Deacon , Catalin Marinas , linux-kernel@vger.kernel.org, Jagan Teki , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, NXP Linux Team Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 - Mini PCIe - MIPI CSI - 2x CAN - Audio Out i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. i.Core MX8M Mini needs to mount on top of this Evaluation board for creating complete i.Core MX8M Mini EDIMM2.2 Starter Kit. PCIe, DSI, CSI nodes will add it into imx8mm-engicam-edimm2.2.dtsi once Mainline Linux supported. Add support for it. Signed-off-by: Matteo Lisi Signed-off-by: Jagan Teki --- Changes for v2: - updated commit message - dropped engicam from filename since it aligned with imx6 engicam dts files naming conventions. arch/arm64/boot/dts/freescale/Makefile | 1 + .../freescale/imx8mm-engicam-edimm2.2.dtsi | 7 +++++++ .../freescale/imx8mm-icore-mx8mm-edimm2.2.dts | 21 +++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 8d49a2c74604..43783076f856 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -33,6 +33,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-ctouch2.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-edimm2.2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi new file mode 100644 index 000000000000..294df07289a2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +#include "imx8mm-engicam-common.dtsi" diff --git a/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts new file mode 100644 index 000000000000..672aee1800c4 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 NXP + * Copyright (c) 2019 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "imx8mm.dtsi" +#include "imx8mm-engicam-edimm2.2.dtsi" +#include "imx8mm-icore-mx8mm.dtsi" + +/ { + model = "Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit"; + compatible = "engicam,icore-mx8mm-edimm2.2", "engicam,icore-mx8mm", + "fsl,imx8mm"; + + chosen { + stdout-path = &uart2; + }; +};