On 7/30/26 4:53 PM, [email protected] wrote:
From: Randolph Sapp <[email protected]>

Add initial board support for the PocketBeagle 2, based on Robert Nelson
and Bryan Brattlof's work. Unify all debug consoles to main_uart6. Use
DDR config v10.32 from our sysconfig tool [1] for Kingston's memory [2],
(4Gb Desnity with a CL of 11 and CWL of 9). Add support for the
SPL_TEXT_BASE config parameter. Ensure all files have a summary and SPDX
identifier.

Also, use board_get_usable_ram_top() to fixup our relocaddr since
otherwise the u-boot stack reservation will collide with the
wkup_r5fss0_core0_memory_region.

[1] https://dev.ti.com/sysconfig
[2] 
https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/6465/D2516AN9EXGXN-TU.pdf

Signed-off-by: Randolph Sapp <[email protected]>
---
v3:
        - Use board_get_usable_ram_top
v5:
        - Sync rm-cfg.yaml with am62x config. These apparently shouldn't
          be different between SOCs unless you are doing something
          application specific that requires unusual resource
          reservations. The discrepancy here was just due to age.
---
  arch/arm/dts/Makefile                         |   1 +
  ...> k3-am62-pocketbeagle2-ddr4-1600MTs.dtsi} |  92 +++---
  .../arm/dts/k3-am62-pocketbeagle2-u-boot.dtsi | 307 ++++++++++++++++++
  arch/arm/dts/k3-am62-r5-pocketbeagle2.dts     |  35 ++
  arch/arm/mach-k3/am62x/Kconfig                |   1 +
  board/beagle/pocketbeagle2/Kconfig            |  60 ++++
  board/beagle/pocketbeagle2/MAINTAINERS        |  10 +
  board/beagle/pocketbeagle2/Makefile           |   9 +
  .../board-cfg.yaml                            |   0
  .../{beagleplay => pocketbeagle2}/pm-cfg.yaml |   0
  board/beagle/pocketbeagle2/pocketbeagle2.c    |  58 ++++
  board/beagle/pocketbeagle2/pocketbeagle2.env  |  26 ++
  .../pocketbeagle2}/rm-cfg.yaml                |   0
  .../sec-cfg.yaml                              |   0
  ...onfig => am62_pocketbeagle2_a53_defconfig} |  24 +-
  ...config => am62_pocketbeagle2_r5_defconfig} |  11 +-
  doc/board/beagle/am62_pocketbeagle2.rst       | 279 ++++++++++++++++
  doc/board/beagle/index.rst                    |   1 +
  include/configs/pocketbeagle2.h               |  14 +
  19 files changed, 867 insertions(+), 61 deletions(-)
  copy arch/arm/dts/{k3-am62x-sk-ddr4-1600MTs.dtsi => 
k3-am62-pocketbeagle2-ddr4-1600MTs.dtsi} (97%)
  create mode 100644 arch/arm/dts/k3-am62-pocketbeagle2-u-boot.dtsi

Wish we had better templates for the binman stuff so this much didn't need
cloned for every new AM62 board. Problem for another time I guess. Everything
else here looks good to me,

Reviewed-by: Andrew Davis <[email protected]>

Reply via email to