Commit Graph

932 Commits

Author SHA1 Message Date
Yangbo Lu
af181c5620 dts: arm: nxp_imx943_m33: add NETC ENETC support
Added NETC ENETC nodes, MDIO node, and scmi power node which will
be used to power up NETC MIX in dtsi file.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-06-18 07:37:24 +02:00
Kevin Shaju
7e56d134c2 drivers: net: phy: Add tja11xx driver
Adds the c22 tja11xx driver.

Signed-off-by: Kevin Shaju <kevin.shaju@accenture.com>
2025-06-12 15:04:32 -07:00
Marcin Wierzbicki
67edf2292a boards: nxp: add support for S32K148 evaluation board
Support for NXP S32K148 evaluation board (s32k148_evb).

Adapt samples: adc_dt, adc_sequence.
Adapt tests: adc_api, gpio_basic_api, gpio_hogs.

Signed-off-by: Marcin Wierzbicki <marcin.wierzbicki@accenture.com>
2025-06-12 15:04:32 -07:00
Andrej Butok
0ec2f5ad6f dts: nxp: rt1024: fix jedec-id for on-chip flash
Fixes the JEDEC-ID value of the W25Q32JVWJ on-chip flash of RT1024.
It was incorrectly set to the value for the different IS25WP064 chip.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-06-12 09:40:31 -07:00
Neil Chen
ab3d2dc830 boards: frdm_mcxa153,frdm_mcxa156: add hwinfo support
1. enable hwinfo support
   - device_id_get
   - get_reset_cause
   - get_supported_reset_cause
   - clear_reset_cause
2. verified tests/drivers/hwinfo

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-06-12 10:24:40 +02:00
Yangbo Lu
030d5bd735 dts: arm: nxp: add i.MX943 M33 dtsi file
Added i.MX943 M33 dtsi file for basic support.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-06-10 22:07:17 +02:00
Qiang Zhao
e5513ab18b dts: arm: nxp_imx95_m7: add ptp_clock node
Added ptp_clock node on imx95 core m7

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2025-06-06 14:47:53 +01:00
Luca Burelli
ff40173631 dts: rw6xx: fix flexcomm14 node name
Fix a trivial typo in the DTS for the NXP RW6xx series.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-06-04 17:00:57 +02:00
Derek Snell
1fd24fbdbb soc: nxp: mcx: MCXNx4x: update SOC to use flash_k4 driver
Use flash_k4 driver for internal flash instead of ROM API driver.  One
benefit is the flash program phrase size decreases from 128 Bytes to 16
Bytes.  16 Byte phrases enables this SOC to leverage the Zephyr NVS
subsystem, and the MCUboot swap mode.

Signed-off-by: Derek Snell <derek.snell@nxp.com>

Conflicts:
	west.yml
2025-05-31 05:57:40 -04:00
Manuel Argüelles
6681f8d342 soc: nxp: s32k3: configure missing mpu regions
This fixes a regression introduced in c31640239c where all regions
except Flash and RAM where left unmapped. Before introducing region
0 that prevents speculative access to the entire memory space, we
were relying on the architectural background map to access them.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2025-05-31 05:57:18 -04:00
Declan Snyder
f1df21278c soc: rw: Enable flexcomm wakeup/sleep clocking
Following the new feature in the flexcomm driver to be able to wake up
from low power mode, the clock control drivers have to handle the
platform specific details, so this commit adds to the already ugly mess
that is the LPC syscon driver which is used by RW currently and makes
the required devicetree changes.

