Re: [PATCH 3/6] board: ti: am62x: Avoid overwriting reserve mem for AM62 SIP

2023-11-08 Thread Nitin Yadav
On 31/10/23 19:25, Tom Rini wrote: > On Tue, Oct 31, 2023 at 06:58:06PM +0530, Nitin Yadav wrote: >> AM62 SIP has 512MB RAM. But the top of the RAM is reserved for >> TF-A and OPTEE. U-Boot relocating there would cause overwriting >> of these reserved regions. Fix this by

[PATCH 6/6] doc: ti: Add AM62SIP SK Board information

2023-10-31 Thread Nitin Yadav
Add link for AM62SIP SK in platform information. AM62SIP SK has config fragment for R5 SPL to build U-boot, Adding information to update UBOOT_CFG_CORTEXR with am62sip fragment over am62x defconfig. Signed-off-by: Nitin Yadav --- doc/board/ti/am62x_sk.rst | 7 +++ 1 file changed, 7

[PATCH 5/6] board: ti: am62x: Add am62xsip_sk_r5.config defconfig fragment

2023-10-31 Thread Nitin Yadav
Add config fragments am62xsip_sk_r5.config for R5 configuration. Signed-off-by: Nitin Yadav --- board/ti/am62x/am62xsip_sk_r5.config | 5 + 1 file changed, 5 insertions(+) create mode 100644 board/ti/am62x/am62xsip_sk_r5.config diff --git a/board/ti/am62x/am62xsip_sk_r5.config b/board/ti

[PATCH 2/6] ram: k3-ddrss: k3-ddrss: Fix updating ddr size with ecc off

2023-10-31 Thread Nitin Yadav
5 SPL DT input. Signed-off-by: Vignesh Raghavendra Signed-off-by: Nitin Yadav --- drivers/ram/k3-ddrss/k3-ddrss.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b/drivers/ram/k3-ddrss/k3-ddrss.c index b54557f02c..28129d52a6 100644 --- a/drivers/ram/k3-ddr

[PATCH 1/6] arm: dts: k3-am62x-sip-ddr-lp4-50-800: Add DDR configuration for AM62-SIP

2023-10-31 Thread Nitin Yadav
AM62x SIP SKEVM has DDR type LPDDR4. Add DDR configuration for AM62x SK EVM in k3-am62x-sip-ddr-lp4-50-800.dtsi Signed-off-by: Bryan Brattlof Signed-off-by: Nitin Yadav --- arch/arm/dts/k3-am62x-sip-ddr-lp4-50-800.dtsi | 2191 + 1 file changed, 2191 insertions(+) create mode

[PATCH 4/6] arm: dts: Add support for AM62x SIP SKEVM at R5 SPL

2023-10-31 Thread Nitin Yadav
The AM62x SIP SKEVM board has different type of DDR than AM62x SK board. This requires different r5 SPL device tree. These dt changes add support for AM62x SIP SKEVM at R5 SPL. SK-AM62-SIP: https://www.ti.com/tool/download/SPRR482 Signed-off-by: Nitin Yadav --- arch/arm/dts/Makefile

[PATCH 3/6] board: ti: am62x: Avoid overwriting reserve mem for AM62 SIP

2023-10-31 Thread Nitin Yadav
AM62 SIP has 512MB RAM. But the top of the RAM is reserved for TF-A and OPTEE. U-Boot relocating there would cause overwriting of these reserved regions. Fix this by limit U-Boot to first 64MB of RAM for all boards with 512MB. Signed-off-by: Vignesh Raghavendra Signed-off-by: Nitin Yadav

[PATCH 0/6] Add AM62SIP SK support

