Skip to contentSkip to conversation

*** Add support for phyCORE-AM62x ***

PATCH Superseded Wadim Egorov 2 participants 4 messages Dec 8, 2023 – Dec 19, 2023

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v3 cover *** Add support for phyCORE-AM62x ***

v3:
- Add boot modes chapter
- Reference tiboot3.bin instead of GP binary for default flashing
- Minor spelling fixes
- Pick up Reviewed-by: Dhruva Gole <[email protected]>

v2: https://lists.denx.de/pipermail/u-boot/2023-November/538971.html
v1: https://lists.denx.de/pipermail/u-boot/2023-October/535750.html

Wadim Egorov (2):
board: phytec: am62x: Add PHYTEC phyCORE-AM62x SoM
doc: board: phytec: Add phyCORE-AM62x

 arch/arm/dts/Makefile                         |    4 +-
 .../arm/dts/k3-am62-phycore-som-ddr4-2gb.dtsi | 2190 +++++++++++++++++
 arch/arm/dts/k3-am62-phycore-som.dtsi         |  324 +++
 .../k3-am625-phyboard-lyra-rdk-u-boot.dtsi    |  166 ++
 arch/arm/dts/k3-am625-phyboard-lyra-rdk.dts   |  266 ++
 arch/arm/dts/k3-am625-phycore-som-binman.dtsi |  380 +++
 arch/arm/dts/k3-am625-r5-phycore-som-2gb.dts  |  119 +
 arch/arm/mach-k3/am62x/Kconfig                |   17 +
 board/phytec/phycore_am62x/Kconfig            |   33 +
 board/phytec/phycore_am62x/MAINTAINERS        |   15 +
 board/phytec/phycore_am62x/Makefile           |    8 +
 board/phytec/phycore_am62x/board-cfg.yaml     |   36 +
 board/phytec/phycore_am62x/phycore-am62x.c    |   59 +
 board/phytec/phycore_am62x/phycore_am62x.env  |   23 +
 board/phytec/phycore_am62x/pm-cfg.yaml        |   12 +
 board/phytec/phycore_am62x/rm-cfg.yaml        | 1088 ++++++++
 board/phytec/phycore_am62x/sec-cfg.yaml       |  379 +++
 configs/phycore_am62x_a53_defconfig           |  115 +
 configs/phycore_am62x_r5_defconfig            |  130 +
 doc/board/phytec/index.rst                    |    1 +
 doc/board/phytec/phycore-am62x.rst            |  158 ++
 doc/board/ti/k3.rst                           |    1 +
 include/configs/phycore_am62x.h               |   15 +
 23 files changed, 5538 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/k3-am62-phycore-som-ddr4-2gb.dtsi
 create mode 100644 arch/arm/dts/k3-am62-phycore-som.dtsi
 create mode 100644 arch/arm/dts/k3-am625-phyboard-lyra-rdk-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-am625-phyboard-lyra-rdk.dts
 create mode 100644 arch/arm/dts/k3-am625-phycore-som-binman.dtsi
 create mode 100644 arch/arm/dts/k3-am625-r5-phycore-som-2gb.dts
 create mode 100644 board/phytec/phycore_am62x/Kconfig
 create mode 100644 board/phytec/phycore_am62x/MAINTAINERS
 create mode 100644 board/phytec/phycore_am62x/Makefile
 create mode 100644 board/phytec/phycore_am62x/board-cfg.yaml
 create mode 100644 board/phytec/phycore_am62x/phycore-am62x.c
 create mode 100644 board/phytec/phycore_am62x/phycore_am62x.env
 create mode 100644 board/phytec/phycore_am62x/pm-cfg.yaml
 create mode 100644 board/phytec/phycore_am62x/rm-cfg.yaml
 create mode 100644 board/phytec/phycore_am62x/sec-cfg.yaml
 create mode 100644 configs/phycore_am62x_a53_defconfig
 create mode 100644 configs/phycore_am62x_r5_defconfig
 create mode 100644 doc/board/phytec/phycore-am62x.rst
 create mode 100644 include/configs/phycore_am62x.h
