Commit Graph

510 Commits

Author SHA1 Message Date
Mahesh Mahadevan
9ae310b923 soc: nxp_mxrt7xx: Fix cache implementation for CPU0
This SoC has an external XCACHE controller for CPU0
instruction and data bus.
Add code to enable the data cache. Instruction cache
is already enabled by SystemInit.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-02-13 01:14:20 +01:00
Neil Chen
cb772b0f60 board: nxp: frdm_mcxa156: add config CONFIG_LPADC_DO_OFFSET_CALIBRATION
Update config CONFIG_LPADC_DO_OFFSET_CALIBRATION in soc level.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-02-12 09:49:17 +01:00
Jiafei Pan
091fa5a01e boards: imx8mp_evk_a53: update supported features
Added GPIO and I2C.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-02-12 02:26:08 +01:00
Jiafei Pan
8a9763a895 boards: imx8mn_evk_a53: add i2c gpio expander support
Added gpio expander pca6416 support on the board, it use i2c bus to
expand IO ports.

Added GPIO test case overlay for the board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-02-12 02:26:08 +01:00
Jiafei Pan
2c2430cb49 boards: imx8mm_evk_a53: add i2c gpio expander support
Added gpio expander pca6416 support on the board, it use i2c bus to
expand IO ports.

Added GPIO test case overlay for the board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-02-12 02:26:08 +01:00
Jiafei Pan
594b646bfd dts: arm64: imx8mn: add i2c device nodes
Added i2c device nodes for SoC imx8mn.
Updated board supported features.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-02-12 02:26:08 +01:00
Jiafei Pan
a90ce6fd21 dts: arm64: imx8mm: add i2c device nodes
Added i2c device nodes for soc imx8mm.
Updated board supported features.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-02-12 02:26:08 +01:00
Emilio Benavente
30ee855c5d boards: nxp: Add FRDM_MCXW72
Add initial board for FRDM_MCXW72

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-02-11 22:13:18 +01:00
Hou Zhiqiang
2bfb590bf6 boards: nxp: add imx91_evk support
The i.MX 91 Evaluation Kit (MCIMX91-EVK board) is a platform designed
to display the most commonly used features of the i.MX 91 applications
processor. The MCIMX91-EVK board is an entry-level development board
with a small and low-cost package.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2025-02-11 22:08:59 +01:00
Yangbo Lu
03c0d03419 boards: nxp: mimxrt1180_evk: doc the NETC DSA support
Documented the NETC DSA support.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-02-11 22:03:48 +01:00
Yangbo Lu
6e2dcce412 boards: nxp: mimxrt1180_evk: board init for switch ports
Added board init for switch ports.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-02-11 22:03:48 +01:00
Yangbo Lu
2c28562974 boards: nxp: mimxrt1180_evk: enable switch ports
Enabled switch ports in dts.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-02-11 22:03:48 +01:00
Yangbo Lu
e53ff8b64e boards: nxp: mimxrt1180_evk: move netc node to common dtsi
Moved netc node from m33 dts to common dtsi. ENETC PSI0 kept
disabled for M7 for now.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-02-11 22:03:48 +01:00
Yangbo Lu
282fb014b0 boards: nxp: mimxrt1180_evk: add pinctrl for NETC switch ports
Added pinctrl for NETC switch ports.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-02-11 22:03:48 +01:00
Lucien Zhao
b6e52c339a boards: nxp: mimxrt700_evk: add ctimer support
enable ctimer clock in board.c
set ctimer0 as ok for cm33_cpu0
set ctimer5 as ok for cm33_cpu1
test counter_basic_api case passed on cm33_cpu0/1

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-02-11 18:55:53 +01:00
Lucien Zhao
230d4b7fe9 boards: nxp: mimxrt700_evk: add flexio pwm configuration
config flexio clock if flexio enabled
add flexio_io7 pin configuration

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-02-11 15:42:48 +01:00
David Leach
e4c16b5433 boards: NXP: mimxrt1170_evkb: cleanup documentations
Clean up some oversite in the board enablement documentation
and yaml file.

