Commit Graph

574 Commits

Author SHA1 Message Date
Mahesh Mahadevan
53c3f342b2 boards: rd_rw612_bga: Add power init code for PM3 support
1. Add the power init code.
2. Add code to support Low Power Mode support from the RTC
   1HZ clock.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-04-02 10:31:47 +02:00
Mahesh Mahadevan
5dda6506ce boards: frdm_rw612: Add power init code for PM3 support
1. Add the power init code.
2. Add code to support Low Power Mode support from the RTC
1HZ clock.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-04-02 10:31:47 +02:00
Benjamin Cabé
9abfc8301a doc: nxp: adopt zephyr:board-supported-hw directive
Replace manually authored hardware features table with the new Zephyr
board supported hardware directive which automatically generates an
up-to-date table based on the boards' Devicetree.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-04-01 16:26:30 +02:00
Tim Wang
25fcfff154 soc: mimxrt1180: Add USB Device support
This was tested on the MIMXRT1180 EVK board

Signed-off-by: Tim Wang <tim.wang@nxp.com>
2025-04-01 11:52:09 +02:00
Andrej Butok
45fc00431b boards: nxp: lpcxpresso55sXX: set LinkServer as the default runner.
- Sets LinkServer as the default runner for lpcxpresso55sXX boards.
- Unifies the "Configuring a Debug Probe" chapter
  for lpcxpresso55sXX boards.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-03-29 06:32:06 +01:00
Andrej Butok
b38d0eb270 boards: lpcxpresso55s36: fix declared memory region sizes
- Fixes declared memory region sizes in .yaml and .rst.
- Adds SRAMX linker region.
- The lpcxpresso55s36 linker memory regions are:
  FLASH =246KB, RAM=112KB, SRAMX=16KB.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-03-29 06:31:55 +01:00
Andrej Butok
fe3abd1cb9 boards: lpcxpresso55s28: fix low RAM region size
- Fixes RAM region size to 192KB for lpcxpresso55s28. It was 64KB.
- Adds SRAMX linker region.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-03-28 08:36:08 +01:00
Andrej Butok
6f853a5d76 boards: frdm_mcxn236: enable MCUboot support
Enables MCUboot support for frdm-mcxn236.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-03-28 08:35:40 +01:00
Zhaoxiang Jin
7ed7cd191a modules: hal_nxp: Move hal_nxp glue layer to zephyr repo
Move hal_nxp glue layer to zephyr repo.
Fix build warnings and failures caused by hal_nxp upgrade.
Update manifest to contain hal_nxp changes.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-03-26 16:26:34 +01:00
Hake Huang
1847b882a2 tests: ztest: enable ztest_no_yield for all in PM
if CONFIG_PM=y, board will enter low power,
which will cause problem for debugger.
So for ztest cases, we need enable this to avoid problem.
This used to apply to soc/platform level, now remove them.

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2025-03-25 22:14:20 +01:00
Neil Chen
41d5eed0d6 boards: nxp: frdm_mcxa156: Add config TEST_RANDOM_GENERATOR
Add config TEST_RANDOM_GENERATOR to support function sys_rand_get

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-03-25 22:12:36 +01:00
Neil Chen
3f6925d8bf boards: nxp: frdm_mcxa156: Support i3c for NXP frdm_mcxa156 board
Support i3c for NXP frdm_mcxa156 board.
Test it using samples/sensor/thermometer.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-03-25 22:12:36 +01:00
Yangbo Lu
660035d45d boards: nxp: imx95_evk: update doc and yml for NETC support on M7
Updated imx95_evk doc and yml for NETC support on M7.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-03-25 05:59:30 +01:00
Yangbo Lu
0238bc25b2 boards: nxp: imx95_evk: enable NETC PSI0 for M7
Enabled NETC PSI0 for M7.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-03-25 05:59:30 +01:00
Yangbo Lu
833cea98d5 boards: nxp: imx95_evk: add board init for NETC
Added board init for NETC.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-03-25 05:59:30 +01:00
Mahesh Mahadevan
bc5a60c812 boards: mimxrt700_evk: Fix USB failures
1. Update the USB clock init code
2. Pass a flag to USB HAL driver for cache
   management

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-03-25 00:32:14 +01:00
Mahesh Mahadevan
c107859fca boards: nxp_rw6xx: Enable RTC counter support for RW6XX.
This is used as wakeup source to wakeup from Power Modes
3 and 4.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-03-21 09:51:38 +01:00
Mahesh Mahadevan
4ef64e7ac0 boards: frdm_rw612: Add Display support
Add support to work with the LCD-PAR-S035 display
that is connected over the PMOD interface.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-03-20 21:57:58 +01:00
Lucien Zhao
3d2059f9b6 boards: nxp: mimxrt700_evk: enable sc_timer as pwm function
enable sc_timer for cm33_cpu0 core.
test tests/drivers/pwm/pwm_api case passed.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-03-18 08:27:20 +01:00
Raymond Lei
8199a247a6 boards/soc: nxp: MCXA, imxrt11xx: reconfigure clock source of lpspi
In spi loopback test, high bandrate is 16Mbps while some source of lpspi
are too low to support this bandrate. According the reference mannual,
to support 16Mbps, Input frequency at least should be 2*16MHz.
Update LPSPI input freq to maximum to get more accurate band rate
because band rate must be divisible by input freq.

