Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp6027256pxu; Wed, 23 Dec 2020 11:20:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwo+9BveewM955pWzV9OGER7hVHUs+52Zcg3BFxwlwLKE/EwKbpvyaGtYdGWG3t2J6Co50w X-Received: by 2002:a17:906:2da:: with SMTP id 26mr19535691ejk.15.1608751207482; Wed, 23 Dec 2020 11:20:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608751207; cv=none; d=google.com; s=arc-20160816; b=MMgPK8OMC3a2bhKHFS+t+t86fLJdmjqdDD4GJRlDSMzfnIotfUWbS5rxnp1bQmgiey ajFHkDye7C1jk6BEM+A9C2bFy3jl/kDU6lsrlaFJPjOr7i0sxvjrsGGNrYmTLm/lnvt/ CQEydHZik+cWjhCWRl0OlD4V2EzQ7YbpMH5j1boEE1ZcdvdLiBMNuN7ebsugR3DX0imz D+k+CPS6xompbjYQU0ql4v57FhqBJ9p5ZBYY6uDVwfe0OWlCEtVOw7fteiAWXQO8W0sz B1wRoQWZQVZbz8vFLRLgldhVeZkv4GDGfWijijRtE+zM/YBxM+18oiWXslofgd2sTpjm HhiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Qhp6q+QBdG1WW7qenApuL0xvi4ljbicDcoMAKnT28Zc=; b=UOgTQoQFu7aycOufMattbxbHvFc3cNBydowyNL/JYlJOknf3bGBfWPJn1XHRB10Zbb vusO2ccCB3CvOmeDDCcHHSaJFVwWstmxoXcDZCosgG9i0YMfSOzLlLMT6HCB2q1nfeUs Rbmtk2rA+JmLP6jIjkmezK4cgAlDMpOZQGbkpOZeO529QJb/1W6V0ZuB9gm+VLu7Q2qR t129sJhwtHWpvOxcpltgoARqy0PhRFJIfZ8el8rFsYHUdhseWD8CtXCpNjSq4I1pTd3R PXvgrPVibBILR3BOmBiydK48fpuxgKAh+1qFlSET5tFWngSzIk0gPgEPQqcvqT4tRm8n gX9w== 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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si11993454ejx.708.2020.12.23.11.19.45; Wed, 23 Dec 2020 11:20:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BKd0gmya; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726384AbgLWTRd (ORCPT + 99 others); Wed, 23 Dec 2020 14:17:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727198AbgLWTRd (ORCPT ); Wed, 23 Dec 2020 14:17:33 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24D91C061282 for ; Wed, 23 Dec 2020 11:16:53 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id x126so10893440pfc.7 for ; Wed, 23 Dec 2020 11:16:53 -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=Qhp6q+QBdG1WW7qenApuL0xvi4ljbicDcoMAKnT28Zc=; b=BKd0gmyaN1VGhpAPkmphgaKf0IfBekNhHWpA34wieyhk3fQpSga44Zlih2ixTE1FmY ld6F48X6b9u5CRK+9cU1HS9hVmZm5lmLoY9GZZjhzQjGguc/oH7NapcRW2hXSts+Iq+R FmdK35es4TSHG0VzfxiK7KJEBQAyI+rGVAK2A= 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=Qhp6q+QBdG1WW7qenApuL0xvi4ljbicDcoMAKnT28Zc=; b=VAF4JW7dAYuxSatjgiSZb81xOdh96nu07CL2lWLX705KIj29W+SBckLa+gaLn3jKzK 3kctREVdSq01KN4RkEQ8eTdZpAgYW+wWV93YG+kvZ7qkwyvQPZURWmtlG4+VTx2fv/gr SvZrX2AZA/4Eg4SLMUSHnyppBN/fTn009oM1uDQYTG9dRXD4Qdd7fKfkosA1AtAipyy8 ce3NzeHiO1klr1H0dBOtd39V++CW8gwaUmlkmhC0PANjScaZLPTu3rgDg6Udn5e4xZ6o SyXbc2MctOix7bEXmYLucAUTWHPYD1BQZFsf6CpOk1n2ixzvV2S1rKuzUY7Dwj98KEz5 F1VQ== X-Gm-Message-State: AOAM5304vqlC9NW4eHrYhzWTMzGJrrDLbXLRmKkHdG6A9KaR6LqtXu6B yP9wvtkxUuO/I+A4mJWcIkXRqg== 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"; + }; +}; -- 2.25.1