Signed-off-by: David Leach <david.leach@nxp.com>
2025-02-11 11:47:40 +00:00
Emilio Benavente
e40ad1c901 dts: arm: nxp: Enable RTC Counter for MCXW7X
Enabled the RTC Counter for the MCXW71 and MCXW72.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-02-11 03:07:01 +01:00
Declan Snyder
89c29a9b08 boards: mcxw71: Enable spi nor flash
Add support for the on board spi nor flash

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-02-08 00:32:42 +01:00
Daniel Baluta
aaa119d757 dts: xtensa: nxp_imx8m: Add PDM MICFIL node
This adds micfil node for NPX i.MX8MP SOC.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2025-02-08 00:32:26 +01:00
Jiafei Pan
a7b469c91f boards: imx8mp_evk: add gpio expander pca6416 support
Added device tree nodes in imx8mp_evk_mimx8ml8_a53.dts, and also
added board overlay in gpio_basic_api test case.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-02-08 00:31:28 +01:00
Emilio Benavente
8df15918ef boards: nxp: frdm_mcxw71: Added Button Support
Added Button Support for frdm_mcxw71

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-02-06 07:46:20 +01:00
Laurentiu Mihalcea
80f62dd6af boards: imx8mp_evk: adsp: add pin definitions/property for SAI3
Add pin definitions and property for SAI3 node.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2025-02-05 14:57:03 +01:00
Laurentiu Mihalcea
d3ae53187c boards: imx8mp_evk: adsp: use pin definitions from imx8mp_evk-pinctrl.dtsi
Use the pin definitions from "imx8mp_evk-pinctrl.dtsi". No need
to redefine them.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2025-02-05 14:57:03 +01:00
Emilio Benavente
98189393eb boards: nxp: Add MCXW72-EVK
Add initial board for MCXW72-EVK

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-02-04 09:17:04 +01:00
Alexandre Rey
769df0b579 boards: frdm_mcxc242: Add lpuart1 support
According to the quick start guide of the FRDM-MCXC242 board, PTE0/PTE1
should be used for lpuart1. Enable and configure it in board dts.

Signed-off-by: Alexandre Rey <alx.rey@icloud.com>
2025-02-03 11:19:08 +01:00
Mahesh Mahadevan
85bdab00de soc: mimxrt1180: Add USB support
This was tested on the MIMXRT1180 EVK board

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-01-30 18:29:33 +01:00
Mahesh Mahadevan
c3533472c1 drivers: hwinfo: Add support for MIMXRT1180
Add HWINFO support for MIMXRT1180

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-01-30 18:29:33 +01:00
Lucien Zhao
819a17f3d4 boards: nxp: mimxrt700_evk: enable mrt0 channel0 for cm33_cpu0
enable mrt0 channel0 for cm33_cpu0
test counter_basic_api case passed on cm33_cpu0

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-01-30 09:27:05 +01:00
Neil Chen
f0ce0d1698 boards: nxp: frdm_mcxa156: Support lpspi for NXP frdm_mcxa156 board
Support lpspi for NXP frdm_mcxa156 board.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-01-28 23:41:08 +01:00
Lucien Zhao
a3dfd1285c boards: nxp: mimxrt700_evk: add p3t1755dp_ard_i2c support
add lpi2c8 pin configuration in dts
enable lpi2c8 to support p3t1755dp_ard_i2c shield

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-01-28 09:47:32 +01:00
Raymond Lei
e8a3ca648e test: i2s: Reconfigure i2s speed test HW environment on RT1170 EVK board
Use TX and RX blocks on SAI for i2s speed test, by this way we can avoid
HW reworking.
Update Readme file and DMA channel configuration in overlay file to avoid
DMA channel conflict with other peripherals like UART.

Signed-off-by: Raymond Lei <raymond.lei@nxp.com>
2025-01-28 09:46:56 +01:00
Arkadiusz Cholewinski
3767641ff3 frdm_k64f: Add pyocd.yaml with configuration.
Add configuration file for pyocd with two parameters:
- connect_mode
- reset_type

Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
2025-01-28 00:05:44 +01:00
Andrej Butok
8a701d5974 boards: frdm_rw612: add chosen uart-mcumgr
Adds chosen zephy,uart-mcumgr used by DFU MCUMgr via UART.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-01-28 00:05:06 +01:00
Lucien Zhao
1d98d38d77 boards: nxp: mimxrt700_evk: add lpspi configuration
add lpspi14 pin settings
add lpspi14 edma setting in dts

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-01-27 21:03:26 +01:00
Declan Snyder
31a2b4f374 drivers: spi_nxp_lpspi: Add tristate output config
Add DT property to configure the LPSPI instance to use tristated output
instead of retained output when PCS is negated.