Make the console/shell uart on the FRDM_RW612 take advantage of this by
default.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-05-30 19:40:11 +02:00
Mark Wang
a8796ca6ee boards: nxp: add uhc support for frdm_k22f, rt1060, lpc55s69 and lpc55s28
add uhc related items to dts.
add clock initialization
add BM4 if CONFIG_USB_UHC_NXP_KHCI is enabled
add pin mux
update board related CMakeLists.txt
update sdk-ng CMake to include NXP controller drivers
update west.yml to contain the hal_nxp pr

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-05-30 16:34:41 +02:00
Neil Chen
42737a78ae dts: arm/nxp: Add usb nodes to NXP MCXA153 dtsi file
Add usb nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-29 23:25:57 +02:00
Lucien Zhao
84fb8700ee dts: arm: nxp: add i3c2/3 instances for cm33_cpu1
add i3c2/3 instances for cm33_cpu1

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-05-25 21:55:07 +02:00
Neil Chen
94a04a8259 dts: arm/nxp: Add wwdt nodes to NXP MCXA153 dtsi file
Add wwdt nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-21 19:57:05 +02:00
Neil Chen
8a9afc94be boards: frdm_mcxn236: Fix USB next support on this board
This board was missing key code changes needed to
support Zephyr USB Next

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-21 19:56:55 +02:00
Alexandre Rey
11d3279e53 dts: mcxn547: add dts for MCXN547
Add SOC DTS for MCXN547.
Reorganizes DTS with a common file for MXNx4x SoCs.

Signed-off-by: Alexandre Rey <alexandre.rey@swisstiming.com>
2025-05-21 19:56:47 +02:00
Vit Stanicek
5cfaebf44e dts: mimxrt685s/cm33: Instantiate nxp,rtxxx-dsp-ctrl
Instantiate the nxp,rtxxx-dsp-ctrl driver to enable DSP code upload and
run control.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-05-21 12:34:32 +02:00
Peter Wang
1312dc771c boards: frdm_mcxa166, frdm_mcxa276: add hwinfo device_id_get support
1. enable hwinfo support: device_id_get
2. verified tests/drivers/hwinfo

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-20 18:27:56 +02:00
Mahesh Mahadevan
dcad2e036e drivers: nxp_pint: Add power handlers for the NXP PINT driver
This is needed to restore state on wakeup from certain low power
modes.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-05-19 21:55:15 +02:00
Peter Wang
2fc2c1dd2a boards: frdm_mcxa166, frdm_mcxa276: add spi support
1. enable spi support
2. verified tests/drivers/spi/spi_loopback

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-16 19:01:50 +02:00
Peter Wang
8405754a30 boards: frdm_mcxa166, frdm_mcxa276: add i2c support
1. enable i2c support
2. verified tests/drivers/i2c/i2c_target_api

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-16 19:01:50 +02:00
Peter Wang
073e04ce32 boards: frdm_mcxa166, frdm_mcxa276: add adc support
1. enable adc support
2. verified samples/drivers/adc/adc_dt and tests/drivers/adc/adc_api

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-16 19:01:50 +02:00
Neil Chen
960e015aba dts: arm/nxp: Add i3c nodes to NXP MCXA153 dtsi file
Add i3c nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:31 +02:00
Neil Chen
e66e545e06 dts: arm/nxp: Add lptmr nodes to NXP MCXA153 dtsi file
Add lptmr nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:21 +02:00
Neil Chen
e2ad92583f dts: arm/nxp: Add ctimer nodes to NXP MCXA153 dtsi file
Add ctimer nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:21 +02:00
Alex Rodriguez
dafdcab0fa dts: arm: nxp: rw6xx: add wwdt to power domain 3
Connect wwdt to power domain 3 to enable low
power management in the driver

Signed-off-by: Alex Rodriguez <alejandro.rodriguezlimon@nxp.com>
2025-05-16 19:01:08 +02:00
Tomas Barak
31fff0801a dts: arm: nxp: Change audio-PLL clock settings on rt11xx
- change SAI clock to 24,576 MHz
  to be compatible with 48kHz sample rate and its derivatives

Signed-off-by: Tomas Barak <tomas.barak@nxp.com>
2025-05-15 16:16:28 +02:00
Vit Stanicek
d53181fffd boards: mimxrt685_evk/mimxrt685s/cm33: Enable MU
Enable the MU peripheral for the CM33 domain of the mimxrt685_evk.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-05-13 10:05:04 +02:00
Florijan Plohl
f4d2757cef dts: arm: nxp: add DAC support for RT11xx
Add DAC support for RT11xx SOCs.

