| Message ID | 20260529153159.3944049-1-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers | show
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRB5PC43IAMGQELTW52EY@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com
[209.85.221.72])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2CEE03F13A
for <linux-amarula@patchwork.amarulasolutions.com>;
Fri, 29 May 2026 17:32:06 +0200 (CEST)
Received: by mail-wr1-f72.google.com with SMTP id
ffacd0b85a97d-45eea62dc50sf1479995f8f.1
for <linux-amarula@patchwork.amarulasolutions.com>;
Fri, 29 May 2026 08:32:06 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1780068726; cv=pass;
d=google.com; s=arc-20240605;
b=eUE7QmlPvWEB6GBDbFohAHBjpjm62ug+UphRw3UzSFoaSG/fK94hL0Cwc6KILmTyRn
8jBIjvrllB7kRx1AjasfKcPah+p1CBROxp3oo68MxOjcY+WpBhoQUtU+xzPdOdm4x0cf
iB27rk8B6UQyCJC2VUumXGFCebyixphSPyLWYFm5Y/daUl2gI/Kb0PRcnybCVaD9kqXO
/SI4j1K4gut5ZzavLNSCdJrK1Iat0+/BpqToAJWmgGQsJuacnL05Bfel2omv6mv+S041
eAzhDgzNPbk3yRdk/0eKpIkYAbzLRYzhPDlPKjNXkguH6hOSl8l021AgsDsbRSFOpv95
ZapQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:message-id:date:subject:cc:to
:from:dkim-signature;
bh=aQnPkdPi0PJYyN7xC45zvQqtnu1tx4PK3YtcL5o88eQ=;
fh=lzO1pL4NfPeERML5DYnXEKz9WhLeBELu2MnYOYVvpXE=;
b=egdby30OEtNjuVLjNIpw0TzkApctNysjmBOQRbrhSejnBAUvdjL8uwus+4g8MmHCV6
LbUjxy6RF36/0lQHqgsZtj1mVNihOTPy9enpfdar5DP13/JjhDzOAR6hfsQ8nDiapama
ZDCuIw5Kt4KRWgFlesGfF4bAT3ODB/58LDesIfiAaigRjughGUHDdfeknmboHxnsYmKC
QzkLVQkgg8dJtRvIA/bFspzKcMtqhFZ9xWFzSi01UF+NH4cS43WYftD3UUq5rJIhyGNv
NfgnEdWlJj0ZE/xjV1eRBRZrHLBb52WJPvbNUOpFiEy8hNZBC27tKIzaL/s1nIloHDu8
dQLw==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=HCQ8MCxY;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1780068726; x=1780673526;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:x-original-authentication-results
:x-original-sender:mime-version:message-id:date:subject:cc:to:from
:from:to:cc:subject:date:message-id:reply-to;
bh=aQnPkdPi0PJYyN7xC45zvQqtnu1tx4PK3YtcL5o88eQ=;
b=a6vC6C/vdHQjokXxNu6Vz1JmR1xqhWMREjJg/VGxAll6nUOjztxGiSUnwCrcLL7v66
COiMLQ/JWNaGFEztZMMkiN8Ot+vvE8BWqN6qcX1526AT7FFRsqFtNhw9svzlL4L45D8W
lViWzPrxmEzQ2yRwBPRIp25ele11wyvwvJsgI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1780068726; x=1780673526;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender:mime-version
:message-id:date:subject:cc:to:from:x-gm-gg:x-beenthere
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=aQnPkdPi0PJYyN7xC45zvQqtnu1tx4PK3YtcL5o88eQ=;
b=PuSt6TozSdmSZ8d1vCidEUaUjGLrRI18dkcLjczDSe3thMGrjhLQhEpxOywRy89tcP
R1r6dNObefTP8obu9cfrPtV28ZLdDCAkO2T/iFrSc3azuYKQmkZmFL1peVIuS+gJSz1A
UB+wXYHCb6OHoaUbDl2rLWuPGYfjYPxKX+GJakpudpKlXKz3bcH/2htWx7aKOE52wNGH
BuHMesoZ1tFul4BIIY7lLe/S2GmHUpLitduYSY8SwVwm4aB1PhkeZv9DZjZOZk4y9/Py
AwEkadxVw8olwzJKM+fDge4kJ/+Z+5M+AiN4dUUeqNuPuPrX0JsACn7c5FH/EDtbsBUH
Cikg==
X-Forwarded-Encrypted: i=2;
AFNElJ8iL2cLSikGQNHu57cCSf1oAyhkZbSxfxOKaJVs0aYiFFv+Zrp50FKbG/dQog8r8KTnMYNGF+nz3fgKQ6ZN@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YyYPaak99UhP0v4if7kRHrSp4l0Z/ix4nzwTWnC4UUBI4O9wrLc
4ew+PUmxJgKHq5TXtADPqefJDLMDLXObnk4TrR9KPUiT04Pbf7I1vC5RsmpWg8l/eRPXx8TaSVw
qlg==
X-Received: by 2002:a5d:46d1:0:b0:44a:fa76:5193 with SMTP id
ffacd0b85a97d-45ef6b1b866mr396930f8f.12.1780068725675;
Fri, 29 May 2026 08:32:05 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="AUV6zMMz9dWvXOLZrCbjCBDJ/jmAh+nxsQdGMR/uVqVUyDfdeg=="
Received: by 2002:a05:6000:288b:b0:444:5991:825c with SMTP id
ffacd0b85a97d-45ee0f8006dls1811530f8f.0.-pod-prod-04-eu; Fri, 29 May 2026
08:32:04 -0700 (PDT)
X-Received: by 2002:a05:6000:2d07:b0:452:c9f:4b91 with SMTP id
ffacd0b85a97d-45ef6af6bd4mr448469f8f.4.1780068723697;
Fri, 29 May 2026 08:32:03 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1780068723; cv=none;
d=google.com; s=arc-20240605;
b=YWlQ8z7LEO/JGZ5/n3QOpu0XuIRkQAeKCxYRIxDbi4C5rSLFA/iJn35wwEw4tIvcTY
x9v08U2Ye1tmcufPwW5Asws7TGScxAj3CLJq5DMbcBIg2TffbCAmRyxYK/8mWKNIOh1U
d2zzdQRNriqdS9c9rGFG2Gd1mUFmJNUyU4sNczPFgxVMlNRvDs4RU5bVv9DOb9k757FI
5kQvyvIiNSwi/gk4JExIRBvaGLQ1bKeCZiUOdYxwOTiSTuO4bgZ4bYr6AITiFeiykYuW
KSy+vsm9ypQ8Zg1i/SLbQbdvjC9mm0k7zAQ92UpRCxr4nBHpxL7YQx5wWmTx5xanGRvd
QH9Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:dkim-signature;
bh=BvPUaocj4W93q002AO9ZwxAvPoQNnuh8ucgFSanrbu8=;
fh=GXyEIbuIuhHGxbiBcc/pCZEMzBLb1YY4TZI6J3XWdKA=;
b=Hou2q152U2BoauhZNnu32rC9Bh4uNN71NRDTX780vZFpKpwIo95EXGx+83q5uMpqVe
p/T+3HcxkDteRw1onCvQBIVMJiSXHbClRykATGAt+1ihCSaC4UBB6EvJOURrbuL9aa8c
bovX9bhs/2uL26A4lelDZAHS+mf5FO/x1+r/tf/Hlbi+AMKR/l2x08lPLJCGQ9D4W/BF
FovfdYXgKlMzueigzzgHeMXtaDf4wKym3IqPXXEFgCeJGgeid9tOOWT84Xsmjufy5lsG
CSAQ4SbzCJgacbHqUVlVBOAklvDvSsRNIxcXw7LrBK+YgvOYtKcmO3bltixxzLr+w52U
SsZQ==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=HCQ8MCxY;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@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
ffacd0b85a97d-45ef6ab3b99sor35516f8f.9.2026.05.29.08.32.03
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Fri, 29 May 2026 08:32:03 -0700 (PDT)
Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Gm-Gg: Acq92OGk9d76mbfY2rnc+Fr5SiTISbrmJU/YQSp5cic56B9Ha/Bha5GFYZjNBiPhHAJ
vrjGEvJHGTDNnscELGjc1uhDcXiY6gc3o0jYIEIE6xDA70sOqeoijuFlpKPtP9mjpHaiNFrhhF0
pBr4ogflc53X9sSzovAPXNB866qDIeVXQNCY8h1P/+pwxZHGnau7lDHogDNrQZc4bFKjkXuO3OX
6E8rMdpECH01aSkNpHMyq2yMjdSSHESdpdeJTP3l0xX44uotGxg+PpC+ZDwFDJ44i5SrhdEcY4v
zNoTEN4SoHbp/2a6HF6KvA+Q17T9ZJoc3wyIxDmifMWDUTAJwfSrWnqbG+2+jLl8wPaChg7XlSZ
ldMGwSPFijrofBzEJQuHBLz7TK0MLcyZaALbrFC7790cxr1zw9+zLX22D4OmPkSIgVY9RGRUGVW
izNvs7Xhcm8cZtPPA8kMKsv6+x6ejqxRYMDTpIt9kD2l6FUBj0hU4MWxbJRWP9ZbtyITZ+8SJ+L
tHInkGcGsuQNL4dnNj2XxRgDadGrs6Th9s6kSgEEu3ivvMrr5GH7aTBfGQ=
X-Received: by 2002:a05:600c:4755:b0:490:4e3e:b483 with SMTP id
5b1f17b1804b1-490a29335camr1903265e9.22.1780068723186;
Fri, 29 May 2026 08:32:03 -0700 (PDT)
Received: from dario-ThinkPad-P14s-Gen-5.amarulasolutions.com ([2.196.43.161])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4909c09ab75sm16713855e9.6.2026.05.29.08.32.01
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 29 May 2026 08:32:02 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: u-boot@lists.denx.de
Cc: linux-amarula@amarulasolutions.com,
michael@amarulasolutions.com,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Patrice Chotard <patrice.chotard@foss.st.com>,
Patrick Delaunay <patrick.delaunay@foss.st.com>,
Tom Rini <trini@konsulko.com>,
uboot-stm32@st-md-mailman.stormreply.com
Subject: [PATCH v2] ARM: dts: stm32: add U-Boot specific dtsi for
stm32mp157f-dk2
Date: Fri, 29 May 2026 17:31:54 +0200
Message-ID: <20260529153159.3944049-1-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
MIME-Version: 1.0
X-Original-Sender: dario.binacchi@amarulasolutions.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@amarulasolutions.com header.s=google header.b=HCQ8MCxY;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@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: <linux-amarula.amarulasolutions.com>
X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com
X-Google-Group-Id: 476853432473
List-Post:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>,
<mailto:linux-amarula@amarulasolutions.com>
List-Help:
<https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>,
<mailto:linux-amarula+help@amarulasolutions.com>
List-Archive:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/>
List-Unsubscribe:
<mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe>
|
| Series |
|
| Related |
show
|
diff --git a/arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi b/arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi new file mode 100644 index 000000000000..77805417bfa9 --- /dev/null +++ b/arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2026 Amarula Solutions, Dario Binacchi <dario.binacchi@amarulasolutions.com> + */ + +/ { + fwu-mdata { + compatible = "u-boot,fwu-mdata-gpt"; + fwu-mdata-store = <&sdmmc1>; + }; +};
The STM32MP157F-DK2 board is a direct derivative of the STM32MP157C-DK2. As explained by ST [1], the "STM32MP157F-DK2 is assembled with latest STM32MP15 RevZ cut which is the only one available for new product now. The major differences in this 'F' variant SoC are the increased max frequency of the Cortex-A7 cores and the correction of some HW bugs (Device Rev.Z, see errata ES0438)". On the software/architecture side, this variant utilizes SCMI (System Control and Management Interface) for secure world resource management. As a consequence, the underlying stm32mp15-scmi.dtsi explicitly deletes several fixed clock nodes (such as clk_hse, clk_hsi, clk_lse, clk_lsi, and clk_csi), making it impossible to include stm32mp157c-dk2-u-boot.dtsi without triggering compilation errors due to these missing clock labels. So let's introduce a dedicated stm32mp157f-dk2-u-boot.dtsi that directly defines the fwu-mdata node. This provides the necessary FWU metadata configuration required to allow automatic A/B bank selection, supported for STM32MP15 boards by commit 560d8f32703f ("board: st: stm32mp15: support dynamic A/B bank bootup"). [1] https://community.st.com/t5/stm32-mpus-products-and-hardware/i-m-wondering-what-s-the-difference-point-between-stm32mp157c/td-p/213460 Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- Changes in v2: - Drop the inclusion of stm32mp157c-dk2-u-boot.dtsi to avoid compilation errors caused by deleted clock nodes in stm32mp15-scmi.dtsi. - Directly define the fwu-mdata node in stm32mp157f-dk2-u-boot.dtsi to properly support automatic A/B bank selection. arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi