From patchwork Sun Feb 28 15:52: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: 1678 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 642023F069 for ; Sun, 28 Feb 2021 16:53:04 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id m4sf9548290pfd.20 for ; Sun, 28 Feb 2021 07:53:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614527583; cv=pass; d=google.com; s=arc-20160816; b=sb/fRwV/G3PfZcSmOao+TwcsyA8Jzz8r9UOVKgAi8oEGlQk8uU0a2/r4d8fbciV9LX Mi7PhJxF3VFZXovCTYhv8ngBHbh1D/6XwVi8oq4CAKqxwiAbgeM44NkXSuj5s1A6XaGG kkHlyq5Gk9ggxl7fEoAdl9hhLS4EFr4MxUAjyu2i0J5f2KVUcMlCIoNN2O7WHVlQ+9tB +UYcFsgH5w3GvjvRnU7pgxxhZtJUWNYWhY2ZuXDkIl8gfqxCJYxodwg5MkrpiqKem+Tk rwM5H34+VJR7xPHOuloT4EwJjSLGfIdEr4VtE39yLmjLAd9euVYjSha2yYZM4vBkLYkj 3IGA== 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=Q5XU8IxW4Ms+uSijB1jckuQwzSMllBZwW56YMj/ziA4=; b=qGQm0Ch7kE/r3tFdZcBFsEIUYpduCfddJ559asEYDgwgNB2UPAn4OuF2WcMoxOJro7 RpXNRTuWWZRxQ6fh+K8ABvooZowO7hcMKtHryXW9uB/aWqJnLEBSfmh/XrIBde+Ri7Qd NvDm1KFrrDnI66kNm6/2k10RhHUipEdBVsfOXlFxdVMUmM1B5+GasnxAivknis95fdZE MPiylTYTWijH+tOl6rXrsJeLpbc9dHwP0iwbyFersaYmN5SSvxvmchu0cD08Rk1mEMZ/ 9zepLsggSlEsf8qM5VGgsvVNMNBChRd4MjsnlrJB0hfSBMnsWPczZ6VWD+/l74dheq8h XHNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WWUVTg0z; 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=Q5XU8IxW4Ms+uSijB1jckuQwzSMllBZwW56YMj/ziA4=; b=PoJeP9L6XTmN0iUVBta2u405rKU2U91qtOX3/zrIve4equG3KuDS6WPeywSDMU5CkI mC0qB+TxZ3FxnHfBHUxMyJOvtp72fTdxMRsNYwRru60hcF+JmuDcg98y3PKQZCPSYAOh EL+ZdnkObtXJaCpyeYEgj7C/ywustUyvNlcic= 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=Q5XU8IxW4Ms+uSijB1jckuQwzSMllBZwW56YMj/ziA4=; b=JnWAm8+kxlMScVSUUo/VeecX4/vsBs+fyUxAAe2mp/Ks2u6+POHd5qPjpT1SrXSim0 5qPHi3nqirARHj7jPHJ/HLh9rr6LPF36A2AC9pjJ2W7jBrn4xW/2wrCD5LiENZfJWabQ Jo3/bSrHV7MS3CTlvcOwOd9rdQ5Zm1Ueq9tikweUHy0605HqUEgl0WuKAG5YPIE6Qgr8 5eCKxJ5UYi/3TiO/KGr0UJyRKa8Cd5ap9/A0YD34bnS/xoeBC18KgDfgQxu8aawB9u5d mLv6rIYySuN00aaBQpOkqdpcIkPwShoSm+JrJq9lrr5Q/5yiDgRIrR9d42AsHgXCN0fP I55Q== X-Gm-Message-State: AOAM533F/41YAMSYBwSAaiqZpu5pBTGXZNicIrvyyqNRfpNuaYuy46oR 4fBksA4P7M1F19yc+g3F9E/lQS3L X-Google-Smtp-Source: ABdhPJx9gEcc0fBz0bQ5NTMRAdWVmAeEENcMu59b4agyCmh6IVRSU15qx/IQ3t2G+4upuS9FuunLjg== X-Received: by 2002:a62:fc45:0:b029:1ed:bdd2:a07d with SMTP id e66-20020a62fc450000b02901edbdd2a07dmr11616682pfh.0.1614527583187; Sun, 28 Feb 2021 07:53:03 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d892:: with SMTP id b18ls7319238plz.8.gmail; Sun, 28 Feb 2021 07:53:02 -0800 (PST) X-Received: by 2002:a17:90a:df85:: with SMTP id p5mr11841384pjv.204.1614527582606; Sun, 28 Feb 2021 07:53:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614527582; cv=none; d=google.com; s=arc-20160816; b=seZVLGmHhmHrRyR38QHzzRY3t00mjXNm69OtWOioDYVjipMx//+0d4OfKEQ6zDw+J+ I8HgAXYaC1LfdchVXpm7ClzVtlEIlbwudlIguvhtKhjTs5o5WRyBmw6LbxzJLHUp1nBf PDRfTfEvZTXxBBP60T32ussFSZN529QFfdwB7Yucqki03Q1Z2yD6So2+E2G0Wv1c8yGk tvdHrtHYGUjA7CORXxljCEshoQTJJG4gkdXTt84h84YT7+WnLxzEDF0ifFuxV7Dqdu2C h9bdWhJtR+rXmvK5RapKwoDrHiZBG7pLnaSbXiAXPTZvDJNlKS2WJJM7MyGsETEUgtML 8uFQ== 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=wgrzDxwgj1+gZIC5El3AkJ/uVxy70NjGzTfWgVncTC4=; b=aV1laxlVu/NiaFFhClixFN6loxMnDyNdetp/PBhe7/fCRs/CBIDQEi/Kw/pF5JsflZ CQEA2duwBUT4pCsAvpKun1D6NChzW84/Wdgw0/sZ94Dm4VERxI4Bgjyb1q2UPVm5oxdh nf7Y2tDz9VLMlv28N1bWcEb+Nug87c59czVSMK9dkCyA95WMecrLbueaEpLFsRYuIuPR AdkZCEEGR+YmFJFC4KkiEmv11mCqTWFSDY6ClIPXHuZihsLKtjFXcPj4qvs1C83lbV0+ +h9mYTVb+ofQvpdnqVWFTtS37RNml2adx9K+5riM0fUwb96I8JtIUza6Vr4RP58SZ06Z BExg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WWUVTg0z; 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 y37sor5310027pgl.1.2021.02.28.07.53.02 for (Google Transport Security); Sun, 28 Feb 2021 07:53:02 -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:a65:47c3:: with SMTP id f3mr10192402pgs.364.1614527582326; Sun, 28 Feb 2021 07:53:02 -0800 (PST) Received: from ub-XPS-13-9350.domain.name ([103.161.30.225]) by smtp.gmail.com with ESMTPSA id o18sm14725779pjq.44.2021.02.28.07.52.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Feb 2021 07:53:02 -0800 (PST) From: Jagan Teki To: Patrick Delaunay , Patrice Chotard , Matteo Lisi Cc: uboot-stm32@st-md-mailman.stormreply.com, u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 6/9] ARM: dts: stm32: Add Engicam MicroGEA STM32MP1 Micro SoM Date: Sun, 28 Feb 2021 21:22:23 +0530 Message-Id: <20210228155226.77904-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210228155226.77904-1-jagan@amarulasolutions.com> References: <20210228155226.77904-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=WWUVTg0z; 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: , MicroGEA STM32MP1 is a STM32MP157A based Micro SoM. General features: - STM32MP157AAC - Up to 1GB DDR3L-800 - 512MB Nand flash - I2S MicroGEA STM32MP1 needs to mount on top of Engicam MicroDev carrier boards for creating complete platform solutions. Add support for it. Signed-off-by: Jagan Teki Reviewed-by: Patrice Chotard --- .../dts/stm32mp157a-microgea-stm32mp1.dtsi | 148 ++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 arch/arm/dts/stm32mp157a-microgea-stm32mp1.dtsi diff --git a/arch/arm/dts/stm32mp157a-microgea-stm32mp1.dtsi b/arch/arm/dts/stm32mp157a-microgea-stm32mp1.dtsi new file mode 100644 index 0000000000..0b85175f15 --- /dev/null +++ b/arch/arm/dts/stm32mp157a-microgea-stm32mp1.dtsi @@ -0,0 +1,148 @@ +// 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) + */ + +/ { + compatible = "engicam,microgea-stm32mp1", "st,stm32mp157"; + + memory@c0000000 { + device_type = "memory"; + reg = <0xc0000000 0x10000000>; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mcuram2: mcuram2@10000000 { + compatible = "shared-dma-pool"; + reg = <0x10000000 0x40000>; + no-map; + }; + + vdev0vring0: vdev0vring0@10040000 { + compatible = "shared-dma-pool"; + reg = <0x10040000 0x1000>; + no-map; + }; + + vdev0vring1: vdev0vring1@10041000 { + compatible = "shared-dma-pool"; + reg = <0x10041000 0x1000>; + no-map; + }; + + vdev0buffer: vdev0buffer@10042000 { + compatible = "shared-dma-pool"; + reg = <0x10042000 0x4000>; + no-map; + }; + + mcuram: mcuram@30000000 { + compatible = "shared-dma-pool"; + reg = <0x30000000 0x40000>; + no-map; + }; + + retram: retram@38000000 { + compatible = "shared-dma-pool"; + reg = <0x38000000 0x10000>; + no-map; + }; + }; + + vin: regulator-vin { + compatible = "regulator-fixed"; + regulator-name = "vin"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + vddcore: regulator-vddcore { + compatible = "regulator-fixed"; + regulator-name = "vddcore"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + vin-supply = <&vin>; + }; + + vdd: regulator-vdd { + compatible = "regulator-fixed"; + regulator-name = "vdd"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + vin-supply = <&vin>; + }; + + vddq_ddr: regulator-vddq-ddr { + compatible = "regulator-fixed"; + regulator-name = "vddq_ddr"; + regulator-min-microvolt = <1350000>; + regulator-max-microvolt = <1350000>; + regulator-always-on; + vin-supply = <&vin>; + }; +}; + +&dts { + status = "okay"; +}; + +&fmc { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&fmc_pins_a>; + pinctrl-1 = <&fmc_sleep_pins_a>; + status = "okay"; + + nand-controller@4,0 { + status = "okay"; + + nand@0 { + reg = <0>; + nand-on-flash-bbt; + #address-cells = <1>; + #size-cells = <1>; + }; + }; +}; + +&ipcc { + status = "okay"; +}; + +&iwdg2{ + timeout-sec = <32>; + status = "okay"; +}; + +&m4_rproc{ + memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, + <&vdev0vring1>, <&vdev0buffer>; + mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; + mbox-names = "vq0", "vq1", "shutdown"; + interrupt-parent = <&exti>; + interrupts = <68 1>; + status = "okay"; +}; + +&rng1 { + status = "okay"; +}; + +&rtc{ + status = "okay"; +}; + +&vrefbuf { + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + vdda-supply = <&vdd>; + status = "okay"; +};