Skip to content

Commit 06d61ae

Browse files
authored
Merge pull request #102 from hnez/tfa-2.9
meta-lxatac-bsp: arm-trusted-firmware-a: update to version 2.9
2 parents 8e139f4 + e1c9d1f commit 06d61ae

10 files changed

+109
-524
lines changed

meta-lxatac-bsp/recipes-bsp/arm-trusted-firmware-a/files/patches/0001-fdts-add-lxa-tac.patch renamed to meta-lxatac-bsp/recipes-bsp/arm-trusted-firmware-a/files/patches/0001-fdts-lxa-tac-add-Linux-Automation-GmbH-TAC.patch

Lines changed: 77 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
11
From: Rouven Czerwinski <[email protected]>
22
Date: Fri, 18 Jun 2021 11:07:20 +0200
3-
Subject: [PATCH] fdts: add lxa tac
3+
Subject: [PATCH] fdts: lxa-tac: add Linux Automation GmbH TAC
4+
MIME-Version: 1.0
5+
Content-Type: text/plain; charset=UTF-8
6+
Content-Transfer-Encoding: 8bit
7+
8+
The Linux Automation Test Automation Controller (LXA TAC)[1] is an embedded
9+
software development tool built around the Octavo Systems OSD32MP15x SiP.
10+
11+
The device contains an eMMC for storage, a DSA-capable on board ethernet
12+
switch with two external ports, dual CAN busses, a power switch to turn
13+
a device under test on or off and some other I/O.
14+
15+
As of now there are two STM32MP157 based hardware generations (Gen 1 and
16+
Gen 2) that have most of their hardware config in common.
17+
In the future there will also be a STM32MP153 based hardware generation.
18+
19+
[1]: https://www.linux-automation.com/en/products/lxa-tac.html
420

521
Signed-off-by: Rouven Czerwinski <[email protected]>
22+
Signed-off-by: Leonard Göhrs <[email protected]>
23+
Signed-off-by: Jan Luebbe <[email protected]>
624
---
7-
fdts/stm32mp157c-lxa-tac-fw-config.dts | 7 +++
8-
fdts/stm32mp157c-lxa-tac.dts | 81 ++++++++++++++++++++++++++++++++++
9-
2 files changed, 88 insertions(+)
25+
fdts/stm32mp157c-lxa-tac-fw-config.dts | 7 ++
26+
fdts/stm32mp157c-lxa-tac.dts | 134 +++++++++++++++++++++++++++++++++
27+
2 files changed, 141 insertions(+)
1028
create mode 100644 fdts/stm32mp157c-lxa-tac-fw-config.dts
1129
create mode 100644 fdts/stm32mp157c-lxa-tac.dts
1230

@@ -25,10 +43,10 @@ index 000000000000..9ee09e93e9ea
2543
+#include "stm32mp15-fw-config.dtsi"
2644
diff --git a/fdts/stm32mp157c-lxa-tac.dts b/fdts/stm32mp157c-lxa-tac.dts
2745
new file mode 100644
28-
index 000000000000..c5f55cae1d2a
46+
index 000000000000..5988fded94da
2947
--- /dev/null
3048
+++ b/fdts/stm32mp157c-lxa-tac.dts
31-
@@ -0,0 +1,81 @@
49+
@@ -0,0 +1,134 @@
3250
+/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */
3351
+/*
3452
+ * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
@@ -110,3 +128,56 @@ index 000000000000..c5f55cae1d2a
110128
+ };
111129
+ };
112130
+};
131+
+
132+
+/* VCO = 624 MHz => P = 208, Q = 48, R = 104 */
133+
+&pll3 {
134+
+ cfg = <1 51 2 12 5 PQR(1,1,1)>;
135+
+ /delete-property/ frac;
136+
+};
137+
+
138+
+/* VCO = 750.0 MHz => P = 125, Q = 75, R = 62.5 */
139+
+&pll4 {
140+
+ cfg = <3 124 5 9 11 PQR(1,1,1)>;
141+
+ /delete-property/ frac;
142+
+};
143+
+
144+
+&rcc {
145+
+ /* change parent clocks */
146+
+ st,pkcs = <
147+
+ CLK_CKPER_HSE
148+
+ CLK_FMC_ACLK
149+
+ CLK_QSPI_ACLK
150+
+ CLK_ETH_PLL4P
151+
+ CLK_SDMMC12_PLL3R
152+
+ CLK_DSI_DSIPLL
153+
+ CLK_STGEN_HSE
154+
+ CLK_USBPHY_HSE
155+
+ CLK_SPI2S1_PLL3Q
156+
+ CLK_SPI2S23_PLL3Q
157+
+ CLK_SPI45_HSI
158+
+ CLK_SPI6_HSI
159+
+ CLK_I2C46_HSI
160+
+ CLK_SDMMC3_DISABLED
161+
+ CLK_USBO_USBPHY
162+
+ CLK_ADC_CKPER
163+
+ CLK_CEC_DISABLED
164+
+ CLK_I2C12_HSI
165+
+ CLK_I2C35_HSI
166+
+ CLK_UART1_HSI
167+
+ CLK_UART24_HSI
168+
+ CLK_UART35_HSI
169+
+ CLK_UART6_HSI
170+
+ CLK_UART78_HSI
171+
+ CLK_SPDIF_DISABLED
172+
+ CLK_FDCAN_PLL3Q
173+
+ CLK_SAI1_DISABLED
174+
+ CLK_SAI2_DISABLED
175+
+ CLK_SAI3_DISABLED
176+
+ CLK_SAI4_DISABLED
177+
+ CLK_RNG1_LSI
178+
+ CLK_RNG2_LSI
179+
+ CLK_LPTIM1_PCLK1
180+
+ CLK_LPTIM23_PCLK3
181+
+ CLK_LPTIM45_LSE
182+
+ >;
183+
+};

meta-lxatac-bsp/recipes-bsp/arm-trusted-firmware-a/files/patches/0002-lxatac-ETH-PLL-configuration.patch

Lines changed: 0 additions & 22 deletions
This file was deleted.

meta-lxatac-bsp/recipes-bsp/arm-trusted-firmware-a/files/patches/0003-lxatac-use-custom-PLL-configuration.patch

Lines changed: 0 additions & 90 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= <[email protected]>
2+
Date: Tue, 30 Jan 2024 09:11:27 +0100
3+
Subject: [PATCH] Release 2.9/customers/lxa/tac/20240130-2
4+
5+
---
6+
Makefile | 2 +-
7+
1 file changed, 1 insertion(+), 1 deletion(-)
8+
9+
diff --git a/Makefile b/Makefile
10+
index 2c5748fe1567..760c27ffec92 100644
11+
--- a/Makefile
12+
+++ b/Makefile
13+
@@ -330,7 +330,7 @@ endif
14+
ifeq (${BUILD_STRING},)
15+
BUILD_STRING := $(shell git describe --always --dirty --tags 2> /dev/null)
16+
endif
17+
-VERSION_STRING := v${VERSION}(${BUILD_TYPE}):${BUILD_STRING}
18+
+VERSION_STRING := v${VERSION}(${BUILD_TYPE}):${BUILD_STRING}-20240130-2
19+
20+
ifeq (${AARCH32_INSTRUCTION_SET},A32)
21+
TF_CFLAGS_aarch32 += -marm

meta-lxatac-bsp/recipes-bsp/arm-trusted-firmware-a/files/patches/0101-fix-stm32mp1-fdts-stm32mp1-align-DDR-regulators-with.patch

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)