From: Randolph Sapp <[email protected]> Add initial board support for the PocketBeagle 2 from BeagleBoard.org. This is based on the current official series from Robert Nelson [1] and work from Bryan Brattlof [2] with some light modifications to protect against certain configurations changes.
This borrows a lot from Phytec's current DDR fixup logic, as that seems to be the most complete implementation of a dynamic DDR correction for K3 in tree currently. Thanks Wadim Egorov and Dominik Haller for setting that up. Now that the various memory issues have been resolved we can clearly see at runtime that there's an issue with the current device. One of our reservations overlaps with the u-boot stack. To get around this we'll need to change the relocation address to something we know will not collide. [1] https://github.com/beagleboard/u-boot/tree/v2026.01-am62-pocketbeagle2 [2] https://github.com/bryanbrattlof/beagleboot/tree/b4/pb2i Bryan Brattlof (1): arm: mach-k3: am62: add &main_uart6 to clock and pwr tree Randolph Sapp (4): board_f: add a board_setup_dest_addr function k3-am62-pocketbeagle2: add initial board support k3-am62-pocketbeagle2: add support for 1GB variant k3-am62-pocketbeagle2: add support for efi capsules arch/arm/dts/Makefile | 1 + ...> k3-am62-pocketbeagle2-ddr4-1600MTs.dtsi} | 92 ++--- .../arm/dts/k3-am62-pocketbeagle2-u-boot.dtsi | 336 ++++++++++++++++++ arch/arm/dts/k3-am62-r5-pocketbeagle2.dts | 35 ++ arch/arm/mach-k3/am62x/Kconfig | 1 + arch/arm/mach-k3/r5/am62x/clk-data.c | 19 +- arch/arm/mach-k3/r5/am62x/dev-data.c | 5 +- board/beagle/pocketbeagle2/Kconfig | 86 +++++ board/beagle/pocketbeagle2/MAINTAINERS | 10 + board/beagle/pocketbeagle2/Makefile | 11 + .../board-cfg.yaml | 0 .../{beagleplay => pocketbeagle2}/pm-cfg.yaml | 0 board/beagle/pocketbeagle2/pocketbeagle2.c | 183 ++++++++++ .../pocketbeagle2/pocketbeagle2.env} | 23 +- .../beagle/pocketbeagle2/pocketbeagle2_ddr.h | 50 +++ .../pocketbeagle2}/rm-cfg.yaml | 4 +- .../sec-cfg.yaml | 0 common/board_f.c | 9 + ...onfig => am62_pocketbeagle2_a53_defconfig} | 25 +- ...config => am62_pocketbeagle2_r5_defconfig} | 16 +- doc/board/beagle/am62_pocketbeagle2.rst | 279 +++++++++++++++ doc/board/beagle/index.rst | 1 + include/configs/pocketbeagle2.h | 39 ++ 23 files changed, 1142 insertions(+), 83 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 create mode 100644 arch/arm/dts/k3-am62-r5-pocketbeagle2.dts create mode 100644 board/beagle/pocketbeagle2/Kconfig create mode 100644 board/beagle/pocketbeagle2/MAINTAINERS create mode 100644 board/beagle/pocketbeagle2/Makefile copy board/beagle/{beagleplay => pocketbeagle2}/board-cfg.yaml (100%) copy board/beagle/{beagleplay => pocketbeagle2}/pm-cfg.yaml (100%) create mode 100644 board/beagle/pocketbeagle2/pocketbeagle2.c copy board/{ti/am62x/am6254atl.env => beagle/pocketbeagle2/pocketbeagle2.env} (56%) create mode 100644 board/beagle/pocketbeagle2/pocketbeagle2_ddr.h copy board/{phytec/phycore_am62x => beagle/pocketbeagle2}/rm-cfg.yaml (99%) copy board/beagle/{beagleplay => pocketbeagle2}/sec-cfg.yaml (100%) copy configs/{am62x_beagleplay_a53_defconfig => am62_pocketbeagle2_a53_defconfig} (88%) copy configs/{am62x_beagleplay_r5_defconfig => am62_pocketbeagle2_r5_defconfig} (86%) create mode 100644 doc/board/beagle/am62_pocketbeagle2.rst create mode 100644 include/configs/pocketbeagle2.h -- 2.54.0

