Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Minor formatting updates to the rm board configuration file for
am62x and am62ax boards.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add environment variables for AM62a remote proc loading of C7x DSP
and R5F processors.
Signed-off-by: Hari Nagalla <hnagalla@ti.com>
|
|
Modify rm-cfg.yaml to ensure it is latest and can boot to kernel.
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
|
|
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>
|
|
Added YAML configs for AM62ax
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|