From patchwork Sun Feb 28 15:43:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1664 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F13083F069 for ; Sun, 28 Feb 2021 16:43:56 +0100 (CET) Received: by mail-pj1-f72.google.com with SMTP id e11sf9836653pjj.8 for ; Sun, 28 Feb 2021 07:43:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614527035; cv=pass; d=google.com; s=arc-20160816; b=GZAPufsgLvMli1qq3IKM7g0TgOkr9lC0eBxPUpdBcXgEbsWftSxl9kdAOMdEBA8n87 5IjoIikubT2hiQnN4krdFrmE5LNPCznTyy2ZI/llFvMAHLyRRZaJUzGFuX9bDO4bRNXv iBD6QSLipV2oxuCmIfZbidJCTCTmx80hEbMfAM9l/ZoLFmo02HK7WHBz7ONXnCIW/JlJ BbQ0Ezz4IVhuY/yciRBcntYYBkvvl5QkI1DseiLSC/+9FVINtcmFqLI1vrc9D/4QJb4b 9I3ssfXZXZ2yM2oZf0FtOH26dxBjvJUoZllK64pffrbuQpX4EJ/DUoQWulASUZhr4bBg OKQA== 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=9piKfdxOh/Q31vO6oi03LE2FXLsoIkIwHie6ncfi5xI=; b=jfr6eJkkOWqUlV/VpB+w6q73XxSRgAFFzKLujhzEi0EZNZ7kBUpCTlVMqhOG8zqsKA bnsk/Aa5PEZmlkag4I3i1SiaY7hRTNxdfYUl++hzbxvHTcDH2p2kBy6LdOatuYvrsOOX F6k3w6hNlKFg+5FpARc37vXTNntUJdyc8/ivgPJF9IrTIcXsqJIAzmQ3hgI774xTKlu+ t5VetKp9TrQ3V7vCPDi3tkQyx9wWn3q/vUwK6S3CGx1AYG+QHm0GtxkcJOR195HHKEGs NHwcWyHyOM8KUlqy8PaQ//N9v77tCYqGtBGXUP3/2M30e/5mbGdrisNkxdqcQn1NaP8J cZQw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HZ3gg9Da; 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=9piKfdxOh/Q31vO6oi03LE2FXLsoIkIwHie6ncfi5xI=; b=dXqonhwu29WC9vF4AwiAVJo8jmr9cznX3V7enGuuaBdJZj2jNZKuFWuA8b6tjSmjwW DqAe5nSoDYtyMyv4+AcHvHwsfWv3AOH63ZuqLdueRUxz0Ylhrtk/un7nwzdjYa0dJTi7 KQWiGzuBu4lrRPE/Er4DcLl2YR/TQCCI0QFfg= 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=9piKfdxOh/Q31vO6oi03LE2FXLsoIkIwHie6ncfi5xI=; b=JsN9gllN3ITPl3QohzdqxXU1I5sdX5fguR4h/8mzB/RYBzkZFVMXYwH3Urd3m+Is8G 2T6laVA0gdQon1of/Zzn3D3PVVwMmj6krxGr+Y3h6cKi7/sS4Q7u5ZxBGaDwKmrUvFfu G98UFkxJ5u8hEGv8PPucbIaCvwabz2yGNqp2bAcalCNHUwovsfksN95EsXmjlAXl6sIA TNWIW5ZTMvWI1f6BVdqAxJBGUE6mP0Rw7tKCtoUnjw/gZeAoLmfCSuebfzDjVWlIeejM O6J4JvpHoFXswgA1LgpPIhJqBkZmvVYErHw/XpVPlA2UrBeMMtktumCSKnigkKQT8VgC OJNA== X-Gm-Message-State: AOAM533iceIZWV032xxVFP2ki2sCrBra5BPp/4oJC8Cy6bQwi5eVYUWC gwRdQgw2QB2Qcr9PvwaDzB8yGWhi X-Google-Smtp-Source: ABdhPJyDn7KypQ2genbasgeUQWlk512v4m7PY0pBMFx8b5wY3Rk3aSKIiWJBa0aReKJDnYwFBKTn2A== X-Received: by 2002:a63:e812:: with SMTP id s18mr933914pgh.148.1614527035796; Sun, 28 Feb 2021 07:43:55 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8a52:: with SMTP id n18ls5880431pfa.9.gmail; Sun, 28 Feb 2021 07:43:55 -0800 (PST) X-Received: by 2002:a62:b50d:0:b029:1ed:c0d:3778 with SMTP id y13-20020a62b50d0000b02901ed0c0d3778mr11637084pfe.72.1614527035169; Sun, 28 Feb 2021 07:43:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614527035; cv=none; d=google.com; s=arc-20160816; b=uNvHiDRfxI2486yo1ErouTOs+TlZ6AvWHBwGxn5igWRZ3TwazEnnF3I68uKpHT1ie5 6bVkp2DG6Aj1IqHH5GDlMAfXb/F1A4zvfVsTsI2XSV+Ns7pzdzfhYZeFTSN+tf6JUr5J W5tPgjrLDlQ7JX16WKh1zP+51XUzWHGtsQt/g3dgOH0XcEfUCYEPbc5SWD7n8c4QJ9Mh ohU2eY51fPQNhnoTsloY8TK07Q//40Zxb2fBzCpn9O46HswqH8jTDESxC9R+dzMYEc9d 8eoEIoY+Clfpe67uOuyqlf8vog9YJF9HFQuZzJJXI2LtoQ75veNVV1U2RZ8E3SIRnGeg K5wg== 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=I6WSIYsNrAru6Z+XvtGV79Wwrq0QV1p1Ln5wNYNQ8b0=; b=LmzQyrLVgIxDz3JuQM6mQn5zxgg3EKkI626BJXRUf6xqGkV37/PZXPwquZ3XQabbSp PV8/Br2wxHu4sboSPzZNZyM+dgmrq45tK7MdKKQ4pLg9EC8wOoukYk6w70Bu4FjVIm4U jdQqzfxgFOHoG4Iuf2phDfgJr8gD7CbI9FqAx+CIwA32aynXDD4lAzAouzo2CkWKy2iS ykahbOP/Sx/DtgcTPSeAUq7HBE+8bPag9G4Krnpagm8mO7dLsTw+oj2uHj6sV6sApuD5 aZeilOoqSkrMANIFENAcCiTK4qa6a89+oioKm98ssB0hdpM3YnuwFxrJxk2AH7bNRuQd 3jiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HZ3gg9Da; 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 p4sor8220427pld.31.2021.02.28.07.43.55 for (Google Transport Security); Sun, 28 Feb 2021 07:43:55 -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:a17:902:b410:b029:e3:284e:4e0b with SMTP id x16-20020a170902b410b02900e3284e4e0bmr11992151plr.33.1614527034961; Sun, 28 Feb 2021 07:43:54 -0800 (PST) Received: from ub-XPS-13-9350.domain.name ([103.161.30.225]) by smtp.gmail.com with ESMTPSA id j3sm13522133pgk.24.2021.02.28.07.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Feb 2021 07:43:54 -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 v3 03/10] ARM: dts: stm32: Add Engicam MicroGEA STM32MP1 MicroDev 2.0 board Date: Sun, 28 Feb 2021 21:13:16 +0530 Message-Id: <20210228154323.76911-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210228154323.76911-1-jagan@amarulasolutions.com> References: <20210228154323.76911-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=HZ3gg9Da; 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 a STM32MP157A based Micro SoM. 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 --- Changes for v3: - updated commit message Changes for v2: - don't create carrier board dtsi, add it in final dts. arch/arm/boot/dts/Makefile | 1 + ...32mp157a-microgea-stm32mp1-microdev2.0.dts | 55 +++++++++++++++++++ 2 files changed, 56 insertions(+) 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-microgea-stm32mp1-microdev2.0.dts b/arch/arm/boot/dts/stm32mp157a-microgea-stm32mp1-microdev2.0.dts new file mode 100644 index 000000000000..7a75868164dc --- /dev/null +++ b/arch/arm/boot/dts/stm32mp157a-microgea-stm32mp1-microdev2.0.dts @@ -0,0 +1,55 @@ +// 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-microgea-stm32mp1.dtsi" +#include "stm32mp15-pinctrl.dtsi" +#include "stm32mp15xxaa-pinctrl.dtsi" +#include + +/ { + model = "Engicam MicroGEA STM32MP1 MicroDev 2.0 Carrier Board"; + compatible = "engicam,microgea-stm32mp1-microdev2.0", + "engicam,microgea-stm32mp1", "st,stm32mp157"; + + aliases { + serial0 = &uart4; + serial1 = &uart8; + }; + + 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 = <&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"; +};