Skip to contentSkip to conversation

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

PATCH In review Wadim Egorov 2 participants 7 messages Dec 20, 2023 – Jan 17, 2024

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

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

v4:
- Rebase on current next
- Drop schema file overrides from binman

v3: https://lists.denx.de/pipermail/u-boot/2023-December/539779.html
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 |  314 +++
 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, 5472 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 v4 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.

---
v4:
- Rebase on current next
- Drop schema file overrides from binman
---

 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 |  314 +++
 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, 5312 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 e9e58c5478..01c14ac49f 100644
@@ -1420,7 +1420,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 +314 -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 v4 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.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
#3 lore raw

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

In reply to Wadim Egorov

Add documentation for PHYTEC phyCORE-AM62x SoM.

---
 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 f19ee56f29..dab781b2ae 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
#5 lore raw
In reply to Wadim Egorov

Hello,

is there something missing in this series for it to be applied?
I would like to add support for a 2nd k3/am64x board based on this. So it would be nice to know if I can do it the same way or should wait for more k3 changes to come in first?

Regards,
Wadim

Am 20.12.23 um 10:18 schrieb Wadim Egorov:

Quoted 56 lines

v4:
- Rebase on current next
- Drop schema file overrides from binman

v3: https://lists.denx.de/pipermail/u-boot/2023-December/539779.html
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 |  314 +++
  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, 5472 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

#6 lore raw
Quoted 6 lines · Wadim Egorov

Hello,

is there something missing in this series for it to be applied? I would like to add support for a 2nd k3/am64x board based on this. So it would be nice to know if I can do it the same way or should wait for more k3 changes to come in first?

Yes, sorry, I'll pick this up soon.

Quoted 62 lines

Regards,
Wadim

Am 20.12.23 um 10:18 schrieb Wadim Egorov:

Quoted 56 lines

v4:
- Rebase on current next
- Drop schema file overrides from binman

v3: https://lists.denx.de/pipermail/u-boot/2023-December/539779.html
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 |  314 +++
  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, 5472 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
Tom