Skip to contentSkip to conversation

Add phyCORE AM62Ax

PATCH In review Garrett Giordano 3 participants 5 messages Nov 19, 2024 – Dec 14, 2024

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

v2 cover Add phyCORE AM62Ax

This patch set adds the phyCORE AM62Ax board support and documenation to u-boot.

The phyCORE-AM62Ax is a SoM (System on Module) featuring TI's AM62Ax SoC. It can be used in combination with different carrier boards. This module can come with different sizes and models for DDR, eMMC, SPI NOR Flash and various SoCs from the AM62x family.

A development Kit, called phyBOARD-Lyra is used as a carrier board reference design around the AM62x SoM.

This series depends on the following two patches:
- [PATCH v2] arm: mach-k3: am62a7: Provide a way to obtain boot device for non SPL
https://lists.denx.de/pipermail/u-boot/2024-October/570156.html
- [PATCH] board: phytec: common: Introduce CONFIG_PHYTEC_K3_DDR_PATCH
https://lists.denx.de/pipermail/u-boot/2024-November/571543.html

v2:
- Dop DECLARE_GLOBAL_DATA_PTR from phycore-am62ax.c board file.
- fix underline length in phyCORE-AM62Ax docs
- explicitly define build steps in docs, replacing include
- Verified make htmldocs is working.
- picked up Reviewed-by

Garrett Giordano (2):
board: phytec: am62a7: Add PHYTEC phyCORE-AM62A7 SoM
doc: board: phytec: Add phyCORE-AM62ax

 arch/arm/dts/Makefile                         |    4 +-
 arch/arm/dts/k3-am62a-phycore-som-binman.dtsi |  454 +++
 .../dts/k3-am62a-phycore-som-ddr4-2gb.dtsi    | 2798 +++++++++++++++++
 .../k3-am62a7-phyboard-lyra-rdk-u-boot.dtsi   |  252 ++
 arch/arm/dts/k3-am62a7-r5-phycore-som-2gb.dts |  137 +
 arch/arm/mach-k3/am62ax/Kconfig               |   21 +
 board/phytec/phycore_am62ax/Kconfig           |   37 +
 board/phytec/phycore_am62ax/MAINTAINERS       |   14 +
 board/phytec/phycore_am62ax/Makefile          |    6 +
 board/phytec/phycore_am62ax/board-cfg.yaml    |   36 +
 board/phytec/phycore_am62ax/phycore-am62ax.c  |   64 +
 .../phytec/phycore_am62ax/phycore_am62ax.env  |   14 +
 board/phytec/phycore_am62ax/pm-cfg.yaml       |   12 +
 board/phytec/phycore_am62ax/rm-cfg.yaml       | 1047 ++++++
 board/phytec/phycore_am62ax/sec-cfg.yaml      |  379 +++
 board/phytec/phycore_am62ax/tifs-rm-cfg.yaml  |  903 ++++++
 configs/phycore_am62ax_a53_defconfig          |  181 ++
 configs/phycore_am62ax_r5_defconfig           |  129 +
 doc/board/phytec/index.rst                    |    1 +
 doc/board/phytec/phycore-am62ax.rst           |  183 ++
 doc/board/ti/k3.rst                           |    1 +
 include/configs/phycore_am62ax.h              |   15 +
 22 files changed, 6687 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/k3-am62a-phycore-som-binman.dtsi
 create mode 100644 arch/arm/dts/k3-am62a-phycore-som-ddr4-2gb.dtsi
 create mode 100644 arch/arm/dts/k3-am62a7-phyboard-lyra-rdk-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-am62a7-r5-phycore-som-2gb.dts
 create mode 100644 board/phytec/phycore_am62ax/Kconfig
 create mode 100644 board/phytec/phycore_am62ax/MAINTAINERS
 create mode 100644 board/phytec/phycore_am62ax/Makefile
 create mode 100644 board/phytec/phycore_am62ax/board-cfg.yaml
 create mode 100644 board/phytec/phycore_am62ax/phycore-am62ax.c
 create mode 100644 board/phytec/phycore_am62ax/phycore_am62ax.env
 create mode 100644 board/phytec/phycore_am62ax/pm-cfg.yaml
 create mode 100644 board/phytec/phycore_am62ax/rm-cfg.yaml
 create mode 100644 board/phytec/phycore_am62ax/sec-cfg.yaml
 create mode 100644 board/phytec/phycore_am62ax/tifs-rm-cfg.yaml
 create mode 100644 configs/phycore_am62ax_a53_defconfig
 create mode 100644 configs/phycore_am62ax_r5_defconfig
 create mode 100644 doc/board/phytec/phycore-am62ax.rst
 create mode 100644 include/configs/phycore_am62ax.h

