Skip to contentSkip to conversation

introduce basic support for TI's am625-lp-sk

PATCH Superseded Bryan Brattlof 1 participant 4 messages May 3, 2024 Arm (32-bit)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover introduce basic support for TI's am625-lp-sk

Hello Everyone!

The am625-lp-sk is a variant of the am625-sk showcasing the low-power features of the am625 SoC Family. Because it's essentially a board and package spin of the am625-sk I've inherited the am625 configuration and overridden what was needed.

This is a new spin of Nitin's original work which has been updated significantly since October 2023

https://lore.kernel.org/u-boot/[email protected]/

Unfortunately a patch is need on top of this series to boot:

https://lore.kernel.org/u-boot/[email protected]

For those of us interested here is proof of life using buildroot:

https://paste.sr.ht/~bryanb/40f7787f7760bee383aa8fbc342a29e8544dbdab

Thank you for reviewing
~Bryan

---
Changes in v2:
- updated copyright year
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Bryan Brattlof (1):
configs: add defconfigs for the am625-lp-sk

Nitin Yadav (1):
arm: dts: add U-Boot dtbs for the am625-lp-sk

 arch/arm/dts/k3-am62-lp-sk-binman.dtsi   |   21 +
 arch/arm/dts/k3-am62-lp-sk-u-boot.dtsi   |   17 +
 arch/arm/dts/k3-am62-lp4-50-800-800.dtsi | 2190 ++++++++++++++++++++++++++++++
 arch/arm/dts/k3-am62-r5-lp-sk.dts        |   82 ++
 configs/am62x_lp_sk_a53_defconfig        |    3 +
 configs/am62x_lp_sk_r5_defconfig         |    2 +
 6 files changed, 2315 insertions(+)

---
base-commit: 714d31ca73fe1dd7a8217afc4a9f6a35ef7a9c01
change-id: 20240429-am62q-wip-f3453de038fb

Best regards,

Signature · 1 line
Bryan Brattlof <[email protected]>
#1 lore raw

PATCH v2 1/2 arm: dts: add U-Boot dtbs for the am625-lp-sk

From: Nitin Yadav <[email protected]>

Add the U-Boot device tree overrides for the am62x-lp-sk reference board.

---
 arch/arm/dts/k3-am62-lp-sk-binman.dtsi   |   21 +
 arch/arm/dts/k3-am62-lp-sk-u-boot.dtsi   |   17 +
 arch/arm/dts/k3-am62-lp4-50-800-800.dtsi | 2190 ++++++++++++++++++++++++++++++
 arch/arm/dts/k3-am62-r5-lp-sk.dts        |   82 ++
 4 files changed, 2310 insertions(+)
arch/arm/dts/k3-am62-lp-sk-binman.dtsi new file +21 -0
new file mode 100644
index 0000000000000..de425a4b54f81
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+#include "k3-binman.dtsi"
+#include "k3-am625-sk-binman.dtsi"
+
+#ifdef CONFIG_TARGET_AM625_A53_EVM
+
+#define SPL_AM62_LP_SK_DTB "spl/dts/ti/k3-am62-lp-sk.dtb"
+
+&spl_am625_sk_dtb {
+	filename = SPL_AM62_LP_SK_DTB;
+};
+
+&spl_am625_sk_dtb_unsigned {
+	filename = SPL_AM62_LP_SK_DTB;
+};
+
+#endif
arch/arm/dts/k3-am62-lp-sk-u-boot.dtsi new file +17 -0
new file mode 100644
index 0000000000000..08f572446657e
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * AM62x LP SK dts file for SPLs
+ * Copyright (C) 2021-2023 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+#include "k3-am62-lp-sk-binman.dtsi"
+
+/ {
+	chosen {
+		tick-timer = &main_timer0;
+	};
+};
+
+&main_timer0 {
+	clock-frequency = <25000000>;
+};
arch/arm/dts/k3-am62-lp4-50-800-800.dtsi new file +2190 -0

2,190 lines not on this page · raw message

arch/arm/dts/k3-am62-r5-lp-sk.dts new file +82 -0

82 lines not on this page · raw message

Signature · 1 line
2.43.2
#2 lore raw

PATCH v2 2/2 configs: add defconfigs for the am625-lp-sk

In reply to Bryan Brattlof

The am62x-lp-sk is a package and reference board spin of the am62x-sk to showcase the low-power features of the am62x SoC family. Because it so closely resembles the am62x-sk board, use the preprocessor to inherit its configuration making the needed changes for this board where necessary.

---
 configs/am62x_lp_sk_a53_defconfig | 3 +++
 configs/am62x_lp_sk_r5_defconfig  | 2 ++
 2 files changed, 5 insertions(+)
configs/am62x_lp_sk_a53_defconfig new file +3 -0
new file mode 100644
index 0000000000000..904b2142b2f53
@@ -0,0 +1,3 @@
+#include <configs/am62x_evm_a53_defconfig>
+CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am62-lp-sk"
+CONFIG_OF_UPSTREAM=y
configs/am62x_lp_sk_r5_defconfig new file +2 -0
new file mode 100644
index 0000000000000..93b3922e6fec5
@@ -0,0 +1,2 @@
+#include <configs/am62x_evm_r5_defconfig>
+CONFIG_DEFAULT_DEVICE_TREE="k3-am62-r5-lp-sk"
Signature · 1 line
2.43.2
#3 lore raw
In reply to Bryan Brattlof

Sorry everyone I hit send a little to fast on this one!

On May 3, 2024 thus sayeth Bryan Brattlof:

Quoted 20 lines

Hello Everyone!

The am625-lp-sk is a variant of the am625-sk showcasing the low-power features of the am625 SoC Family. Because it's essentially a board and package spin of the am625-sk I've inherited the am625 configuration and overridden what was needed.

This is a new spin of Nitin's original work which has been updated significantly since October 2023

https://lore.kernel.org/u-boot/[email protected]/

Unfortunately a patch is need on top of this series to boot:

https://lore.kernel.org/u-boot/[email protected]

For those of us interested here is proof of life using buildroot:

   https://paste.sr.ht/~bryanb/40f7787f7760bee383aa8fbc342a29e8544dbdab
Quoted 9 lines

Thank you for reviewing
~Bryan

---
Changes in v2:
- updated copyright year
- Link to v1: https://lore.kernel.org/r/[email protected]

Didn't actually fixup the copyright year. Just sent out v3 which actually did what I said I was going to :/

Sorry for the spam.

~Bryan