Turn on the config on a couple boards for test coverage.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-01-27 08:55:13 +01:00
Ruijia Wang
b1395eabce drivers: rtwdog: add NXP rtwdog driver
Port NXP rtwdog driver to Zephyr.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2025-01-25 20:07:05 +01:00
Hake Huang
5b9064c290 boards: mimxrt1060_evkc : update linkserver config
update linkserver config for evkc

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-01-24 22:09:47 +01:00
Andrej Butok
66df94b618 boards: mimxrt1180: fix MCUBoot build
- Fixes building of MCUBoot for mimxrt1180-evk.
- Disables RT Boot header for MCUBoot applications.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-01-24 22:09:30 +01:00
Jiafei Pan
ab25fdf1a9 boards: imx8mp_evk: add i2c support
Added i2c3 support on imx8mp_evk A53 board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-01-24 19:15:57 +01:00
Yassine El Aissaoui
3bccb227ae boards: nxp: frdm_rw612: Add missing chosen to dtsi
Add zephyr,flash-controller and zephyr,code-partition
chosen info.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-01-23 00:14:23 +01:00
Andrej Butok
970204227f boards: frdm_mcxn947: fix mcuboot partitions
Fixes frdm_mcxn947 MCUBoot partitions
that were broken by d8ab81329e

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-01-22 05:39:37 +01:00
Emilio Benavente
d4bfe3b507 boards: nxp: frdm_mcxw71: Enable MCXW71 I2C Loopback
Enable and test I2C loopback with i2c_target_api

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-01-22 05:39:22 +01:00
Andrej Butok
31c299e5b7 boards: mimxrt1180_evk: set LinkServer as the default runner
Sets LinkServer as the default runner for the mimxrt1180-evk board,
as the board is configured for CMSIS-DAP by default.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-01-21 19:28:25 +01:00
David Leach
d29e2f342d boards: nxp: add RT1060 EVKC support
MIMXRT1060 EVK rev C initial support files.

Signed-off-by: David Leach <david.leach@nxp.com>
2025-01-21 19:27:39 +01:00
Cong Nguyen Huu
40a27244f0 boards: s32z2xx: enable flash controller QSPI
The on-board S26HS512T 512M-bit HyperFlash memory is connected to
the QSPI controller port A1.
This board configuration selects it as the default flash controller.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2025-01-21 19:26:45 +01:00
Cong Nguyen Huu
f0c4d1c53c drivers: flash_nxp_s32: create common source code
Create common source code to use for supporting HyperFlash.

Rename 'FLASH_NXP_S32_QSPI_NOR_SFDP_RUNTIME' to
'FLASH_NXP_S32_QSPI_SFDP_RUNTIME' as a common kconfig.

Add the 'max-program-buffer-size' property to use for
setting memory pageSize, instead of using
'CONFIG_FLASH_NXP_S32_QSPI_LAYOUT_PAGE_SIZE' for setting.

Add the 'write-block-size' propertyto use for setting
the number of bytes used in write operations, it also
uses to instead of the 'memory-alignment' property.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2025-01-21 19:26:45 +01:00
Derek Snell
1d441c239e doc: nxp: nw612: clarify documentation
NW612 is the firmware name, IW612 is the chipset name.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-01-21 15:14:05 +01:00
Declan Snyder
38131af55d boards: frdm_rw612: Document SRAM partitions
Add comment to DTS file about SRAM partitions similar to the RTXXX
series has comments.

Add also a doc section to the frdm_rw612 about this.

Also fix the section hierarchy of the frdm_rw612 doc, the header levels
were wrong since the wifi and bluetooth, and reference sections were
under the debugging section.
Group all the wireless connectivity info together.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-01-21 04:13:32 +01:00
Yangbo Lu
04c63996e1 boards: nxp: imx95_evk_mimx9596_m7: enable SPI1 interface
Enabled SPI1 interface for imx95_evk_mimx9596_m7.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-01-20 09:21:00 +01:00