summaryrefslogtreecommitdiff
path: root/board/ti/am62ax
AgeCommit message (Collapse)Author
2024-03-21board: ti: am6*x: evm: Fix up incorrect RAM size for AM62A and AM62PSanthosh Kumar K
The fixup_memory_node() does no change in AM64, AM62A and AM62P when ECC is not enabled. Instead, it causes an issue of fixing up the RAM size as 2GB instead of 4GB and 8GB for AM62A and AM62P because the fix up is done by the R5 SPL and R5 being a 32-bit processor, the gd->bd->bi_dram[bank].start and gd->bd->bi_dram[bank].size values are restricted to 32-bits. So, remove the fixup_memory_node() from spl_perform_fixups() in AM64, AM62A and AM62P's evm files. Fixes: 410888e38c7e ("board: ti: Pull redundant DDR functions to a common location and Fixup DDR size when ECC is enabled") Signed-off-by: Santhosh Kumar K <s-k6@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2024-03-21board: ti: am62*: Fix the rtc file inclusionJayesh Choudhary
Include the header file instead of c file. Fixes: d36ad81d25a9 ("board: ti: common: add rtc setup to common folder") Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21board: ti: rm-cfg: Update rm-cfg to reflect new resource reservationVishal Mahaveer
With the latest TIFS firmware, an additional virtual interrupt and event is reserved for TIFS usage on am62x, am62ax and am62px devices. Update the rm-cfg to reflect this new reservation. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2024-03-21board: ti: Pull redundant DDR functions to a common location and Fixup DDR ↵Santhosh Kumar K
size when ECC is enabled As there are few redundant functions in board/ti/*/evm.c files, pull them to a common location of access to reuse and include the common file to access the functions. Call k3-ddrss driver through fixup_ddr_driver_for_ecc() to fixup the device tree and resize the available amount of DDR, if ECC is enabled. Otherwise, fixup the device tree using the regular fdt_fixup_memory_banks(). Modify fixup_ddr_driver_for_ecc() to make the function agnostic to the number of DDR controllers present. Signed-off-by: Santhosh Kumar K <s-k6@ti.com> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2023-11-30board: ti: am62x/am62ax: Update MCU GPIO interrupt allocation in board configVishal Mahaveer
Share the MCU GPIO interrupts between A53 core and DM R5 core. Allocating 2 instances each to A53 and DM R5. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2023-11-30board: ti: am62ax: Add C7x resource allocation entries to board configVishal Mahaveer
Update am62ax rm-cfg with allocation entries for C7x core. Following updates are added for C7x: - Share split BCDMA tx and rx channels between DM R5 and C7x - Share rings for split BCDMA tx and rx channels between DM R5 and C7x - Add Global events and Virtual interrupts for C7x Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2023-11-30board: ti: am62x/am62ax: Formatting updates to board config filesVishal Mahaveer
Minor formatting updates to the rm board configuration file for am62x and am62ax boards. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2023-11-30Revert "board: ti: rm-cfg: Update to latest configuration"Vishal Mahaveer
This reverts commit eff76d94a30dac6904f19ccd18838a44a6790879. This patch brought in cumulative updates from resource-partitioning tool, including a change for latest TIFS firmware (v09.01.07) which breaks backward compatibility. The TIFS firmware is updated to revert the change that caused backward compatibility break (v09.01.08). Reverting this patch and bringing in the updates (minus the change done for the compatibility breaking TIFS firmware) in granular patches subsequently. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2023-11-24board: ti: rm-cfg: Update to latest configurationVishal Mahaveer
Update RM boardcfg to latest output from k3-resource-partitioning tool for am62, am62ax and am62px devices. Commit SHA of k3-resource-partitioning tool: e8dcac2413f918aad02298fbe476891c71823c41 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Tested-by: Dhruva Gole <d-gole@ti.com> #am62px
2023-11-07configs: am62ax: setup the 32k RTC crystalBryan Brattlof
The am62ax utilizes the same 32k crystal for a more accurate RTC clock source. Enable the configuration to set this up for Linux. Signed-off-by: Bryan Brattlof <bb@ti.com>
2023-07-05board: ti: am62a: Add support for tifs-rm-cfg.yamlNeha Malcom Francis
According to latest supported configuration, we pick stripped down version of resource management config for AM62A (same as what is currently followed in J784S4). Add support for generating this config binary as well as packaging it into tiboot3.bin Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2023-07-05board: ti: yaml: Update YAML configsNeha Malcom Francis
Update sec-cfg.yaml as well as the YAML schema to the latest security configuration. Also update tifs-rm-cfg.yaml for J784S4 to the latest resource management configuration. Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2023-06-23include: environment: ti: am62ax: Add ospi_nand environment varApurva Nandan
K3 AM62Ax has OSPI NAND flash on OSPI0, add environment variables to allow OSPI NAND boot. Signed-off-by: Apurva Nandan <a-nandan@ti.com>
2023-06-05env: ti: mmc.env: Move mmc related args to common placeVignesh Raghavendra
All K3 SoCs use same set of args to load kernel for MMC. So move this to common place to avoid duplication. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2023-05-30board: ti: am62ax: Add support for remote proc loadHari Nagalla
Add environment variables for AM62a remote proc loading of C7x DSP and R5F processors. Signed-off-by: Hari Nagalla <hnagalla@ti.com>
2023-05-26board: ti: rm-cfg: Modify rm-cfg.yamlNeha Malcom Francis
Modify rm-cfg.yaml to ensure it is latest and can boot to kernel. Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2023-05-25am62a: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.imgNeha Malcom Francis
Support added for HS and GP boot binaries for AM62ax. tiboot3.bin, tispl.bin and u-boot.img: For HS-SE devices tiboot3.bin_fs, tispl.bin and u-boot.img: For HS-FS devices tiboot3.bin_unsigned, tispl.bin_unsigned and u-boot.img_unsigned: For GP devices It is to be noted that the bootflow followed by AM62ax requires: tiboot3.bin: * R5 SPL * R5 SPL dtbs * TIFS * board-cfg * pm-cfg * sec-cfg * rm-cfg tispl.bin: * DM * ATF * OPTEE * A72 SPL * A72 SPL dtbs u-boot.img: * A72 U-Boot * A72 U-Boot dtbs Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-05-25am62a: yaml: Add board configs for AM62axNeha Malcom Francis
Added YAML configs for AM62ax Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2023-05-22environment: ti: Make get_fdt_mmc commonAndrew Davis
Since get_fdt_mmc is common, factor it out into mmc.env and remove it from each platform env file. Use it in mmcloados but keep loadfdt defined in case it is still used by some external uEnv.txt script. Signed-off-by: Andrew Davis <afd@ti.com>
2023-05-19include: configs: am62ax: Use DFU args from .envRavi Gunasekaran
Now that DFU args are available in k3_dfu.env, remove the DFU args from am62ax_evm.h and include them in the am62ax.env file Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
2023-05-19board: ti: am62ax: evm.c: Add board init to support USB DFUBryan Brattlof
Set the USB PHY core voltage to 0.85V Signed-off-by: Bryan Brattlof <bb@ti.com> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
2023-05-09environment: ti: Prefix ARM64 DTB names with directoryAndrew Davis
In Linux the ARM64 DTSs are stored in vendor directories to help organize the files and prevent naming collisions. The deployed DTBs will mirror this and so the vendor prefix should be added to the variable used to locate these files. Suggested-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Andrew Davis <afd@ti.com>
2023-04-04include: configs: am62ax: Change to using .envNikhil M Jain
commit 25d29a83762af3d1744c3918e1e5125160787773 upstream. Move to using .env file for setting up environment variables for am62ax. This patch depends on https://lore.kernel.org/all/20230315052745.110502-1-n-francis@ti.com/ Signed-off-by: Nikhil M Jain <n-jain1@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2023-04-04board: ti: Kconfig: Correct invalid Kconfig syntaxNeha Malcom Francis
commit 54ff4eeb59dd7f1b4141cdfdc1126d85fb03751f upstream. Kconfig does not support using 'select' to select a 'choice'. A choice can be configured by either setting the choice symbol to 'y' in a configuration file or by setting a 'default' of the choice. In board/ti/*/Kconfig the SOC_K3_* choice is already set to 'y' in their corresponding configs/*_defconfig file. So remove selecting it. Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2022-12-09board: ti: introduce the basic files needed to support the am62aBryan Brattlof
Introduce the bare minimum SD and UART support for the am62a sk. Signed-off-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>