--
2.25.1

#1 lore raw

PATCH v2 1/2 board: phytec: am62a7: Add PHYTEC phyCORE-AM62A7 SoM

Add support for PHYTEC phyCORE-AM62A7 SoM.

Supported features:
- 2GB LPDDR4 RAM
- eMMC
- External SD
- Ethernet
- debug UART

---
v2:
- Dop DECLARE_GLOBAL_DATA_PTR from phycore-am62ax.c board file.
- Pick up Reviewed-by:

 arch/arm/dts/Makefile                         |    4 +-
 arch/arm/dts/k3-am62a-phycore-som-binman.dtsi |  454 +++
 .../dts/k3-am62a-phycore-som-ddr4-2gb.dtsi    | 2798 +++++++++++++++++
 .../k3-am62a7-phyboard-lyra-rdk-u-boot.dtsi   |  252 ++
 arch/arm/dts/k3-am62a7-r5-phycore-som-2gb.dts |  137 +
 arch/arm/mach-k3/am62ax/Kconfig               |   21 +
 board/phytec/phycore_am62ax/Kconfig           |   37 +
 board/phytec/phycore_am62ax/MAINTAINERS       |   14 +
 board/phytec/phycore_am62ax/Makefile          |    6 +
 board/phytec/phycore_am62ax/board-cfg.yaml    |   36 +
 board/phytec/phycore_am62ax/phycore-am62ax.c  |   64 +
 .../phytec/phycore_am62ax/phycore_am62ax.env  |   14 +
 board/phytec/phycore_am62ax/pm-cfg.yaml       |   12 +
 board/phytec/phycore_am62ax/rm-cfg.yaml       | 1047 ++++++
 board/phytec/phycore_am62ax/sec-cfg.yaml      |  379 +++
 board/phytec/phycore_am62ax/tifs-rm-cfg.yaml  |  903 ++++++
 configs/phycore_am62ax_a53_defconfig          |  181 ++
 configs/phycore_am62ax_r5_defconfig           |  129 +
 include/configs/phycore_am62ax.h              |   15 +
 19 files changed, 6502 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/k3-am62a-phycore-som-binman.dtsi
 create mode 100644 arch/arm/dts/k3-am62a-phycore-som-ddr4-2gb.dtsi
 create mode 100644 arch/arm/dts/k3-am62a7-phyboard-lyra-rdk-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-am62a7-r5-phycore-som-2gb.dts
 create mode 100644 board/phytec/phycore_am62ax/Kconfig
 create mode 100644 board/phytec/phycore_am62ax/MAINTAINERS
 create mode 100644 board/phytec/phycore_am62ax/Makefile
 create mode 100644 board/phytec/phycore_am62ax/board-cfg.yaml
 create mode 100644 board/phytec/phycore_am62ax/phycore-am62ax.c
 create mode 100644 board/phytec/phycore_am62ax/phycore_am62ax.env
 create mode 100644 board/phytec/phycore_am62ax/pm-cfg.yaml
 create mode 100644 board/phytec/phycore_am62ax/rm-cfg.yaml
 create mode 100644 board/phytec/phycore_am62ax/sec-cfg.yaml
 create mode 100644 board/phytec/phycore_am62ax/tifs-rm-cfg.yaml
 create mode 100644 configs/phycore_am62ax_a53_defconfig
 create mode 100644 configs/phycore_am62ax_r5_defconfig
 create mode 100644 include/configs/phycore_am62ax.h
arch/arm/dts/Makefile +3 -1
index 042282f3723..b92e5ce6d99 100644
@@ -1183,7 +1183,9 @@ dtb-$(CONFIG_SOC_K3_AM625) += k3-am625-r5-sk.dtb \
 			      k3-am625-verdin-r5.dtb \
 			      k3-am625-r5-phycore-som-2gb.dtb
 
-dtb-$(CONFIG_SOC_K3_AM62A7) += k3-am62a7-r5-sk.dtb
+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
 
arch/arm/dts/k3-am62a-phycore-som-binman.dtsi new file +454 -0

454 lines not on this page · raw message

