From patchwork Sun Feb 28 15:43:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1671 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CA7143F18C for ; Sun, 28 Feb 2021 16:44:26 +0100 (CET) Received: by mail-pg1-f199.google.com with SMTP id h6sf8308496pgg.13 for ; Sun, 28 Feb 2021 07:44:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614527065; cv=pass; d=google.com; s=arc-20160816; b=co8jmAkdTJ34ukK3KG7XpZBX2DSycK7W3u2xJvn75wnt9itLnukX79+xwWH9AsQiW7 AiOp98SH/85PKOtHGGjRoQbbc9msAm9jB4oAdTSiMR383PoUeop190f8vJr9KEDHdwFz ChoY8JglJ2dFZHfJAmK+FY49k0bIUMhh5PJ0nPtPw7xVZfRndwlkOQJRrtInY8zBZxzE H/O/wd6wEbXi+09L0MuI1dkjU71J2EdQ3/LRsJ5nKbcexcvIachkAU887b8iUp7M0WpV 2AbAO19a5AS5FRzYWjuBOt3wxQosdjKAI1BIo/SLdAhkeesNAwnXU9Gzmf1gqVg+bkcE mtTw== 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=pstlfRI59ofwnq6olR+Vn8M91nBMBjd1jYuB8WQhUnE=; b=wheyNg43mk93z8sHQy+kyfr/dpYiBfwjm25/UgDDLHxCPohUFy8akon3qzAhou3lh1 lCPbmsDoaCBf1pgYbXu86EBwp96v2GMqTZF+D7cl0Nhaz47M2ZmXyORZ8pDZHrQn91bU OPq60tcjjxnc8/kX5K4JMLKR3ZvGqR0K1ZH1HN4T7w43il+edv3Sl3ZgvIBqQJZ5J2tB oD2t33Q6rikg3vJzZA5wciM9/aHK+xECUIOE+rWF49VDdpOd7xtO00Ljyc6p4SlJmnXb zOuGFkSHX3lV1zifmtMlitrXimVMCezKieuZQFR1KyTIhGeDm2ZU5BQ/9Q/fNpfIE1n/ IIOg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GTHfepeM; 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=pstlfRI59ofwnq6olR+Vn8M91nBMBjd1jYuB8WQhUnE=; b=g6N7Iwq1d7pNxE5S88Foo9c6GKJvRgSqXt4byjkUQNmEk2Y4jLzUJSV+r5ehJv6jJE u9c8HzrKO2YfDoBZCW/IFAGO9RMkFihKum1KEJ1p6NqDEGRe38WMrU83Vkv8Sgz7YBYv h99/QnmfC3G4Y6fMy90BCDMtcQHTxwsdafiOM= 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=pstlfRI59ofwnq6olR+Vn8M91nBMBjd1jYuB8WQhUnE=; b=UrDJMCxQ7thkKlf8lpMwWc79zlmi6MUy5BRRWrlzocIufcZwhCunHGo1IIRcj5tKky iRPuAn6jujaQmLVlHk95sfuIbCsg14+WOjPmVh1rnteyb71JOJWaaVRJQvof0c28fms8 9FHXFPyfNGJKYiieRVA3v4YbDW80RaLfIe/7t4DNnMck2KgJTsg2ISrHLrOIVfm5j2yP d+/88DeFKtEHMjRn5ihPWqxZKia2qOXs/BMT7BNdU6OCt7sNDQIjcs0g/ZHuhdTsmHb3 37cdRwQ7po+I0GMCGX62e72ds3zqCNy8D8h0L3KdQL2fA2XQhmlUz9hbcxZ4SBEjzfSF o6Wg== X-Gm-Message-State: AOAM530l83+X3r4+59GLsDW/FJ5E1NEGkNlfIuUTAVUJQY/9mSaUBEzy WZhfFHfDMlfcfqCiHl3OuyOV9Z5w X-Google-Smtp-Source: ABdhPJwA1HmDTiJEnz8tgYC8deFlmfPXY6c62xGQZ/BCjhU0o/2nrir44YpTaoNETGaF6efqBI08Mw== X-Received: by 2002:aa7:91d2:0:b029:1ed:b10b:5a7 with SMTP id z18-20020aa791d20000b02901edb10b05a7mr11520669pfa.2.1614527065556; Sun, 28 Feb 2021 07:44:25 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:778b:: with SMTP id o11ls7332583pll.0.gmail; Sun, 28 Feb 2021 07:44:25 -0800 (PST) X-Received: by 2002:a17:90b:1015:: with SMTP id gm21mr12754910pjb.101.1614527064926; Sun, 28 Feb 2021 07:44:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614527064; cv=none; d=google.com; s=arc-20160816; b=u8Pa+3U5Uloy27f7Up5rQKZ7pkKegQiQPIAEuaEAWbnOl/9W+Sqs0/InXflbxPhnEi PffY/XZ2qlr3aWLDZVBVVw+g4XTwxX6HoTbgi71SNdcSGIiRdWMh4UWIlqsOyF5ySxP+ rs0jeEpelpQimoBmtUhSnYNaCITJ3qgQaiEX3DtoWQi5sj9hAAaNJkN1u87LyA/QsQzs qHCD8jmTK0Nwh9Zc1F6R9GDkzfrbw8UVfaHEPyXnyNyVrwbDuMnDP5PNw5yWZstosiNb fHGMZaQVDfQcu/+r10DaOyIxYWTzRkSWyeCqrlCljjQsEL1u+fWeZnpEIwUbqwZ2EtiN h1lQ== 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=P8xuLB+PW3vzd/2H+nv/FYwlg2xPXL9X/0ZCidUY03A=; b=ofzFCL+eJGrGnqxeU1fb/zR2aOFcPccOizv004z7jLUrabDINTuhxe0DZ3NqJAlGr2 WX42PsiTrl7Uhq2mjyuRQpufWrBNuvYDhkw7e95z5hL53bU3Lx2Ij3opOMG9yG2jE3EV nVzGXquoB+/7539LMahz2OL22Z6g4iYFgg04QVoumHxgl2w58sVYe2bPSsX3S4qe3jLi m4UPY+dvvWImyQsSEN2+Kjxc8P3xmelJeQBcNWajRFoBusR46uLA89zu9AH8Hgos+/bt pcrCvurycPW/I8IXQbJSJALfLrBf0Mn2wIXcrOr4LqUd6C5CCknAQylNjWZRZNauLdn6 wNlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GTHfepeM; 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 p4sor8220791pld.31.2021.02.28.07.44.24 for (Google Transport Security); Sun, 28 Feb 2021 07:44:24 -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:903:1cc:b029:de:98bb:d46d with SMTP id e12-20020a17090301ccb02900de98bbd46dmr11601415plh.54.1614527064698; Sun, 28 Feb 2021 07:44:24 -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.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Feb 2021 07:44:24 -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 v3 10/10] ARM: dts: stm32: Add Engicam i.Core STM32MP1 EDIMM2.2 Starter Kit Date: Sun, 28 Feb 2021 21:13:23 +0530 Message-Id: <20210228154323.76911-11-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=GTHfepeM; 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 v3: - none 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"; +};