Signed-off-by: Raymond Lei <raymond.lei@nxp.com>
2025-03-18 08:27:12 +01:00
Declan Snyder
9cc3676c75 boards: nxp: convert board sys_inits to hooks
Convert the nxp boards that have general init functions
as SYS_INITs to use board_early_init_hook instead.

Also standardize selection of CONFIG_BOARD_EARLY_INIT_HOOK in the
Kconfig file across NXP boards.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-03-18 08:25:06 +01:00
Hake Huang
1383d5cadd tests: ztest: rd_rw612_bga: add ZTEST_NO_YIELD
Add ZTEST_NO_YIELD to keep test case output consist.
The log may missing, as the soc goes to low power.

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-03-17 21:02:10 -04:00
Derek Snell
3598c413ed doc: boards: nxp: Add footer to board doc pages
Adds common footer to NXP boards.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-03-17 21:00:46 -04:00
Emilio Benavente
fc1a65d162 boards: nxp: frdm_mcxw72: Add Button Support
Add Button Support for frdm_mcxw72 and mcxw72_evk.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-03-17 20:00:59 +01:00
Emilio Benavente
2df6b7fd2d boards: nxp: frdm_rw612: Added Button Support
Updated dts to add Button Support. SW2

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-03-17 20:00:09 +01:00
Yassine El Aissaoui
2c4e123755 boards: nxp: MCXW: Add zephyr,bt-c2h-uart dts property
Adding the property to support the hci_uart
application.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-03-14 17:55:05 +01:00
Thorsten Klein
78f98ed0a7 FRDM-RW612: led at hsgpio0 is GPIO_ACTIVE_LOW
The LED on the FRDM-RW612 is currently configured incorrectly. It should
be set as GPIO_ACTIVE_LOW

