Skip to contentSkip to conversation

*** Add support for phyCORE-AM64x ***

PATCH Superseded Wadim Egorov 2 participants 4 messages Jan 29, 2024 – Feb 2, 2024

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover *** Add support for phyCORE-AM64x ***

Add basic support for the phyCORE-AM64x..

Wadim Egorov (2):
board: phytec: am64x: Add PHYTEC phyCORE-AM64x SoM
doc: board: phytec: Add phyCORE-AM64x

 arch/arm/dts/Makefile                         |    4 +-
 .../arm/dts/k3-am64-phycore-som-ddr4-2gb.dtsi | 2189 +++++++++++++++++
 arch/arm/dts/k3-am64-phycore-som.dtsi         |  320 +++
 .../k3-am642-phyboard-electra-rdk-u-boot.dtsi |  147 ++
 .../arm/dts/k3-am642-phyboard-electra-rdk.dts |  302 +++
 arch/arm/dts/k3-am642-phycore-som-binman.dtsi |  457 ++++
 arch/arm/dts/k3-am642-r5-phycore-som-2gb.dts  |  140 ++
 arch/arm/mach-k3/am64x/Kconfig                |   19 +
 board/phytec/phycore_am64x/Kconfig            |   33 +
 board/phytec/phycore_am64x/MAINTAINERS        |   15 +
 board/phytec/phycore_am64x/Makefile           |    9 +
 board/phytec/phycore_am64x/board-cfg.yaml     |   36 +
 board/phytec/phycore_am64x/phycore-am64x.c    |   50 +
 board/phytec/phycore_am64x/phycore_am64x.env  |   23 +
 board/phytec/phycore_am64x/pm-cfg.yaml        |   12 +
 board/phytec/phycore_am64x/rm-cfg.yaml        | 1215 +++++++++
 board/phytec/phycore_am64x/sec-cfg.yaml       |  379 +++
 configs/phycore_am64x_a53_defconfig           |  168 ++
 configs/phycore_am64x_r5_defconfig            |  180 ++
 doc/board/phytec/index.rst                    |    1 +
 doc/board/phytec/phycore-am64x.rst            |  159 ++
 include/configs/phycore_am64x.h               |   15 +
 22 files changed, 5872 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/k3-am64-phycore-som-ddr4-2gb.dtsi
 create mode 100644 arch/arm/dts/k3-am64-phycore-som.dtsi
 create mode 100644 arch/arm/dts/k3-am642-phyboard-electra-rdk-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-am642-phyboard-electra-rdk.dts
 create mode 100644 arch/arm/dts/k3-am642-phycore-som-binman.dtsi
 create mode 100644 arch/arm/dts/k3-am642-r5-phycore-som-2gb.dts
 create mode 100644 board/phytec/phycore_am64x/Kconfig
 create mode 100644 board/phytec/phycore_am64x/MAINTAINERS
 create mode 100644 board/phytec/phycore_am64x/Makefile
 create mode 100644 board/phytec/phycore_am64x/board-cfg.yaml
 create mode 100644 board/phytec/phycore_am64x/phycore-am64x.c
 create mode 100644 board/phytec/phycore_am64x/phycore_am64x.env
 create mode 100644 board/phytec/phycore_am64x/pm-cfg.yaml
 create mode 100644 board/phytec/phycore_am64x/rm-cfg.yaml
 create mode 100644 board/phytec/phycore_am64x/sec-cfg.yaml
 create mode 100644 configs/phycore_am64x_a53_defconfig
 create mode 100644 configs/phycore_am64x_r5_defconfig
 create mode 100644 doc/board/phytec/phycore-am64x.rst
 create mode 100644 include/configs/phycore_am64x.h
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/2 board: phytec: am64x: Add PHYTEC phyCORE-AM64x SoM

Add support for PHYTEC phyCORE-AM64x SoM.

Supported features:
- 2GB DDR4 RAM
- eMMC Flash
- external uSD
- OSPI NOR Flash
- debug UART

Product page SoM: https://www.phytec.com/product/phycore-am64x

Device trees were taken from Linux v6.8-rc2.

---
 arch/arm/dts/Makefile                         |    4 +-
 .../arm/dts/k3-am64-phycore-som-ddr4-2gb.dtsi | 2189 +++++++++++++++++
 arch/arm/dts/k3-am64-phycore-som.dtsi         |  320 +++
 .../k3-am642-phyboard-electra-rdk-u-boot.dtsi |  147 ++
 .../arm/dts/k3-am642-phyboard-electra-rdk.dts |  302 +++
 arch/arm/dts/k3-am642-phycore-som-binman.dtsi |  457 ++++
 arch/arm/dts/k3-am642-r5-phycore-som-2gb.dts  |  140 ++
 arch/arm/mach-k3/am64x/Kconfig                |   19 +
 board/phytec/phycore_am64x/Kconfig            |   33 +
 board/phytec/phycore_am64x/MAINTAINERS        |   15 +
 board/phytec/phycore_am64x/Makefile           |    9 +
 board/phytec/phycore_am64x/board-cfg.yaml     |   36 +
 board/phytec/phycore_am64x/phycore-am64x.c    |   50 +
 board/phytec/phycore_am64x/phycore_am64x.env  |   23 +
 board/phytec/phycore_am64x/pm-cfg.yaml        |   12 +
 board/phytec/phycore_am64x/rm-cfg.yaml        | 1215 +++++++++
 board/phytec/phycore_am64x/sec-cfg.yaml       |  379 +++
 configs/phycore_am64x_a53_defconfig           |  168 ++
 configs/phycore_am64x_r5_defconfig            |  180 ++
 include/configs/phycore_am64x.h               |   15 +
 20 files changed, 5712 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/k3-am64-phycore-som-ddr4-2gb.dtsi
 create mode 100644 arch/arm/dts/k3-am64-phycore-som.dtsi
 create mode 100644 arch/arm/dts/k3-am642-phyboard-electra-rdk-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-am642-phyboard-electra-rdk.dts
 create mode 100644 arch/arm/dts/k3-am642-phycore-som-binman.dtsi
 create mode 100644 arch/arm/dts/k3-am642-r5-phycore-som-2gb.dts
 create mode 100644 board/phytec/phycore_am64x/Kconfig
 create mode 100644 board/phytec/phycore_am64x/MAINTAINERS
 create mode 100644 board/phytec/phycore_am64x/Makefile
 create mode 100644 board/phytec/phycore_am64x/board-cfg.yaml
 create mode 100644 board/phytec/phycore_am64x/phycore-am64x.c
 create mode 100644 board/phytec/phycore_am64x/phycore_am64x.env
 create mode 100644 board/phytec/phycore_am64x/pm-cfg.yaml
 create mode 100644 board/phytec/phycore_am64x/rm-cfg.yaml
 create mode 100644 board/phytec/phycore_am64x/sec-cfg.yaml
 create mode 100644 configs/phycore_am64x_a53_defconfig
 create mode 100644 configs/phycore_am64x_r5_defconfig
 create mode 100644 include/configs/phycore_am64x.h
