From patchwork Fri Feb 26 07:02:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1647 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 92F023F096 for ; Fri, 26 Feb 2021 08:03:38 +0100 (CET) Received: by mail-pj1-f72.google.com with SMTP id w34sf2919511pjj.7 for ; Thu, 25 Feb 2021 23:03:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614323017; cv=pass; d=google.com; s=arc-20160816; b=fiHeQI5MDhKNgsCduonHENQwJ8eOlrJD4dhzz0SBxFnQjOJPvbFUQf/4DA7d5oKhFr J5rAfZFqLro8Pq+JuN8EaQNXF9Q9BoJhu0VgqmCZ72Lfpb9wJ9avYAjMyYAP02W5jxnw mo0ZmOodIlYDCL76Vs1ltIEyAVMjZIAZfPz5k/YrQFAL4220H9xh6EN+O/9quygOgRLT lV+K6wtFE+udTI1VYI/hHlMViTosvMDdHtcBivfb9t8RnrS+Pv6RLofM28go06Df7xsk oZY2vD/i4tBhacUTVpCeAF1p+WBdWv/a4pt0/34+zKw/pTPf81y6kY/Z/UnGesbdtCsF O0wg== 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=7iWxFW4WOpn3WjqiGXFyeW2ZGsdegojscbWyR2icBxU=; b=V0O1y1t0to6CfMUDUF/z6QN5tLWOOfxz66Qd2635vSPP3uRCaTtFMmxZtuOyoVMrP9 370cVyfD6alk+2dSwnyT0iY2CZFMGuj4f0bOf3OIbsd1TRLXivLzyf5pERy9pJcDs8Im 0BFYzWVk3oR7IUqx9thjUjNHpHPzzVqWlUt9SKPoDThEXF24qF/x2H4o5B2KyVz/G184 iiGgjzhXP01NalAUJdMsRbJEn//knAbTrLlwksRRpFjE0qIOSs6mUEd/WLHTuBAXQLmc NOx+fg7EUYtpC03h5Ry2QnRS3eDmegC4sDDh8Vel1Ghf7fIZ4u+lUpVvxOTrBRJrgTjR lmpw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=FNecKmCR; 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=7iWxFW4WOpn3WjqiGXFyeW2ZGsdegojscbWyR2icBxU=; b=Msw+2MLZ49MRJ6kYBN1kZuy5poRILlPUCsqSmvVtI0FZB5CMhoZoWHNXu7nznfJRuT YCfq2HuWkZAraCeetk1QnQINP+iLBpUtskJzgVohy/i9uxc12wzb1jlpPmwUGBGSrcVY 8OtZprgvPAQ4thnKiXSw5TuMbUn3QJfOVDczg= 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=7iWxFW4WOpn3WjqiGXFyeW2ZGsdegojscbWyR2icBxU=; b=kdyMsl2/8PLdZ+8WkKCmv1hTa916bTcK+7SSXzIuwSgNsV94FdcuCc3N0Au3iIMyUc iCM1WNJpX4jPDk4TB4kgnO+AVNBk2KHjzVJP4xOLL9h8WY9dQ1LIJHQYXxkazrGWF9jB fUsOKqOMzWDJ5b2wogjyGDmq5c5NWhju1e1SORmJ7ynFGegc9VQ8mm8cMpZ5L6NlSyRI Jooj3Bl6pkcXydVEqREepC2hPCm/uoqsVWsGxIrdQSLyj9usZ1B6/fXv4JpIwYWZEVJZ yxb50soPhV4wYbKf434azUIh1Rdgd4PprCw0Jh65br6RQSjWLUFete/B0BUN8qcnI3YO HiDw== X-Gm-Message-State: AOAM533tPsIbczuWppkRZ0xEeZEPxQvmm8Bx4INlJZgge+MfH3rS497I xlsI1Fb5IVQGo++zgOILiesQkI1n X-Google-Smtp-Source: ABdhPJxG5t6VQ+mjytD8fQDMAdaXuzPDOC/+bI4xZPrvyhjfyxuG3f9CO4Gj993fuwY3D1fqBDsX1A== X-Received: by 2002:a17:90b:4b0f:: with SMTP id lx15mr1967533pjb.183.1614323017382; Thu, 25 Feb 2021 23:03:37 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6a11:: with SMTP id m17ls3241472pgu.6.gmail; Thu, 25 Feb 2021 23:03:36 -0800 (PST) X-Received: by 2002:a05:6a00:1681:b029:1ec:c756:7ec3 with SMTP id k1-20020a056a001681b02901ecc7567ec3mr1866573pfc.13.1614323016632; Thu, 25 Feb 2021 23:03:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614323016; cv=none; d=google.com; s=arc-20160816; b=HGolyYEGRkFuLxwBn1BCaZDq8c5ZhlROZFBS93mIyT+7LGyWx3F44BZhHAwZWooX+c +UsAWShAqEOIlT9PEcLLRkPbr+fDzNV6vFpX/RNaWW4DhyAbJtSwdpKgDkFbl8vGOLOe 9psLBapTArXuXlgkbwYzZaERvmsweID68XXJ8fnchnfDr77JxIE/ld4gTuU4OduVzAmk FAmcOFGPoZtfttaqui8i+HvvCZiozXSuGImzpWTqyJo2AH/uifI0G/jx8ccwe44uinDL D5TAExLcANkNVV2Hv4ZigbqbnH7NumbTGyAZWTkDuBvqqxt5IaJ7vbmgYjSN4jVAE21/ zAkA== 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=YGbkBiQEwVmIlJYtQZ8Wl6euLdItu5AR/MYKYomvVSs=; b=g3XiVrGF2I7nQCzFNoUpgWHpvbk9iv/XBMv3DokmHF/m3zsEsc8nS2+xvbkKg+4kmJ 6uH0uMjvhgWFM2jfBkDqTR/41cmlP5Jesw6hXkaV4revDHOlyfvT0xJHi0BEo4TNjV2q vBq0R8OwAgswP6N5PKVGXVgpKLhncpfeqBo/ZVDDqypCvPxoUmllkTRblF9kNN50uPYC OB0UEJ70Mb5sZWwWeZS0sSxP6rN6lC2yGyVMbXANuknqC3oCHVSTpfhkJfBc7NI5YzFa WuT1MaYeVp7shfjfznLAK6nXZvECN6pHkyjxQr5oDy3bixehpG1J0hP12XW8X8I2j3MV h5dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=FNecKmCR; 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 d21sor4767267pls.65.2021.02.25.23.03.36 for (Google Transport Security); Thu, 25 Feb 2021 23:03:36 -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:a412:b029:db:cf5a:8427 with SMTP id p18-20020a170902a412b02900dbcf5a8427mr1992430plq.48.1614323016398; Thu, 25 Feb 2021 23:03:36 -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.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 23:03:36 -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 v2 03/10] ARM: dts: stm32: Add Engicam MicroGEA STM32MP1 MicroDev 2.0 board Date: Fri, 26 Feb 2021 12:32:57 +0530 Message-Id: <20210226070304.8028-4-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=FNecKmCR; 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 --- 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"; +};