Signed-off-by: Thorsten Klein <thorsten.klein@bshg.com>
2025-03-14 17:54:27 +01:00
Lucien Zhao
483796888d boards: nxp: mimxrt700_evk: enable wwdt0 as watchdog0 for cm33_cpu0
enable wwdt0 as watchdog0.
test wdt_basic_api case passed(Only support cm33_cpu0 core).

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-03-14 17:53:53 +01:00
Jiafei Pan
beb5b5dfcd boards: imx95_evk: a55: add i2c support on the board
Enabled some I2C bus on the board, can use I2C shell for simple
verification.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-03-12 07:13:55 +01:00
Hake Huang
78c83df95e boards: nxp: mimxrt1180_evk add mbox tag
add mbox to support list

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2025-03-12 07:13:44 +01:00
Fabio Baltieri
b13255895d boards: fix few incorrect ft5336 polarities
The interrupt pin is active low, not sure how any of these could have
worked correctly, maybe they've only been tested in polling mode.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-03-12 02:29:17 +01:00
Peter van der Perk
808c0da7ed imx95: Add GPIO support Cortex-M7 target
Adds GPIO definitions and update pinctrl for rgpio driver

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2025-03-12 02:25:58 +01:00
Emilio Benavente
e0bb942a43 boards: nxp: frdm_mcxw71: Adding Pull Up flag
The SW2 needs the PULL UP flag to be set to be
enabled.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-03-11 18:54:14 +01:00
Andre Heinemans
da3d029b14 drivers: firmware: scmi: add nxp specific processing
An option is added to allow vendor specific processing at
scmi_shmem_write_message() and scmi_shmem_read_message().
Additionally code has been added specific to NXP which has
some extended validation features.

Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
2025-03-07 20:02:17 +01:00
Mahesh Mahadevan
28ab3e3502 dts: nxp_rt7xx: Add support for USB
Add USB support

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-03-07 19:48:38 +01:00
Emilio Benavente
5e35836922 boards: nxp: mcxw7x: Add FXLS8964 Sensor Support
Added FXLS8964 Accel Sensor Support for the
mcxw71 and mcxw72 devices.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-03-07 19:48:18 +01:00
Iuliana Prodan
e4ccfa3b2f boards: nxp: imxrt700: Add documentation for i.MXRT700 DSP cores
Add documentation for the two HiFi1 and HiFi4 DSP cores from i.MXRT700.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-03-07 19:42:36 +01:00
Iuliana Prodan
8e6dc9b5be boards: nxp: imxrt700: Add i.MXRT700 HiFi1 board support
Add board support for the HiFi1 DSP core from NXP i.MXRT700.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-03-07 19:42:36 +01:00
Iuliana Prodan
b5480f3abe boards: nxp: imxrt700: Add i.MXRT700 HiFi4 board support
Add board support for the HiFi4 DSP core from NXP i.MXRT700.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-03-07 19:42:36 +01:00
Yassine El Aissaoui
9cf65d6eb1 boards: nxp: update flash code/storage allocation for MCXW72
67k of code is not enough for several BLE samples.
It makes more sense to have a large partition for code and a smaller
one for storage.
This commit reduces the storage to 16k (at the end of the flash) and
use the remaining for code.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-03-07 15:54:57 +00:00
Mahesh Mahadevan
fff500469e boards: nxp: Update USB testing label to point to usb_next
The legacy USB device stack is not supported on this platform.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-03-06 08:34:44 +00:00
Ofir Shemesh
d627804188 boards: nxp: mimxrt1060_evk.dtsi: remove redundant empty line
Remove a redundant empty line from the LPSPI3 declaration.

Signed-off-by: Ofir Shemesh <ofirshemesh777@gmail.com>
2025-03-04 04:04:00 +01:00
Dat Nguyen Duy
cfa4f823e4 boards: s32z: improve boards docs
Document missing supported features and correct the commands
used for west flash/debug

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2025-03-03 14:43:26 +01:00
Emilio Benavente
bc8065cc7e boards: nxp: frdm_mcxc242: Free Ram Region for USB Testing
Frees ram region on the frdm_mcxc242 to allow
usb samples to run on this platform due to the
constraint of 16KB ram space for this platform.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-02-28 18:29:46 +01:00
Declan Snyder
d46c382950 drivers: ethernet: Remove deprecated eth_mcux
This driver was deprecated and must be removed by Zephyr version
4.1 according to lifecycle/release guidelines.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-02-26 22:04:26 +00:00
Declan Snyder
2ba6ba8494 drivers: nxp_enet: Re-add EXT RMII CLK config
This config was missed when converting from eth_mcux to nxp_enet driver,
re-add it and use new one instead of old one.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-02-26 22:04:26 +00:00
Manuel Argüelles
fa93fe271b boards: nxp: mr_canhubk3: mention required trace32 version
Document the host tool version for the TRACE32 runner required by this
board.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2025-02-26 01:37:45 +01:00
Manuel Argüelles
6ece8cb859 boards: nxp: mr_canhubk3: fix trace32 runner scripts
Update path to TRACE32 demo scripts for S32K3 to the latest version.

Fixes #86302

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2025-02-26 01:37:45 +01:00
Derek Snell
837480c2f7 boards: nxp: mimxrt595_evk: leave INPUTMUX and DMA clocks enabled
Calling INPUTMUX_Deinit() disables clocks to DMA and INPUTMUX, and
causes issues with DMA.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-02-21 11:42:14 +00:00
Benjamin Cabé
5b66012b36 boards: nxp: fix spelling of "configuration"
s/condfiguration/configuration/

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-02-19 18:51:13 +01:00