arch/arm/dts/Makefile +3 -1
index b5c588c336..42555c2627 100644
@@ -1417,7 +1417,9 @@ dtb-$(CONFIG_SOC_K3_J721S2) += k3-am68-sk-base-board.dtb\
 dtb-$(CONFIG_SOC_K3_AM642) += k3-am642-evm.dtb \
 			      k3-am642-r5-evm.dtb \
 			      k3-am642-sk.dtb \
-			      k3-am642-r5-sk.dtb
+			      k3-am642-r5-sk.dtb \
+			      k3-am642-phyboard-electra-rdk.dtb \
+			      k3-am642-r5-phycore-som-2gb.dtb
 
 dtb-$(CONFIG_SOC_K3_AM625) += k3-am625-sk.dtb \
 			      k3-am625-r5-sk.dtb \
arch/arm/dts/k3-am64-phycore-som-ddr4-2gb.dtsi new file +2189 -0

2,189 lines not on this page · raw message

arch/arm/dts/k3-am64-phycore-som.dtsi new file +320 -0

320 lines not on this page · raw message

arch/arm/dts/k3-am642-phyboard-electra-rdk-u-boot.dtsi new file +147 -0

147 lines not on this page · raw message

arch/arm/dts/k3-am642-phyboard-electra-rdk.dts new file +302 -0

302 lines not on this page · raw message

arch/arm/dts/k3-am642-phycore-som-binman.dtsi new file +457 -0

32 lines not on this page · raw message

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

140 lines not on this page · raw message

arch/arm/mach-k3/am64x/Kconfig +19 -0
index 6f7b003961..b8fea8716e 100644

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

board/phytec/phycore_am64x/Kconfig new file +33 -0
new file mode 100644
index 0000000000..427adb6fed

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

board/phytec/phycore_am64x/MAINTAINERS new file +15 -0
new file mode 100644
index 0000000000..0612c8c318

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

board/phytec/phycore_am64x/Makefile new file +9 -0
new file mode 100644
index 0000000000..78b8f1b1b8

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

board/phytec/phycore_am64x/board-cfg.yaml new file +36 -0
new file mode 100644
index 0000000000..8981b75caa

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

board/phytec/phycore_am64x/phycore-am64x.c new file +50 -0

50 lines not on this page · raw message

board/phytec/phycore_am64x/phycore_am64x.env new file +23 -0
new file mode 100644
index 0000000000..ada3a9233b

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

board/phytec/phycore_am64x/pm-cfg.yaml new file +12 -0
new file mode 100644
index 0000000000..7afb296210

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

board/phytec/phycore_am64x/rm-cfg.yaml new file +1215 -0

1,215 lines not on this page · raw message

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

379 lines not on this page · raw message

configs/phycore_am64x_a53_defconfig new file +168 -0

168 lines not on this page · raw message

configs/phycore_am64x_r5_defconfig new file +180 -0

180 lines not on this page · raw message

include/configs/phycore_am64x.h new file +15 -0
new file mode 100644
index 0000000000..9377db30a9

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.

#2 lore raw

Re: [PATCH 1/2] board: phytec: am64x: Add PHYTEC phyCORE-AM64x SoM

Hey Wadim,

just trying to give you feedback through the archived mail. (That's why the content is missing).

The R5 config has 0x800 as value for CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR. This offset wasn't changed upstream and the TI EVM still uses 0x400.

Regards,
Daniel

#3 lore raw

PATCH 2/2 doc: board: phytec: Add phyCORE-AM64x

In reply to Wadim Egorov

Add documentation for PHYTEC phyCORE-AM64x SoM.

---
 doc/board/phytec/index.rst         |   1 +
 doc/board/phytec/phycore-am64x.rst | 159 +++++++++++++++++++++++++++++
 2 files changed, 160 insertions(+)
 create mode 100644 doc/board/phytec/phycore-am64x.rst
doc/board/phytec/index.rst +1 -0
index 965d40de4d..bf247313a3 100644
@@ -8,5 +8,6 @@ PHYTEC
 
    imx8mm-phygate-tauri-l
    phycore-am62x
+   phycore-am64x
    phycore-imx8mm
    phycore-imx8mp
doc/board/phytec/phycore-am64x.rst new file +159 -0

159 lines not on this page · raw message

Signature · 1 line
2.34.1