arm: k3: arm64: Initial support for Texas Instrument's J721E Platform
Subsystems (5)
v3 cover arm: k3: arm64: Initial support for Texas Instrument's J721E Platform
This series adds initial support for Texas Instruments' K3 architecture
based J721E SoC. This series depends on the:
- mmc series posted by Faiz: https://patchwork.ozlabs.org/project/uboot/list/?series=112948
- sysfw loader series posted by Andreas: https://patchwork.ozlabs.org/project/uboot/list/?series=111844
- exclusive device series posted: https://patchwork.ozlabs.org/project/uboot/list/?series=112440
- arm64 rproc cleanup series: https://patchwork.ozlabs.org/project/uboot/list/?series=112443
Changes since v2:
- Dropped an unused macro from PATCH 2/16
Changes since v1:
- Updated the DT nodes with exclusive permissions
- Fixed up mmc boot mode definition
- Added support for fixing up msmc sram
- Added custom mmu for armv8
- Added sysfw loader support.
The entire series with all the dependencies is available at:
https://github.com/lokeshvutla/u-boot/tree/j721e-initial-support
Andreas Dannenberg (3):
armv7R: K3: j721e: Unlock all applicable control MMR registers
armv7R: K3: j721e: Store boot index from ROM
armv7R: K3: j721e: Load SYSFW binary and config from boot media
Faiz Abbas (1):
mmc: am654_sdhci: Separate J721E compatible into 8bit and 4bit
versions
Lokesh Vutla (10):
arm: K3: j721e: Add basic support for J721E SoC definition
armv7R: K3: j721e: Add support for boot device detection
armv7R: K3: j721e: Shut down R5 core after ATF startup on A72
board: ti: j721e: Add board support for j721e evm
dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721E
arm: dts: ti: Add Support for J721E SoC
arm: dts: k3-j721e: Add initial support for common processor board
arm: dts: k3-j721e: Add r5 specific dt support
configs: j721e_evm_r5: Add initial support
configs: j721e_evm_a72: Add initial support
Suman Anna (2):
armv8: K3: j721e: Add custom MMU support
board: ti: j721e: Enable fixing up msmc sram node
arch/arm/dts/Makefile | 2 + .../k3-j721e-common-proc-board-u-boot.dtsi | 75 ++++++ arch/arm/dts/k3-j721e-common-proc-board.dts | 63 +++++ arch/arm/dts/k3-j721e-main.dtsi | 231 ++++++++++++++++++ arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 72 ++++++ .../arm/dts/k3-j721e-r5-common-proc-board.dts | 141 +++++++++++ arch/arm/dts/k3-j721e-som-p0.dtsi | 29 +++ arch/arm/dts/k3-j721e.dtsi | 177 ++++++++++++++ arch/arm/mach-k3/Kconfig | 13 +- arch/arm/mach-k3/Makefile | 1 + arch/arm/mach-k3/am6_init.c | 6 - arch/arm/mach-k3/arm64-mmu.c | 55 +++++ arch/arm/mach-k3/common.c | 6 + arch/arm/mach-k3/include/mach/hardware.h | 4 + .../arm/mach-k3/include/mach/j721e_hardware.h | 49 ++++ arch/arm/mach-k3/include/mach/j721e_spl.h | 31 +++ arch/arm/mach-k3/include/mach/spl.h | 4 + arch/arm/mach-k3/j721e_init.c | 228 +++++++++++++++++ board/ti/j721e/Kconfig | 55 +++++ board/ti/j721e/Makefile | 8 + board/ti/j721e/evm.c | 82 +++++++ configs/j721e_evm_a72_defconfig | 86 +++++++ configs/j721e_evm_r5_defconfig | 95 +++++++ drivers/mmc/am654_sdhci.c | 114 +++++---- include/configs/j721e_evm.h | 103 ++++++++ include/dt-bindings/pinctrl/k3.h | 3 + 26 files changed, 1682 insertions(+), 51 deletions(-) create mode 100644 arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi create mode 100644 arch/arm/dts/k3-j721e-common-proc-board.dts create mode 100644 arch/arm/dts/k3-j721e-main.dtsi create mode 100644 arch/arm/dts/k3-j721e-mcu-wakeup.dtsi create mode 100644 arch/arm/dts/k3-j721e-r5-common-proc-board.dts create mode 100644 arch/arm/dts/k3-j721e-som-p0.dtsi create mode 100644 arch/arm/dts/k3-j721e.dtsi create mode 100644 arch/arm/mach-k3/include/mach/j721e_hardware.h create mode 100644 arch/arm/mach-k3/include/mach/j721e_spl.h create mode 100644 arch/arm/mach-k3/j721e_init.c create mode 100644 board/ti/j721e/Kconfig create mode 100644 board/ti/j721e/Makefile create mode 100644 board/ti/j721e/evm.c create mode 100644 configs/j721e_evm_a72_defconfig create mode 100644 configs/j721e_evm_r5_defconfig create mode 100644 include/configs/j721e_evm.h
Signature · 1 line
2.21.0
PATCH v3 1/16 arm: K3: j721e: Add basic support for J721E SoC definition
The J721E SoC belongs to the K3 Multicore SoC architecture platform, providing advanced system integration to enable lower system costs of automotive applications such as infotainment, cluster, premium Audio, Gateway, industrial and a range of broad market applications. This SoC is designed around reducing the system cost by eliminating the need of an external system MCU and is targeted towards ASIL-B/C certification/requirements in addition to allowing complex software and system use-cases.
Some highlights of this SoC are:
* Dual Cortex-A72s in a single cluster, three clusters of lockstep capable dual Cortex-R5F MCUs, Deep-learning Matrix Multiply Accelerator(MMA), C7x floating point Vector DSP, Two C66x floating point DSPs.
* 3D GPU PowerVR Rogue 8XE GE8430
* Vision Processing Accelerator (VPAC) with image signal processor and Depth and Motion Processing Accelerator (DMPAC)
* Two Gigabit Industrial Communication Subsystems (ICSSG), each with dual PRUs and dual RTUs
* Two CSI2.0 4L RX plus one CSI2.0 4L TX, one eDP/DP, One DSI Tx, and up to two DPI interfaces.
* Integrated Ethernet switch supporting up to a total of 8 external ports in addition to legacy Ethernet switch of up to 2 ports.
* System MMU (SMMU) Version 3.0 and advanced virtualisation capabilities.
* Upto 4 PCIe-GEN3 controllers, 2 USB3.0 Dual-role device subsystems, 16 MCANs, 12 McASP, eMMC and SD, UFS, OSPI/HyperBus memory controller, QSPI, I3C and I2C, eCAP/eQEP, eHRPWM, MLB among other peripherals.
* Two hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL management.
* Configurable L3 Cache and IO-coherent architecture with high data throughput capable distributed DMA architecture under NAVSS
* Centralized System Controller for Security, Power, and Resource Management (DMSC)
See J721E Technical Reference Manual (SPRUIL1, May 2019) for further details: http://www.ti.com/lit/pdf/spruil1
Add base support for J721E SoC
--- arch/arm/mach-k3/Kconfig | 12 ++++++++++-- arch/arm/mach-k3/Makefile | 1 + arch/arm/mach-k3/am6_init.c | 6 ------ arch/arm/mach-k3/common.c | 6 ++++++ arch/arm/mach-k3/j721e_init.c | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 51 insertions(+), 8 deletions(-) create mode 100644 arch/arm/mach-k3/j721e_init.c
arch/arm/mach-k3/Kconfig +10 -2
@@ -7,6 +7,9 @@ choice config SOC_K3_AM6 bool "TI's K3 based AM6 SoC Family Support" +config SOC_K3_J721E + bool "TI's K3 based J721E SoC Family Support" + endchoice config SYS_SOC
@@ -14,7 +17,8 @@ config SYS_SOC config SYS_K3_NON_SECURE_MSRAM_SIZE hex - default 0x80000 + default 0x80000 if SOC_K3_AM6 + default 0x100000 if SOC_K3_J721E help Describes the total size of the MCU MSRAM. This doesn't specify the total size of SPL as ROM can use some part
@@ -23,7 +27,8 @@ config SYS_K3_NON_SECURE_MSRAM_SIZE config SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE hex - default 0x58000 + default 0x58000 if SOC_K3_AM6 + default 0xc0000 if SOC_K3_J721E help Describes the maximum size of the image that ROM can download from any boot media.
@@ -31,18 +36,21 @@ config SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE config SYS_K3_MCU_SCRATCHPAD_BASE hex default 0x40280000 if SOC_K3_AM6 + default 0x40280000 if SOC_K3_J721E help Describes the base address of MCU Scratchpad RAM. config SYS_K3_MCU_SCRATCHPAD_SIZE hex default 0x200 if SOC_K3_AM6 + default 0x200 if SOC_K3_J721E help Describes the size of MCU Scratchpad RAM. config SYS_K3_BOOT_PARAM_TABLE_INDEX hex default 0x41c7fbfc if SOC_K3_AM6 + default 0x41cffc00 if SOC_K3_J721E help Address at which ROM stores the value which determines if SPL is booted up by primary boot media or secondary boot media.
arch/arm/mach-k3/Makefile +1 -0
@@ -4,6 +4,7 @@ # Lokesh Vutla <[email protected]> obj-$(CONFIG_SOC_K3_AM6) += am6_init.o +obj-$(CONFIG_SOC_K3_J721E) += j721e_init.o obj-$(CONFIG_ARM64) += arm64-mmu.o obj-$(CONFIG_CPU_V7R) += r5_mpu.o lowlevel_init.o obj-$(CONFIG_TI_SECURE_DEVICE) += security.o
arch/arm/mach-k3/am6_init.c +0 -6
@@ -210,12 +210,6 @@ u32 spl_boot_device(void) }#endif -#ifndef CONFIG_SYSRESET -void reset_cpu (ulong ignored) -{ -} -#endif -#ifdef CONFIG_SYS_K3_SPL_ATF #define AM6_DEV_MCU_RTI0 134
arch/arm/mach-k3/common.c +6 -0
@@ -138,3 +138,9 @@ int fdt_fixup_msmc_ram(void *blob, char *parent_path, char *node_name) return 0; }#endif + +#ifndef CONFIG_SYSRESET +void reset_cpu (ulong ignored) +{ +} +#endif
arch/arm/mach-k3/j721e_init.c new file +34 -0
@@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* J721E: SoC specific initialization +* +* Copyright (C) 2018-2019 Texas Instruments Incorporated - http://www.ti.com/ +* Lokesh Vutla <[email protected]> +*/ + +#include <common.h> +#include <spl.h> +#include <asm/io.h> +#include <asm/armv7_mpu.h> +#include "common.h" + +#ifdef CONFIG_SPL_BUILD +void board_init_f (ulong dummy) +{ +/* +* ToDo: +* - Store boot rom index. +* - unlock mmr. +*/ + +#ifdef CONFIG_CPU_V7R +setup_k3_mpu_regions (); +#endif + +/* Init DM early */ +spl_early_init (); + +/* Prepare console output */ +preloader_console_init (); +} +#endif
Signature · 1 line
2.21.0
PATCH v3 1/16 arm: K3: j721e: Add basic support for J721E SoC definition
Quoted 34 lines · Lokesh Vutla
The J721E SoC belongs to the K3 Multicore SoC architecture platform, providing advanced system integration to enable lower system costs of automotive applications such as infotainment, cluster, premium Audio, Gateway, industrial and a range of broad market applications. This SoC is designed around reducing the system cost by eliminating the need of an external system MCU and is targeted towards ASIL-B/C certification/requirements in addition to allowing complex software and system use-cases.
Some highlights of this SoC are:
* Dual Cortex-A72s in a single cluster, three clusters of lockstep capable dual Cortex-R5F MCUs, Deep-learning Matrix Multiply Accelerator(MMA), C7x floating point Vector DSP, Two C66x floating point DSPs.
* 3D GPU PowerVR Rogue 8XE GE8430
* Vision Processing Accelerator (VPAC) with image signal processor and Depth and Motion Processing Accelerator (DMPAC)
* Two Gigabit Industrial Communication Subsystems (ICSSG), each with dual PRUs and dual RTUs
* Two CSI2.0 4L RX plus one CSI2.0 4L TX, one eDP/DP, One DSI Tx, and up to two DPI interfaces.
* Integrated Ethernet switch supporting up to a total of 8 external ports in addition to legacy Ethernet switch of up to 2 ports.
* System MMU (SMMU) Version 3.0 and advanced virtualisation capabilities.
* Upto 4 PCIe-GEN3 controllers, 2 USB3.0 Dual-role device subsystems, 16 MCANs, 12 McASP, eMMC and SD, UFS, OSPI/HyperBus memory controller, QSPI, I3C and I2C, eCAP/eQEP, eHRPWM, MLB among other peripherals.
* Two hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL management.
* Configurable L3 Cache and IO-coherent architecture with high data throughput capable distributed DMA architecture under NAVSS
* Centralized System Controller for Security, Power, and Resource Management (DMSC)
Quoted 8 lines
See J721E Technical Reference Manual (SPRUIL1, May 2019) for further details: http://www.ti.com/lit/pdf/spruil1
Add base support for J721E SoC
Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by Andreas Dannenberg <[email protected]>Signed-off-by Nishanth Menon <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/e23a3b2b/attachment.sig>
PATCH v3 2/16 armv7R: K3: j721e: Add support for boot device detection
In reply to Lokesh VutlaJ721E allows for booting from primary or backup boot media. Both media can be chosen individually based on switch settings. ROM looks for a valid image in primary boot media, if not found then looks in backup boot media. In order to pass this boot media information to boot loader, ROM stores a value at a particular address. Add support for reading this information and determining the boot media correctly.
--- arch/arm/mach-k3/include/mach/hardware.h | 4 ++ .../arm/mach-k3/include/mach/j721e_hardware.h | 49 +++++++++++++++++ arch/arm/mach-k3/include/mach/j721e_spl.h | 31 +++++++++++ arch/arm/mach-k3/include/mach/spl.h | 4 ++ arch/arm/mach-k3/j721e_init.c | 53 +++++++++++++++++++ 5 files changed, 141 insertions(+) create mode 100644 arch/arm/mach-k3/include/mach/j721e_hardware.h create mode 100644 arch/arm/mach-k3/include/mach/j721e_spl.h
arch/arm/mach-k3/include/mach/hardware.h +4 -0
@@ -9,4 +9,8 @@#ifdef CONFIG_SOC_K3_AM6 #include "am6_hardware.h" #endif + +#ifdef CONFIG_SOC_K3_J721E +#include "j721e_hardware.h" +#endif #endif /* _ASM_ARCH_HARDWARE_H_ */
arch/arm/mach-k3/include/mach/j721e_hardware.h new file +49 -0
49 lines not on this page · raw message
arch/arm/mach-k3/include/mach/j721e_spl.h new file +31 -0
@@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Copyright (C) 2018-2019 Texas Instruments Incorporated - http://www.ti.com/ +* Lokesh Vutla <[email protected]> +*/ +#ifndef _ASM_ARCH_J721E_SPL_H_ +#define _ASM_ARCH_J721E_SPL_H_ + +/* With BootMode B = 0 */ +#define BOOT_DEVICE_HYPERFLASH 0x00 +#define BOOT_DEVICE_OSPI 0x01 +#define BOOT_DEVICE_QSPI 0x02 +#define BOOT_DEVICE_SPI 0x03 +#define BOOT_DEVICE_ETHERNET 0x04 +#define BOOT_DEVICE_I2C 0x06 +#define BOOT_DEVICE_UART 0x07 + +/* With BootMode B = 1 */ +#define BOOT_DEVICE_MMC2 0x10 +#define BOOT_DEVICE_MMC1 0x11 +#define BOOT_DEVICE_USB 0x12 +#define BOOT_DEVICE_UFS 0x13 +#define BOOT_DEVIE_GPMC 0x14 +#define BOOT_DEVICE_PCIE 0x15 +#define BOOT_DEVICE_MMC2_2 0x16 +#define BOOT_DEVICE_RAM 0x17 + +#define BOOT_MODE_B_SHIFT 4 +#define BOOT_MODE_B_MASK BIT(4) + +#endif
arch/arm/mach-k3/include/mach/spl.h +4 -0
@@ -9,4 +9,8 @@#ifdef CONFIG_SOC_K3_AM6 #include "am6_spl.h" #endif + +#ifdef CONFIG_SOC_K3_J721E +#include "j721e_spl.h" +#endif #endif /* _ASM_ARCH_SPL_H_ */
arch/arm/mach-k3/j721e_init.c +53 -0
63 lines not on this page · raw message
Signature · 1 line
2.21.0
PATCH v3 2/16 armv7R: K3: j721e: Add support for boot device detection
Quoted 11 lines · Lokesh Vutla
J721E allows for booting from primary or backup boot media. Both media can be chosen individually based on switch settings. ROM looks for a valid image in primary boot media, if not found then looks in backup boot media. In order to pass this boot media information to boot loader, ROM stores a value at a particular address. Add support for reading this information and determining the boot media correctly.
Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by Andreas Dannenberg <[email protected]>Signed-off-by Faiz Abbas <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/847d4933/attachment.sig>
PATCH v3 3/16 armv7R: K3: j721e: Unlock all applicable control MMR registers
In reply to Lokesh VutlaFrom: Andreas Dannenberg <[email protected]>
To access various control MMR functionality the registers need to be unlocked. Do that for all control MMR regions in the MCU and MAIN domains. We may want to go back later and limit the unlocking that's being done.
--- arch/arm/mach-k3/j721e_init.c | 43 ++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-)
arch/arm/mach-k3/j721e_init.c +42 -1
@@ -14,14 +14,55 @@#include "common.h" #ifdef CONFIG_SPL_BUILD +static void mmr_unlock (u32 base,u32 partition) +{ +/* Translate the base address */ +phys_addr_t part_base = base + partition *CTRL_MMR0_PARTITION_SIZE ; + +/* Unlock the requested partition if locked using two-step sequence */ +writel (CTRLMMR_LOCK_KICK0_UNLOCK_VAL , part_base +CTRLMMR_LOCK_KICK0 ); +writel (CTRLMMR_LOCK_KICK1_UNLOCK_VAL , part_base +CTRLMMR_LOCK_KICK1 ); +} + +static void ctrl_mmr_unlock (void ) +{ +/* Unlock all WKUP_CTRL_MMR0 module registers */ +mmr_unlock (WKUP_CTRL_MMR0_BASE ,0 ); +mmr_unlock (WKUP_CTRL_MMR0_BASE ,1 ); +mmr_unlock (WKUP_CTRL_MMR0_BASE ,2 ); +mmr_unlock (WKUP_CTRL_MMR0_BASE ,3 ); +mmr_unlock (WKUP_CTRL_MMR0_BASE ,4 ); +mmr_unlock (WKUP_CTRL_MMR0_BASE ,6 ); +mmr_unlock (WKUP_CTRL_MMR0_BASE ,7 ); + +/* Unlock all MCU_CTRL_MMR0 module registers */ +mmr_unlock (MCU_CTRL_MMR0_BASE ,0 ); +mmr_unlock (MCU_CTRL_MMR0_BASE ,1 ); +mmr_unlock (MCU_CTRL_MMR0_BASE ,2 ); +mmr_unlock (MCU_CTRL_MMR0_BASE ,3 ); +mmr_unlock (MCU_CTRL_MMR0_BASE ,4 ); + +/* Unlock all CTRL_MMR0 module registers */ +mmr_unlock (CTRL_MMR0_BASE ,0 ); +mmr_unlock (CTRL_MMR0_BASE ,1 ); +mmr_unlock (CTRL_MMR0_BASE ,2 ); +mmr_unlock (CTRL_MMR0_BASE ,3 ); +mmr_unlock (CTRL_MMR0_BASE ,4 ); +mmr_unlock (CTRL_MMR0_BASE ,5 ); +mmr_unlock (CTRL_MMR0_BASE ,6 ); +mmr_unlock (CTRL_MMR0_BASE ,7 ); +} +void board_init_f (ulong dummy) {/* * ToDo: * - Store boot rom index. -* - unlock mmr. */ +/* Make all control module registers accessible */ +ctrl_mmr_unlock (); +#ifdef CONFIG_CPU_V7R setup_k3_mpu_regions ();#endif
Signature · 1 line
2.21.0
PATCH v3 3/16 armv7R: K3: j721e: Unlock all applicable control MMR registers
Quoted 8 lines · Lokesh Vutla
From: Andreas Dannenberg <[email protected]>
To access various control MMR functionality the registers need to be unlocked. Do that for all control MMR regions in the MCU and MAIN domains. We may want to go back later and limit the unlocking that's being done.
Signed-off-by Andreas Dannenberg <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/7e44c47e/attachment.sig>
PATCH v3 4/16 armv7R: K3: j721e: Store boot index from ROM
In reply to Lokesh VutlaFrom: Andreas Dannenberg <[email protected]>
Obtain the boot index as left behind by the device boot ROM and store it in scratch pad SRAM for later use before it may get overwritten.
--- arch/arm/mach-k3/j721e_init.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-)
arch/arm/mach-k3/j721e_init.c +15 -2
@@ -53,12 +53,25 @@ static void ctrl_mmr_unlock(void)mmr_unlock (CTRL_MMR0_BASE ,7 ); } +/* +* This uninitialized global variable would normal end up in the .bss section, +* but the .bss is cleared between writing and reading this variable, so move +* it to the .data section. +*/ +u32 bootindex __attribute__((section(".data"))); + +static void store_boot_index_from_rom (void ) +{ + bootindex = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX ); +} +void board_init_f (ulong dummy) {/* -* ToDo: -* - Store boot rom index. +* Cannot delay this further as there is a chance that +* K3_BOOT_PARAM_TABLE_INDEX can be over written by SPL MALLOC section. */ +store_boot_index_from_rom ();/* Make all control module registers accessible */ ctrl_mmr_unlock ();
Signature · 1 line
2.21.0
PATCH v3 4/16 armv7R: K3: j721e: Store boot index from ROM
Quoted 6 lines · Lokesh Vutla
From: Andreas Dannenberg <[email protected]>
Obtain the boot index as left behind by the device boot ROM and store it in scratch pad SRAM for later use before it may get overwritten.
Signed-off-by Andreas Dannenberg <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/4b2eebf2/attachment.sig>
PATCH v3 4/16 armv7R: K3: j721e: Store boot index from ROM
In reply to Lokesh VutlaQuoted 6 lines · Lokesh Vutla
From: Andreas Dannenberg <[email protected]>
Obtain the boot index as left behind by the device boot ROM and store it in scratch pad SRAM for later use before it may get overwritten.
Signed-off-by Andreas Dannenberg <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/4f185882/attachment.sig>
PATCH v3 5/16 armv7R: K3: j721e: Shut down R5 core after ATF startup on A72
In reply to Lokesh VutlaPopulate the release_resources_for_core_shutdown() api with shutting down r5 cores so that it will by called just after jumping to ATF.
--- arch/arm/mach-k3/j721e_init.c | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+)
arch/arm/mach-k3/j721e_init.c +57 -0
@@ -12,6 +12,8 @@#include <asm/armv7_mpu.h> #include <asm/arch/hardware.h> #include "common.h" +#include <asm/arch/sys_proto.h> +#include <linux/soc/ti/ti_sci_protocol.h> #ifdef CONFIG_SPL_BUILD static void mmr_unlock (u32 base,u32 partition)
@@ -139,3 +141,58 @@ u32 spl_boot_device(void)return __get_primary_bootmedia (main_devstat, wkup_devstat); }#endif + +#ifdef CONFIG_SYS_K3_SPL_ATF + +#define J721E_DEV_MCU_RTI0 262 +#define J721E_DEV_MCU_RTI1 263 +#define J721E_DEV_MCU_ARMSS0_CPU0 250 +#define J721E_DEV_MCU_ARMSS0_CPU1 251 + +void release_resources_for_core_shutdown (void ) +{ +struct ti_sci_handle *ti_sci; +struct ti_sci_dev_ops *dev_ops; +struct ti_sci_proc_ops *proc_ops; +int ret; +u32 i; + +const u32 put_device_ids[] = { +J721E_DEV_MCU_RTI0 , +J721E_DEV_MCU_RTI1 , + }; + + ti_sci =get_ti_sci_handle (); + dev_ops = &ti_sci->ops.dev_ops; + proc_ops = &ti_sci->ops.proc_ops; + +/* Iterate through list of devices to put (shutdown) */ +for (i =0 ; i <ARRAY_SIZE (put_device_ids); i++) { +u32 id = put_device_ids[i]; + + ret = dev_ops->put_device (ti_sci, id); +if (ret) +panic ("Failed to put device %u (%d)\n" , id, ret); + } + +const u32 put_core_ids[] = { +J721E_DEV_MCU_ARMSS0_CPU1 , +J721E_DEV_MCU_ARMSS0_CPU0 ,/* Handle CPU0 after CPU1 */ + }; + +/* Iterate through list of cores to put (shutdown) */ +for (i =0 ; i <ARRAY_SIZE (put_core_ids); i++) { +u32 id = put_core_ids[i]; + +/* +* Queue up the core shutdown request. Note that this call +* needs to be followed up by an actual invocation of an WFE +* or WFI CPU instruction. +*/ + ret = proc_ops->proc_shutdown_no_wait (ti_sci, id); +if (ret) +panic ("Failed sending core %u shutdown message (%d)\n" , + id, ret); + } +} +#endif
Signature · 1 line
2.21.0
PATCH v3 5/16 armv7R: K3: j721e: Shut down R5 core after ATF startup on A72
Quoted 5 lines · Lokesh Vutla
Populate the
release_resources_for_core_shutdown()api with shutting down r5 cores so that it will by called just after jumping to ATF.Signed-off-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/9667cf5f/attachment.sig>
PATCH v3 6/16 armv7R: K3: j721e: Load SYSFW binary and config from boot media
In reply to Lokesh VutlaFrom: Andreas Dannenberg <[email protected]>
Use the System Firmware (SYSFW) loader framework to load and start the SYSFW as part of the J721E early initialization sequence. While at it also initialize the MCU_UART0 pinmux as it is used by SYSFW to print diagnostic messages.
--- arch/arm/mach-k3/j721e_init.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
arch/arm/mach-k3/j721e_init.c +30 -0
@@ -11,9 +11,13 @@#include <asm/io.h> #include <asm/armv7_mpu.h> #include <asm/arch/hardware.h> +#include <asm/arch/sysfw-loader.h> #include "common.h" #include <asm/arch/sys_proto.h> #include <linux/soc/ti/ti_sci_protocol.h> +#include <dm.h> +#include <dm/uclass-internal.h> +#include <dm/pinctrl.h> #ifdef CONFIG_SPL_BUILD static void mmr_unlock (u32 base,u32 partition)
@@ -69,6 +73,10 @@ static void store_boot_index_from_rom(void)void board_init_f (ulong dummy) { +#if defined(CONFIG_K3_LOAD_SYSFW ) +struct udevice *dev; +int ret; +#endif /* * Cannot delay this further as there is a chance that * K3_BOOT_PARAM_TABLE_INDEX can be over written by SPL MALLOC section.
@@ -85,8 +93,30 @@ void board_init_f(ulong dummy)/* Init DM early */ spl_early_init (); +#ifdef CONFIG_K3_LOAD_SYSFW +/* +* Process pinctrl for the serial0 a.k.a. MCU_UART0 module and continue +* regardless of the result of pinctrl. Do this without probing the +* device, but instead by searching the device that would request the +* given sequence number if probed. The UART will be used by the system +* firmware (SYSFW) image for various purposes and SYSFW depends on us +* to initialize its pin settings. +*/ + ret =uclass_find_device_by_seq (UCLASS_SERIAL ,0 , true, &dev); +if (!ret) +pinctrl_select_state (dev,"default" ); + +/* +* Load, start up, and configure system controller firmware. Provide +* the U-Boot console init function to the SYSFW post-PM configuration +* callback hook, effectively switching on (or over) the console +* output. +*/ +k3_sysfw_loader (preloader_console_init); +#else /* Prepare console output */ preloader_console_init (); +#endif }u32 spl_boot_mode (const u32 boot_device)
Signature · 1 line
2.21.0
PATCH v3 6/16 armv7R: K3: j721e: Load SYSFW binary and config from boot media
Quoted 9 lines · Lokesh Vutla
From: Andreas Dannenberg <[email protected]>
Use the System Firmware (SYSFW) loader framework to load and start the SYSFW as part of the J721E early initialization sequence. While at it also initialize the
MCU_UART0pinmux as it is used by SYSFW to print diagnostic messages.Signed-off-by Andreas Dannenberg <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/da22ac7e/attachment.sig>
PATCH v3 7/16 armv8: K3: j721e: Add custom MMU support
In reply to Lokesh VutlaFrom: Suman Anna <[email protected]>
The A72 U-Boot code loads and boots a number of remote processors including the C71x DSP, both the C66_0 and C66_1 DSPs, and the various Main R5FSS Cores. Change the memory attributes for the DDR regions used by the remote processors so that the cores can see and execute the proper code.
A separate table based on the current AM65x table is added for J721E SoCs, since the number of remote processors and their DDR usage will be different between the two SoC families.
--- arch/arm/mach-k3/arm64-mmu.c | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+)
arch/arm/mach-k3/arm64-mmu.c +55 -0
@@ -12,6 +12,7 @@#include <asm/system.h> #include <asm/armv8/mmu.h> +#ifdef CONFIG_SOC_K3_AM6 /* NR_DRAM_BANKS + 32bit IO + 64bit IO + terminator */ #define NR_MMU_REGIONS (CONFIG_NR_DRAM_BANKS + 3)
@@ -43,3 +44,57 @@ struct mm_region am654_mem_map[NR_MMU_REGIONS] = { };struct mm_region *mem_map = am654_mem_map; +#endif /* CONFIG_SOC_K3_AM6 */ + +#ifdef CONFIG_SOC_K3_J721E +/* NR_DRAM_BANKS + 32bit IO + 64bit IO + terminator */ +#define NR_MMU_REGIONS (CONFIG_NR_DRAM_BANKS + 5) + +/* ToDo: Add 64bit IO */ +struct mm_region j721e_mem_map[NR_MMU_REGIONS ] = { + { + .virt =0x0UL , + .phys =0x0UL , + .size =0x80000000UL , + .attrs =PTE_BLOCK_MEMTYPE (MT_DEVICE_NGNRNE ) | +PTE_BLOCK_NON_SHARE | +PTE_BLOCK_PXN |PTE_BLOCK_UXN + }, { + .virt =0x80000000UL , + .phys =0x80000000UL , + .size =0x20000000UL , + .attrs =PTE_BLOCK_MEMTYPE (MT_NORMAL ) | +PTE_BLOCK_INNER_SHARE + }, { + .virt =0xa0000000UL , + .phys =0xa0000000UL , + .size =0x0bc00000UL , + .attrs =PTE_BLOCK_MEMTYPE (MT_NORMAL_NC ) | +PTE_BLOCK_NON_SHARE + }, { + .virt =0xabc00000UL , + .phys =0xabc00000UL , + .size =0x54400000UL , + .attrs =PTE_BLOCK_MEMTYPE (MT_NORMAL ) | +PTE_BLOCK_INNER_SHARE + }, { + .virt =0x880000000UL , + .phys =0x880000000UL , + .size =0x80000000UL , + .attrs =PTE_BLOCK_MEMTYPE (MT_NORMAL ) | +PTE_BLOCK_INNER_SHARE + }, { + .virt =0x500000000UL , + .phys =0x500000000UL , + .size =0x400000000UL , + .attrs =PTE_BLOCK_MEMTYPE (MT_DEVICE_NGNRNE ) | +PTE_BLOCK_NON_SHARE | +PTE_BLOCK_PXN |PTE_BLOCK_UXN + }, { +/* List terminator */ +0 , + } +}; + +struct mm_region *mem_map = j721e_mem_map; +#endif /* CONFIG_SOC_K3_J721E */
Signature · 1 line
2.21.0
PATCH v3 7/16 armv8: K3: j721e: Add custom MMU support
Quoted 8 lines · Lokesh Vutla
From: Suman Anna <[email protected]>
The A72 U-Boot code loads and boots a number of remote processors including the C71x DSP, both the
C66_0andC66_1DSPs, and the various Main R5FSS Cores. Change the memory attributes for the DDR regions used by the remote processors so that the cores can see and execute the proper code.
Quoted 6 lines
A separate table based on the current AM65x table is added for J721E SoCs, since the number of remote processors and their DDR usage will be different between the two SoC families.
Signed-off-by Suman Anna <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/8a5f4c35/attachment.sig>
PATCH v3 8/16 board: ti: j721e: Add board support for j721e evm
In reply to Lokesh VutlaAdd board specific initialization for j721e evm
--- arch/arm/mach-k3/Kconfig | 1 + board/ti/j721e/Kconfig | 55 +++++++++++++++++++ board/ti/j721e/Makefile | 8 +++ board/ti/j721e/evm.c | 68 ++++++++++++++++++++++++ include/configs/j721e_evm.h | 103 ++++++++++++++++++++++++++++++++++++ 5 files changed, 235 insertions(+) create mode 100644 board/ti/j721e/Kconfig create mode 100644 board/ti/j721e/Makefile create mode 100644 board/ti/j721e/evm.c create mode 100644 include/configs/j721e_evm.h
arch/arm/mach-k3/Kconfig +1 -0
@@ -113,4 +113,5 @@ config SYS_K3_SPL_ATF after SPL from R5. source "board/ti/am65x/Kconfig" +source "board/ti/j721e/Kconfig" endif
board/ti/j721e/Kconfig new file +55 -0
55 lines not on this page · raw message
board/ti/j721e/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# +# Copyright (C) 2018-2019 Texas Instruments Incorporated - http://www.ti.com/ +# Lokesh Vutla <[email protected]> +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y += evm.o
board/ti/j721e/evm.c new file +68 -0
68 lines not on this page · raw message
include/configs/j721e_evm.h new file +103 -0
103 lines not on this page · raw message
Signature · 1 line
2.21.0
PATCH v3 8/16 board: ti: j721e: Add board support for j721e evm
Quoted 5 lines · Lokesh Vutla
Add board specific initialization for j721e evm
Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by Jean-Jacques Hiblot <[email protected]>Signed-off-by Andreas Dannenberg <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/c1af9356/attachment.sig>
PATCH v3 9/16 board: ti: j721e: Enable fixing up msmc sram node
In reply to Lokesh VutlaFrom: Suman Anna <[email protected]>
Create a ft_board_setup() api that gets called as part of DT fixup before jumping to kernel. In this ft_board_setup() call fdt_fixup_msmc_ram that update msmc sram node.
--- board/ti/j721e/evm.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
board/ti/j721e/evm.c +14 -0
@@ -10,6 +10,7 @@#include <common.h> #include <asm/io.h> #include <spl.h> +#include <asm/arch/sys_proto.h> DECLARE_GLOBAL_DATA_PTR ;
@@ -66,3 +67,16 @@ int board_fit_config_name_match(const char *name) return -1; }#endif + +#if defined(CONFIG_OF_LIBFDT ) && defined(CONFIG_OF_BOARD_SETUP ) +int ft_board_setup (void *blob,bd_t *bd) +{ +int ret; + + ret =fdt_fixup_msmc_ram (blob,"/interconnect at 100000" ,"sram at 70000000" ); +if (ret) +printf ("%s: fixing up msmc ram failed %d\n" , __func__, ret); + +return ret; +} +#endif
Signature · 1 line
2.21.0
PATCH v3 9/16 board: ti: j721e: Enable fixing up msmc sram node
Quoted 8 lines · Lokesh Vutla
From: Suman Anna <[email protected]>
Create a
ft_board_setup()api that gets called as part of DT fixup before jumping to kernel. In thisft_board_setup()callfdt_fixup_msmc_ramthat update msmc sram node.Signed-off-by Suman Anna <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/902a0b6c/attachment.sig>
PATCH v3 10/16 mmc: am654_sdhci: Separate J721E compatible into 8bit and 4bit versions
In reply to Lokesh VutlaFrom: Faiz Abbas <[email protected]>
The j721e 4 bit instances don't have a hard DLL and therefore don't need any DLL related configurations. Split the compatibles into an 8 bit and a 4 bit one. Add a private flags field which can be used to check if the DLL is present and don't register the set_ios_post callback for the 4 bit compatible instances.
Also update the compatibles in k3-j721e-main.dtsi to avoid breaking boot with the new compatibles.
--- drivers/mmc/am654_sdhci.c | 114 ++++++++++++++++++++++++-------------- 1 file changed, 71 insertions(+), 43 deletions(-)
drivers/mmc/am654_sdhci.c +71 -43
@@ -72,6 +72,8 @@ struct am654_sdhci_plat {u32 otap_del_sel;u32 trm_icp;u32 drv_strength; +u32 flags; +#define DLL_PRESENT (1 << 0)bool dll_on; };
@@ -162,6 +164,10 @@ const struct sdhci_ops am654_sdhci_ops = { .set_control_reg = &am654_sdhci_set_control_reg, }; +const struct sdhci_ops j721e_4bit_sdhci_ops = { + .set_control_reg = &am654_sdhci_set_control_reg, +}; +int am654_sdhci_init (struct am654_sdhci_plat *plat) {u32 ctl_cfg_2 =0 ;
@@ -172,24 +178,28 @@ int am654_sdhci_init(struct am654_sdhci_plat *plat) mask =OTAPDLYENA_MASK |OTAPDLYSEL_MASK ;regmap_update_bits (plat->base,PHY_CTRL4 , mask,0x0 ); -regmap_read (plat->base,PHY_STAT1 , &val); -if (~val &CALDONE_MASK ) { -/* Calibrate IO lines */ -regmap_update_bits (plat->base,PHY_CTRL1 ,PDB_MASK ,PDB_MASK ); - ret =regmap_read_poll_timeout (plat->base,PHY_STAT1 , val, - val &CALDONE_MASK ,1 ,20 ); -if (ret) -return ret; - } +if (plat->flags &DLL_PRESENT ) { +regmap_read (plat->base,PHY_STAT1 , &val); +if (~val &CALDONE_MASK ) { +/* Calibrate IO lines */ +regmap_update_bits (plat->base,PHY_CTRL1 ,PDB_MASK , +PDB_MASK ); + ret =regmap_read_poll_timeout (plat->base,PHY_STAT1 , + val, val &CALDONE_MASK , +1 ,20 ); +if (ret) +return ret; + } -/* Configure DLL TRIM */ - mask =DLL_TRIM_ICP_MASK ; - val = plat->trm_icp <<DLL_TRIM_ICP_SHIFT ; +/* Configure DLL TRIM */ + mask =DLL_TRIM_ICP_MASK ; + val = plat->trm_icp <<DLL_TRIM_ICP_SHIFT ; -/* Configure DLL driver strength */ - mask |=DR_TY_MASK ; - val |= plat->drv_strength <<DR_TY_SHIFT ; -regmap_update_bits (plat->base,PHY_CTRL1 , mask, val); +/* Configure DLL driver strength */ + mask |=DR_TY_MASK ; + val |= plat->drv_strength <<DR_TY_SHIFT ; +regmap_update_bits (plat->base,PHY_CTRL1 , mask, val); + }/* Enable pins by setting IO mux to 0 */ regmap_update_bits (plat->base,PHY_CTRL1 ,IOMUX_ENABLE_MASK ,0 );
@@ -245,7 +255,7 @@ static int am654_sdhci_probe(struct udevice *dev) AM654_SDHCI_MIN_FREQ);if (ret)return ret; - host->ops = &am654_sdhci_ops; + host->ops = (struct sdhci_ops *)dev_get_driver_data (dev); host->mmc->priv = host; upriv->mmc = host->mmc;
@@ -268,37 +278,44 @@ static int am654_sdhci_ofdata_to_platdata(struct udevice *dev) host->ioaddr = (void *)dev_read_addr (dev); plat->non_removable =dev_read_bool (dev,"non-removable" ); - ret =dev_read_u32 (dev,"ti,trm-icp" , &plat->trm_icp); -if (ret) -return ret; +if (device_is_compatible (dev,"ti,am654-sdhci-5.1" ) || +device_is_compatible (dev,"ti,j721e-sdhci-8bit" )) + plat->flags |=DLL_PRESENT ; ret =dev_read_u32 (dev,"ti,otap-del-sel" , &plat->otap_del_sel);if (ret)return ret; - ret =dev_read_u32 (dev,"ti,driver-strength-ohm" , &drv_strength); -if (ret) -return ret; +if (plat->flags &DLL_PRESENT ) { + ret =dev_read_u32 (dev,"ti,trm-icp" , &plat->trm_icp); +if (ret) +return ret; + + ret =dev_read_u32 (dev,"ti,driver-strength-ohm" , + &drv_strength); +if (ret) +return ret; -switch (drv_strength) { -case 50 : - plat->drv_strength =DRIVER_STRENGTH_50_OHM ; -break ; -case 33 : - plat->drv_strength =DRIVER_STRENGTH_33_OHM ; -break ; -case 66 : - plat->drv_strength =DRIVER_STRENGTH_66_OHM ; -break ; -case 100 : - plat->drv_strength =DRIVER_STRENGTH_100_OHM ; -break ; -case 40 : - plat->drv_strength =DRIVER_STRENGTH_40_OHM ; -break ; -default : -dev_err (dev,"Invalid driver strength\n" ); -return -EINVAL ; +switch (drv_strength) { +case 50 : + plat->drv_strength =DRIVER_STRENGTH_50_OHM ; +break ; +case 33 : + plat->drv_strength =DRIVER_STRENGTH_33_OHM ; +break ; +case 66 : + plat->drv_strength =DRIVER_STRENGTH_66_OHM ; +break ; +case 100 : + plat->drv_strength =DRIVER_STRENGTH_100_OHM ; +break ; +case 40 : + plat->drv_strength =DRIVER_STRENGTH_40_OHM ; +break ; +default : +dev_err (dev,"Invalid driver strength\n" ); +return -EINVAL ; + } } ret =mmc_of_parse (dev, cfg);
@@ -316,7 +333,18 @@ static int am654_sdhci_bind(struct udevice *dev) }static const struct udevice_id am654_sdhci_ids[] = { - { .compatible ="ti,am654-sdhci-5.1" }, + { + .compatible ="ti,am654-sdhci-5.1" , + .data = (ulong)&am654_sdhci_ops, + }, + { + .compatible ="ti,j721e-sdhci-8bit" , + .data = (ulong)&am654_sdhci_ops, + }, + { + .compatible ="ti,j721e-sdhci-4bit" , + .data = (ulong)&j721e_4bit_sdhci_ops, + }, { } };
Signature · 1 line
2.21.0
PATCH v3 10/16 mmc: am654_sdhci: Separate J721E compatible into 8bit and 4bit versions
Quoted 8 lines · Lokesh Vutla
From: Faiz Abbas <[email protected]>
The j721e 4 bit instances don't have a hard DLL and therefore don't need any DLL related configurations. Split the compatibles into an 8 bit and a 4 bit one. Add a private flags field which can be used to check if the DLL is present and don't register the
set_ios_postcallback for the 4 bit compatible instances.
Quoted 5 lines
Also update the compatibles in
k3-j721e-main.dtsito avoid breaking boot with the new compatibles.Signed-off-by Faiz Abbas <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/41dbe691/attachment.sig>
PATCH v3 11/16 dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721E
In reply to Lokesh VutlaAdd pinctrl macros for J721E SoC. These macro definitions are similar to that of AM6, but adding new definitions to avoid any naming confusions in the soc dts files.
--- include/dt-bindings/pinctrl/k3.h | 3 +++ 1 file changed, 3 insertions(+)
include/dt-bindings/pinctrl/k3.h +3 -0
@@ -35,4 +35,7 @@#define AM65X_IOPAD (pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode))#define AM65X_WKUP_IOPAD (pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) +#define J721E_IOPAD (pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) +#define J721E_WKUP_IOPAD (pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) +#endif
Signature · 1 line
2.21.0
PATCH v3 11/16 dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721E
Quoted 6 lines · Lokesh Vutla
Add pinctrl macros for J721E SoC. These macro definitions are similar to that of AM6, but adding new definitions to avoid any naming confusions in the soc dts files.
Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by Andreas Dannenberg <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/5d1f51aa/attachment.sig>
PATCH v3 12/16 arm: dts: ti: Add Support for J721E SoC
In reply to Lokesh VutlaAdd initial SoC definition for J721E SoC.
Kernel dts posted here:
https://lore.kernel.org/lkml/20190522161921.20750-1-nm at ti.com/
--- arch/arm/dts/k3-j721e-main.dtsi | 231 ++++++++++++++++++++++++++ arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 72 ++++++++ arch/arm/dts/k3-j721e.dtsi | 177 ++++++++++++++++++++ 3 files changed, 480 insertions(+) create mode 100644 arch/arm/dts/k3-j721e-main.dtsi create mode 100644 arch/arm/dts/k3-j721e-mcu-wakeup.dtsi create mode 100644 arch/arm/dts/k3-j721e.dtsi
arch/arm/dts/k3-j721e-main.dtsi new file +231 -0
@@ -0,0 +1,231 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for J721E SoC Family Main Domain peripherals + * + * Copyright (C) 2016-2019 Texas Instruments Incorporated - http://www.ti.com/ + */ + +&cbass_main { + msmc_ram: sram at 70000000 { + compatible = "mmio-sram"; + reg = <0x0 0x70000000 0x0 0x800000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x70000000 0x800000>; + + atf-sram at 0 { + reg = <0x0 0x20000>; + }; + }; + + gic500: interrupt-controller at 1800000 { + compatible = "arm,gic-v3"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + #interrupt-cells = <3>; + interrupt-controller; + reg = <0x00 0x01800000 0x00 0x10000>, /* GICD */ + <0x00 0x01900000 0x00 0x100000>; /* GICR */ + + /* vcpumntirq: virtual CPU interface maintenance interrupt */ + interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; + + gic_its: gic-its at 18200000 { + compatible = "arm,gic-v3-its"; + reg = <0x00 0x01820000 0x00 0x10000>; + socionext,synquacer-pre-its = <0x1000000 0x400000>; + msi-controller; + #msi-cells = <1>; + }; + }; + + smmu0: smmu at 36600000 { + compatible = "arm,smmu-v3"; + reg = <0x0 0x36600000 0x0 0x100000>; + interrupt-parent = <&gic500>; + interrupts = <GIC_SPI 772 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 768 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "eventq", "gerror"; + #iommu-cells = <1>; + }; + + secure_proxy_main: mailbox at 32c00000 { + compatible = "ti,am654-secure-proxy"; + #mbox-cells = <1>; + reg-names = "target_data", "rt", "scfg"; + reg = <0x00 0x32c00000 0x00 0x100000>, + <0x00 0x32400000 0x00 0x100000>, + <0x00 0x32800000 0x00 0x100000>; + interrupt-names = "rx_011"; + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; + }; + + main_pmx0: pinmux at 11c000 { + compatible = "pinctrl-single"; + /* Proxy 0 addressing */ + reg = <0x0 0x11c000 0x0 0x2b4>; + #pinctrl-cells = <1>; + pinctrl-single,register-width = <32>; + pinctrl-single,function-mask = <0xffffffff>; + }; + + main_uart0: serial at 2800000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02800000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 146 0>; + clock-names = "fclk"; + }; + + main_uart1: serial at 2810000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02810000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 278 0>; + clock-names = "fclk"; + }; + + main_uart2: serial at 2820000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02820000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 279 0>; + clock-names = "fclk"; + }; + + main_uart3: serial at 2830000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02830000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 280 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 280 0>; + clock-names = "fclk"; + }; + + main_uart4: serial at 2840000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02840000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 281 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 281 0>; + clock-names = "fclk"; + }; + + main_uart5: serial at 2850000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02850000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 282 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 282 0>; + clock-names = "fclk"; + }; + + main_uart6: serial at 2860000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02860000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 283 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 283 0>; + clock-names = "fclk"; + }; + + main_uart7: serial at 2870000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02870000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 284 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 284 0>; + clock-names = "fclk"; + }; + + main_uart8: serial at 2880000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02880000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 285 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 285 0>; + clock-names = "fclk"; + }; + + main_uart9: serial at 2890000 { + compatible = "ti,j721e-uart", "ti,am654-uart"; + reg = <0x00 0x02890000 0x00 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <48000000>; + current-speed = <115200>; + power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 286 0>; + clock-names = "fclk"; + }; + + main_sdhci0: sdhci at 4f80000 { + compatible = "ti,j721e-sdhci-8bit"; + reg = <0x0 0x4f80000 0x0 0x1000>, <0x0 0x4f88000 0x0 0x400>; + interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; + power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>; + clock-names = "clk_xin", "clk_ahb"; + clocks = <&k3_clks 91 1>, <&k3_clks 91 0>; + assigned-clocks = <&k3_clks 91 1>; + assigned-clock-parents = <&k3_clks 91 2>; + bus-width = <8>; + ti,otap-del-sel = <0x2>; + ti,trm-icp = <0x8>; + dma-coherent; + }; + + main_sdhci1: sdhci at 4fb0000 { + compatible = "ti,j721e-sdhci-4bit"; + reg = <0x0 0x04fb0000 0x0 0x1000>, <0x0 0x4fb8000 0x0 0x400>; + interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; + power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>; + clock-names = "clk_xin", "clk_ahb"; + clocks = <&k3_clks 92 0>, <&k3_clks 92 5>; + assigned-clocks = <&k3_clks 92 0>; + assigned-clock-parents = <&k3_clks 92 1>; + ti,otap-del-sel = <0x2>; + ti,trm-icp = <0x8>; + dma-coherent; + }; +};
arch/arm/dts/k3-j721e-mcu-wakeup.dtsi new file +72 -0
72 lines not on this page · raw message
arch/arm/dts/k3-j721e.dtsi new file +177 -0
177 lines not on this page · raw message
Signature · 1 line
2.21.0
PATCH v3 12/16 arm: dts: ti: Add Support for J721E SoC
Quoted 5 lines · Lokesh Vutla
Add initial SoC definition for J721E SoC.
Kernel dts posted here:
https://lore.kernel.org/lkml/20190522161921.20750-1-nm at ti.com/Signed-off-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/e66195f6/attachment.sig>
PATCH v3 13/16 arm: dts: k3-j721e: Add initial support for common processor board
In reply to Lokesh VutlaCommon Processor board is the baseboard that has most of the actual connectors, power supply etc. A SOM (System on Module) is plugged on to the common processor board and this contains the SoC, PMIC, DDR and basic highspeed components necessary for functionality. Add initial dt support for this common processor board.
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/k3-j721e-common-proc-board.dts | 63 +++++++++++++++++++++ arch/arm/dts/k3-j721e-som-p0.dtsi | 29 ++++++++++ 3 files changed, 93 insertions(+) create mode 100644 arch/arm/dts/k3-j721e-common-proc-board.dts create mode 100644 arch/arm/dts/k3-j721e-som-p0.dtsi
arch/arm/dts/Makefile +1 -0
@@ -755,6 +755,7 @@ dtb-$(CONFIG_TARGET_STM32MP1) += \ stm32mp157c-ev1.dtb dtb-$(CONFIG_SOC_K3_AM6) += k3-am654-base-board.dtb k3-am654-r5-base-board.dtb +dtb-$(CONFIG_SOC_K3_J721E) += k3-j721e-common-proc-board.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += \ mt7623n-bananapi-bpi-r2.dtb \
arch/arm/dts/k3-j721e-common-proc-board.dts new file +63 -0
63 lines not on this page · raw message
arch/arm/dts/k3-j721e-som-p0.dtsi new file +29 -0
@@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ + */ + +/dts-v1/; + +#include "k3-j721e.dtsi" + +/ { + memory at 80000000 { + device_type = "memory"; + /* 4G RAM */ + reg = <0x00000000 0x80000000 0x00000000 0x80000000>, + <0x00000008 0x80000000 0x00000000 0x80000000>; + }; + + reserved_memory: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + secure_ddr: optee at 9e800000 { + reg = <0x00 0x9e800000 0x00 0x01800000>; + alignment = <0x1000>; + no-map; + }; + }; +};
Signature · 1 line
2.21.0
PATCH v3 13/16 arm: dts: k3-j721e: Add initial support for common processor board
Quoted 7 lines · Lokesh Vutla
Common Processor board is the baseboard that has most of the actual connectors, power supply etc. A SOM (System on Module) is plugged on to the common processor board and this contains the SoC, PMIC, DDR and basic highspeed components necessary for functionality. Add initial dt support for this common processor board.
Signed-off-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/deb5d554/attachment.sig>
PATCH v3 14/16 arm: dts: k3-j721e: Add r5 specific dt support
In reply to Lokesh VutlaAdd initial support for dt that runs on r5.
--- arch/arm/dts/Makefile | 3 +- .../k3-j721e-common-proc-board-u-boot.dtsi | 75 ++++++++++ .../arm/dts/k3-j721e-r5-common-proc-board.dts | 141 ++++++++++++++++++ 3 files changed, 218 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi create mode 100644 arch/arm/dts/k3-j721e-r5-common-proc-board.dts
arch/arm/dts/Makefile +2 -1
@@ -755,7 +755,8 @@ dtb-$(CONFIG_TARGET_STM32MP1) += \ stm32mp157c-ev1.dtb dtb-$(CONFIG_SOC_K3_AM6) += k3-am654-base-board.dtb k3-am654-r5-base-board.dtb -dtb-$(CONFIG_SOC_K3_J721E) += k3-j721e-common-proc-board.dtb +dtb-$(CONFIG_SOC_K3_J721E) += k3-j721e-common-proc-board.dtb \ + k3-j721e-r5-common-proc-board.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += \ mt7623n-bananapi-bpi-r2.dtb \
arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi new file +75 -0
75 lines not on this page · raw message
arch/arm/dts/k3-j721e-r5-common-proc-board.dts new file +141 -0
141 lines not on this page · raw message
Signature · 1 line
2.21.0
PATCH v3 14/16 arm: dts: k3-j721e: Add r5 specific dt support
Quoted 4 lines · Lokesh Vutla
Add initial support for dt that runs on r5.
Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by Andreas Dannenberg <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/a34a5538/attachment.sig>
PATCH v3 15/16 configs: j721e_evm_r5: Add initial support
In reply to Lokesh VutlaAdd initial defconfig support for J721e that runs on R5.
--- configs/j721e_evm_r5_defconfig | 95 ++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 configs/j721e_evm_r5_defconfig
configs/j721e_evm_r5_defconfig new file +95 -0
@@ -0,0 +1,95 @@ +CONFIG_ARM=y +CONFIG_ARCH_K3=y +CONFIG_SPL_GPIO_SUPPORT=y +CONFIG_SPL_LIBCOMMON_SUPPORT=y +CONFIG_SPL_LIBGENERIC_SUPPORT=y +CONFIG_SYS_MALLOC_F_LEN=0x55000 +CONFIG_SOC_K3_J721E=y +CONFIG_TARGET_J721E_R5_EVM=y +CONFIG_SPL_MMC_SUPPORT=y +CONFIG_SPL_SERIAL_SUPPORT=y +CONFIG_SPL_DRIVERS_MISC_SUPPORT=y +CONFIG_SPL_STACK_R_ADDR=0x82000000 +CONFIG_SPL_FS_FAT=y +CONFIG_SPL_LIBDISK_SUPPORT=y +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SPL_SPI_FLASH_SUPPORT=y +CONFIG_SPL_SPI_SUPPORT=y +CONFIG_SPL_LOAD_FIT=y +CONFIG_USE_BOOTCOMMAND=y +# CONFIG_DISPLAY_CPUINFO is not set +CONFIG_SPL_TEXT_BASE=0x41c00000 +CONFIG_SPL_STACK_R=y +CONFIG_SPL_SEPARATE_BSS=y +CONFIG_SPL_EARLY_BSS=y +CONFIG_SPL_ENV_SUPPORT=y +CONFIG_SPL_I2C_SUPPORT=y +CONFIG_SPL_DM_MAILBOX=y +CONFIG_SPL_DM_RESET=y +CONFIG_SPL_POWER_SUPPORT=y +CONFIG_SPL_POWER_DOMAIN=y +CONFIG_SPL_RAM_SUPPORT=y +CONFIG_SPL_RAM_DEVICE=y +CONFIG_SPL_REMOTEPROC=y +CONFIG_SPL_SPI_LOAD=y +CONFIG_SPL_YMODEM_SUPPORT=y +CONFIG_HUSH_PARSER=y +# CONFIG_CMD_FLASH is not set +CONFIG_CMD_GPT=y +CONFIG_CMD_MMC=y +CONFIG_CMD_REMOTEPROC=y +# CONFIG_CMD_SETEXPR is not set +CONFIG_DOS_PARTITION=y +CONFIG_CMD_TIME=y +CONFIG_CMD_FAT=y +CONFIG_OF_CONTROL=y +CONFIG_SPL_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="k3-j721e-r5-common-proc-board" +CONFIG_SPL_MULTI_DTB_FIT=y +CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y +CONFIG_DM=y +CONFIG_SPL_DM=y +CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_REGMAP=y +CONFIG_SPL_REGMAP=y +CONFIG_SPL_OF_TRANSLATE=y +CONFIG_CLK=y +CONFIG_SPL_CLK=y +CONFIG_CLK_TI_SCI=y +CONFIG_TI_SCI_PROTOCOL=y +CONFIG_DM_GPIO=y +CONFIG_DA8XX_GPIO=y +CONFIG_DM_MAILBOX=y +CONFIG_K3_SEC_PROXY=y +CONFIG_MISC=y +CONFIG_FS_LOADER=y +CONFIG_DM_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_AM654=y +CONFIG_DM_SPI_FLASH=y +CONFIG_SPI_FLASH=y +CONFIG_SPI_FLASH_STMICRO=y +CONFIG_PINCTRL=y +# CONFIG_PINCTRL_GENERIC is not set +CONFIG_SPL_PINCTRL=y +# CONFIG_SPL_PINCTRL_GENERIC is not set +CONFIG_PINCTRL_SINGLE=y +CONFIG_POWER_DOMAIN=y +CONFIG_TI_SCI_POWER_DOMAIN=y +CONFIG_K3_SYSTEM_CONTROLLER=y +CONFIG_REMOTEPROC_TI_K3_ARM64=y +CONFIG_DM_RESET=y +CONFIG_RESET_TI_SCI=y +CONFIG_DM_SERIAL=y +CONFIG_SPI=y +CONFIG_DM_SPI=y +CONFIG_CADENCE_QSPI=y +CONFIG_SYSRESET=y +CONFIG_SPL_SYSRESET=y +CONFIG_SYSRESET_TI_SCI=y +CONFIG_TIMER=y +CONFIG_SPL_TIMER=y +CONFIG_OMAP_TIMER=y +CONFIG_FS_EXT4=y +CONFIG_FS_FAT=y +CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
Signature · 1 line
2.21.0
PATCH v3 15/16 configs: j721e_evm_r5: Add initial support
Quoted 3 lines · Lokesh Vutla
Add initial defconfig support for J721e that runs on R5.
Signed-off-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/b0d669d1/attachment.sig>
PATCH v3 16/16 configs: j721e_evm_a72: Add initial support
In reply to Lokesh VutlaAdd initial defconfig support for J721e that runs on A72.
--- configs/j721e_evm_a72_defconfig | 86 +++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 configs/j721e_evm_a72_defconfig
configs/j721e_evm_a72_defconfig new file +86 -0
@@ -0,0 +1,86 @@ +CONFIG_ARM=y +CONFIG_ARCH_K3=y +CONFIG_SPL_LIBCOMMON_SUPPORT=y +CONFIG_SPL_LIBGENERIC_SUPPORT=y +CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_SOC_K3_J721E=y +CONFIG_TARGET_J721E_A72_EVM=y +CONFIG_SPL_MMC_SUPPORT=y +CONFIG_SPL_SERIAL_SUPPORT=y +CONFIG_SPL_DRIVERS_MISC_SUPPORT=y +CONFIG_NR_DRAM_BANKS=2 +CONFIG_SPL_STACK_R_ADDR=0x82000000 +CONFIG_SPL_FS_FAT=y +CONFIG_SPL_LIBDISK_SUPPORT=y +CONFIG_SPL_SPI_FLASH_SUPPORT=y +CONFIG_SPL_SPI_SUPPORT=y +CONFIG_DISTRO_DEFAULTS=y +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SPL_LOAD_FIT=y +CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern" +# CONFIG_DISPLAY_CPUINFO is not set +CONFIG_SPL_TEXT_BASE=0x80080000 +CONFIG_SPL_SYS_MALLOC_SIMPLE=y +CONFIG_SPL_STACK_R=y +CONFIG_SPL_SEPARATE_BSS=y +CONFIG_SPL_I2C_SUPPORT=y +CONFIG_SPL_DM_MAILBOX=y +CONFIG_SPL_DM_RESET=y +CONFIG_SPL_POWER_SUPPORT=y +CONFIG_SPL_POWER_DOMAIN=y +CONFIG_SPL_REMOTEPROC=y +CONFIG_SPL_SPI_LOAD=y +CONFIG_SPL_YMODEM_SUPPORT=y +CONFIG_CMD_ASKENV=y +# CONFIG_CMD_FLASH is not set +CONFIG_CMD_MMC=y +CONFIG_CMD_REMOTEPROC=y +CONFIG_CMD_SF=y +# CONFIG_CMD_SETEXPR is not set +CONFIG_CMD_TIME=y +CONFIG_CMD_EXT4_WRITE=y +# CONFIG_ISO_PARTITION is not set +# CONFIG_EFI_PARTITION is not set +CONFIG_OF_CONTROL=y +CONFIG_SPL_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="k3-j721e-common-proc-board" +CONFIG_SPL_MULTI_DTB_FIT=y +CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y +CONFIG_DM=y +CONFIG_SPL_DM=y +CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_REGMAP=y +CONFIG_SPL_REGMAP=y +CONFIG_SYSCON=y +CONFIG_SPL_OF_TRANSLATE=y +CONFIG_CLK=y +CONFIG_SPL_CLK=y +CONFIG_CLK_TI_SCI=y +CONFIG_TI_SCI_PROTOCOL=y +CONFIG_DM_MAILBOX=y +CONFIG_K3_SEC_PROXY=y +CONFIG_MISC=y +CONFIG_DM_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_AM654=y +CONFIG_DM_SPI_FLASH=y +CONFIG_SPI_FLASH=y +CONFIG_SPI_FLASH_STMICRO=y +CONFIG_PINCTRL=y +# CONFIG_PINCTRL_GENERIC is not set +CONFIG_SPL_PINCTRL=y +# CONFIG_SPL_PINCTRL_GENERIC is not set +CONFIG_PINCTRL_SINGLE=y +CONFIG_POWER_DOMAIN=y +CONFIG_TI_SCI_POWER_DOMAIN=y +CONFIG_K3_SYSTEM_CONTROLLER=y +CONFIG_DM_RESET=y +CONFIG_RESET_TI_SCI=y +CONFIG_DM_SERIAL=y +CONFIG_SPI=y +CONFIG_DM_SPI=y +CONFIG_CADENCE_QSPI=y +CONFIG_SYSRESET=y +CONFIG_SPL_SYSRESET=y +CONFIG_SYSRESET_TI_SCI=y +CONFIG_OF_LIBFDT_OVERLAY=y
Signature · 1 line
2.21.0
PATCH v3 16/16 configs: j721e_evm_a72: Add initial support
Quoted 3 lines · Lokesh Vutla
Add initial defconfig support for J721e that runs on A72.
Signed-off-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/f7b491d2/attachment.sig>