arch/arm/dts/k3-am62a-phycore-som-ddr4-2gb.dtsi new file +2798 -0

2,536 lines not on this page · raw message

arch/arm/dts/k3-am62a7-phyboard-lyra-rdk-u-boot.dtsi new file +252 -0

252 lines not on this page · raw message

arch/arm/dts/k3-am62a7-r5-phycore-som-2gb.dts new file +137 -0

137 lines not on this page · raw message

arch/arm/mach-k3/am62ax/Kconfig +21 -0
index bbd5497f2ae..f8cdcdca57a 100644

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

board/phytec/phycore_am62ax/Kconfig new file +37 -0
new file mode 100644
index 00000000000..516dc8e2020

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

board/phytec/phycore_am62ax/MAINTAINERS new file +14 -0
new file mode 100644
index 00000000000..3e4e2feff4e

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

board/phytec/phycore_am62ax/Makefile new file +6 -0
new file mode 100644
index 00000000000..61e7c92c1c9

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

board/phytec/phycore_am62ax/board-cfg.yaml new file +36 -0
new file mode 100644
index 00000000000..a0930d69b88

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

board/phytec/phycore_am62ax/phycore-am62ax.c new file +64 -0

64 lines not on this page · raw message

board/phytec/phycore_am62ax/phycore_am62ax.env new file +14 -0
new file mode 100644
index 00000000000..77c5ea8d99a

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

board/phytec/phycore_am62ax/pm-cfg.yaml new file +12 -0
new file mode 100644
index 00000000000..4031af2f4d3

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

board/phytec/phycore_am62ax/rm-cfg.yaml new file +1047 -0

1,047 lines not on this page · raw message

board/phytec/phycore_am62ax/sec-cfg.yaml new file +379 -0

379 lines not on this page · raw message

board/phytec/phycore_am62ax/tifs-rm-cfg.yaml new file +903 -0

903 lines not on this page · raw message

configs/phycore_am62ax_a53_defconfig new file +181 -0

181 lines not on this page · raw message

configs/phycore_am62ax_r5_defconfig new file +129 -0

129 lines not on this page · raw message

include/configs/phycore_am62ax.h new file +15 -0
new file mode 100644
index 00000000000..661ba8f73ca

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

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

--
2.25.1

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

#2 lore raw

PATCH v2 2/2 doc: board: phytec: Add phyCORE-AM62ax

In reply to Garrett Giordano

Add documentation for PHYTEC phyCORE-AM62ax SoM.

---
v2:
- Fix underline length in phyCORE-AM62Ax docs.
- Explicitly define build steps in docs, replacing include.
- Verified make htmldocs is working.
- Pick up Reviewed-by:

 doc/board/phytec/index.rst          |   1 +
 doc/board/phytec/phycore-am62ax.rst | 183 ++++++++++++++++++++++++++++
 doc/board/ti/k3.rst                 |   1 +
 3 files changed, 185 insertions(+)
 create mode 100644 doc/board/phytec/phycore-am62ax.rst
doc/board/phytec/index.rst +1 -0
index 99848a9e958..697aec30512 100644
@@ -9,6 +9,7 @@ PHYTEC
    imx8mm-phygate-tauri-l
    imx93-phyboard-segin
    phycore-am62x
+   phycore-am62ax
    phycore-am64x
    phycore-imx8mm
    phycore-imx8mp
doc/board/phytec/phycore-am62ax.rst new file +183 -0

183 lines not on this page · raw message

doc/board/ti/k3.rst +1 -0
index 5d01f487622..0deb4d768f9 100644
@@ -46,6 +46,7 @@ K3 SoC based boards in other sections
 * :doc:`../beagle/am62x_beagleplay`
 * :doc:`../beagle/j721e_beagleboneai64`
 * :doc:`../phytec/phycore-am62x`
+* :doc:`../phytec/phycore-am62ax`
 * :doc:`../toradex/verdin-am62`
 
 Boot Flow Overview

--
2.25.1

#4 lore raw
In reply to Garrett Giordano
Quoted 9 lines · Garrett Giordano

This patch set adds the phyCORE AM62Ax board support and documenation to u-boot.

The phyCORE-AM62Ax is a SoM (System on Module) featuring TI's AM62Ax SoC. It can be used in combination with different carrier boards. This module can come with different sizes and models for DDR, eMMC, SPI NOR Flash and various SoCs from the AM62x family.

[...]

Applied to u-boot/next, thanks!

Signature · 1 line
Tom