Skip to contentSkip to conversation

board: toradex: add verdin am62p support

PATCH In review Vitor Soares 2 participants 2 messages May 19, 2025 – Jun 3, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: toradex: add verdin am62p support

From: Parth Pancholi <[email protected]>

This adds initial support for the Toradex Verdin AM62P module.

The module consists of an TI AM62P family SoC, a TPS65219 PMIC, a Gigabit Ethernet PHY, up to 8GB of LPDDR4 RAM, an eMMC, a TLA2024 ADC, an I2C EEPROM, an RX8130 RTC, plus an optional Bluetooth/Wi-Fi module.

These specific changes adds support for Toradex Verdin AM62P Quad 2GB WB IT module.

---
Device tree is the same from current Linux next, with audio_refclk0 removed since it's not present in U-Boot k3-am62p-main.dtsi. The audio_refclk0 was added to k3-am62p-main.dtsi in Linux v6.15, while U-Boot is currently synced with Linux v6.14;

Full alignment will be completed once the board device tree is in mainline Linux [1], at which point we'll move to OF_UPSTREAM.

This patch depends on [2], which should be applied first.

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

 arch/arm/dts/Makefile                         |    4 +-
 arch/arm/dts/k3-am62p-verdin-dev.dtsi         |  243 ++
 arch/arm/dts/k3-am62p-verdin-wifi.dtsi        |   31 +
 arch/arm/dts/k3-am62p-verdin.dtsi             | 1399 ++++++++
 .../arm/dts/k3-am62p5-verdin-lpddr4-1600.dtsi | 2801 +++++++++++++++++
 arch/arm/dts/k3-am62p5-verdin-r5.dts          |   84 +
 .../dts/k3-am62p5-verdin-wifi-dev-binman.dtsi |  325 ++
 .../dts/k3-am62p5-verdin-wifi-dev-u-boot.dtsi |  167 +
 arch/arm/dts/k3-am62p5-verdin-wifi-dev.dts    |   22 +
 arch/arm/mach-k3/am62px/Kconfig               |    1 +
 board/toradex/verdin-am62p/Kconfig            |   83 +
 board/toradex/verdin-am62p/MAINTAINERS        |   17 +
 board/toradex/verdin-am62p/Makefile           |    6 +
 board/toradex/verdin-am62p/board-cfg.yaml     |   37 +
 board/toradex/verdin-am62p/pm-cfg.yaml        |   12 +
 board/toradex/verdin-am62p/rm-cfg.yaml        | 1083 +++++++
 board/toradex/verdin-am62p/sec-cfg.yaml       |  378 +++
 board/toradex/verdin-am62p/tifs-rm-cfg.yaml   |  927 ++++++
 board/toradex/verdin-am62p/verdin-am62p.c     |  151 +
 board/toradex/verdin-am62p/verdin-am62p.env   |   41 +
 configs/verdin-am62p_a53_defconfig            |  199 ++
 configs/verdin-am62p_r5_defconfig             |  117 +
 doc/board/toradex/verdin-am62p.rst            |  196 ++
 include/configs/verdin-am62p.h                |   15 +
 24 files changed, 8338 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/k3-am62p-verdin-dev.dtsi
 create mode 100644 arch/arm/dts/k3-am62p-verdin-wifi.dtsi
 create mode 100644 arch/arm/dts/k3-am62p-verdin.dtsi
 create mode 100644 arch/arm/dts/k3-am62p5-verdin-lpddr4-1600.dtsi
 create mode 100644 arch/arm/dts/k3-am62p5-verdin-r5.dts
 create mode 100644 arch/arm/dts/k3-am62p5-verdin-wifi-dev-binman.dtsi
 create mode 100644 arch/arm/dts/k3-am62p5-verdin-wifi-dev-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-am62p5-verdin-wifi-dev.dts
 create mode 100644 board/toradex/verdin-am62p/Kconfig
 create mode 100644 board/toradex/verdin-am62p/MAINTAINERS
 create mode 100644 board/toradex/verdin-am62p/Makefile
 create mode 100644 board/toradex/verdin-am62p/board-cfg.yaml
 create mode 100644 board/toradex/verdin-am62p/pm-cfg.yaml
 create mode 100644 board/toradex/verdin-am62p/rm-cfg.yaml
 create mode 100644 board/toradex/verdin-am62p/sec-cfg.yaml
 create mode 100644 board/toradex/verdin-am62p/tifs-rm-cfg.yaml
 create mode 100644 board/toradex/verdin-am62p/verdin-am62p.c
 create mode 100644 board/toradex/verdin-am62p/verdin-am62p.env
 create mode 100644 configs/verdin-am62p_a53_defconfig
 create mode 100644 configs/verdin-am62p_r5_defconfig
 create mode 100644 doc/board/toradex/verdin-am62p.rst
 create mode 100644 include/configs/verdin-am62p.h
arch/arm/dts/Makefile +3 -1
index 32b698a7f411..0355d39936ab 100644
@@ -1112,7 +1112,9 @@ dtb-$(CONFIG_SOC_K3_AM62A7) += \
 	k3-am62a7-r5-sk.dtb \
 	k3-am62a7-r5-phycore-som-2gb.dtb
 
