From patchwork Wed Dec 23 19:14:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1618 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CB2BE3F086 for ; Wed, 23 Dec 2020 20:16:54 +0100 (CET) Received: by mail-pj1-f69.google.com with SMTP id mz17sf202162pjb.5 for ; Wed, 23 Dec 2020 11:16:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608751013; cv=pass; d=google.com; s=arc-20160816; b=wk61Qbeq7BXQDD2v0uLI8ohTwkkgMDSKYLY7B9avnlviP1SqZujT2oEG57k1RUeiLc ZiOTNTYXUXDBk8xYlJDwk6eXLETA2ZYCi3VmwbXtsiMC7sfosUHkwl08xwBiQavHRQFg pjC7nScDf+RwKUV/wrQzDMVVoBi8Wi3h4ROwPVjN2+fPaVCwGQdnjsIqiCTQD0zAk9Sh qagGwaM3dTCoPNXq8fbowAVJb+ylqu5SDsFb5UmIBv9e7/cWG3QXmnGDkCXSD1DspLxb QVYTVhXbYbSTWouWn3hiXSJdBDpXdP+TRs+rv4L0+f8xvJOa4/c8TTz3k6fJDdsDoewy eTeQ== 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=7Z09YbzBPVs3mVGgqKwBIg/8HByiYn4I/ocwFbChrto=; b=M1m15LCkJfo29kIK5QyWAi9QXS8NohurSEQMh8MYEYTvekkLfmGoYsYGdfm+f37/xS rfyr0lsJRlQamRjVgMzIJJhGxp5OGzE3T560vWpHKEbSuloqXd8uS+cUn4VnU6eG8XYy /WeVjH0yZShCPIfTdCavawWz1NYpQRra2qIZS3/FKRDFRRguYjNR6jZl/2cc++YVL6FK faO92lVNYUGDW1lRYkTBWZbgN2tGTnrVQ5KAbesS7iszM6IdmPtuHAyEiECK7wun1mK7 GalzppIUMmGmVOOK+eIZ6vW2oyqWI5JRku8g4mv32tKbKgmDjXhqJ+xbNgdvnTCniXXc 3SBA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BKd0gmya; 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=7Z09YbzBPVs3mVGgqKwBIg/8HByiYn4I/ocwFbChrto=; b=GV+czC+79ydGofadneVx0OCza5+0/sqvRlIPMgUrFjRsG5KoSppBSQUR+GLZZK8nPN OcVGUE4XPDTvBGjSXr10ew4/B9Rw8KhE3kwVC4xQZlXC3DtZeyvBdIfc8LoqKCkInqoQ y/eIxaGhuUXYN496IIKc6KnUJ9f+6laKk5wWI= 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=7Z09YbzBPVs3mVGgqKwBIg/8HByiYn4I/ocwFbChrto=; b=q9a6hZGdNP1lNlPzYfXrqGLFxgXxE/E5q6zxblPfXI8UtpRUzLxlI8H8LnjY38vOU+ aFEfP2R2vHtLpLaftchuyJLbJp+UNGUpfzTL/PsHWFHqQeCmzZwysqQ0rN6eAZ1pvpmE 8j9m4NHeOY7w7e173jnu8PUSWRkTfsLYqfmZcFD0wkH5OeV5NUDq2seCe05hQ8Jotyj4 ypoHlqrp68SLfaiyf0/nrLt1BsRNoSskvNU+YTHzQrCuRjNOVkqIOijBIP+XSQQkpm3Y g9WZrFgM+juOIDPbX5u5299nNial8J9CbQp2wzymI59GyoYkip+fiYw7WOqFqedvNK1a A2kg== X-Gm-Message-State: AOAM530s6vH4CLg2zYSKR8F3OiyXWsHOTIwa3IHHr5uJ8zmONKhN/L6Z cGRC9Km4qkTqqxlH1VSkwdrF9Zc5 X-Google-Smtp-Source: ABdhPJzvEObwye+8NG7YMki1A+r7xqRzKDHCAydj59TjXuGIEgGX44TrwqK+Bf2Juw+j1ZsMuWU7Dw== X-Received: by 2002:a63:101d:: with SMTP id f29mr5687295pgl.165.1608751013626; Wed, 23 Dec 2020 11:16:53 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:7f0e:: with SMTP id a14ls5245950pfd.1.gmail; Wed, 23 Dec 2020 11:16:53 -0800 (PST) X-Received: by 2002:a63:ff4f:: with SMTP id s15mr10944933pgk.62.1608751012914; Wed, 23 Dec 2020 11:16:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608751012; cv=none; d=google.com; s=arc-20160816; b=gn+0dMJ9F+mudOTf2XKt0UPkkK7aAeZcb0eOZI9ymQrrraTqS3/kNqES9IYfAbzwt8 WHmGndW75BmRNBy/ibsY7SFhVDHju5MISehMWcVANI3yjMKF+nRlU8f5MG1b/xtsARMK cIYm6Q+Y+YfPfMOjcp0CtYJMwzY4QKMBfk8JLWVnfZYAw2LrEc1U5ccaimhtYSNg8gRa LBMTJgfNnutTDuBwg3mUhPl9awaE4RIdmFk/Oq4SaeP33gYhXCwsoa+MOCuJafsqn6Al dl8W+CZxtJiiIMX3zx+NLaE3pLXVAvX9dfm/nBDJjqSIzMdhY0QC2TYCYgsh4AoANDXN nqFg== 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=Qhp6q+QBdG1WW7qenApuL0xvi4ljbicDcoMAKnT28Zc=; b=miA1MLz5QqGVLY/qDoItYdQY97Woq9DU2NS8y30clD8oHLS6I616Xzh5nIrnG0w072 Yzw8kkcYnIgPVygPeC37hyn8Ue91sKHwqkjZB1khWJsS2miyTwB69gJDr4yGiIU5rtV5 AEHtbzqEJ6bOyVWFUga+T8e/pCx57s6fIbz2D8MjQHPcluXaU8XNPp/gn0EB5YZJ5V3+ uuDJE9OiVdDuxvZKNr+Om8VP9uuMQZAOacnlMQlPgn+fBV7vL1fM3oDdrQzlU4qlvr3k EbZbsLCJ5W8DX84DQ+hvCGA57pblnG1EVCIiWKmxLBdW2OfEHydSthVO/P7LJ+I5l88g BtAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BKd0gmya; 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 n21sor5526435pgk.64.2020.12.23.11.16.52 for (Google Transport Security); Wed, 23 Dec 2020 11:16:52 -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:1142:: with SMTP id 2mr25898480pgr.263.1608751012585; Wed, 23 Dec 2020 11:16:52 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:29f0:6e54:608c:e1b9]) by smtp.gmail.com with ESMTPSA id i2sm397640pjd.21.2020.12.23.11.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 11:16:51 -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 , Matteo Lisi , Francesco Utel , Mirko Ardinghi Subject: [PATCH 3/5] ARM: dts: stm32: Add Engicam MicroGEA STM32MP1 MicroDev 2.0 board Date: Thu, 24 Dec 2020 00:44:00 +0530 Message-Id: <20201223191402.378560-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201223191402.378560-1-jagan@amarulasolutions.com> References: <20201223191402.378560-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=BKd0gmya; 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: , MicroDev 2.0 is a general purpose miniature carrier board with CAN, LTE and LVDS panel interfaces. Genaral features: - Ethernet 10/100 - USB Type A - Audio Out - microSD - LVDS panel connector - Wifi/BT (option) - UMTS LTE with sim connector (option) MicroGEA STM32MP1 is an EDIMM SoM based on STM32MP157A from Engicam. MicroGEA STM32MP1 needs to mount on top of this MicroDev 2.0 board for creating complete MicroGEA STM32MP1 MicroDev 2.0 Carrier board. Add support for it. Signed-off-by: Matteo Lisi Signed-off-by: Francesco Utel Signed-off-by: Mirko Ardinghi Signed-off-by: Jagan Teki --- arch/arm/boot/dts/Makefile | 1 + .../dts/stm32mp157a-engicam-microdev2.0.dtsi | 44 +++++++++++++++++++ ...32mp157a-microgea-stm32mp1-microdev2.0.dts | 21 +++++++++ 3 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/stm32mp157a-engicam-microdev2.0.dtsi create mode 100644 arch/arm/boot/dts/stm32mp157a-microgea-stm32mp1-microdev2.0.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 9f9f3e49132a..b4a9cd071f99 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1071,6 +1071,7 @@ dtb-$(CONFIG_ARCH_STM32) += \ stm32mp157a-dhcor-avenger96.dtb \ stm32mp157a-dk1.dtb \ stm32mp157a-iot-box.dtb \ + stm32mp157a-microgea-stm32mp1-microdev2.0.dtb \ stm32mp157a-stinger96.dtb \ stm32mp157c-dhcom-pdk2.dtb \ stm32mp157c-dhcom-picoitx.dtb \ diff --git a/arch/arm/boot/dts/stm32mp157a-engicam-microdev2.0.dtsi b/arch/arm/boot/dts/stm32mp157a-engicam-microdev2.0.dtsi new file mode 100644 index 000000000000..a5c04eb80a99 --- /dev/null +++ b/arch/arm/boot/dts/stm32mp157a-engicam-microdev2.0.dtsi @@ -0,0 +1,44 @@ +// 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) + */ + +#include "stm32mp15-pinctrl.dtsi" +#include "stm32mp15xxaa-pinctrl.dtsi" +#include + +/ { + aliases { + serial0 = &uart4; + serial1 = &uart8; + }; +}; + +&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 = <&vdd>; + 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"; +}; + +/* J31: RS323 */ +&uart8 { + pinctrl-names = "default"; + pinctrl-0 = <&uart8_pins_a>; + status = "okay"; +}; diff --git a/arch/arm/boot/dts/stm32mp157a-microgea-stm32mp1-microdev2.0.dts b/arch/arm/boot/dts/stm32mp157a-microgea-stm32mp1-microdev2.0.dts new file mode 100644 index 000000000000..51707bfb649d --- /dev/null +++ b/arch/arm/boot/dts/stm32mp157a-microgea-stm32mp1-microdev2.0.dts @@ -0,0 +1,21 @@ +// 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-engicam-microdev2.0.dtsi" +#include "stm32mp157a-microgea-stm32mp1.dtsi" + +/ { + model = "Engicam MicroGEA STM32MP1 MicroDev 2.0 Carrier Board"; + compatible = "engicam,microgea-stm32mp1-microdev2.0", + "engicam,microgea-stm32mp1", "st,stm32mp157"; + + chosen { + stdout-path = "serial0:115200n8"; + }; +};