Signature · 1 line
2.34.1
#1 lore raw

PATCH v3 1/2 board: phytec: am62x: Add PHYTEC phyCORE-AM62x SoM

Add basic support for PHYTEC phyCORE-AM62x SoM.

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

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

Device trees were taken from Linux v6.7-rc3.

---
v3:
- Pick up Reviewed-by: Dhruva Gole <[email protected]>

---
 arch/arm/dts/Makefile                         |    4 +-
 .../arm/dts/k3-am62-phycore-som-ddr4-2gb.dtsi | 2190 +++++++++++++++++
 arch/arm/dts/k3-am62-phycore-som.dtsi         |  324 +++
 .../k3-am625-phyboard-lyra-rdk-u-boot.dtsi    |  166 ++
 arch/arm/dts/k3-am625-phyboard-lyra-rdk.dts   |  266 ++
 arch/arm/dts/k3-am625-phycore-som-binman.dtsi |  380 +++
 arch/arm/dts/k3-am625-r5-phycore-som-2gb.dts  |  119 +
 arch/arm/mach-k3/am62x/Kconfig                |   17 +
 board/phytec/phycore_am62x/Kconfig            |   33 +
 board/phytec/phycore_am62x/MAINTAINERS        |   15 +
 board/phytec/phycore_am62x/Makefile           |    8 +
 board/phytec/phycore_am62x/board-cfg.yaml     |   36 +
 board/phytec/phycore_am62x/phycore-am62x.c    |   59 +
 board/phytec/phycore_am62x/phycore_am62x.env  |   23 +
 board/phytec/phycore_am62x/pm-cfg.yaml        |   12 +
 board/phytec/phycore_am62x/rm-cfg.yaml        | 1088 ++++++++
 board/phytec/phycore_am62x/sec-cfg.yaml       |  379 +++
 configs/phycore_am62x_a53_defconfig           |  115 +
 configs/phycore_am62x_r5_defconfig            |  130 +
 include/configs/phycore_am62x.h               |   15 +
 20 files changed, 5378 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/k3-am62-phycore-som-ddr4-2gb.dtsi
 create mode 100644 arch/arm/dts/k3-am62-phycore-som.dtsi
 create mode 100644 arch/arm/dts/k3-am625-phyboard-lyra-rdk-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-am625-phyboard-lyra-rdk.dts
 create mode 100644 arch/arm/dts/k3-am625-phycore-som-binman.dtsi
 create mode 100644 arch/arm/dts/k3-am625-r5-phycore-som-2gb.dts
 create mode 100644 board/phytec/phycore_am62x/Kconfig
 create mode 100644 board/phytec/phycore_am62x/MAINTAINERS
 create mode 100644 board/phytec/phycore_am62x/Makefile
 create mode 100644 board/phytec/phycore_am62x/board-cfg.yaml
 create mode 100644 board/phytec/phycore_am62x/phycore-am62x.c
 create mode 100644 board/phytec/phycore_am62x/phycore_am62x.env
 create mode 100644 board/phytec/phycore_am62x/pm-cfg.yaml
 create mode 100644 board/phytec/phycore_am62x/rm-cfg.yaml
 create mode 100644 board/phytec/phycore_am62x/sec-cfg.yaml
 create mode 100644 configs/phycore_am62x_a53_defconfig
 create mode 100644 configs/phycore_am62x_r5_defconfig
 create mode 100644 include/configs/phycore_am62x.h
arch/arm/dts/Makefile +3 -1
index ea420db1b8..0496d281f7 100644
@@ -1418,7 +1418,9 @@ dtb-$(CONFIG_SOC_K3_AM625) += k3-am625-sk.dtb \
 			      k3-am625-beagleplay.dtb \
 			      k3-am625-r5-beagleplay.dtb \
 			      k3-am625-verdin-wifi-dev.dtb \
-			      k3-am625-verdin-r5.dtb
+			      k3-am625-verdin-r5.dtb \
+			      k3-am625-phyboard-lyra-rdk.dtb \
+			      k3-am625-r5-phycore-som-2gb.dtb
 
 dtb-$(CONFIG_SOC_K3_AM62A7) += k3-am62a7-sk.dtb \
 			      k3-am62a7-r5-sk.dtb
