summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2024-03-21arm: dts: k3-am62x-lp4: update to latest emif tool outputBryan Brattlof
The output from the emif tool hasn't changed for a while now, however there is still a difference from what we use. Signed-off-by: Bryan Brattlof <bb@ti.com>
2024-03-21arm: dts: k3-am62x-ddr: update to latest output from emif toolBryan Brattlof
The output from the emif tool hasn't changes in a long while however there are some differences. Update to these latest settings. Signed-off-by: Bryan Brattlof <bb@ti.com>
2024-03-21arm: dts: k3-am62a-lp4: update to latest output from the emif toolBryan Brattlof
After a little debugging on the am62px some of these values will need to be changed. Update to these new values to improve stability at higher IO voltages. Signed-off-by: Bryan Brattlof <bb@ti.com>
2024-03-21arm: dts: k3-am62p-lp4: update to latest DDR configsBryan Brattlof
After a little bit of debugging and characterization at different IO voltages, some of these values will need to change. Update to these latest settings to improve stability at higher IO voltages. Signed-off-by: Bryan Brattlof <bb@ti.com>
2024-03-21arm: dts: k3-am642-evm: Add ICSSG1 Ethernet supportMD Danish Anwar
ICSSG1 provides dual Gigabit Ethernet support. Add ICSSG1 ethernet node to am64x device tree. Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
2024-03-21arm: dts: k3-am64-main: Add ICSSG IEP nodesMD Danish Anwar
The ICSSG IP on AM64x SoCs have two Industrial Ethernet Peripherals (IEPs) to manage/generate Industrial Ethernet functions such as time stamping. Each IEP sub-module is sourced from an internal clock mux that can be derived from either of the IP instance's ICSSG_IEP_GCLK or from another internal ICSSG CORE_CLK mux. Add both the IEP nodes for both the ICSSG instances. The IEP clock is currently configured to be derived indirectly from the ICSSG_ICLK running at 250 MHz. Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
2024-03-21arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configurationMD Danish Anwar
Add ICSSG2 overlay and configuration to tispl and u-boot images. Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
2024-03-21arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet supportMD Danish Anwar
ICSSG2 provides dual Gigabit Ethernet support. Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dts Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
2024-03-21arm: dts: k3-am65-main: Add ICSSG IEP nodesMD Danish Anwar
The ICSSG IP on AM65x SoCs have two Industrial Ethernet Peripherals (IEPs) to manage/generate Industrial Ethernet functions such as time stamping. Each IEP sub-module is sourced from an internal clock mux that can be sourced from either of the IP instance's ICSSG_IEP_GCLK or ICSSG_ICLK. Add the IEP nodes for all the ICSSG instances. Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
2024-03-21arm: dts: k3-am654: add needed regs to udmap nodesMD Danish Anwar
There are a few missing registers ranges in the udmap nodes need to properly setup DMA for the am65x. A fix has been added to the Linux kernel [0] to add these ranges and merged. To keep DMA operational until the next DT sync from Linux, these ranges were added to the *-u-boot.dtsi in the upstream u-boot [1]. Porting these DMA changes to ti-u-boot as these are needed for ICSSG Ethernet driver to work. And additional config register was added to the ringacc node in upstream u-boot as part of DT sync from linux 6.7-rc1 [2]. Porting those changes as well to ti-u-boot as those are also needed for ICSSG Ethernet driver to work. [0] https://lore.kernel.org/r/20231213135138.929517-2-vigneshr@ti.com [1] https://source.denx.de/u-boot/u-boot/-/commit/5e00547e583f6d4349f3908d3491bf6ce0a8818c [2] https://source.denx.de/u-boot/u-boot/-/commit/4dbdc84754ea2ad392ef7328da6d429cd8fd3c0a Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
2024-03-21arm: dts: ti: k3-j722s: Enable USB supportRavi Gunasekaran
Update the USB0, USB1 nodes and enable them. Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
2024-03-21arm: dts: k3-j722s: Redefine USB1 node descriptionRavi Gunasekaran
USB1 controller on J722S and AM62P are from different vendors. Redefine the USB1 node description for J722S by deleting the node inherited from AM62P dtsi. Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
2024-03-21arm: dts: k3-j722s: Add support for SERDES0Ravi Gunasekaran
Add SERDES0 and its wrapper description to support USB3 and SGMII interfaces. Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
2024-03-21arm: mach-k3: j784s4_init: Enable AVSKeerthy
Enable probing of AVS node in R5 SPL. Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Dhruva Gole <d-gole@ti.com>
2024-03-21arm: dts: k3-j784s4-r5 Add AVS and TPS62873 nodeKeerthy
Add AVS and Tulip TPS62873 regulator node. Signed-off-by: Keerthy <j-keerthy@ti.com>
2024-03-21arm: mach-k3: am62*_init: Probe ESM nodesSanthosh Kumar K
On AM62A and AM62P devices, it is possible to route Main ESM error events to MCU ESM. MCU ESM high error output can trigger the reset logic to reset the device. So, for these devices we have Main ESM and MCU ESM nodes in the device tree. Add functions to probe these nodes if CONFIG_ESM_K3 is enabled. Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
2024-03-21arm: dts: k3-am62p: Remove 'reserved' statusSanthosh Kumar K
Remove 'reserved' status for MCU ESM node in AM62P device tree Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
2024-03-21arm: dts: k3-am62a: Add ESM nodesSanthosh Kumar K
Add Main ESM and MCU ESM nodes to the AM62A device tree. Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
2024-03-21arm: dts: k3-*-ddr: Add ss_cfg reg entrySanthosh Kumar K
Add ss_cfg memory region which maps the DDRSS configuration region for the memory controller node. Signed-off-by: Santhosh Kumar K <s-k6@ti.com> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2024-03-21arm: dts: k3-*: Add memory node at R5 stageNeha Malcom Francis
Add the bootph-pre-ram property to the memory node so that it can be accessed by FDT functions at R5 stage. The fdt_setup_mem*() functions require the memory node to be able to initialize and set the size of the DRAM banks. For this purpose, make sure all memory nodes are present and standardized, and add them if not. Also make sure they have bootph-pre-ram property so that it can be accessible at R5 SPL stage. Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2024-03-21arm: dts: k3-j721e-main: Update delay select values for MMC subsystemsBhavya Kapoor
Update the delay values for various speed modes supported, based on the revised august 2021 J721E Datasheet [1]. [1] https://www.ti.com/lit/ds/symlink/tda4vm.pdf, (SPRSP36J - FEBRUARY 2019 - REVISED AUGUST 2021) - Table 7-77. MMC0 DLL Delay Mapping for All Timing Modes and - Table 7-86. MMC1/2 DLL Delay Mapping for All Timing Modes, in Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
2024-03-21arm: dts: k3-am642-r5-evm.dts: Add NAND boot supportRoger Quadros
For R5 SPL, we include the NAND support in the board DTS file (k3-am642-r5-evm.dts) as there is no way to use overlay in BootROM at the moment. Signed-off-by: Roger Quadros <rogerq@kernel.org>
2024-03-21arm: dts: k3-am62p: Enable splash screen using OLDI panelDevarsh Thakkar
- Enable splash screen for AM62P using DSS0 instance and microtips mf101hie OLDI panel. - As DSS0 instance has same register space , video ports and video planes as AM62x use the same compatible as AM62x. Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
2024-03-21arm: mach-k3: am62p5: Setup data cache and video memory for SPLDevarsh Thakkar
Setup page table, data cache and reserve memory for SPL as a precursor to enable splash screen for AM62P platform Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
2024-03-21arm: mach-k3: j784s4_init: Support less than max DDR controllersNeha Malcom Francis
The number of DDR controllers to be initialised and used should depend on the device tree with the constraint of the maximum number of controllers the device supports. Since J784S4 has multiple (4) controllers, instead of hardcoding the number of probes, move to depending on the device tree UCLASS_RAM nodes present. Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2024-03-21arm: mach-k3: j721s2_init: Support less than max DDR controllersNeha Malcom Francis
The number of DDR controllers to be initialised and used should depend on the device tree with the constraint of the maximum number of controllers the device supports. Since J721S2 has multiple (2) controllers, instead of hardcoding the number of probes, move to depending on the device tree UCLASS_RAM nodes present. Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Udit Kumar <u-kumar1@ti.com>
2024-03-21arm: dts: k3-j722s-evm: Syncing device tree with kernelJayesh Choudhary
Enable eMMC support by adding sdhci0 node. Add cma node and led node as well. Also add missing bootph-all flag for main_i2c0 node. Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21mach-k3: j722s_init: Add FS and raw boot mode supportJayesh Choudhary
This adds FS and raw boot mode support similar to other K3 platforms with the default boot mode being filesystem. Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21arm: dts: k3-j722s-evm-u-boot: Add sysreset-controller nodeJayesh Choudhary
Add DMSC child node sysreset-controller for uboot reset. Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com> Reviewed-by: Udit Kumar <u-kumar1@ti.com>
2024-03-21arm: dts: k3-j722s: Add IPC supportApurva Nandan
Add Main-R5F and C7x nodes to the SOC file and keep them disabled. Rename the firmwares for MCU and WKUP R5F cores. Enable IPC support for main, mcu and wakeup R5F and C7x cores with memory craveouts and mailboxes. Signed-off-by: Apurva Nandan <a-nandan@ti.com> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21arm: dts: k3-am62p: Disable R5FSS nodes at SoC level and enable in EVMVaishnav Achath
K3 R5 remoteproc driver requires reserved memory carveouts and mailbox configuration to instantiate the cores successfully. Since this is a board level resource dependency, keep the R5 subsystem disabled at SoC level and enable them at EVM where the dependencies are met. Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21arm: mach-k3: j722s: Enable QoS for DSS and MAIN-R5FJayesh Choudhary
Enable Quality of Service blocks for Display Subsystem DSS0 and DSS1 and Main R5F core by servicing their traffic from RT queue. Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21arm: dts: k3-*: s/fsstub/tifsstub/Dhruva Gole
Replace all the fsstub occurences with tifsstub to avoid new terminology and resulting confusion. Suggested-by: Nishanth Menon <nm@ti.com> Signed-off-by: Dhruva Gole <d-gole@ti.com>
2024-03-21arm: dts: j7xx: Allow privID 0 to pass through background firewallsManorit Chawdhry
Firewalling IP has 3 permissions slots for slave and DRU firewalls. Each permission slot can be populated with different accesses to different privIDs. Configuring a background firewall with an allow all permission (0xc3ffff) in just one slot doesn't work as intendted as the other permission slots which are essentially 0x0000 act as a block all transaction for privID 0. Explicitly fill all the permission registers of background firewall regions to allow all transactions to go through including privID 0. Foreground firewalls are intendted to block privID 0 as well so they are not touched. [ AM68-SK CSI Test ] Tested-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
2024-03-21arch: mach-k3: Fix incorrect mapping of higher DDR addresses as device memorySekhar Nori
Entry for physical address 0x500000000 in memory map table for MMU configuration is spilling over and inadvertently making DDR available at higher address (above 4GB address space) get mapped as device memory (nGnRnE). Fix this by adjusting entry size. Tested on AM62A SK. Before this patch: => time crc32 0x881000000 0x20000000 crc32 for 881000000 ... 8a0ffffff ==> 7f34d7ca time: 1 minutes, 14.716 seconds After patch: => time crc32 0x881000000 0x20000000 crc32 for 881000000 ... 8a0ffffff ==> 7f34d7ca time: 2.710 seconds Acked-by: Andrew Davis <afd@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com>
2024-03-21arm: dts: k3-j784s4-main: Add Itap Delay Value For DDR50 speed modeBhavya Kapoor
DDR50 speed mode is enabled for MMCSD in J784s4 but its Itap Delay Value is not present in the device tree. Thus, add Itap Delay Value for MMCSD Ultra High Speed DDR which is DDR50 speed mode for J784s4 SoC according to datasheet for J784s4 [1]. [1] Refer to : section 6.10.5.17.2 MMC1/2 - SD/SDIO Interface, in J784s4 datasheet - https://www.ti.com/lit/ds/symlink/tda4vh-q1.pdf Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2024-03-21arm: dts: k3-j721s2-main: Add Itap Delay Value For DDR50 speed modeBhavya Kapoor
DDR50 speed mode is enabled for MMCSD in J721s2 but its Itap Delay Value is not present in the device tree. Thus, add Itap Delay Value for MMCSD Ultra High Speed DDR which is DDR50 speed mode for J721s2 SoC according to datasheet for J721s2 [1]. [1] Refer to : section 7.10.5.17.2 MMC1/2 - SD/SDIO Interface, in J721s2 datasheet - https://www.ti.com/lit/ds/symlink/tda4vl-q1.pdf Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2024-03-21arm: dts: k3-j7200-main: Add Itap Delay Value For DDR52 speed modeBhavya Kapoor
DDR52 speed mode is enabled for eMMC in J7200 but its Itap Delay Value is not present in the device tree. Thus, add Itap Delay Value for eMMC High Speed DDR which is DDR52 speed mode for J7200 SoC according to datasheet for J7200 [1]. [1] Refer to : section 7.9.5.16.1 MMCSD0 - eMMC Interface, in J7200 datasheet - https://www.ti.com/lit/ds/symlink/dra821u-q1.pdf Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2024-03-21arm: dts: k3-am642: Fix boot on SK-AM64BRoger Quadros
SK-AM64B boot is broken. The main_i2c0 node is left disabled in r5-evm.dts preventing proper board detection. Explicitly enable the main_i2c0 node in r5-evm.dts. Fixes boot and below error message: "Reading on-board EEPROM at 0x51 failed -19" Fixes: cc471479d3850: ("arm: dts: k3-am642: main_i2c0 cleanup") Reported-by: Andreas Dannenberg <dannenberg@ti.com> Suggested-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Roger Quadros <rogerq@kernel.org>
2024-03-21configs: j7200_evm_r5_defconfig: Define K3_OPP_LOWReid Tonking
Adds the default config for K3_OPP_LOW in J7200 Reviewed-by: Udit Kumar <u-kumar1@ti.com> Signed-off-by: Reid Tonking <reidt@ti.com>
2024-03-21arm: mach-k3: J7200: Add support for OPP_LOWReid Tonking
Adds a check for K3_OPP_LOW config and will change MPU freq/voltage and msmc clock according to opp_low spec. Reviewed-by: Udit Kumar <u-kumar1@ti.com> Signed-off-by: Reid Tonking <reidt@ti.com>
2024-03-21misc: k3_avs: Change j7200 vtm compatible to align with upstreamReid Tonking
Upstream u-boot changed to using the ti,j7200-vtm compatible with the Linux 6.6 DT sync, so using the same here Reviewed-by: Udit Kumar <u-kumar1@ti.com> Signed-off-by: Reid Tonking <reidt@ti.com>
2024-03-21arm: dts: k3-j7200-r5-common: Reduce min voltage on avs regulator nodeReid Tonking
The J7200 SoC supports MPU core voltage of 760mv Reviewed-by: Udit Kumar <u-kumar1@ti.com> Signed-off-by: Reid Tonking <reidt@ti.com>
2024-03-21arm: dts: k3-j7200-r5-common: Add msmc clk to a72 nodeReid Tonking
Define the MSMC clk in the a72 node Reviewed-by: Udit Kumar <u-kumar1@ti.com> Signed-off-by: Reid Tonking <reidt@ti.com>
2024-03-21arm: dts: k3-*-binman: Move to using ti-dm entry typeNeha Malcom Francis
commit 3ef977e085767df31e42262f15837a66558052db upstream Move the DM entry in tispl.bin FIT image from default fetching an external blob entry to fetching using ti-dm entry type. This way, the DM entry will be populated by the TI_DM pathname if provided. Else it will resort to the ti-dm.bin file. Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Andrew Davis <afd@ti.com>
2024-03-21arch: arm: mach-k3: Update ARM64 MMU entries for J722SVaishnav Achath
Update ARM64 MMU entries for J722S to support early remoteproc boot requirements. Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21arm: dts: k3-j722s-evm: Sync with Linux CPSW3G DTSiddharth Vadapalli
Sync with Linux device-tree w.r.t. CPSW3G. With this, MAC Port 1 of the CPSW3G instance of CPSW Ethernet Switch is functional in RGMII-RXID mode of operation. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21arm: dts: Introduce J722S uboot dts filesJayesh Choudhary
Include the uboot device tree files needed to boot the board. Co-developed-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21arm: dts: Add J722S Device Tree from LinuxJayesh Choudhary
Pull in the device tree source files for TI's J722S SoCs needed to boot the board from v6.6-rc5. These are an early release with only the peripherals to boot the board via UART boot. Co-developed-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
2024-03-21board: ti: Introduce basic board files for the J722S familyJayesh Choudhary
Introduce the basic files needed to support the TI J722S family of SoCs. Co-developed-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>