From patchwork Fri Feb 26 07:03:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1654 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9D7F23F096 for ; Fri, 26 Feb 2021 08:04:06 +0100 (CET) Received: by mail-pf1-f199.google.com with SMTP id r6sf6044458pfg.7 for ; Thu, 25 Feb 2021 23:04:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614323045; cv=pass; d=google.com; s=arc-20160816; b=vBtd0MqgXs7rr0CkWG3xl3ZwNB/H6o1uaJDqDkJi8xYH1L5qImbr6OGyL1dkAZ5CEK igQbTfjkzaHEUDizW9dM2ZQBP12JNkrzMBx75Rg5Nth7mh645I3KtvQM8VIFYlt4LGXg w67mH9Aetv8Sm4Osu9VA4H+O30bPQ7fdgGdLSfdaWPd+DqFuVmen5VOROyaLw3kuXIMY 221zGo9z3c6Z2PztJv6uok14F81wK1sRYUcuRfhVG5eiId3uWAKrzy78jMxDnRLhxQs1 YJMvsEcJqTd6bAT/YnUHskyUgHDc5hvvPJyFc2MFK6gRrAQEf3mJEQLsJcNgpW/DkQEx fxcg== 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=jOS1Qw6JDUukYLOqcT3IXX9Vcwumr7nnYUuW9yZQFA8=; b=gKCOGHmMQmYw9XMHDqpF4i99zzWd/t0qfoF7D0aAb5lQx3FHFNAvAIg2WBxEZZ3R09 61lTCXxU3mai7ODIpGkuDZpfaor5hKP3ry+EFkry7kCf+ouB/nBFWUx/GT+63Cb5yWYg oheMKGUhuw2XYRPUVCCXQ83Df834IGYKttfc6uJcEyS/UNBhRAxMv81k+sDMl4OzEqkV 7Dr3rUf1C72VieEEcBBrB5yKosYxpamu2WxWjFmZc86gpQs5aPOS6gp5k85T8EKRqm5+ 45IDMn5DVIhmz09aU8qV/6JMUbqr65wOW1hpC62yk2JCSTzCuN7mENWsbBp/XKXWzOBw uFjg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nIpDZ8tO; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@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=jOS1Qw6JDUukYLOqcT3IXX9Vcwumr7nnYUuW9yZQFA8=; b=XEYV852e11WnQYcvOfSsWBBaI3jAc9QNKAErWPxwwxdysL7Rz2XDc58IizirKGSghh QuVRLTUOc5NZP/EJ0MYE/DRZBVNUiXI2nnLiXwPj+Z2N2EByocZfspoefltezJyRLpO+ xmIv4S0JktEiwu54hGnS23iFDqbtM4SJPb91s= 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: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=jOS1Qw6JDUukYLOqcT3IXX9Vcwumr7nnYUuW9yZQFA8=; b=ioMx1HrHYqC3ARcYLmzx50GPtwX2J75HmIFfWjlOOzEJ3GzIILv3DUWhbfFZcDvo/x ACv2lXAnXPpHVT0GZnvw8sL2qniCQFqXoLp8QBVcqxwtB6ndE+4xCMkA9CriGpB4rO12 Vcb4iAOggyCPHOoPg36mDXuOKiAtf3ux3DEQPUVBHcEBO8KhNeODOrKJW690zmEUBaFS OEpN4tnGG82jCM960Y4OAXmmaNifUoZRDMyiK6QaltnEBpYkxanRBKPTHkTNpJqqMirN fVCdDzCwL2TEGnFJ6pzq+htYkSj7I1lxFAEVe58/7HVd5QttGft1oq0Bpe7hmCrqoEhk zH8Q== X-Gm-Message-State: AOAM531qauZL+nYidshBN8XZzXfc9E0qJGqWli4YmMw6c3ylrmHabtYo mNNZEYzs1/Wo9nSimeSOQbhm35iE X-Google-Smtp-Source: ABdhPJy/xbbe+2EIakRWVebWHY2CbTHZLL3Y4WM16D6jW0FmhXqTadIhlYvK4OQS9s0IzRWJHbxJKA== X-Received: by 2002:aa7:9298:0:b029:1ed:fd64:e6b7 with SMTP id j24-20020aa792980000b02901edfd64e6b7mr1781174pfa.5.1614323045468; Thu, 25 Feb 2021 23:04:05 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:15c8:: with SMTP id o8ls3573420pfu.8.gmail; Thu, 25 Feb 2021 23:04:05 -0800 (PST) X-Received: by 2002:a62:8051:0:b029:1ed:d704:1f11 with SMTP id j78-20020a6280510000b02901edd7041f11mr1908120pfd.41.1614323044785; Thu, 25 Feb 2021 23:04:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614323044; cv=none; d=google.com; s=arc-20160816; b=WKlaDJnkb8uxvAWHEOdQR4z6cJBnr8shQFE5PKCBYQKPvUFZoW2xxuLeZ63+aDsm6O dphNrX+OZec7ymq+lLMfqrQsZaOLXYBl0/qc7ibVyjsTT+mlS/vDtYXCLV1JtFATLxih NnLX2ynbArJeFAwiXaArg2qkjKvjDY90jTInHe5MPlwpJwF0dnLASn2W8+7+7YzBjOfe e0zp1xs3Dba1m8KarFPz4fgSBBhpGUNaxrcuUVi1DaZVqtNZf22BuneTJWEULIW9FH8w pzU4XWfG5yQuag8CEW52JLA6mCIEuDhz1tM73vB74x7h428NOvbEqLCajZksqwuWfhfa 39Pw== 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=5U1R57iUzcqsiCzZID2E6Jy3D2YQo5NR8w1jPRJAV0w=; b=oTd6Bj/1+hgI/6SfbZKkcjozsiUphS1Z/FpZqkpPMK/reOFYhtLn1F/rEUX2xzqmyG +MAfbOkrGxeI7jfBv9aYgbvDuwYTMPnDOMlydkxp3vEEqgnMBXPT0D4Ty7jCCIGhHzcT OmUlZQ6Upgi3Ttzz2tpb87UEfwfv950kxVsXMRtxFJO0Tzx6FPDEstgltJ7R/XqzUnNH u1uUD+LHNzGbQTBtxpBva70YdZUTlvUUtAkfHzDk6u2bwx6qFxl6LZuvKRCEu13iDnVb AeWm4300bJTOfrEyrS0vLqOWpucMwDRG6+rNUdfPUTMLNEBw5HUEixaY5L1RgbKKHVFr jE4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nIpDZ8tO; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@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 q20sor3946857pgk.19.2021.02.25.23.04.04 for (Google Transport Security); Thu, 25 Feb 2021 23:04:04 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:5904:: with SMTP id n4mr1714381pgb.446.1614323044468; Thu, 25 Feb 2021 23:04:04 -0800 (PST) Received: from ub-XPS-13-9350.domain.name ([103.161.30.220]) by smtp.gmail.com with ESMTPSA id f7sm7592156pjh.45.2021.02.25.23.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 23:04:04 -0800 (PST) From: Jagan Teki To: Maxime Coquelin , Alexandre Torgue , Rob Herring Cc: devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 10/10] ARM: dts: stm32: Add Engicam i.Core STM32MP1 EDIMM2.2 Starter Kit Date: Fri, 26 Feb 2021 12:33:04 +0530 Message-Id: <20210226070304.8028-11-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210226070304.8028-1-jagan@amarulasolutions.com> References: <20210226070304.8028-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nIpDZ8tO; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@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 - Mini PCIe - MIPI CSI - 2x CAN - Audio Out i.Core STM32MP1 is an EDIMM SoM based on STM32MP157A from Engicam. i.Core STM32MP1 needs to mount on top of this Evaluation board for creating complete i.Core STM32MP1 EDIMM2.2 Starter Kit. Add support for it. Signed-off-by: Jagan Teki --- Changes for v2: - new patch arch/arm/boot/dts/Makefile | 1 + .../stm32mp157a-icore-stm32mp1-edimm2.2.dts | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 6dc39bddaf7e..e86c46d7ca66 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1074,6 +1074,7 @@ dtb-$(CONFIG_ARCH_STM32) += \ stm32mp157a-microgea-stm32mp1-microdev2.0.dtb \ stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dtb \ stm32mp157a-icore-stm32mp1-ctouch2.dtb \ + stm32mp157a-icore-stm32mp1-edimm2.2.dtb \ stm32mp157a-stinger96.dtb \ stm32mp157c-dhcom-pdk2.dtb \ stm32mp157c-dhcom-picoitx.dtb \ diff --git a/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts new file mode 100644 index 000000000000..ec9f1d1cd50f --- /dev/null +++ b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (c) STMicroelectronics 2019 - All Rights Reserved + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutons(India) + */ + +/dts-v1/; +#include "stm32mp157.dtsi" +#include "stm32mp157a-icore-stm32mp1.dtsi" +#include "stm32mp15-pinctrl.dtsi" +#include "stm32mp15xxaa-pinctrl.dtsi" +#include + +/ { + model = "Engicam i.Core STM32MP1 EDIMM2.2 Starter Kit"; + compatible = "engicam,icore-stm32mp1-edimm2.2", + "engicam,icore-stm32mp1", "st,stm32mp157"; + + aliases { + serial0 = &uart4; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&sdmmc1 { + bus-width = <4>; + disable-wp; + pinctrl-names = "default", "opendrain", "sleep"; + pinctrl-0 = <&sdmmc1_b4_pins_a>; + pinctrl-1 = <&sdmmc1_b4_od_pins_a>; + pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; + st,neg-edge; + vmmc-supply = <&v3v3>; + status = "okay"; +}; + +&uart4 { + pinctrl-names = "default", "sleep", "idle"; + pinctrl-0 = <&uart4_pins_a>; + pinctrl-1 = <&uart4_sleep_pins_a>; + pinctrl-2 = <&uart4_idle_pins_a>; + status = "okay"; +};