-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-lxatac-bsp: arm-trusted-firmware-a: squash the dts commits into one
The history is not _that_ important anymore, that it warrants keeping the commits separate anymore. Squash the patches into a single commit. Signed-off-by: Leonard Göhrs <[email protected]>
- Loading branch information
Showing
5 changed files
with
88 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,30 @@ | ||
From: Rouven Czerwinski <[email protected]> | ||
Date: Fri, 18 Jun 2021 11:07:20 +0200 | ||
Subject: [PATCH] fdts: add lxa tac | ||
Subject: [PATCH] fdts: lxa-tac: add Linux Automation GmbH TAC | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
The Linux Automation Test Automation Controller (LXA TAC)[1] is an embedded | ||
software development tool built around the Octavo Systems OSD32MP15x SiP. | ||
|
||
The device contains an eMMC for storage, a DSA-capable on board ethernet | ||
switch with two external ports, dual CAN busses, a power switch to turn | ||
a device under test on or off and some other I/O. | ||
|
||
As of now there are two STM32MP157 based hardware generations (Gen 1 and | ||
Gen 2) that have most of their hardware config in common. | ||
In the future there will also be a STM32MP153 based hardware generation. | ||
|
||
[1]: https://www.linux-automation.com/en/products/lxa-tac.html | ||
|
||
Signed-off-by: Rouven Czerwinski <[email protected]> | ||
Signed-off-by: Leonard Göhrs <[email protected]> | ||
Signed-off-by: Jan Luebbe <[email protected]> | ||
--- | ||
fdts/stm32mp157c-lxa-tac-fw-config.dts | 7 +++ | ||
fdts/stm32mp157c-lxa-tac.dts | 81 ++++++++++++++++++++++++++++++++++ | ||
2 files changed, 88 insertions(+) | ||
fdts/stm32mp157c-lxa-tac-fw-config.dts | 7 ++ | ||
fdts/stm32mp157c-lxa-tac.dts | 134 +++++++++++++++++++++++++++++++++ | ||
2 files changed, 141 insertions(+) | ||
create mode 100644 fdts/stm32mp157c-lxa-tac-fw-config.dts | ||
create mode 100644 fdts/stm32mp157c-lxa-tac.dts | ||
|
||
|
@@ -25,10 +43,10 @@ index 000000000000..9ee09e93e9ea | |
+#include "stm32mp15-fw-config.dtsi" | ||
diff --git a/fdts/stm32mp157c-lxa-tac.dts b/fdts/stm32mp157c-lxa-tac.dts | ||
new file mode 100644 | ||
index 000000000000..c5f55cae1d2a | ||
index 000000000000..5988fded94da | ||
--- /dev/null | ||
+++ b/fdts/stm32mp157c-lxa-tac.dts | ||
@@ -0,0 +1,81 @@ | ||
@@ -0,0 +1,134 @@ | ||
+/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */ | ||
+/* | ||
+ * Copyright (C) 2020 STMicroelectronics - All Rights Reserved | ||
|
@@ -110,3 +128,56 @@ index 000000000000..c5f55cae1d2a | |
+ }; | ||
+ }; | ||
+}; | ||
+ | ||
+/* VCO = 624 MHz => P = 208, Q = 48, R = 104 */ | ||
+&pll3 { | ||
+ cfg = <1 51 2 12 5 PQR(1,1,1)>; | ||
+ /delete-property/ frac; | ||
+}; | ||
+ | ||
+/* VCO = 750.0 MHz => P = 125, Q = 75, R = 62.5 */ | ||
+&pll4 { | ||
+ cfg = <3 124 5 9 11 PQR(1,1,1)>; | ||
+ /delete-property/ frac; | ||
+}; | ||
+ | ||
+&rcc { | ||
+ /* change parent clocks */ | ||
+ st,pkcs = < | ||
+ CLK_CKPER_HSE | ||
+ CLK_FMC_ACLK | ||
+ CLK_QSPI_ACLK | ||
+ CLK_ETH_PLL4P | ||
+ CLK_SDMMC12_PLL3R | ||
+ CLK_DSI_DSIPLL | ||
+ CLK_STGEN_HSE | ||
+ CLK_USBPHY_HSE | ||
+ CLK_SPI2S1_PLL3Q | ||
+ CLK_SPI2S23_PLL3Q | ||
+ CLK_SPI45_HSI | ||
+ CLK_SPI6_HSI | ||
+ CLK_I2C46_HSI | ||
+ CLK_SDMMC3_DISABLED | ||
+ CLK_USBO_USBPHY | ||
+ CLK_ADC_CKPER | ||
+ CLK_CEC_DISABLED | ||
+ CLK_I2C12_HSI | ||
+ CLK_I2C35_HSI | ||
+ CLK_UART1_HSI | ||
+ CLK_UART24_HSI | ||
+ CLK_UART35_HSI | ||
+ CLK_UART6_HSI | ||
+ CLK_UART78_HSI | ||
+ CLK_SPDIF_DISABLED | ||
+ CLK_FDCAN_PLL3Q | ||
+ CLK_SAI1_DISABLED | ||
+ CLK_SAI2_DISABLED | ||
+ CLK_SAI3_DISABLED | ||
+ CLK_SAI4_DISABLED | ||
+ CLK_RNG1_LSI | ||
+ CLK_RNG2_LSI | ||
+ CLK_LPTIM1_PCLK1 | ||
+ CLK_LPTIM23_PCLK3 | ||
+ CLK_LPTIM45_LSE | ||
+ >; | ||
+}; |
22 changes: 0 additions & 22 deletions
22
.../recipes-bsp/arm-trusted-firmware-a/files/patches/0002-lxatac-ETH-PLL-configuration.patch
This file was deleted.
Oops, something went wrong.
90 changes: 0 additions & 90 deletions
90
...s-bsp/arm-trusted-firmware-a/files/patches/0003-lxatac-use-custom-PLL-configuration.patch
This file was deleted.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
...se-2.9-customers-lxa-tac-20240130-1.patch → ...se-2.9-customers-lxa-tac-20240130-2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= <[email protected]> | ||
Date: Tue, 30 Jan 2024 08:17:08 +0100 | ||
Subject: [PATCH] Release 2.9/customers/lxa/tac/20240130-1 | ||
Date: Tue, 30 Jan 2024 09:11:27 +0100 | ||
Subject: [PATCH] Release 2.9/customers/lxa/tac/20240130-2 | ||
|
||
--- | ||
Makefile | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/Makefile b/Makefile | ||
index 2c5748fe1567..5cd36be33361 100644 | ||
index 2c5748fe1567..760c27ffec92 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -330,7 +330,7 @@ endif | ||
ifeq (${BUILD_STRING},) | ||
BUILD_STRING := $(shell git describe --always --dirty --tags 2> /dev/null) | ||
endif | ||
-VERSION_STRING := v${VERSION}(${BUILD_TYPE}):${BUILD_STRING} | ||
+VERSION_STRING := v${VERSION}(${BUILD_TYPE}):${BUILD_STRING}-20240130-1 | ||
+VERSION_STRING := v${VERSION}(${BUILD_TYPE}):${BUILD_STRING}-20240130-2 | ||
|
||
ifeq (${AARCH32_INSTRUCTION_SET},A32) | ||
TF_CFLAGS_aarch32 += -marm |
16 changes: 7 additions & 9 deletions
16
meta-lxatac-bsp/recipes-bsp/arm-trusted-firmware-a/files/patches/series.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
# umpf-base: v2.9 | ||
# umpf-name: 2.9/customers/lxa/tac | ||
# umpf-version: 2.9/customers/lxa/tac/20240130-1 | ||
# umpf-version: 2.9/customers/lxa/tac/20240130-2 | ||
# umpf-topic: v2.9/customers/lxa/tac | ||
# umpf-hashinfo: 760fec437d17c83e244decd02aafc8b1c5582c9b | ||
# umpf-topic-range: d3e71ead6ea5bc3555ac90a446efec84ef6c6122..c76dadca0b61699e5cfc1b4233faa0019c96bb68 | ||
# umpf-hashinfo: e9c0f04902a5616a0af04fc9490edd9f1273ab7c | ||
# umpf-topic-range: d3e71ead6ea5bc3555ac90a446efec84ef6c6122..927790a02af8f782da3c11fc599017767d175de8 | ||
SRC_URI += "\ | ||
file://patches/0001-fdts-add-lxa-tac.patch \ | ||
file://patches/0002-lxatac-ETH-PLL-configuration.patch \ | ||
file://patches/0003-lxatac-use-custom-PLL-configuration.patch \ | ||
file://patches/0001-fdts-lxa-tac-add-Linux-Automation-GmbH-TAC.patch \ | ||
" | ||
# umpf-release: 2.9/customers/lxa/tac/20240130-1 | ||
# umpf-topic-range: c76dadca0b61699e5cfc1b4233faa0019c96bb68..4c69731e814fca9a47e71cd301368833b0c7ec1d | ||
# umpf-release: 2.9/customers/lxa/tac/20240130-2 | ||
# umpf-topic-range: 927790a02af8f782da3c11fc599017767d175de8..2c9a028d8673d1b3f8ce99e58ec61c4554b60fda | ||
SRC_URI += "\ | ||
file://patches/0101-Release-2.9-customers-lxa-tac-20240130-1.patch \ | ||
file://patches/0101-Release-2.9-customers-lxa-tac-20240130-2.patch \ | ||
" | ||
# umpf-end |