Introduce initial TI's J784S4 and AM69 support
Subsystems (8)
v9 cover Introduce initial TI's J784S4 and AM69 support
Hello Everyone!
This series will introduce basic support (SD and UART) support for Texas Instruments J784S4 EVM.
The J784S4 SoC device tree patches are taken from kernel patch submissions and will be updated as they are accepted and merged to the kernel tree. All other patches are specific to SPL and u-boot and do not have dependency on other trees. Appreciate a review for acceptance to u-boot tree.
Here are some of the salient features of the J784S4 automotive grade application processor:
The J784S4 SoC belongs to the K3 Multicore SoC architecture platform, providing advanced system integration in automotive, ADAS and industrial applications requiring AI at the network edge. This SoC extends the K3 Jacinto 7 family of SoCs with focus on raising performance and integration while providing interfaces, memory architecture and compute performance for multi-sensor, high concurrency applications.
Some highlights of this SoC are:
* Up to 8 Cortex-A72s, four clusters of lockstep capable dual Cortex-R5F MCUs, 4 C7x floating point vector DSPs with Matrix Multiply Accelerator(MMA) for deep learning and CNN.
* 3D GPU: Automotive grade IMG BXS-4-64 MC1
* Vision Processing Accelerator (VPAC) with image signal processor and Depth and Motion Processing Accelerator (DMPAC)
* Three CSI2.0 4L RX plus two CSI2.0 4L TX, two DSI Tx, one eDP/DP and one DPI interface.
* Integrated gigabit ethernet switch, up to 8 ports (TDA4VH), two ports support 10Gb USXGMII; Two 4 lane PCIe-GEN3 controllers, USB3.0 Dual-role device subsystems, Up to 20 MCANs, among other peripherals.
See J784S4 Technical Reference Manual (SPRUJ52 - JUNE 2022) for further details: http://www.ti.com/lit/zip/spruj52
In addtion, the J784S4 EVM board is designed for TI J784S4 SoC. It supports the following interfaces:
* 32 GB DDR4 RAM
* x2 Gigabit Ethernet interfaces capable of working in Switch and MAC mode
* x1 Input Audio Jack, x1 Output Audio Jack
* x1 USB2.0 Hub with two Type A host and x1 USB 3.1 Type-C Port
* x2 4L PCIe connector
* x1 UHS-1 capable micro-SD card slot
* 512 Mbit OSPI flash, 1 Gbit Octal NAND flash, 512 Mbit QSPI flash, UFS flash.
* x6 UART through UART-USB bridge
* XDS110 for onboard JTAG debug using USB
* Temperature sensors, user push buttons and LEDs
* 40-pin User Expansion Connector
* x2 ENET Expansion Connector, x1 GESI expander, x2 Display connector
* x1 15-pin CSI header
* x6 MCAN instances
Schematics: https://www.ti.com/lit/zip/sprr458
AM69 SD mode bootlog: https://gist.githubusercontent.com/apurvanandan1997/1b2c55d0204ff0f5a47ebbc196a97e99/raw/
J784S4 SD mode bootlog: https://gist.githubusercontent.com/apurvanandan1997/5e2ef85ee4322798d22b57a60dc917db/raw/
eMMC UDA moode bootlog: https://gist.githubusercontent.com/apurvanandan1997/3cffada252d50a8aa0c00a91f1f2f856/raw/
Note: This series is dependent on the following series for OF_UPSTREAM support
https://lore.kernel.org/all/[email protected]/
And, '[PATCH 01/15] Makefile: remove hardcoded device tree source directory' has been cherry-picked from PATCH 11 of https://lore.kernel.org/all/[email protected]/ by Bryan Brattlof
Changes in v9:
1) Added support for OF_UPSTREAM and removed Linux dts copy/sync patches
2) Fixed DRAM enumeration algorithm in j784s4_init.c by adding max no. of controllers
3) Squashed bootph-all property of memory node into appropriate patch
4) Moved DDR changes out of the DMA patch
5) Fixed commit messages, MAINTAINERS file, and removed unnecessary C headers
6) Added comment for WKUP_UART0
7) Used #include for defconfig for AM69-SK platform instead of config fragments
8) Fixed J784S4 EVM boot switch nameing in doc
Link to v8:
https://lore.kernel.org/u-boot/[email protected]/
Changes in v8:
1) Squashed Linux am69-sk and j784s4-evm dts patches into one
2) Sorted config addition of SoC in arm/mach-K3/Kconfig
3) Updated commit messages according to the reviews
4) Removed #inlcude <config.h>
5) Removed k3_mmc_stop_clock and k3_mmc_restart_clock
6) Moved board_init_f logic to separate smaller functions
7) Removed J784S4 EVM specific Kconfig options in j784s4_int.c
8) Cleaned up emmc boot flow based on commit 66459346463439c72f84cfd1f985496b8a6142d8
9) Removed the dependency of findfdt and updated to ti_set_fdt_env
10) Updated copyright messages
11) Did cleanup/formatting of yaml files, removing linting errors
12) Removed k3-am69-sk specific things from k3-j784s4-binman.dtsi
13) Changed OF_LIST to a single dtb
14) Added bootph-all tag in EVM and SK dts instead of u-boot.dtsi
15) Trimmed the defconfig files to minimal
16) Merged the MAINTAINER file in right patches
17) Updated OpenOCD tag in U-Boot doc
18) And fixed other formatting mistakes.
Link to v7:
https://lore.kernel.org/u-boot/[email protected]/
Changes in v7:
1) Moved to unified memory map in arm64-mmu.c based on
https://lore.kernel.org/all/[email protected]/
2) Used ARRAY_SIZE in clk-data.c and dev-data.c
3) Removed I2C board detect from j784s4_init.c
4) Rebased to latest next
Link to v6:
https://lore.kernel.org/all/[email protected]/
Changes in v6:
1) Move bootph-all of memory node to u-boot.dtsi
2) Used a while loop for DRAM controller init, instead of hard-coding for 4 DRAM
3) Fixed build error by adding board/ti/j784s4/Kconfig
4) Trimmed out j784s4_evm.h
5) Fixed checkpatch warnings
Link to v5:
https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
Changes in v5:
1) Incorporated Andrew Davis' "Move R5 specific code into new r5/ directory" and "Move board selection to mach-k3" series changes.
2) Incorporated Neha Francis' "Move to using templated FITs" series changes.
3) Synced device tree files with Linux v6.7-rc1
4) Changed ti_mmc to mmc1 target from bootstd
5) Updated doc based on review comments
6) Removed remoteproc support from the series
7) Splitted board files patch into smaller patches
8) Trimmed j784s4.env to necessary variables
9) Used fdtdec_setup_mem_size_base fdtdec_setup_memory_banksize in evm.c
10) Trimmed down evm.c to essential header files.
11) Switched to multi-dtb fit compilation with config fragments
Link to v4:
https://lore.kernel.org/u-boot/[email protected]/
Changes in v4:
1) Cleaned up Copyright and SPDX identifiers
2) Synced the device trees to Linux v6.6-rc1 tag
3) Added cleanup patch for sorting SoC JTAG ID entries
4) Removed EEPROM board detect from evm.c and added am69 config fragments
5) Updated MAINTAINERS files and commit messages
6) Removed struct renaming in ti_k3_r5f_rproc driver
Link to v3:
https://lore.kernel.org/u-boot/[email protected]/
Changes in v3:
1) Added AM69 SK support in the series
2) Switched from distroboot to bootstd support
3) Added remoteproc support for J784S4
4) Added documentation for both SoCs
5) Added binman support
6) Removed unnecessarry nodes from r5-evm.dts and evm-u-boot.dtsi
7) Added HS device support
8) Added env file for environement variables
9) Removed ti-serdes-mux bindings
10) Cleaned up all files and synced with latest
11) Addressed all previous review comments
Note: The base dts files have been sync from next-20230905 linux tag as per review comment received on previous re-roll:
https://lore.kernel.org/u-boot/20230321155227.GV8135@bill-the-cat/
Link to v2:
https://lore.kernel.org/u-boot/[email protected]/
Apurva Nandan (12):
arm: mach-k3: Kconfig: Sort SOC_K3 config entries
arm: mach-k3: Add basic support for J784S4 SoC definition
arm: mach-k3: Sort SoC JTAG_ID entries
soc: ti: k3-socinfo: Add entry for J784S4 SoC
arm: mach-k3: j784s4: Add clk and power support
drivers: dma: Add support for J784S4 SoC
board: ti: j784s4: Add board support for J784S4 EVM
board: ti: j748s4: Add board config yaml files
board: ti: j784s4: Add boot environment variables
arm: dts: Introduce j784s4 u-boot dts files
configs: j784s4_evm: Add defconfig for J784S4 EVM board
doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation
Bryan Brattlof (1):
Makefile: remove hardcoded device tree source directory
Dasnavis Sabiya (2):
arm: dts: Introduce am69-sk u-boot dts files
configs: am69_sk: Add defconfig for AM69 SK board
Makefile | 18 +- arch/arm/dts/Makefile | 4 + arch/arm/dts/k3-am69-r5-sk.dts | 106 + arch/arm/dts/k3-am69-sk-u-boot.dtsi | 54 + arch/arm/dts/k3-j784s4-binman.dtsi | 345 + arch/arm/dts/k3-j784s4-ddr-evm-lp4-4266.dtsi | 8757 ++++++++++++++++ arch/arm/dts/k3-j784s4-ddr.dtsi | 8858 +++++++++++++++++ arch/arm/dts/k3-j784s4-evm-u-boot.dtsi | 31 + arch/arm/dts/k3-j784s4-r5-evm.dts | 106 + arch/arm/mach-k3/Kconfig | 33 +- arch/arm/mach-k3/Makefile | 2 + arch/arm/mach-k3/include/mach/hardware.h | 13 +- .../mach-k3/include/mach/j784s4_hardware.h | 59 + arch/arm/mach-k3/include/mach/j784s4_spl.h | 47 + arch/arm/mach-k3/include/mach/spl.h | 4 + arch/arm/mach-k3/j784s4/Kconfig | 34 + arch/arm/mach-k3/j784s4_fdt.c | 15 + arch/arm/mach-k3/j784s4_init.c | 310 + arch/arm/mach-k3/r5/Makefile | 1 + arch/arm/mach-k3/r5/j784s4/Makefile | 7 + arch/arm/mach-k3/r5/j784s4/clk-data.c | 428 + arch/arm/mach-k3/r5/j784s4/dev-data.c | 98 + board/ti/j784s4/Kconfig | 37 + board/ti/j784s4/MAINTAINERS | 21 + board/ti/j784s4/Makefile | 7 + board/ti/j784s4/board-cfg.yaml | 37 + board/ti/j784s4/evm.c | 41 + board/ti/j784s4/j784s4.env | 17 + board/ti/j784s4/pm-cfg.yaml | 13 + board/ti/j784s4/rm-cfg.yaml | 3058 ++++++ board/ti/j784s4/sec-cfg.yaml | 380 + board/ti/j784s4/tifs-rm-cfg.yaml | 2656 +++++ configs/am69_sk_a72_defconfig | 10 + configs/am69_sk_r5_defconfig | 10 + configs/j784s4_evm_a72_defconfig | 158 + configs/j784s4_evm_r5_defconfig | 153 + doc/board/ti/j784s4_evm.rst | 299 + doc/board/ti/k3.rst | 1 + drivers/clk/ti/clk-k3.c | 6 + drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-j784s4.c | 166 + drivers/dma/ti/k3-psil-priv.h | 1 + drivers/dma/ti/k3-psil.c | 2 + drivers/firmware/ti_sci_static_data.h | 34 + drivers/power/domain/ti-power-domain.c | 6 + drivers/ram/Kconfig | 2 +- drivers/soc/soc_ti_k3.c | 3 + include/configs/j784s4_evm.h | 15 + include/k3-clk.h | 1 + include/k3-dev.h | 1 + scripts/Makefile.spl | 17 +- 51 files changed, 26455 insertions(+), 28 deletions(-) create mode 100644 arch/arm/dts/k3-am69-r5-sk.dts create mode 100644 arch/arm/dts/k3-am69-sk-u-boot.dtsi create mode 100644 arch/arm/dts/k3-j784s4-binman.dtsi create mode 100644 arch/arm/dts/k3-j784s4-ddr-evm-lp4-4266.dtsi create mode 100644 arch/arm/dts/k3-j784s4-ddr.dtsi create mode 100644 arch/arm/dts/k3-j784s4-evm-u-boot.dtsi create mode 100644 arch/arm/dts/k3-j784s4-r5-evm.dts create mode 100644 arch/arm/mach-k3/include/mach/j784s4_hardware.h create mode 100644 arch/arm/mach-k3/include/mach/j784s4_spl.h create mode 100644 arch/arm/mach-k3/j784s4/Kconfig create mode 100644 arch/arm/mach-k3/j784s4_fdt.c create mode 100644 arch/arm/mach-k3/j784s4_init.c create mode 100644 arch/arm/mach-k3/r5/j784s4/Makefile create mode 100644 arch/arm/mach-k3/r5/j784s4/clk-data.c create mode 100644 arch/arm/mach-k3/r5/j784s4/dev-data.c 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 configs/am69_sk_a72_defconfig create mode 100644 configs/am69_sk_r5_defconfig create mode 100644 configs/j784s4_evm_a72_defconfig create mode 100644 configs/j784s4_evm_r5_defconfig create mode 100644 doc/board/ti/j784s4_evm.rst create mode 100644 drivers/dma/ti/k3-psil-j784s4.c create mode 100644 include/configs/j784s4_evm.h
Signature · 1 line
2.34.1
PATCH v9 1/15 Makefile: remove hardcoded device tree source directory
From: Bryan Brattlof <[email protected]>
Some boards that choose to utilize the OF_UPSTREAM directory for their device tree files will need to specify that directory instead of the traditional arch/$(ARCH)/dts/* path.
Include the correct path to the board's dtbs depending on if OF_UPSTREAM is selected or not.
--- Makefile | 18 ++++++++++++++---- scripts/Makefile.spl | 17 +++++++++++++---- 2 files changed, 27 insertions(+), 8 deletions(-)
Makefile +14 -4
@@ -1184,6 +1184,16 @@ dt_binding_check: scripts_dtc quiet_cmd_copy = COPY $@ cmd_copy = cp $< $@ +ifeq ($(CONFIG_OF_UPSTREAM),y) +ifeq ($(CONFIG_ARM64),y) +dt_dir := dts/upstream/src/arm64 +else +dt_dir := dts/upstream/src/$(ARCH) +endif +else +dt_dir := arch/$(ARCH)/dts +endif + ifeq ($(CONFIG_MULTI_DTB_FIT),y) ifeq ($(CONFIG_MULTI_DTB_FIT_LZO),y)
@@ -1209,7 +1219,7 @@ endif MKIMAGEFLAGS_fit-dtb.blob = -f auto -A $(ARCH) -T firmware -C none -O u-boot \ -a 0 -e 0 -E \ - $(patsubst %,-b arch/$(ARCH)/dts/%.dtb,$(subst ",,$(CONFIG_OF_LIST))) -d /dev/null + $(patsubst %,-b $(dt_dir)/%.dtb,$(subst ",,$(CONFIG_OF_LIST))) -d /dev/null MKIMAGEFLAGS_fit-dtb.blob += -B 0x8
@@ -1407,9 +1417,9 @@ MKIMAGEFLAGS_u-boot.img = -f auto -A $(ARCH) -T firmware -C none -O u-boot \ -a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \ -p $(CONFIG_FIT_EXTERNAL_OFFSET) \ -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" -E \ - $(patsubst %,-b arch/$(ARCH)/dts/%.dtb,$(subst ",,$(DEVICE_TREE))) \ - $(patsubst %,-b arch/$(ARCH)/dts/%.dtb,$(subst ",,$(CONFIG_OF_LIST))) \ - $(patsubst %,-b arch/$(ARCH)/dts/%.dtbo,$(subst ",,$(CONFIG_OF_OVERLAY_LIST))) + $(patsubst %,-b $(dt_dir)/%.dtb,$(subst ",,$(DEVICE_TREE))) \ + $(patsubst %,-b $(dt_dir)/%.dtb,$(subst ",,$(CONFIG_OF_LIST))) \ + $(patsubst %,-b $(dt_dir)/%.dtbo,$(subst ",,$(CONFIG_OF_OVERLAY_LIST))) else MKIMAGEFLAGS_u-boot.img = -A $(ARCH) -T firmware -C none -O u-boot \ -a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \
scripts/Makefile.spl +13 -4
@@ -559,9 +559,15 @@ FORCE: $(obj)/dts/dt-$(SPL_NAME).dtb: dts/dt.dtb $(Q)$(MAKE) $(build)=$(obj)/dts spl_dtbs -PHONY += dts_dir -dts_dir: - $(shell [ -d $(obj)/dts ] || mkdir -p $(obj)/dts) +ifeq ($(CONFIG_OF_UPSTREAM),y) +ifeq ($(CONFIG_ARM64),y) +dt_dir := dts/upstream/src/arm64 +else +dt_dir := dts/upstream/src/$(ARCH) +endif +else +dt_dir := arch/$(ARCH)/dts +endif # Declare the contents of the .PHONY variable as phony. We keep that # information in a variable so we can use it in if_changed and friends.
@@ -569,8 +575,11 @@ dts_dir: SPL_OF_LIST_TARGETS = $(patsubst %,dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST))) SHRUNK_ARCH_DTB = $(addprefix $(obj)/,$(SPL_OF_LIST_TARGETS)) +$(dir $(SHRUNK_ARCH_DTB)): + $(shell [ -d $@ ] || mkdir -p $@) + .SECONDEXPANSION: -$(SHRUNK_ARCH_DTB): $$(patsubst $(obj)/dts/%, arch/$(ARCH)/dts/%, $$@) dts_dir +$(SHRUNK_ARCH_DTB): $$(patsubst $(obj)/dts/%, $(dt_dir)/%, $$@) $(dir $(SHRUNK_ARCH_DTB)) $(call if_changed,fdtgrep) targets += $(SPL_OF_LIST_TARGETS)
Signature · 1 line
2.34.1
PATCH v9 2/15 arm: mach-k3: Kconfig: Sort SOC_K3 config entries
In reply to Apurva NandanSort SOC_K3 config entries in alphabetical order
for clean up.
--- arch/arm/mach-k3/Kconfig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
arch/arm/mach-k3/Kconfig +9 -9
@@ -4,6 +4,15 @@ choice prompt "Texas Instruments' K3 based SoC select" optional +config SOC_K3_AM625 + bool "TI's K3 based AM625 SoC Family Support" + +config SOC_K3_AM62A7 + bool "TI's K3 based AM62A7 SoC Family Support" + +config SOC_K3_AM642 + bool "TI's K3 based AM642 SoC Family Support" + config SOC_K3_AM654 bool "TI's K3 based AM654 SoC Family Support"
@@ -13,15 +22,6 @@ config SOC_K3_J721E config SOC_K3_J721S2 bool "TI's K3 based J721S2 SoC Family Support" -config SOC_K3_AM642 - bool "TI's K3 based AM642 SoC Family Support" - -config SOC_K3_AM625 - bool "TI's K3 based AM625 SoC Family Support" - -config SOC_K3_AM62A7 - bool "TI's K3 based AM62A7 SoC Family Support" - endchoice if SOC_K3_J721E
Signature · 1 line
2.34.1
PATCH v9 3/15 arm: mach-k3: Add basic support for J784S4 SoC definition
In reply to Apurva NandanAdd J784S4 initialization files for initial SPL boot.
config SYS_K3_MCU_SCRATCHPAD_BASE default value is same for J721E, J721S2, J784S4. So combined them into a single default.
--- arch/arm/mach-k3/Kconfig | 16 +- arch/arm/mach-k3/Makefile | 2 + arch/arm/mach-k3/include/mach/hardware.h | 4 + .../mach-k3/include/mach/j784s4_hardware.h | 59 ++++ arch/arm/mach-k3/include/mach/j784s4_spl.h | 47 +++ arch/arm/mach-k3/include/mach/spl.h | 4 + arch/arm/mach-k3/j784s4_fdt.c | 15 + arch/arm/mach-k3/j784s4_init.c | 310 ++++++++++++++++++ arch/arm/mach-k3/r5/Makefile | 1 + drivers/ram/Kconfig | 2 +- 10 files changed, 452 insertions(+), 8 deletions(-) create mode 100644 arch/arm/mach-k3/include/mach/j784s4_hardware.h create mode 100644 arch/arm/mach-k3/include/mach/j784s4_spl.h create mode 100644 arch/arm/mach-k3/j784s4_fdt.c create mode 100644 arch/arm/mach-k3/j784s4_init.c
arch/arm/mach-k3/Kconfig +9 -7
@@ -22,6 +22,9 @@ config SOC_K3_J721E config SOC_K3_J721S2 bool "TI's K3 based J721S2 SoC Family Support" +config SOC_K3_J784S4 + bool "TI's K3 based J784S4 SoC Family Support" + endchoice if SOC_K3_J721E
@@ -35,7 +38,7 @@ config SYS_SOC config SYS_K3_NON_SECURE_MSRAM_SIZE hex default 0x80000 if SOC_K3_AM654 - default 0x100000 if SOC_K3_J721E || SOC_K3_J721S2 + default 0x100000 if SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_J784S4 default 0x1c0000 if SOC_K3_AM642 default 0x3c000 if SOC_K3_AM625 || SOC_K3_AM62A7 help
@@ -47,7 +50,7 @@ config SYS_K3_NON_SECURE_MSRAM_SIZE config SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE hex default 0x58000 if SOC_K3_AM654 - default 0xc0000 if SOC_K3_J721E || SOC_K3_J721S2 + default 0xc0000 if SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_J784S4 default 0x180000 if SOC_K3_AM642 default 0x38000 if SOC_K3_AM625 || SOC_K3_AM62A7 help
@@ -57,15 +60,14 @@ config SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE config SYS_K3_MCU_SCRATCHPAD_BASE hex default 0x40280000 if SOC_K3_AM654 - default 0x41cff9fc if SOC_K3_J721S2 - default 0x41cff9fc if SOC_K3_J721E + default 0x41cff9fc if SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_J784S4 help Describes the base address of MCU Scratchpad RAM. config SYS_K3_MCU_SCRATCHPAD_SIZE hex default 0x200 if SOC_K3_AM654 - default 0x200 if SOC_K3_J721E || SOC_K3_J721S2 + default 0x200 if SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_J784S4 help Describes the size of MCU Scratchpad RAM.
@@ -73,7 +75,7 @@ config SYS_K3_BOOT_PARAM_TABLE_INDEX hex default 0x41c7fbfc if SOC_K3_AM654 default 0x41cffbfc if SOC_K3_J721E - default 0x41cfdbfc if SOC_K3_J721S2 + default 0x41cfdbfc if SOC_K3_J721S2 || SOC_K3_J784S4 default 0x701bebfc if SOC_K3_AM642 default 0x43c3f290 if SOC_K3_AM625 default 0x43c3f290 if SOC_K3_AM62A7 && CPU_V7R
@@ -130,7 +132,7 @@ config K3_ATF_LOAD_ADDR config K3_DM_FW bool "Separate DM firmware image" - depends on CPU_V7R && (SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_AM625 || SOC_K3_AM62A7) && !CLK_TI_SCI && !TI_SCI_POWER_DOMAIN + depends on CPU_V7R && (SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_AM625 || SOC_K3_AM62A7 || SOC_K3_J784S4) && !CLK_TI_SCI && !TI_SCI_POWER_DOMAIN default y help Enabling this will indicate that the system has separate DM
arch/arm/mach-k3/Makefile +2 -0
@@ -12,6 +12,7 @@ obj-$(CONFIG_SOC_K3_AM654) += am654_fdt.o obj-$(CONFIG_SOC_K3_J721E) += j721e_fdt.o obj-$(CONFIG_SOC_K3_J721S2) += j721s2_fdt.o obj-$(CONFIG_SOC_K3_AM625) += am625_fdt.o +obj-$(CONFIG_SOC_K3_J784S4) += j784s4_fdt.o endif ifeq ($(CONFIG_SPL_BUILD),y) obj-$(CONFIG_SOC_K3_AM654) += am654_init.o
@@ -20,5 +21,6 @@ obj-$(CONFIG_SOC_K3_J721S2) += j721s2_init.o obj-$(CONFIG_SOC_K3_AM642) += am642_init.o obj-$(CONFIG_SOC_K3_AM625) += am625_init.o obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_init.o +obj-$(CONFIG_SOC_K3_J784S4) += j784s4_init.o endif obj-y += common.o security.o
arch/arm/mach-k3/include/mach/hardware.h +4 -0
@@ -33,6 +33,10 @@#include "am62a_qos.h" #endif +#ifdef CONFIG_SOC_K3_J784S4 +#include "j784s4_hardware.h" +#endif +/* Assuming these addresses and definitions stay common across K3 devices */ #define CTRLMMR_WKUP_JTAG_ID (WKUP_CTRL_MMR0_BASE + 0x14)#define JTAG_ID_VARIANT_SHIFT 28
arch/arm/mach-k3/include/mach/j784s4_hardware.h new file +59 -0
59 lines not on this page · raw message
arch/arm/mach-k3/include/mach/j784s4_spl.h new file +47 -0
47 lines not on this page · raw message
arch/arm/mach-k3/include/mach/spl.h +4 -0
@@ -30,4 +30,8 @@#include "am62a_spl.h" #endif +#ifdef CONFIG_SOC_K3_J784S4 +#include "j784s4_spl.h" +#endif +#endif /* _ASM_ARCH_SPL_H_ */
arch/arm/mach-k3/j784s4_fdt.c new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* J784S4: SoC specific initialization +* +* Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ +* Apurva Nandan <[email protected]> +*/ + +#include "common_fdt.h" +#include <fdt_support.h> + +int ft_system_setup (void *blob,struct bd_info *bd) +{ +return fdt_fixup_msmc_ram_k3 (blob); +}
arch/arm/mach-k3/j784s4_init.c new file +310 -0
310 lines not on this page · raw message
arch/arm/mach-k3/r5/Makefile +1 -0
@@ -8,6 +8,7 @@ obj-$(CONFIG_SOC_K3_J721E) += j7200/ obj-$(CONFIG_SOC_K3_J721S2) += j721s2/ obj-$(CONFIG_SOC_K3_AM625) += am62x/ obj-$(CONFIG_SOC_K3_AM62A7) += am62ax/ +obj-$(CONFIG_SOC_K3_J784S4) += j784s4/ obj-y += lowlevel_init.o obj-y += r5_mpu.o
drivers/ram/Kconfig +1 -1
@@ -62,7 +62,7 @@ choice depends on K3_DDRSS prompt "K3 DDRSS Arch Support" - default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2 + default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_J784S4 default K3_AM64_DDRSS if SOC_K3_AM642 default K3_AM64_DDRSS if SOC_K3_AM625 default K3_AM62A_DDRSS if SOC_K3_AM62A7
Signature · 1 line
2.34.1
PATCH v9 4/15 arm: mach-k3: Sort SoC JTAG_ID entries
In reply to Apurva NandanSort JTAG_IDs for K3 SoCs in hardware.h in alphabetical order.
--- arch/arm/mach-k3/include/mach/hardware.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/mach-k3/include/mach/hardware.h +4 -4
@@ -43,13 +43,13 @@#define JTAG_ID_VARIANT_MASK (0xf << 28)#define JTAG_ID_PARTNO_SHIFT 12#define JTAG_ID_PARTNO_MASK (0xffff << 12) +#define JTAG_ID_PARTNO_AM62AX 0xbb8d +#define JTAG_ID_PARTNO_AM62X 0xbb7e +#define JTAG_ID_PARTNO_AM64X 0xbb38#define JTAG_ID_PARTNO_AM65X 0xbb5a -#define JTAG_ID_PARTNO_J721E 0xbb64#define JTAG_ID_PARTNO_J7200 0xbb6d -#define JTAG_ID_PARTNO_AM64X 0xbb38 +#define JTAG_ID_PARTNO_J721E 0xbb64#define JTAG_ID_PARTNO_J721S2 0xbb75 -#define JTAG_ID_PARTNO_AM62X 0xbb7e -#define JTAG_ID_PARTNO_AM62AX 0xbb8d#define K3_SOC_ID (id,ID ) \ static inline bool soc_is_##id(void) \
Signature · 1 line
2.34.1
PATCH v9 5/15 soc: ti: k3-socinfo: Add entry for J784S4 SoC
In reply to Apurva NandanAdd support for J784S4 SoC Identification.
--- arch/arm/mach-k3/include/mach/hardware.h | 1 + drivers/soc/soc_ti_k3.c | 3 +++ 2 files changed, 4 insertions(+)
arch/arm/mach-k3/include/mach/hardware.h +1 -0
@@ -50,6 +50,7 @@#define JTAG_ID_PARTNO_J7200 0xbb6d#define JTAG_ID_PARTNO_J721E 0xbb64#define JTAG_ID_PARTNO_J721S2 0xbb75 +#define JTAG_ID_PARTNO_J784S4 0xbb80#define K3_SOC_ID (id,ID ) \ static inline bool soc_is_##id(void) \
drivers/soc/soc_ti_k3.c +3 -0
@@ -45,6 +45,9 @@ static const char *get_family_string(u32 idreg)case JTAG_ID_PARTNO_AM62AX : family ="AM62AX" ;break ; +case JTAG_ID_PARTNO_J784S4 : + family ="J784S4" ; +break ;default : family ="Unknown Silicon" ; };
Signature · 1 line
2.34.1
PATCH v9 6/15 arm: mach-k3: j784s4: Add clk and power support
In reply to Apurva NandanAdd clk and device data which can be used by respective drivers to configure clocks and PSC.
--- arch/arm/mach-k3/r5/j784s4/Makefile | 7 + arch/arm/mach-k3/r5/j784s4/clk-data.c | 428 +++++++++++++++++++++++++ arch/arm/mach-k3/r5/j784s4/dev-data.c | 98 ++++++ drivers/clk/ti/clk-k3.c | 6 + drivers/power/domain/ti-power-domain.c | 6 + include/k3-clk.h | 1 + include/k3-dev.h | 1 + 7 files changed, 547 insertions(+) create mode 100644 arch/arm/mach-k3/r5/j784s4/Makefile create mode 100644 arch/arm/mach-k3/r5/j784s4/clk-data.c create mode 100644 arch/arm/mach-k3/r5/j784s4/dev-data.c
arch/arm/mach-k3/r5/j784s4/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ +# + +obj-y += clk-data.o +obj-y += dev-data.o
arch/arm/mach-k3/r5/j784s4/clk-data.c new file +428 -0
428 lines not on this page · raw message
arch/arm/mach-k3/r5/j784s4/dev-data.c new file +98 -0
98 lines not on this page · raw message
drivers/clk/ti/clk-k3.c +6 -0
@@ -86,6 +86,12 @@ static const struct soc_attr ti_k3_soc_clk_data[] = { .family = "AM62AX", .data = &am62ax_clk_platdata, }, +#endif +#ifdef CONFIG_SOC_K3_J784S4 + { + .family = "J784S4", + .data = &j784s4_clk_platdata, + }, #endif {/* sentinel */ } };
drivers/power/domain/ti-power-domain.c +6 -0
@@ -98,6 +98,12 @@ static const struct soc_attr ti_k3_soc_pd_data[] = { .family = "AM62AX", .data = &am62ax_pd_platdata, }, +#endif +#ifdef CONFIG_SOC_K3_J784S4 + { + .family = "J784S4", + .data = &j784s4_pd_platdata, + }, #endif {/* sentinel */ } };
include/k3-clk.h +1 -0
@@ -176,6 +176,7 @@ extern const struct ti_k3_clk_platdata j7200_clk_platdata;extern const struct ti_k3_clk_platdata j721s2_clk_platdata;extern const struct ti_k3_clk_platdata am62x_clk_platdata;extern const struct ti_k3_clk_platdata am62ax_clk_platdata; +extern const struct ti_k3_clk_platdata j784s4_clk_platdata;struct clk *clk_register_ti_pll (const char *name,const char *parent_name,void __iomem *reg);
include/k3-dev.h +1 -0
@@ -80,6 +80,7 @@ extern const struct ti_k3_pd_platdata j7200_pd_platdata;extern const struct ti_k3_pd_platdata j721s2_pd_platdata;extern const struct ti_k3_pd_platdata am62x_pd_platdata;extern const struct ti_k3_pd_platdata am62ax_pd_platdata; +extern const struct ti_k3_pd_platdata j784s4_pd_platdata;u8 ti_pd_state (struct ti_pd *pd);u8 lpsc_get_state (struct ti_lpsc *lpsc);
Signature · 1 line
2.34.1
PATCH v9 7/15 drivers: dma: Add support for J784S4 SoC
In reply to Apurva NandanAdd support for DMA in J784S4 SoC.
--- drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-j784s4.c | 166 ++++++++++++++++++++++++++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers/dma/ti/k3-psil.c | 2 + drivers/firmware/ti_sci_static_data.h | 34 ++++++ 5 files changed, 204 insertions(+) create mode 100644 drivers/dma/ti/k3-psil-j784s4.c
drivers/dma/ti/Makefile +1 -0
@@ -9,3 +9,4 @@ k3-psil-data-$(CONFIG_SOC_K3_J721S2) += k3-psil-j721s2.o k3-psil-data-$(CONFIG_SOC_K3_AM642) += k3-psil-am64.o k3-psil-data-$(CONFIG_SOC_K3_AM625) += k3-psil-am62.o k3-psil-data-$(CONFIG_SOC_K3_AM62A7) += k3-psil-am62a.o +k3-psil-data-$(CONFIG_SOC_K3_J784S4) += k3-psil-j784s4.o
drivers/dma/ti/k3-psil-j784s4.c new file +166 -0
166 lines not on this page · raw message
drivers/dma/ti/k3-psil-priv.h +1 -0
@@ -43,5 +43,6 @@ extern struct psil_ep_map j721s2_ep_map;extern struct psil_ep_map am64_ep_map;extern struct psil_ep_map am62_ep_map;extern struct psil_ep_map am62a_ep_map; +extern struct psil_ep_map j784s4_ep_map;#endif /* K3_PSIL_PRIV_H_ */
drivers/dma/ti/k3-psil.c +2 -0
@@ -28,6 +28,8 @@ struct psil_endpoint_config *psil_get_ep_config(u32 thread_id) soc_ep_map = &am62_ep_map; else if (IS_ENABLED(CONFIG_SOC_K3_AM62A7)) soc_ep_map = &am62a_ep_map; + else if (IS_ENABLED(CONFIG_SOC_K3_J784S4)) + soc_ep_map = &j784s4_ep_map; }if (thread_id &K3_PSIL_DST_THREAD_ID_OFFSET && soc_ep_map->dst) {
drivers/firmware/ti_sci_static_data.h +34 -0
@@ -97,6 +97,40 @@ static struct ti_sci_resource_static_data rm_static_data[] = { };#endif /* CONFIG_SOC_K3_AM625 || CONFIG_SOC_K3_AM62A7 */ +#if IS_ENABLED (CONFIG_SOC_K3_J784S4 ) +static struct ti_sci_resource_static_data rm_static_data[] = { +/* Free rings */ + { + .dev_id =328 , + .subtype =1 , + .range_start =208 , + .range_num =32 , + }, +/* TX channels */ + { + .dev_id =329 , + .subtype =13 , + .range_start =40 , + .range_num =3 , + }, +/* RX channels */ + { + .dev_id =329 , + .subtype =10 , + .range_start =40 , + .range_num =3 , + }, +/* RX Free flows */ + { + .dev_id =329 , + .subtype =0 , + .range_start =84 , + .range_num =8 , + }, + { }, +}; +#endif /* CONFIG_SOC_K3_J784S4 */ +#else static struct ti_sci_resource_static_data rm_static_data[] = { { },
Signature · 1 line
2.34.1
PATCH v9 8/15 board: ti: j784s4: Add board support for J784S4 EVM
In reply to Apurva NandanAdd board files for J784S4 EVM.
SYS_DISABLE_DCACHE_OPS is selected in the Kconfig because J784S4/AM69 are a coherent architecture at A72 level by MSMC support.
--- arch/arm/mach-k3/Kconfig | 1 + arch/arm/mach-k3/j784s4/Kconfig | 34 +++++++++++++++++++++++++++ board/ti/j784s4/Kconfig | 37 +++++++++++++++++++++++++++++ board/ti/j784s4/MAINTAINERS | 6 +++++ board/ti/j784s4/Makefile | 7 ++++++ board/ti/j784s4/evm.c | 41 +++++++++++++++++++++++++++++++++ include/configs/j784s4_evm.h | 15 ++++++++++++ 7 files changed, 141 insertions(+) create mode 100644 arch/arm/mach-k3/j784s4/Kconfig 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/evm.c create mode 100644 include/configs/j784s4_evm.h
arch/arm/mach-k3/Kconfig +1 -0
@@ -157,5 +157,6 @@ source "arch/arm/mach-k3/am62x/Kconfig" source "arch/arm/mach-k3/am62ax/Kconfig" source "arch/arm/mach-k3/j721e/Kconfig" source "arch/arm/mach-k3/j721s2/Kconfig" +source "arch/arm/mach-k3/j784s4/Kconfig" endif
arch/arm/mach-k3/j784s4/Kconfig new file +34 -0
@@ -0,0 +1,34 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ +# Hari Nagalla <[email protected]> + +if SOC_K3_J784S4 + +choice + prompt "K3 J784S4 board" + optional + +config TARGET_J784S4_A72_EVM + bool "TI K3 based J784S4 EVM running on A72" + select ARM64 + 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 K3_LOAD_SYSFW + select RAM + select SPL_RAM + select K3_DDRSS + select BINMAN + imply SYS_K3_SPL_ATF + +endchoice + +source "board/ti/j784s4/Kconfig" + +endif
board/ti/j784s4/Kconfig new file +37 -0
@@ -0,0 +1,37 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ +# Hari Nagalla <[email protected]> + +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
board/ti/j784s4/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +J784S4 EVM BOARD +M: Apurva Nandan <[email protected]> +S: Maintained +F: board/ti/j784s4 +F: arch/arm/mach-k3/j784s4 +F: include/configs/j784s4_evm.h
board/ti/j784s4/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ +# Hari Nagalla <[email protected]> +# + +obj-y += evm.o
board/ti/j784s4/evm.c new file +41 -0
41 lines not on this page · raw message
include/configs/j784s4_evm.h new file +15 -0
@@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* +* Configuration header file for K3 J784S4 EVM +* +* Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ +* Hari Nagalla <[email protected]> +*/ + +#ifndef __CONFIG_J784S4_EVM_H +#define __CONFIG_J784S4_EVM_H + +/* Now for the remaining common defines */ +#include <configs/ti_armv7_common.h> + +#endif /* __CONFIG_J784S4_EVM_H */
Signature · 1 line
2.34.1
PATCH v9 9/15 board: ti: j748s4: Add board config yaml files
In reply to Apurva NandanAdd board-cfg, rm-cfg, pm-cfg, sec-cfg, tifs-rm-cfg yaml for buidling u-boot sysfw data.
--- board/ti/j784s4/board-cfg.yaml | 37 + board/ti/j784s4/pm-cfg.yaml | 13 + board/ti/j784s4/rm-cfg.yaml | 3058 ++++++++++++++++++++++++++++++ board/ti/j784s4/sec-cfg.yaml | 380 ++++ board/ti/j784s4/tifs-rm-cfg.yaml | 2656 ++++++++++++++++++++++++++ 5 files changed, 6144 insertions(+) create mode 100644 board/ti/j784s4/board-cfg.yaml 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
board/ti/j784s4/board-cfg.yaml new file +37 -0
@@ -0,0 +1,37 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ +# +# Board configuration for J784S4 +# + +--- + +board-cfg: + rev: + boardcfg_abi_maj: 0x0 + boardcfg_abi_min: 0x1 + control: + subhdr: + magic: 0xC1D3 + size: 7 + main_isolation_enable: 0x5A + main_isolation_hostid: 0x2 + secproxy: + subhdr: + magic: 0x1207 + size: 7 + scaling_factor: 0x1 + scaling_profile: 0x1 + disable_main_nav_secure_proxy: 0 + msmc: + subhdr: + magic: 0xA5C3 + size: 5 + msmc_cache_size: 0x8 + debug_cfg: + subhdr: + magic: 0x020C + size: 8 + trace_dst_enables: 0x00 + trace_src_enables: 0x00
board/ti/j784s4/pm-cfg.yaml new file +13 -0
@@ -0,0 +1,13 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ +# +# Power management configuration for J784S4 +# + +--- + +pm-cfg: + rev: + boardcfg_abi_maj: 0x0 + boardcfg_abi_min: 0x1
board/ti/j784s4/rm-cfg.yaml new file +3058 -0
2,950 lines not on this page · raw message
board/ti/j784s4/sec-cfg.yaml new file +380 -0
380 lines not on this page · raw message
board/ti/j784s4/tifs-rm-cfg.yaml new file +2656 -0
2,656 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.34.1
Part of the diff is not shown here. View the raw message.
PATCH v9 10/15 board: ti: j784s4: Add boot environment variables
In reply to Apurva NandanAdd env file with necessary boot variables.
--- board/ti/j784s4/j784s4.env | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 board/ti/j784s4/j784s4.env
board/ti/j784s4/j784s4.env new file +17 -0
@@ -0,0 +1,17 @@ +#include <env/ti/ti_common.env> +#include <env/ti/mmc.env> +#include <env/ti/ufs.env> +#include <env/ti/k3_dfu.env> + +name_kern=Image +console=ttyS2,115200n8 +args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02880000 + ${mtdparts} +run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr} + +boot_targets=mmc1 mmc0 usb pxe dhcp +boot=mmc +mmcdev=1 +bootpart=1:2 +bootdir=/boot +rd_spec=-
Signature · 1 line
2.34.1
PATCH v9 11/15 arm: dts: Introduce j784s4 u-boot dts files
In reply to Apurva NandanIntroduce the base dts files needed for u-boot or to augment the linux dtbs for use in the u-boot-spl and u-boot binaries.
--- arch/arm/dts/Makefile | 3 + arch/arm/dts/k3-j784s4-binman.dtsi | 345 + arch/arm/dts/k3-j784s4-ddr-evm-lp4-4266.dtsi | 8757 +++++++++++++++++ arch/arm/dts/k3-j784s4-ddr.dtsi | 8858 ++++++++++++++++++ arch/arm/dts/k3-j784s4-evm-u-boot.dtsi | 31 + arch/arm/dts/k3-j784s4-r5-evm.dts | 106 + board/ti/j784s4/MAINTAINERS | 4 + 7 files changed, 18104 insertions(+) create mode 100644 arch/arm/dts/k3-j784s4-binman.dtsi create mode 100644 arch/arm/dts/k3-j784s4-ddr-evm-lp4-4266.dtsi create mode 100644 arch/arm/dts/k3-j784s4-ddr.dtsi create mode 100644 arch/arm/dts/k3-j784s4-evm-u-boot.dtsi create mode 100644 arch/arm/dts/k3-j784s4-r5-evm.dts
arch/arm/dts/Makefile +3 -0
@@ -1412,6 +1412,9 @@ dtb-$(CONFIG_SOC_K3_J721S2) += k3-am68-sk-base-board.dtb\ k3-am68-sk-r5-base-board.dtb\ k3-j721s2-common-proc-board.dtb\ k3-j721s2-r5-common-proc-board.dtb + +dtb-$(CONFIG_SOC_K3_J784S4) += k3-j784s4-r5-evm.dtb + dtb-$(CONFIG_SOC_K3_AM642) += k3-am642-evm.dtb \ k3-am642-r5-evm.dtb \ k3-am642-sk.dtb \
arch/arm/dts/k3-j784s4-binman.dtsi new file +345 -0
345 lines not on this page · raw message
arch/arm/dts/k3-j784s4-ddr-evm-lp4-4266.dtsi new file +8757 -0
2,646 lines not on this page · raw message
arch/arm/dts/k3-j784s4-ddr.dtsi new file +8858 -0
8,858 lines not on this page · raw message
arch/arm/dts/k3-j784s4-evm-u-boot.dtsi new file +31 -0
Lines of this file are not shown. View the raw message.
arch/arm/dts/k3-j784s4-r5-evm.dts new file +106 -0
106 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.34.1
Part of the diff is not shown here. View the raw message.
PATCH v9 12/15 arm: dts: Introduce am69-sk u-boot dts files
In reply to Apurva NandanFrom: Dasnavis Sabiya <[email protected]>
Introduce the base dts files needed for u-boot or to augment the linux dtbs for use in the u-boot-spl and u-boot binaries.
--- arch/arm/dts/Makefile | 3 +- arch/arm/dts/k3-am69-r5-sk.dts | 106 ++++++++++++++++++++++++++++ arch/arm/dts/k3-am69-sk-u-boot.dtsi | 54 ++++++++++++++ board/ti/j784s4/MAINTAINERS | 6 ++ 4 files changed, 168 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/k3-am69-r5-sk.dts create mode 100644 arch/arm/dts/k3-am69-sk-u-boot.dtsi
arch/arm/dts/Makefile +2 -1
@@ -1413,7 +1413,8 @@ dtb-$(CONFIG_SOC_K3_J721S2) += k3-am68-sk-base-board.dtb\ k3-j721s2-common-proc-board.dtb\ k3-j721s2-r5-common-proc-board.dtb -dtb-$(CONFIG_SOC_K3_J784S4) += k3-j784s4-r5-evm.dtb +dtb-$(CONFIG_SOC_K3_J784S4) += k3-am69-r5-sk.dtb \ + k3-j784s4-r5-evm.dtb dtb-$(CONFIG_SOC_K3_AM642) += k3-am642-evm.dtb \ k3-am642-r5-evm.dtb \
arch/arm/dts/k3-am69-r5-sk.dts new file +106 -0
106 lines not on this page · raw message
arch/arm/dts/k3-am69-sk-u-boot.dtsi new file +54 -0
54 lines not on this page · raw message
board/ti/j784s4/MAINTAINERS +6 -0
@@ -8,3 +8,9 @@ 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 + +AM69 SK BOARD +M: Apurva Nandan <[email protected]> +S: Maintained +F: arch/arm/dts/k3-am69-sk-u-boot.dtsi +F: arch/arm/dts/k3-am69-r5-sk.dts
Signature · 1 line
2.34.1
PATCH v9 13/15 configs: j784s4_evm: Add defconfig for J784S4 EVM board
In reply to Apurva NandanAdd defconfigs for building R5 U-Boot SPL and A72 U-Boot.
--- board/ti/j784s4/MAINTAINERS | 2 + configs/j784s4_evm_a72_defconfig | 158 +++++++++++++++++++++++++++++++ configs/j784s4_evm_r5_defconfig | 153 ++++++++++++++++++++++++++++++ 3 files changed, 313 insertions(+) create mode 100644 configs/j784s4_evm_a72_defconfig create mode 100644 configs/j784s4_evm_r5_defconfig
board/ti/j784s4/MAINTAINERS +2 -0
@@ -4,6 +4,8 @@ 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-evm-u-boot.dtsi F: arch/arm/dts/k3-j784s4-r5-evm.dts F: arch/arm/dts/k3-j784s4-ddr.dtsi
configs/j784s4_evm_a72_defconfig new file +158 -0
158 lines not on this page · raw message
configs/j784s4_evm_r5_defconfig new file +153 -0
153 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH v9 14/15 configs: am69_sk: Add defconfig for AM69 SK board
In reply to Apurva NandanFrom: Dasnavis Sabiya <[email protected]>
Add defconfig for AM69 SK A72 and R5 configuration.
This inlcudes and modifies the J784S4 EVM defconfigs:j784s4_evm_a72_defconfig -> am69_sk_a72_defconfig j784s4_evm_r5_defconfig -> am69_sk_r5_defconfig
--- board/ti/j784s4/MAINTAINERS | 2 ++ configs/am69_sk_a72_defconfig | 10 ++++++++++ configs/am69_sk_r5_defconfig | 10 ++++++++++ 3 files changed, 22 insertions(+) create mode 100644 configs/am69_sk_a72_defconfig create mode 100644 configs/am69_sk_r5_defconfig
board/ti/j784s4/MAINTAINERS +2 -0
@@ -16,3 +16,5 @@ M: Apurva Nandan <[email protected]> S: Maintained F: arch/arm/dts/k3-am69-sk-u-boot.dtsi F: arch/arm/dts/k3-am69-r5-sk.dts +F: configs/am69_sk_r5_defconfig +F: configs/am69_sk_a72_defconfig
configs/am69_sk_a72_defconfig new file +10 -0
@@ -0,0 +1,10 @@ +#include <configs/j784s4_evm_a72_defconfig> + +CONFIG_ARM=y +CONFIG_ARCH_K3=y +CONFIG_SOC_K3_J784S4=y +CONFIG_TARGET_J784S4_A72_EVM=y + +CONFIG_DEFAULT_DEVICE_TREE="k3-am69-sk" +CONFIG_SPL_OF_LIST="k3-am69-sk" +CONFIG_OF_LIST="k3-am69-sk"
configs/am69_sk_r5_defconfig new file +10 -0
@@ -0,0 +1,10 @@ +#include <configs/j784s4_evm_r5_defconfig> + +CONFIG_ARM=y +CONFIG_ARCH_K3=y +CONFIG_SOC_K3_J784S4=y +CONFIG_TARGET_J784S4_R5_EVM=y + +CONFIG_DEFAULT_DEVICE_TREE="k3-am69-r5-sk" +CONFIG_SPL_OF_LIST="k3-am69-r5-sk" +CONFIG_OF_LIST="k3-am69-r5-sk"
Signature · 1 line
2.34.1
PATCH v9 15/15 doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation
In reply to Apurva NandanTI K3 J784S4 and AM69 are new additions to the K3 SoC family. Add documentation about the J784S4 EVM and AM69 SK.
--- board/ti/j784s4/MAINTAINERS | 1 + doc/board/ti/j784s4_evm.rst | 299 ++++++++++++++++++++++++++++++++++++ doc/board/ti/k3.rst | 1 + 3 files changed, 301 insertions(+) create mode 100644 doc/board/ti/j784s4_evm.rst
board/ti/j784s4/MAINTAINERS +1 -0
@@ -10,6 +10,7 @@ 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: doc/board/ti/j784s4_evm.rst AM69 SK BOARD M: Apurva Nandan <[email protected]>
doc/board/ti/j784s4_evm.rst new file +299 -0
299 lines not on this page · raw message
doc/board/ti/k3.rst +1 -0
@@ -41,6 +41,7 @@ K3 Based SoCs ../beagle/j721e_beagleboneai64 j721e_evm j721s2_evm + j784s4_evm Boot Flow Overview ------------------
Signature · 1 line
2.34.1