-dtb-$(CONFIG_SOC_K3_AM62P5) += k3-am62p5-r5-sk.dtb
+dtb-$(CONFIG_SOC_K3_AM62P5) += k3-am62p5-r5-sk.dtb \
+			       k3-am62p5-verdin-r5.dtb \
+			       k3-am62p5-verdin-wifi-dev.dtb
 
 dtb-$(CONFIG_ARCH_MEDIATEK) += \
 	mt7622-rfb.dtb \
arch/arm/dts/k3-am62p-verdin-dev.dtsi new file +243 -0

243 lines not on this page · raw message

arch/arm/dts/k3-am62p-verdin-wifi.dtsi new file +31 -0
new file mode 100644
index 000000000000..04d3124b5e0f
@@ -0,0 +1,31 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2025 Toradex
+ *
+ * Common dtsi for Verdin AM62P SoM WB variant
+ *
+ * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62p
+ */
+
+/* On-module Bluetooth */
+&main_uart6 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart6>;
+	uart-has-rtscts;
+	status = "okay";
+
+	bluetooth {
+		compatible = "nxp,88w8987-bt";
+		fw-init-baudrate = <3000000>;
+	};
+};
+
+/* On-module Wi-Fi */
+&sdhci2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_sdhci2>;
+	keep-power-in-suspend;
+	non-removable;
+	ti,fails-without-test-cd;
+	status = "okay";
+};
arch/arm/dts/k3-am62p-verdin.dtsi new file +1399 -0

1,399 lines not on this page · raw message

arch/arm/dts/k3-am62p5-verdin-lpddr4-1600.dtsi new file +2801 -0

1,317 lines not on this page · raw message

arch/arm/dts/k3-am62p5-verdin-r5.dts new file +84 -0

84 lines not on this page · raw message

arch/arm/dts/k3-am62p5-verdin-wifi-dev-binman.dtsi new file +325 -0

325 lines not on this page · raw message

arch/arm/dts/k3-am62p5-verdin-wifi-dev-u-boot.dtsi new file +167 -0

167 lines not on this page · raw message

arch/arm/dts/k3-am62p5-verdin-wifi-dev.dts new file +22 -0
new file mode 100644
index 000000000000..bbc2770d5f5d

Lines of this file are not shown. View the raw message.

arch/arm/mach-k3/am62px/Kconfig +1 -0
index 76ae86b66222..0f1fcfab5fc3 100644

Lines of this file are not shown. View the raw message.

board/toradex/verdin-am62p/Kconfig new file +83 -0

83 lines not on this page · raw message

board/toradex/verdin-am62p/MAINTAINERS new file +17 -0
new file mode 100644
index 000000000000..97094e0e756a

Lines of this file are not shown. View the raw message.

board/toradex/verdin-am62p/Makefile new file +6 -0
new file mode 100644
index 000000000000..2eef6f4f592e

Lines of this file are not shown. View the raw message.

board/toradex/verdin-am62p/board-cfg.yaml new file +37 -0
new file mode 100644
index 000000000000..d539011aff9f

Lines of this file are not shown. View the raw message.

board/toradex/verdin-am62p/pm-cfg.yaml new file +12 -0
new file mode 100644
index 000000000000..3ff27ce702c2

Lines of this file are not shown. View the raw message.

board/toradex/verdin-am62p/rm-cfg.yaml new file +1083 -0

1,083 lines not on this page · raw message

board/toradex/verdin-am62p/sec-cfg.yaml new file +378 -0

378 lines not on this page · raw message

board/toradex/verdin-am62p/tifs-rm-cfg.yaml new file +927 -0

927 lines not on this page · raw message

board/toradex/verdin-am62p/verdin-am62p.c new file +151 -0

151 lines not on this page · raw message

board/toradex/verdin-am62p/verdin-am62p.env new file +41 -0

41 lines not on this page · raw message

configs/verdin-am62p_a53_defconfig new file +199 -0

199 lines not on this page · raw message

configs/verdin-am62p_r5_defconfig new file +117 -0

117 lines not on this page · raw message

doc/board/toradex/verdin-am62p.rst new file +196 -0

196 lines not on this page · raw message

include/configs/verdin-am62p.h new file +15 -0
new file mode 100644
index 000000000000..eef360ee9b66

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.34.1

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 10 lines · Vitor Soares

This adds initial support for the Toradex Verdin AM62P module.

The module consists of an TI AM62P family SoC, a TPS65219 PMIC, a Gigabit Ethernet PHY, up to 8GB of LPDDR4 RAM, an eMMC, a TLA2024 ADC, an I2C EEPROM, an RX8130 RTC, plus an optional Bluetooth/Wi-Fi module.

These specific changes adds support for Toradex Verdin AM62P Quad 2GB WB IT module.

[...]

Applied to u-boot/next, thanks!

[1/1] board: toradex: add verdin am62p support

      commit: b8c43968b801c568b66b1d2985e8542275d9d49a
Signature · 1 line
Tom