From patchwork Fri Feb 26 07:03:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1652 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 D84A23F096 for ; Fri, 26 Feb 2021 08:03:58 +0100 (CET) Received: by mail-pj1-f69.google.com with SMTP id e11sf5747754pjj.8 for ; Thu, 25 Feb 2021 23:03:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614323037; cv=pass; d=google.com; s=arc-20160816; b=fv9D3Vi0PVJ29Z4hmQo8eIw3WCdAYxrdbBjwK8Ogf6kp3Gw3VBdNXWUlp5bzUgVIfe +xmAJ5yzYLH13l/sVxd8EKfGeYT1INrRk2nY7bMebBFwnn8U4lerk2Fl4ppT0sUnKvLW ze3XgBK57mxPtkUJsZROskJdQu/izDu1dmNy4JhDPcRpwwO1HLA7+enweFED1q1q4jMd Ab5meL4l/c9WvycD8nwt7Ecv/gt7SAb1nAIsPyPmLIugmUNfDI6f9IOYLTgjUbya2j4z G3GiJCF36FBI9st/WHTOF7BAEsLvIs9pNxOMp1hxtNwzgB5kk2fKn2H4LyodZWj2FstP gLZg== 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=bNHRy8pQaiFY8Bj7x/DIpMUYu6GuwLZvqBJ5JFTghRo=; b=pNCMC4rU/8VBsn175sdrYagwkJS7hZu2lBc8jy8AC6CV6Nm1HnvOlefeE42Dso2Fgg vEZaOoy24awXflT1Yw6xu55l7Vr0NLbtDkQOOoZ5ahgvF3934k+fEIzSdv1b7LJXSICO ek2Tssb2sMxTTQ36g3aHPoCEBP4wbfTyyM1tzOMXIqHJL7e367LUb6+CERuAPxNgurQR w2JOmzzj/i6BQXcYnNLPp5QUZVJe0gBbiv94obxXx7Q05yr1U+aiRtSJv5Q192+UIxYu JXsjBjlRKfRDxdvT4Ph0iFx7uK+BD9wvuum10vCw01tqmb6kMusbd5rKjKupHsciNWuu LVeA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QfcyLwnQ; 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=bNHRy8pQaiFY8Bj7x/DIpMUYu6GuwLZvqBJ5JFTghRo=; b=JVcu3i2qpICadnZ6QdP51Zwua7hmT/QCBAgtJ9h2O1WhlOGcP81ilUwRf74xA1Gb/h 1GyVZgVxTing1Sm30UTrzDWAc+2qgEXqSFMqNagxULOKVTl9rtpeP4RVXxbFaef+Ui0e ASOUAmKfSlrXSZfMIyG5p8lRzd83PD7Y/mpN8= 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=bNHRy8pQaiFY8Bj7x/DIpMUYu6GuwLZvqBJ5JFTghRo=; b=YOry38Ew8FIWsyWcaY6L0WXE937y8WK7ugy6rrjmmBAcoc1gvhzIbXr8Ec7WRKeJH7 iHxGZpXfHKBQTYzQ7znKd80eyWbN7Yo7ozwaQaXRNBYCPvRvK5ukRsmlA33BQIPsP9bz feR1ilZ7zndicalSVh3bldF08VWkbkHyQLB4VTQ6hvSGcGRfAo1HGPLHxFOuXdfMbekO K0p5khSDX7UimHreaz5cxtr1x4d1dxF0YJ7YcTqGgwdgWy3qf3NFkwWB0DxXi6LoWU3K jSXg3F1ion1PxNUF26fk9YihUUDdWOTg3YT2Hn0HU1ZlbqEeZHd1h37ryuqgw5AvgoYE +Lvg== X-Gm-Message-State: AOAM532fCRhro5R+35/lQsbvLmh6PCg/dD2qAC3W8Wus5NGqHqULTZCC 4D16nRvLhXlZnMB/x0Fn/dDg5qnT X-Google-Smtp-Source: ABdhPJxZDapg6L73vM7qrUDBT4RqS0Hq4JWJVUeqUGkwZR8+zjy+eS4PBhgddSyLgDHD1Yni9F1MDw== X-Received: by 2002:a62:1512:0:b029:1ed:d8c6:9f77 with SMTP id 18-20020a6215120000b02901edd8c69f77mr1891942pfv.45.1614323037728; Thu, 25 Feb 2021 23:03:57 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:6102:: with SMTP id v2ls3583026pfb.1.gmail; Thu, 25 Feb 2021 23:03:57 -0800 (PST) X-Received: by 2002:a65:688e:: with SMTP id e14mr1720712pgt.32.1614323037136; Thu, 25 Feb 2021 23:03:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614323037; cv=none; d=google.com; s=arc-20160816; b=KwNELMfeTyNeVGdhBQ881c4t0yoIODPC4m/WYW6ykFaqKj3PlEQlFFrOhTt4ilm9tb YjP175kiGoIhz0dTSrUS624OcpQsZV+zYKB9a0vWIDqz5VBwuDQMhPAg1U6qAiR6e5bw 4Kb9XXKUNjAw1U6m/aKhnakg6BeHp7X8Qxng5xvYWaBVu+Q8y8m+DCte1iC39kbwZGNB 0xyPMEvFLnaCSIYXF+cidNfVn66IkIGZgM3HbuG+pEi1K5SIb7RqFBDduElDvw2NLxBL p95OAQtL0BU6EdcrSGwScGHtt3iKBOAJ//Tew0HJInTBBVzQthLiraTRhD1HiwPLDHKC G+Fg== 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=zRx9AiKQC/slnSNzXR9EFgvzT3DZpBE4nYv/SE8+b14=; b=N3DHLTAjpyhX7aGEyJGSzM7s/YXzwD4djXBZaxqeto47kp3TeRA6M77y8baysRY4E9 5ZqoNWKTkxRZwm+uwRWlU9ac7tZGAq/BwJl6ySndO0zhT3woVEmwVJz64d09GLJduDIS y1WxSgmP67IZMvwAeHsZ8DR/DatV2KN7QOWbN+SUPGwZzkOppbgyDVlmxHaC9JzqlhQZ VgnN8DvF4qR9y/FwCRTM7p4rzHOzX1KB8XnYaoH0hoLmbyEwgCctVj6gQ43aIf93MuUs +oqvlkNOqmJz6fh8Z89HqXNXFvoxEeTJ71IqAhNOIQtyVUrGLIoe/RnaRtNDclMbeFq9 BTrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QfcyLwnQ; 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 v11sor4147495pgq.51.2021.02.25.23.03.57 for (Google Transport Security); Thu, 25 Feb 2021 23:03:57 -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:d18:: with SMTP id c24mr1665409pgl.442.1614323036817; Thu, 25 Feb 2021 23:03:56 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 23:03:56 -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 v2 08/10] ARM: dts: stm32: Add Engicam i.Core STM32MP1 C.TOUCH 2.0 Date: Fri, 26 Feb 2021 12:33:02 +0530 Message-Id: <20210226070304.8028-9-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=QfcyLwnQ; 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 C.TOUCH 2.0 is an EDIMM compliant general purpose Carrier board. Genaral features: - Ethernet 10/100 - Wifi/BT - USB Type A/OTG - Audio Out - CAN - LVDS panel connector i.Core STM32MP1 is an EDIMM SoM based on STM32MP157A from Engicam. i.Core STM32MP1 needs to mount on top of this Carrier board for creating complete i.Core STM32MP1 C.TOUCH 2.0 board. Add support for it. Signed-off-by: Jagan Teki --- Changes for v2: - new patch arch/arm/boot/dts/Makefile | 1 + .../stm32mp157a-icore-stm32mp1-ctouch2.dts | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-ctouch2.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 1332622a3f9f..6dc39bddaf7e 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1073,6 +1073,7 @@ dtb-$(CONFIG_ARCH_STM32) += \ stm32mp157a-iot-box.dtb \ stm32mp157a-microgea-stm32mp1-microdev2.0.dtb \ stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dtb \ + stm32mp157a-icore-stm32mp1-ctouch2.dtb \ stm32mp157a-stinger96.dtb \ stm32mp157c-dhcom-pdk2.dtb \ stm32mp157c-dhcom-picoitx.dtb \ diff --git a/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-ctouch2.dts b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-ctouch2.dts new file mode 100644 index 000000000000..d3058a036c74 --- /dev/null +++ b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-ctouch2.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 C.TOUCH 2.0"; + compatible = "engicam,icore-stm32mp1-ctouch2", + "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"; +};