aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-11-25Merge tag 'u-boot-dfu-next-20231124' of ↵WIP/25Nov2023-nextTom Rini7-2/+39
https://source.denx.de/u-boot/custodians/u-boot-dfu into next u-boot-dfu-next-20231124 - Make dfu entity name size configurable in KConfig - Implement start-stop for UMS (graceful shutdown via eject) - Improve help messages for cmd/bind - Improve help message for udc bind failures
2023-11-25Merge branch '2023-11-25-assorted-platform-updates' into nextTom Rini36-283/+223
- Updates for the Siemens AM335x platforms, Nuvoton platforms, and disable CONFIG_NET on platforms that lack NETDEVICES, so that NETDEVICES can be implied by NET.
2023-11-22net: Make NET imply NETDEVICESTom Rini2-1/+1
Normally, when NET is enabled, CMD_NET will then be enabled and in turn NETDEVICES will (likely) be enabled via imply. However, if we disable CMDLINE in a defconfig we now no longer get CMD_NET enabling NETDEVICES for us. This suggestion (as an imply is) really isn't about the network commands but network itself and is a legacy of how intertwined NET/CMD_NET were historically. Move this over to the NET entry instead where it is a more logical fit. Reported-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
2023-11-22boards: Disable NET on platforms without NETDEVICESTom Rini9-12/+9
None of these platforms enabled a networking devices, and disabled CMD_NET. Given that we used to gate network support on CMD_NET rather than NET, we disable CONFIG_NET on these platforms now. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-11-22board: nuvoton: update console environment variableJim Liu8-0/+108
If CONFIG_SYS_SKIP_UART_INIT is enabled, calculate the current baud rate and update the "console" environment variable. Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
2023-11-22serial: npcm: support skip uart clock settingJim Liu1-15/+24
Skip the uart clock setting if CONFIG_SYS_SKIP_UART_INIT is enabled. Fix divisor error. Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
2023-11-22configs: arbel: Enable full functionsJim Liu1-2/+14
Enable more functions/commands for arbel evb. Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
2023-11-22arm: dts: npcm845-evb: fix/add node and aliasesJim Liu4-9/+47
Modify spi and usb aliases name. Add dt-binding for usb phy define and fix usb phy reset error. Add tpm/otpee and host_intf node. Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
2023-11-22configs: draco: restore clock driverEnrico Leto3-0/+6
Fix 'failed to get fck clock' error on boot. Add missing configs. Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
2023-11-22configs: draco: disable misc initEnrico Leto3-3/+0
The initcall sequence fails at arch_misc_init. Disable misc init until driver model and DT are clean. Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
2023-11-22configs: draco: remove unused resources from splEnrico Leto3-12/+0
We don't need device tree, GPIO & SPI in SPL. Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
2023-11-22configs: thuban, rastaban: remove emmcEnrico Leto2-8/+4
These targets use NAND FLASH only. Maybe some MMC definitions were added by trying MMC for the etamin target evaluation and were not removed. Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
2023-11-22configs: draco: remove spi flash supportEnrico Leto3-18/+0
The SPI FLASH was set in the early development phase for evaluations. Any target use it anymore. Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
2023-11-22siemens,am335x: clean-up draco targetsEnrico Leto11-203/+10
Draco is a family of 3 boards: thuban, rastaban & etamin. Rename all targets of the family adding the draco- prefix to increase readibility and simplify future commits about concerning all boards of the family. The name draco was initially used for the first target. It's deprecated since a 2nd target was introduced. Unfortunately the draco target was copied to the thuban target instead to be renamed. Remove it to save unnecessary maintenance effort. Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
2023-11-22Merge branch '2023-11-22-TI-K3-cleanups' into nextTom Rini149-2509/+13705
This brings in a large number of cleanups and reorganizations to the TI K3 family of SoCs. We get DTS resyncs for most of the SoCs under that umbrella as well, and a few enhancements too.
2023-11-22arm: dts: k3-am68*: Sync with kernel v6.7-rc1Manorit Chawdhry3-1/+265
Sync devicetree with kernel v6.7-rc1 Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
2023-11-22arm: dts: k3-j721s2*: Sync with kernel v6.7-rc1Manorit Chawdhry3-2/+520
Sync devicetree with kernel v6.7-rc1 Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
2023-11-22arm: dts: k3-*-binman: Move to using templated FITsNeha Malcom Francis8-1488/+54
Reduce redundancy in code by using templates to generate the A72 boot binaries (tispl.bin and u-boot.img) as well as R5 boot binary sysfw.itb (for legacy boot following devices J721E and AM65x). Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Acked-by: Andrew Davis <afd@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
2023-11-22arm: dts: k3-binman: Add support for FIT templatesNeha Malcom Francis1-0/+327
Add templates for FIT images used extensively across K3 boards with most of the code common. This includes the FIT portions of: - tispl.bin - u-boot.img - sysfw.itb (in case of legacy boot flow) Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-11-22arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodesNishanth Menon2-102/+2
Kernel dts import now provides bootph-all and bootph-pre-ram properties for the properties we have been overriding so far. Drop the same. While at this enable the DM and TIFS UARTs for programming pinmux since they are marked reserved by board.dts Reviewed-by: Dhruva Gole <d-gole@ti.com> Tested-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22arm: dts: k3-am625-beagleplay-u-boot: drop duplicate bootph-nodesNishanth Menon1-56/+0
Kernel dts import now provides bootph-all and bootph-pre-ram properties for the properties we have been overriding so far. Drop the same. Reviewed-by: Dhruva Gole <d-gole@ti.com> Tested-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22arm: dts: k3-am625: Drop SoC provided bootph params from board u-boot/r5 dtsiNishanth Menon6-187/+2
k3-am62* SoC dtsi files now provide the following: bootph-all: dmss secure_proxy_main dmsc k3_pds k3_clks k3_reset main_pmx0 main_timer0 mcu_pmx0 wkup_conf chipid bootph-pre-ram: secure_proxy_sa3 main_esm mcu_esm Drop these from board r5 and u-boot.dtsi files as these are duplicate in them now. Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com> Tested-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22arm: dts: k3-am625*: Sync with kernel v6.7-rc1Nishanth Menon9-3/+193
Sync with kernel v6.7-rc1 and sync up the u-boot dts files accordingly. Tested-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA with BCDMARoger Quadros1-0/+1
BCDMA can be used at SPL for OSPI boot and mem-to-mem DMA so add "bootph-all" to BCDMA node. Suggested-by: Nishanth Menon <nm@ti.com> Fixes: 9a3f2b6798b0 ("arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet") Signed-off-by: Roger Quadros <rogerq@kernel.org> Reviewed-by: Nishanth Menon <nm@ti.com> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-11-22arm: dts: k3-j7200: Sync with Linux 6.7-rc1Reid Tonking2-2/+9
Sync u-boot device tree with Linux kernel 6.7-rc1 Signed-off-by: Reid Tonking <reidt@ti.com>
2023-11-22arm: k3: Enable instruction cache for main domain SPLJoao Paulo Goncalves6-7/+7
Change spl_enable_dcache so it also enable icache on SPL initialization for the main domain part of the boot flow. This improves bootloader booting time. Link: https://lore.kernel.org/all/20231109140958.1093235-1-joao.goncalves@toradex.com/ Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com> Tested-by: Nishanth Menon <nm@ti.com>
2023-11-22doc: board: ti: Add AM62A documentationJai Luthra2-0/+214
Add generic boot-flow diagrams, and SoC-specific info around build steps. Signed-off-by: Jai Luthra <j-luthra@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22configs: am62ax_evm_a53_defconfig: switch to stdbootNishanth Menon1-2/+3
Switch over to stdboot Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22board: ti: am62ax: env: Set the boot_targetsNishanth Menon1-0/+1
Set the default boot_targets to map up SD card as priority followed by emmc and so on. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22board: ti: am62ax: env: Use default findfdtNishanth Menon1-4/+1
Use the default findfdt instead of local logic. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22configs: am62ax_evm_a53_defconfig: Enable networkingNishanth Menon1-1/+6
Enable networking Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22dma: ti: k3-udma: Introduce DMA support for the am62axVignesh Raghavendra4-0/+200
In preparation for enabling ethernet for the am62ax family of SoCs, introduce the initial DMA channel settings for the am62ax Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> [bb@ti.com: expanded on commit message] Signed-off-by: Bryan Brattlof <bb@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22arm: dts: k3-am62a*: Sync with kernel v6.7-rc1Nishanth Menon9-128/+1224
Sync with kernel v6.7-rc1 and sync up the u-boot dts files accordingly. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22arm: mach-k3: am62a: Add main_timer0 id to the dev listNishanth Menon1-0/+1
main_timer0 is used by u-boot as the tick-timer. Add it to the soc devices list so it an be enabled via the k3 power controller. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2023-11-22arm: dts: k3-j721e-*: Sync with kernel v6.7-rc1Neha Malcom Francis2-2/+9
Sync the U-Boot DTS files with those of Kernel v6.7-rc1. Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2023-11-22dt-bindings: misc: Move esm-k3.txt to ti,j721e-esm.yamlNeha Malcom Francis2-25/+53
Move esm-k3.txt to ti,j721e-esm.yaml in line with the devicetree documentation in kernel. Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
2023-11-22doc: board: beagle: Add BeagleBone AI-64 documentationNishanth Menon3-0/+329
Add base documentation for BeagleBone AI-64. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22configs: Add j721e_beagleboneai64_* configsNishanth Menon2-0/+302
Add basic support for mmc/emmc and networking support for BeagleBone AI-64. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22board: beagle: Add BeagleBone AI-64 supportNishanth Menon9-0/+3721
Add base support for BeagleBone AI-64 board support. Further information at https://beagleboard.org/ai-64 Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22arm: dts: Add k3-j721e-beagleboneai64Robert Nelson6-1/+3746
BeagleBoard.org BeagleBone AI-64 is an open source hardware single board computer based on the Texas Instruments TDA4VM SoC featuring dual-core 2.0GHz Arm Cortex-A72 processor, C7x+MMA and 2 C66x floating-point VLIW DSPs, 3x dual ARM Cortex-R5 co-processors, 2x 6-core Programmable Real-Time Unit and Industrial Communication SubSystem, PowerVR Rogue 8XE GE8430 3D GPU. The board features 4GB DDR4, USB3.0 Type-C, 2x USB SS Type-A, miniDisplayPort, 2x 4-lane CSI, DSI, 16GB eMMC flash, 1G Ethernet, M.2 E-key for WiFi/BT, and BeagleBone expansion headers. This board family can be indentified by the BBONEAI-64-B0 in the at24 eeprom: [aa 55 33 ee 01 37 00 10 2e 00 42 42 4f 4e 45 41 |.U3..7....BBONEA|] [49 2d 36 34 2d 42 30 2d 00 00 42 30 30 30 37 38 |I-64-B0-..B00078|] Baseline of the devicetree is from v6.6-rc1 https://beagleboard.org/ai-64 https://git.beagleboard.org/beagleboard/beaglebone-ai-64 Signed-off-by: Robert Nelson <robertcnelson@gmail.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22board: Move omap3 beagle under beagle vendor folderNishanth Menon7-3/+3
Move the omap3 beagle to the beagle vendor folder representing BeagleBoard.org platforms. Suggested-by: Tom Rini <trini@konsulko.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22doc: board: Move am62x_beagleplay to it's own vendorNishanth Menon5-12/+26
Move BeaglePlay documentation to beagle as a board vendor and update references accordingly. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com>
2023-11-22board: Move beagleplay under beagle vendor folderNishanth Menon14-25/+1636
Move beagleplay support away from ti/am62x to it's own beagle vendor folder. This forms the starting point for new beagle platforms added under it's own board vendor folder. As part of this create all the associated files with a bare minimum beagleplay.c file. Suggested-by: Andrew Davis <afd@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com> [trini: Update k3-binman.dtsi to use full path to scheme.yaml now] Signed-off-by: Tom Rini <trini@konsulko.com>
2023-11-22configs: Add am62x_beagleplay_*_defconfigNishanth Menon5-72/+232
Add am62x_beagleplay_* defconfig customized for the configuration of BeaglePlay and drop the config fragments. This is in preparation for dropping the dependency on ti vendor folder entirely. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22arm: dts: k3-am625-beagleplay-u-boot/r5: Just depend on k3-binman.dtsiNishanth Menon2-15/+184
With the upcoming folder separation, there is no further need to depend on am625-binman.dtsi. Duplicate the existing definitions to u-boot.dtsi and r5.dts as appropriate. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com>
2023-11-22doc: board: ti: j721e_evm: Use board relative path for include directivesNishanth Menon1-9/+9
When using include directives within a section that is included by non TI board rst file, k3.rst and other include paths need to be relative to doc/board/ base. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22configs: j7200_evm_a72_defconfig: Switch to bootstdNishanth Menon1-2/+3
Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2023-11-22configs: j7200: Remove HBMC_AM654 configNishanth Menon2-2/+0
Kernel commit 1b77265626a4 ("arm64: dts: ti: k3-j7200-mcu-wakeup: Add HyperBus node") was merged to kernel without its dependent patch [1]. Similar fix is needed in U-Boot, and hbmc currently breaks boot. Till this gets fixed in U-Boot, disable the config by default so that the hbmc probe that happens in board/ti/j721e/evm.c will not take place and lead to boot failure. This is similar to the approach in commit 5b2671594b80 ("configs: j721e: Remove HBMC_AM654 config"), introduced to j7200 evm platform. [1] https://lore.kernel.org/all/20230424184810.29453-1-afd@ti.com/ Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2023-11-22arm: mach-k3: j721e: Improve support for UDA FSNishanth Menon1-1/+8
Commit 5019170970ad ("arch: arm: mach-k3: j721e: add support for UDA FS") introduced basic UDA FS support, however, we can Take approach similar to commit 0f1c1e8b368b ("arm: mach-k3: am625: Add support for UDA FS"). While boot partition support with EMMC boot is useful, it is constrained by the size of boot hardware partition itself. In the case of K3 devices, tispl images can contain OP-TEE images that can substantially vary in size and the u-boot image itself can vary over time as we enable various features. So use the CSD information in the case of EMMC_BOOT configuration being enabled to pick boot partition or UDA FS mode operation to pick. If EMMC_BOOT is disabled, then depend on filesystem configuration to pick data from UDA. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-11-22arm: mach-k3: arm64-mmu: Refactor to be independent of boardNishanth Menon1-25/+25
Refactor J721E J7200 definition to make this independent of board macros. Signed-off-by: Nishanth Menon <nm@ti.com>