Signed-off-by: Florijan Plohl <florijan.plohl@norik.com>
2025-05-13 03:20:29 +02:00
Yongxu Wang
40dd41af40 dts: arm:nxp_imx95_m7: add lptmr2 node
Added lptmr2 nodes for nxp_imx95_m7

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-05-12 09:48:17 +02:00
Neil Chen
46f2bcde28 dts: arm/nxp: Add lpspi nodes to NXP MCXA153 dtsi file
Add lpspi nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-09 12:51:20 +02:00
Neil Chen
4554bd0e7f dts: arm/nxp: Add lpi2c nodes to NXP MCXA153 dtsi file
Add lpi2c nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-09 12:51:20 +02:00
Emilio Benavente
6913527a74 dts: arm: nxp: mcxw71_common: Added EWM Support
Added EWM Support for MCXW71 and MCXW72

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-05-09 01:39:56 +02:00
Peter Wang
de7c508e58 boards: frdm_mcxa166, frdm_mcxa276: add lptmr and ctimer support
1. enable lptmr and ctimer support
2. verified tests/drivers/count/counter_basic_api

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-04-29 17:54:30 +02:00
Mahesh Mahadevan
881b1ea477 drivers: mipi_dbi: Add PM action for NXP driver
Add PM action for the NXP LCDIC driver so that we can
recover from a lower power mode where we lose the register
settings and we need to reconfigure the block.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-04-25 19:00:06 +02:00
Neil Chen
53dd770a90 dts: arm/nxp: Add lpcmp nodes to NXP MCXA153 dtsi file
Add lpcmp nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-04-25 18:59:33 +02:00
Neil Chen
7a1e39fec4 dts: arm/nxp: Add adc nodes to NXP MCXA153 dtsi file
Add adc nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-04-25 18:59:33 +02:00
Cong Nguyen Huu
b985b9437c drivers: uart_nxp_s32_linflexd: support config via devicetree
Added support for initialization configuration via Devicetree.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2025-04-23 11:48:24 +02:00
Kate Wang
560b8bab37 dts: arm: nxp: update RT7xx dts files for LCDIF and MIPI-DSI
Add configuration for LCDIF and MIPI-DSI.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-04-23 10:03:42 +02:00
Neil Chen
bb108c9e20 dts: arm/nxp: Add pwm nodes to NXP MCXA153 dtsi file
Add pwm nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-04-22 09:59:13 +02:00
Qiang Zhao
4b61d4d218 dts: arm: nxp_imx95_m7: add cpu domain node
Added cpu domain node on imx95 core m7

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2025-04-21 22:03:27 +02:00
Peter Wang
d14c9c4d47 boards: frdm_mcxa166, frdm_mcxa276: add watchdog support
1. enable watchdog support
2. verified tests/drivers/watchdog/wdt_basic_api

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-04-21 20:04:09 +02:00
Neil Chen
bd22a4a394 boards: frdm_mcxa153: add uart support
- add uart support
- enable the uart_async_api test example

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-04-18 12:36:49 +02:00
Peter Wang
393c8d1378 boards: frdm_mcxa166, frdm_mcxa276: add uart support
1. add uart support
2. enable the uart_async_api test example

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-04-14 20:03:54 +02:00
Neil Chen
596d80f46f dts: mcxa153: add dts for MCXA153
add initial dts support(fmu, sram, syscon, gpio, port, lpuart0)
for MCXA153.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-04-12 00:02:28 +02:00
Andrej Butok
9fdf613d01 dts: nxp: mcxn94x: fix SRAM region naming typo
Fixes a SRAM region naming typo in nxp_mcxn94x_common.dtsi

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-04-11 22:07:15 +02:00
Peter Wang
aa5781873e dts: mcxa166,mcxa276: add dts for MCXA166 and MCXA276
add dts for device MCXA166 and MCXA276

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-04-03 08:43:16 +02: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