[PATCH v3 08/16] board: ti: j784s4: Add board support for J784S4 EVM
Apurva Nandan
a-nandan at ti.com
Tue Sep 19 19:43:07 CEST 2023
Hi,
On 09/09/23 16:32, Roger Quadros wrote:
>
> On 08/09/2023 14:05, Apurva Nandan wrote:
>> Add board files for J784S4 EVM.
>>
>> Signed-off-by: Hari Nagalla <hnagalla at ti.com>
>> [ add env and board specific yaml files for binman ]
>> Signed-off-by: Neha Malcom Francis <n-francis at ti.com>
>> [ cleaned up the env files ]
>> Signed-off-by: Manorit Chawdhry <m-chawdhry at ti.com>
>> Signed-off-by: Apurva Nandan <a-nandan at ti.com>
>> ---
>> arch/arm/mach-k3/Kconfig | 1 +
>> board/ti/j784s4/Kconfig | 63 +
>> board/ti/j784s4/MAINTAINERS | 20 +
>> board/ti/j784s4/Makefile | 8 +
>> board/ti/j784s4/board-cfg.yaml | 36 +
>> board/ti/j784s4/evm.c | 87 +
>> board/ti/j784s4/j784s4.env | 35 +
>> board/ti/j784s4/pm-cfg.yaml | 12 +
>> board/ti/j784s4/rm-cfg.yaml | 3057 ++++++++++++++++++++++++++++++
>> board/ti/j784s4/sec-cfg.yaml | 379 ++++
>> board/ti/j784s4/tifs-rm-cfg.yaml | 2655 ++++++++++++++++++++++++++
>> include/configs/j784s4_evm.h | 20 +
>> 12 files changed, 6373 insertions(+)
>> create mode 100644 board/ti/j784s4/Kconfig
>> create mode 100644 board/ti/j784s4/MAINTAINERS
>> create mode 100644 board/ti/j784s4/Makefile
>> create mode 100644 board/ti/j784s4/board-cfg.yaml
>> create mode 100644 board/ti/j784s4/evm.c
>> create mode 100644 board/ti/j784s4/j784s4.env
>> create mode 100644 board/ti/j784s4/pm-cfg.yaml
>> create mode 100644 board/ti/j784s4/rm-cfg.yaml
>> create mode 100644 board/ti/j784s4/sec-cfg.yaml
>> create mode 100644 board/ti/j784s4/tifs-rm-cfg.yaml
>> create mode 100644 include/configs/j784s4_evm.h
>>
>> diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
>> index 0af2ec6ddb..ba3dd393e3 100644
>> --- a/arch/arm/mach-k3/Kconfig
>> +++ b/arch/arm/mach-k3/Kconfig
>> @@ -197,4 +197,5 @@ source "board/ti/j721e/Kconfig"
>> source "board/siemens/iot2050/Kconfig"
>> source "board/ti/j721s2/Kconfig"
>> source "board/toradex/verdin-am62/Kconfig"
>> +source "board/ti/j784s4/Kconfig"
>> endif
>> diff --git a/board/ti/j784s4/Kconfig b/board/ti/j784s4/Kconfig
>> new file mode 100644
>> index 0000000000..7eeb21f451
>> --- /dev/null
>> +++ b/board/ti/j784s4/Kconfig
>> @@ -0,0 +1,63 @@
>> +# SPDX-License-Identifier: GPL-2.0+
>> +#
>> +# Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
>> +# Hari Nagalla <hnagalla at ti.com>
>> +
>> +choice
>> + prompt "K3 J784S4 board"
>> + optional
>> +
>> +config TARGET_J784S4_A72_EVM
>> + bool "TI K3 based J784S4 EVM running on A72"
>> + select ARM64
>> + select SOC_K3_J784S4
>> + select BOARD_LATE_INIT
>> + select SYS_DISABLE_DCACHE_OPS
>> + select BINMAN
>> +
>> +config TARGET_J784S4_R5_EVM
>> + bool "TI K3 based J784S4 EVM running on R5"
>> + select CPU_V7R
>> + select SYS_THUMB_BUILD
>> + select SOC_K3_J784S4
>> + select K3_LOAD_SYSFW
>> + select RAM
>> + select SPL_RAM
>> + select K3_DDRSS
>> + select BINMAN
>> + imply SYS_K3_SPL_ATF
>> +
>> +endchoice
>> +
>> +if TARGET_J784S4_A72_EVM
>> +
>> +config SYS_BOARD
>> + default "j784s4"
>> +
>> +config SYS_VENDOR
>> + default "ti"
>> +
>> +config SYS_CONFIG_NAME
>> + default "j784s4_evm"
>> +
>> +source "board/ti/common/Kconfig"
>> +
>> +endif
>> +
>> +if TARGET_J784S4_R5_EVM
>> +
>> +config SYS_BOARD
>> + default "j784s4"
>> +
>> +config SYS_VENDOR
>> + default "ti"
>> +
>> +config SYS_CONFIG_NAME
>> + default "j784s4_evm"
>> +
>> +config SPL_LDSCRIPT
>> + default "arch/arm/mach-omap2/u-boot-spl.lds"
>> +
>> +source "board/ti/common/Kconfig"
>> +
>> +endif
>> diff --git a/board/ti/j784s4/MAINTAINERS b/board/ti/j784s4/MAINTAINERS
>> new file mode 100644
>> index 0000000000..7d3549dd31
>> --- /dev/null
>> +++ b/board/ti/j784s4/MAINTAINERS
>> @@ -0,0 +1,20 @@
>> +J784S4 BOARD
>> +M: Hari Nagalla <hnagalla at ti.com>
>> +S: Maintained
>> +F: board/ti/j784s4
>> +F: arch/arm/mach-k3/j784s4
>> +F: include/configs/j784s4_evm.h
>> +F: configs/j784s4_evm_r5_defconfig
>> +F: configs/j784s4_evm_a72_defconfig
>> +F: arch/arm/dts/k3-j784s4.dtsi
>> +F: arch/arm/dts/k3-j784s4-main.dtsi
>> +F: arch/arm/dts/k3-j784s4-mcu-wakeup.dtsi
>> +F: arch/arm/dts/k3-j784s4-thermal.dtsi
>> +F: arch/arm/dts/k3-j784s4-evm.dts
>> +F: arch/arm/dts/k3-j784s4-evm-u-boot.dtsi
>> +F: arch/arm/dts/k3-j784s4-r5-evm.dts
>> +F: arch/arm/dts/k3-j784s4-ddr.dtsi
>> +F: arch/arm/dts/k3-j784s4-ddr-evm-lp4-4266.dtsi
>> +F: arch/arm/dts/k3-am69-sk.dts
>> +F: arch/arm/dts/k3-am69-sk-u-boot.dtsi
>> +F: arch/arm/dts/k3-am69-r5-sk.dts
>> diff --git a/board/ti/j784s4/Makefile b/board/ti/j784s4/Makefile
>> new file mode 100644
>> index 0000000000..fc98b24a2d
>> --- /dev/null
>> +++ b/board/ti/j784s4/Makefile
>> @@ -0,0 +1,8 @@
>> +#
>> +# Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
>> +# Hari Nagalla <hnagalla at ti.com>
>> +#
>> +# SPDX-License-Identifier: GPL-2.0+
> SPDX tag must be the first line?
Okay, will fix, thanks!
>
>> +#
>> +
>> +obj-y += evm.o
>> diff --git a/board/ti/j784s4/board-cfg.yaml b/board/ti/j784s4/board-cfg.yaml
>> new file mode 100644
>> index 0000000000..ea9a8b4a26
>> --- /dev/null
>> +++ b/board/ti/j784s4/board-cfg.yaml
>> @@ -0,0 +1,36 @@
>> +# SPDX-License-Identifier: GPL-2.0+
>> +# Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
>> +#
>> +# Board configuration for J784S4
>> +#
>> +
> <snip>
>
--
Thanks and regards,
Apurva Nandan,
Texas Instruments India.
More information about the U-Boot
mailing list