2023-10-31 Thread Nitin Yadav
/20231030110138.1347603-1-n-ya...@ti.com/) - The link provided in board documentaion will be active at later point. (https://www.ti.com/tool/SK-AM62-SIP) Nitin Yadav (6): arm: dts: k3-am62x-sip-ddr-lp4-50-800: Add DDR configuration for AM62-SIP ram: k3-ddrss: k3-ddrss: Fix updating ddr size with ecc off

Re: [PATCH v2 3/4] board: ti: am62x: add am62x_lpsk_*_defconfigs fragments

2023-10-31 Thread Nitin Yadav
On 31/10/23 13:28, Dhruva Gole wrote: > Hi Nitin, > > On Oct 30, 2023 at 16:31:37 +0530, Nitin Yadav wrote: >> Add defconfig fragments for AM62x LP SK for for AM62x LP SK. > > Please check and re-word the commit message. Thanks Dhruva for pointing out. > >>

[PATCH v2 4/4] doc: ti: Add AM62x LP SK Board information

2023-10-30 Thread Nitin Yadav
Add link for AM62x LP SK in platform information. AM62x LP SK has config fragments to build U-boot, Adding information to update UBOOT_CFG_CORTEXR with lpsk fragments over am62x defconfig. Signed-off-by: Nitin Yadav --- doc/board/ti/am62x_sk.rst | 8 1 file changed, 8 insertions

[PATCH v2 2/4] arm: dts: Add support for AM62x LP SK

2023-10-30 Thread Nitin Yadav
for building bootloader images. Reuse k3-am625-sk-binman and override the dtb names to that of AM62x LP SK board. Signed-off-by: Nitin Yadav --- arch/arm/dts/Makefile |2 + arch/arm/dts/k3-am62-lp-sk-u-boot.dtsi| 32 + arch/arm/dts/k3-am62-lp-sk.dts

[PATCH v2 3/4] board: ti: am62x: add am62x_lpsk_*_defconfigs fragments

2023-10-30 Thread Nitin Yadav
Add defconfig fragments for AM62x LP SK for for AM62x LP SK. Signed-off-by: Nitin Yadav --- board/ti/am62x/am62x_lpsk_a53.config | 5 + board/ti/am62x/am62x_lpsk_r5.config | 5 + 2 files changed, 10 insertions(+) create mode 100644 board/ti/am62x/am62x_lpsk_a53.config create mode

[PATCH v2 1/4] arm: dts: Refactor common dtsi file for R5 and A53 SPL

2023-10-30 Thread Nitin Yadav
e at u-boot proper before relocation. Signed-off-by: Nitin Yadav --- arch/arm/dts/k3-am625-r5-sk.dts | 94 + arch/arm/dts/k3-am625-sk-u-boot.dtsi| 110 +--- arch/arm/dts/k3-am62x-r5-sk-common.dtsi | 96 + arch/arm/dts/k3-am62x-sk

[PATCH v2 0/4] Add AM62x LP SK support

2023-10-30 Thread Nitin Yadav
k3-am62x-ddr-lp4-50-800-800.dtsi - Squashed binman.dtsi into k3-am62-lp-sk-u-boot.dtsi - Removed am62xlpsk.env environment, for now using am62.env V1: https://lore.kernel.org/all/20230927082105.3729470-1-n-ya...@ti.com/ Nitin Yadav (4): arm: dts: Refactor common dtsi file for R5 and A53 SPL ar

Re: [PATCH 2/4] arm: dts: Add support for AM62x LP SK

2023-10-25 Thread Nitin Yadav
Hi Nishanth, On 27/09/23 17:22, Nishanth Menon wrote: > On 13:51-20230927, Nitin Yadav wrote: >> The AM62x LP SK board is similar to the AM62x SK board, >> but has some significant changes that requires different >> device tree. >> >> The differences are mainly:

Re: [PATCH 2/4] arm: dts: Add support for AM62x LP SK

2023-10-03 Thread Nitin Yadav
On 28/09/23 20:00, Nishanth Menon wrote: > On 15:00-20230928, Nitin Yadav wrote: >> Hi, >> >> On 27/09/23 17:22, Nishanth Menon wrote: >>> On 13:51-20230927, Nitin Yadav wrote: >>>> The AM62x LP SK board is similar to the AM62x SK board, >>&

Re: [PATCH 1/4] arm: dts: Refactor common dtsi file for R5 and A53 SPL

2023-09-28 Thread Nitin Yadav
On 27/09/23 17:26, Nishanth Menon wrote: > On 13:51-20230927, Nitin Yadav wrote: >> Add k3-am62x-r5-sk-common to include nodes common for R5 >> SPL from k3-am625-r5-sk for AM62x SoC based boards. Add >> k3-am62x-sk-common-u-boot to move common nodes of A53 SPL >> st

Re: [PATCH 0/4] Add AM62x LP SK support

2023-09-28 Thread Nitin Yadav
On 27/09/23 17:26, Nishanth Menon wrote: > On 13:51-20230927, Nitin Yadav wrote: >> This series adds support of AM62x LP SK. The AM62x LP SK board >> is similar to AM62x SK but has some significant changes that >> requires different set of device tree at each stage o

Re: [PATCH 2/4] arm: dts: Add support for AM62x LP SK

2023-09-28 Thread Nitin Yadav
Hi, On 27/09/23 17:22, Nishanth Menon wrote: > On 13:51-20230927, Nitin Yadav wrote: >> The AM62x LP SK board is similar to the AM62x SK board, >> but has some significant changes that requires different >> device tree. >> >> The differences are mainly: >&

[PATCH 4/4] board: ti: am62x: add am62x_lpsk_* defconfigs and env files

2023-09-27 Thread Nitin Yadav
Add defconfig fragments for AM62x LP SK and corresponding customized environment file for AM62x LP SK. Signed-off-by: Nitin Yadav --- board/ti/am62x/am62x_lpsk_a53.config | 5 + board/ti/am62x/am62x_lpsk_r5.config | 5 + board/ti/am62x/am62xlpsk.env | 21

[PATCH 2/4] arm: dts: Add support for AM62x LP SK

2023-09-27 Thread Nitin Yadav
discrete regulators. - IO expander pin names are wired differently. - Second ethernet port is currently disabled as the boards do not have the part physically installed. - OSPI NAND vs OSPI NOR. - No WLAN chip instead a SDIO M.2 connector. Signed-off-by: Nitin Yadav --- arch/arm/dts/Makefile

[PATCH 3/4] arm: dts: k3-am62-lp-sk-binman: Add binman support

2023-09-27 Thread Nitin Yadav
Switch to binman for building bootloader images. Reuse k3-am625-sk-binman and override the dtb names to that of AM62 LP SK board. Signed-off-by: Nitin Yadav --- arch/arm/dts/k3-am62-lp-sk-binman.dtsi | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 arch/arm

[PATCH 1/4] arm: dts: Refactor common dtsi file for R5 and A53 SPL

2023-09-27 Thread Nitin Yadav
Add k3-am62x-r5-sk-common to include nodes common for R5 SPL from k3-am625-r5-sk for AM62x SoC based boards. Add k3-am62x-sk-common-u-boot to move common nodes of A53 SPL stage from k3-am625-sk-u-boot. Signed-off-by: Nitin Yadav --- arch/arm/dts/k3-am625-r5-sk.dts | 94

[PATCH 0/4] Add AM62x LP SK support

2023-09-27 Thread Nitin Yadav
all am62x SoC varients. Nitin Yadav (4): arm: dts: Refactor common dtsi file for R5 and A53 SPL arm: dts: Add support for AM62x LP SK arm: dts: k3-am62-lp-sk-binman: Add binman support board: ti: am62x: add am62x_lpsk_* defconfigs and env files arch/arm/dts/Makefile

Re: [PATCH V4 4/8] drivers: mmc: am654_sdhci: Update OTAP/ITAP delay

2023-08-23 Thread Nitin Yadav
On 23/08/23 15:45, Nitin Yadav wrote: Hi Mattijs, On 23/08/23 13:36, Mattijs Korpershoek wrote: On mar., août 22, 2023 at 13:41, Nishanth Menon wrote: From: Nitin Yadav U-Boot is fail to boot class U1 UHS SD cards (such as microcenter) due to incorrect OTAP and ITAP delay select values

Re: [PATCH V4 4/8] drivers: mmc: am654_sdhci: Update OTAP/ITAP delay

2023-08-23 Thread Nitin Yadav
Hi Mattijs, On 23/08/23 13:36, Mattijs Korpershoek wrote: On mar., août 22, 2023 at 13:41, Nishanth Menon wrote: From: Nitin Yadav U-Boot is fail to boot class U1 UHS SD cards (such as microcenter) due to incorrect OTAP and ITAP delay select values. Update OTAP and ITAP delay select values

Re: [EXTERNAL] [PATCH 00/10] Add AM62x LP SK support

2023-05-04 Thread Nitin Yadav
de clean and easy to follow. Regards, Nitin On 4/26/2023 3:08 PM, Nitin Yadav wrote: > This series adds support of AM62x LP SK. The AM62x LP SK > board is similar to AM62x SK but has some significant changes > that requires different set of device tree at each stage > of bootl

[PATCH 10/10] configs: am62x_evm_r5_defconfig: Enable support for building multiple dtbs at R5 SPL

2023-04-26 Thread Nitin Yadav
configs to determine correct board Model and names. Signed-off-by: Nitin Yadav --- configs/am62x_evm_r5_defconfig | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/am62x_evm_r5_defconfig b/configs/am62x_evm_r5_defconfig index 44a9130d99..707afde1e5 100644 --- a

[PATCH 09/10] configs: am62x_lpsk_a53_defconfig: Enable support for building multiple dtbs into FIT

2023-04-26 Thread Nitin Yadav
correct board ID. Signed-off-by: Nitin Yadav --- configs/am62x_evm_a53_defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index cc9c8eab3e..8df93464d7 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

[PATCH 08/10] board: ti: am62x: Add support for detecting multiple device trees

2023-04-26 Thread Nitin Yadav
-off-by: Nitin Yadav --- board/ti/am62x/evm.c | 148 +++ 1 file changed, 148 insertions(+) diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c index cc8e31824b..8b3a57c464 100644 --- a/board/ti/am62x/evm.c +++ b/board/ti/am62x/evm.c @@ -12,14 +12,24

[PATCH 07/10] arm: mach-k3: am625_init: Update board specific API name to K3 generic API's

2023-04-26 Thread Nitin Yadav
Add k3_spl_post_dt_magic() to establish early console and configure and startup system controller firmware. Signed-off-by: Nitin Yadav --- arch/arm/mach-k3/am625_init.c | 34 ++- arch/arm/mach-k3/include/mach/sys_proto.h | 1 + board/ti/am62x/evm.c

[PATCH 04/10] arm: dts: Add support for AM62x LP SK at R5 SPL stage

2023-04-26 Thread Nitin Yadav
The AM62x LP SK board is similar to AM62x SK board, but has a own set of attributes that requires different device tree on each stage of bootloader. These dt changes add support for AM62x LP SK at R5 SPL. Signed-off-by: Nitin Yadav --- arch/arm/dts/k3-am62-r5-lp-sk.dts | 12

[PATCH 06/10] board: ti: am62x: am62x_env: Update env to select correct dtb

2023-04-26 Thread Nitin Yadav
Now that single defconfig is getting used to boot AM62x SK and AM62x LP SK, the default device tree will not work for selecting dtb for kernel. Update the findfdt env to select right dtb based on board_name env variable. Signed-off-by: Nitin Yadav --- board/ti/am62x/am62x.env | 4 1 file

[PATCH 05/10] arm: dts: k3-am625-generic: Add generic DT for pre R5 SPL

2023-04-26 Thread Nitin Yadav
To add support of am62x lpsk as unified defconfig.A generic device tree need to add for pre R5 SPL stage with optimal nodes. Adding generic tree with I2C and uart nodes helps determine board model and board name at pre R5 SPL stage. Signed-off-by: Nitin Yadav --- arch/arm/dts/k3-am625

[PATCH 03/10] arm: dts: Sync DT to add support of AM62x LP SK

2023-04-26 Thread Nitin Yadav
To prepare for upcoming derivative boards based on the AM625 SK, sync the dts and dtsi files for this board so that the derivative boards will inherit and retain only those parts that are different in the current dts file. Signed-off-by: Nitin Yadav --- arch/arm/dts/k3-am62-main.dtsi

[PATCH 02/10] arm: dts: Add support for AM62x LP SK

2023-04-26 Thread Nitin Yadav
discrete regulators. - IO expander pin names are wired differently. - Second ethernet port is currently disabled as the boards do not have the part physically installed. - OSPI NAND vs OSPI NOR. - No WLAN chip instead a SDIO M.2 connector. Signed-off-by: Nitin Yadav --- arch/arm/dts/k3-am62-lp-sk-u

[PATCH 01/10] arm: dts: Makefile: Add AM62x LP SK device tree

2023-04-26 Thread Nitin Yadav
The AM62x LP SK board has separate set of device tree. Add k3-am625-generic device tree to have a common device tree for pre R5 SPl stages. Update Makefile with k3-am62-r5-lp-sk.dts and k3-am62-lp-sk device tree to include in same build with AM62x SK. Signed-off-by: Nitin Yadav --- arch/arm/dts

[PATCH 00/10] Add AM62x LP SK support

2023-04-26 Thread Nitin Yadav
detection and select correct dtb based on board ID. The last 2 patches enable config to support for building multiple dtb. Nitin Yadav (10): arm: dts: Makefile: Add AM62x LP SK device tree arm: dts: Add support for AM62x LP SK arm: dts: Sync DT to add support of AM62x LP SK arm: dts: Add support