arch/arm/dts/k3-am62-phycore-som-ddr4-2gb.dtsi new file +2190 -0

2,190 lines not on this page · raw message

arch/arm/dts/k3-am62-phycore-som.dtsi new file +324 -0

324 lines not on this page · raw message

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

166 lines not on this page · raw message

arch/arm/dts/k3-am625-phyboard-lyra-rdk.dts new file +266 -0

266 lines not on this page · raw message

arch/arm/dts/k3-am625-phycore-som-binman.dtsi new file +380 -0

44 lines not on this page · raw message

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

119 lines not on this page · raw message

arch/arm/mach-k3/am62x/Kconfig +17 -0
index 8091d72078..935d596c87 100644

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

board/phytec/phycore_am62x/Kconfig new file +33 -0
new file mode 100644
index 0000000000..b64c345138

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

board/phytec/phycore_am62x/MAINTAINERS new file +15 -0
new file mode 100644
index 0000000000..884e9c6776

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

board/phytec/phycore_am62x/Makefile new file +8 -0
new file mode 100644
index 0000000000..76a663f7f2

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

board/phytec/phycore_am62x/board-cfg.yaml new file +36 -0
new file mode 100644
index 0000000000..36cfb550ad

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

board/phytec/phycore_am62x/phycore-am62x.c new file +59 -0

59 lines not on this page · raw message

board/phytec/phycore_am62x/phycore_am62x.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_am62x/pm-cfg.yaml new file +12 -0
new file mode 100644
index 0000000000..5d04cf82ef

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

board/phytec/phycore_am62x/rm-cfg.yaml new file +1088 -0

1,088 lines not on this page · raw message

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

379 lines not on this page · raw message

configs/phycore_am62x_a53_defconfig new file +115 -0

115 lines not on this page · raw message

configs/phycore_am62x_r5_defconfig new file +130 -0

130 lines not on this page · raw message

include/configs/phycore_am62x.h new file +15 -0
new file mode 100644
index 0000000000..10b78b6f53

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 v3 1/2] board: phytec: am62x: Add PHYTEC phyCORE-AM62x SoM

Quoted 10 lines · Wadim Egorov

Add basic support for PHYTEC phyCORE-AM62x SoM.

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

Quoted 6 lines

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

Device trees were taken from Linux v6.7-rc3.

Please rebase this on current -next as phycore_am62x_r5 fails to build due to yaml schema moving around, thanks.

Signature · 1 line
Tom
#3 lore raw

PATCH v3 2/2 doc: board: phytec: Add phyCORE-AM62x

In reply to Wadim Egorov

Add documentation for PHYTEC phyCORE-AM62x SoM.

---
v3:
- Add boot modes chapter
- Reference tiboot3.bin instead of GP binary for default flashing
- Minor spelling fixes
- Pick up Reviewed-by: Dhruva Gole <[email protected]>

---
 doc/board/phytec/index.rst         |   1 +
 doc/board/phytec/phycore-am62x.rst | 158 +++++++++++++++++++++++++++++
 doc/board/ti/k3.rst                |   1 +
 3 files changed, 160 insertions(+)
 create mode 100644 doc/board/phytec/phycore-am62x.rst
doc/board/phytec/index.rst +1 -0
index a5b442045e..b914cc3fbd 100644
@@ -6,5 +6,6 @@ PHYTEC
 .. toctree::
    :maxdepth: 2
 
+   phycore-am62x
    phycore-imx8mm
    phycore-imx8mp
doc/board/phytec/phycore-am62x.rst new file +158 -0

158 lines not on this page · raw message

doc/board/ti/k3.rst +1 -0
index a127215ce5..435c72a428 100644
@@ -33,6 +33,7 @@ K3 Based SoCs
    am62ax_sk
    am62x_sk
    ../beagle/am62x_beagleplay
+   ../phytec/phycore-am62x
    ../toradex/verdin-am62
    am64x_evm
    am65x_evm
Signature · 1 line
2.34.1