From patchwork Wed Dec 2 12:12:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11945883 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=-18.2 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 CA6E0C64E90 for ; Wed, 2 Dec 2020 12:14: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 598BB2222A for ; Wed, 2 Dec 2020 12:14:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 598BB2222A 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=3H5fgIM1zUPbej7FSqc9PGmBfNV71NvXczofgHKKwck=; b=vk5nHh9bxL5HArc6PcUOUqosU 0p8/SsXwjHQ6n+EP4L9GACeBSMskDQUxGXIQS3lWCSSaY7oy89lqWtj7z4RVr6qrXBuO8O/JWdPie ErEoqWNuF70Ujzk2OO18j4wOmJem19KeteEzQ8GS+Dq0M8R88/1xJgPuugIQe1llvHMsPwlMIH4cN SrsfPWFn4ARLKj2Y+gRf+Bb5OvxRcwxfWGY/ks6Lf/nR9R9GQ6V/evf8IuVbNjU22Azw3OmbdtnEJ 2wAMKwg9AyGDbxJdm7vAMXX43aAzxEedgqhsk+Jp+u4B1XcaWegFEsIkUeovTQJGOk1poNVk6bNjc GKWEb5rCw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkR0c-0002R8-D5; Wed, 02 Dec 2020 12:13:22 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkR0a-0002QP-GQ for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2020 12:13:21 +0000 Received: by mail-pj1-x1036.google.com with SMTP id e5so916421pjt.0 for ; Wed, 02 Dec 2020 04:13: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=mufF4hRgH4PDLGAGuI3iYOURtYD7y9AqiPoup7RwkJ8=; b=NmR75SXgoGoeKXN8n3vLL4WGPGcjQOXDjUZ0KyejZtTABMoXFiCIdliRBV9v7HehY5 qe+Lmr42/pQhIWGTE5x55FMFWYO0AEh3Tz/VGLEUUK0AaHSJCMlo8iKjz9Az8yYHQoql 6VjWi/fID1/alaq7Ty5qOWLEOrHF0aAh8wQs8= 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=mufF4hRgH4PDLGAGuI3iYOURtYD7y9AqiPoup7RwkJ8=; b=Q5NPk70H2EReTM64iyQxKddLP1yD3zCmiUKTnc9FyJcYorOqqHIZcXQacop1WLOKd9 /yEwIy4ScpR3WiohLdCqGz5gG2CWDovZwGmnnHGB8LAv7VYM9gMOh39DWqA/355b0K94 xRMQH9FbKlPAxgHx5o/wcBACqjAYIe3WbZNo0qa5uVWnTC//sl43xZeACvAjWanhKuDO fFXkIsKKlGR+MHS2IjHgDiRrUAODLdSpKEkIK0iwX7B+v2hrb0x7IwHfTgzu5PvcvzFU NkhbJprMxh+NcCnMBl0+iwFqAu5aVbV1fV0HI+E2R7izn1tRJlebZ4IyUrU02CyUUiG2 hgeg== X-Gm-Message-State: AOAM5330RUiveklnJ/p0rP7AXfQn/R7uEOAr64GF2Q6uks9cINu2upgT ozgqTlQvw3eqeC6PoNOQCqyO7Q== X-Google-Smtp-Source: ABdhPJwcB8XUFxscy78aQv3HGd9roxpS/vsoa5gr3WXBx6vXc6k/DyrYN52BS9HBdgtR6kENYcr0RA== X-Received: by 2002:a17:902:b717:b029:d9:e816:fd0b with SMTP id d23-20020a170902b717b02900d9e816fd0bmr2327604pls.50.1606911198101; Wed, 02 Dec 2020 04:13:18 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:fd53:e9ba:b313:1b1d]) by smtp.gmail.com with ESMTPSA id b37sm1951315pgl.31.2020.12.02.04.13.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 04:13:17 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam Subject: [PATCH 03/10] arm64: dts: imx: Add Engicam EDIMM2.2 Starter Kit Date: Wed, 2 Dec 2020 17:42:34 +0530 Message-Id: <20201202121241.109952-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201202121241.109952-1-jagan@amarulasolutions.com> References: <20201202121241.109952-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201202_071320_575422_AD2BBEDB X-CRM114-Status: GOOD ( 16.52 ) 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 , linux-kernel@vger.kernel.org, NXP Linux Team , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, Jagan Teki 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 SOM's like 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 support for it. Signed-off-by: Matteo Lisi Signed-off-by: Jagan Teki --- .../dts/freescale/imx8mm-engicam-common.dtsi | 24 +++++++++++++++++++ .../freescale/imx8mm-engicam-edimm2.2.dtsi | 7 ++++++ 2 files changed, 31 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-engicam-common.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi 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..67c1a3fe26bc --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-engicam-common.dtsi @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +&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-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"