Commit graph

61 commits

Author SHA1 Message Date
Daniel DeGrasse
cbcbe7f43d boards: nxp: frdm_mcxn947: add pinctrl for LPUART2
Add pinctrl and board enablement for LPUART2, which is broken out to
P4_2 and P4_3 on the FRDM board.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-04-04 19:27:28 +02:00
Henrik Brix Andersen
36f4ef70a9 drivers: can: transceiver: gpio: automatically select GPIO
Automatically select CONFIG_GPIO when the GPIO-controlled CAN transceiver
driver is enabled. Update board configurations to benefit from this.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-04-03 21:12:32 +01:00
Daniel Baluta
cffea52fa8 boards: nxp: Rename mimxrt685_evk to mimxrt685_evk_mimxrt685s_cm33
In preparation for adding AMP support for i.MX RT6xx family we need
to rename existing cm33 support files to more specific names.

e.g mimxrt685_evk.dts -> mimxrt685_evk_mimxrt685s_cm33.dts

This will allow us to later add support for Cadence DSP found on i.MX
RT6xx series.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2024-04-03 15:41:16 +01:00
Daniel Baluta
68a7057513 soc: nxp: imxrt: Prepare imxrt6xx soc for AMP support
imxrt6xx are dual core devices featuring an ARM Cortex-M33
core and an Cadence Xtensa HIFI4 Audio DSP.

Currently only m33 core is supported. In order to support
the Cadence DSP we need first to do some code-reorganization
for m33.

We start by moving all cm33 related code to its own directory
and introduce the cpuclusters property in soc.yml file.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2024-04-03 15:41:16 +01:00
Benjamin Perseghetti
c032c6305d boards: nxp: vmu_rt1170: Fix dts binding issues
Fixs USDHC by setting PWR and CD gpio's correctly.
Adds missing button from the GPS module.

Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
2024-04-03 10:34:09 +02:00
Pieter De Gendt
b9e4850aa2 boards: arm: mimx8mp_evk: Enable spi support
Set spi as supported to allow loopback testing.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-04-02 21:03:47 -04:00
Declan Snyder
293cf9150c boards: frdm_mcxn947: Enable ENET QOS
Enable ENET QOS on FRDM MCXN947 board

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-04-02 21:02:25 -04:00
Mahesh Mahadevan
0a0b902b71 boards: frdm_mcxn947: Add support for I2C
Add support for I2C

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-04-02 21:00:24 -04:00
Laurentiu Mihalcea
01a6fd5f4a boards: nxp: imx8qm_mek: add pinctrl for SAI1 node
Add pinctrl for SAI1 node. This means:
	1) Adding definitions for the pads used by SAI1.
	2) Creating a pin group and referencing it in
	the SAI1 node via the `pinctrl-0` property.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-04-02 14:31:15 +01:00
Laurentiu Mihalcea
34410d5366 boards: nxp: imx8qxp_mek: add pinctrl for SAI1 node
Add pinctrl for SAI1 node. This means:
	1) Adding definitions for the pads used by SAI1.
	2) Creating a pin group and referencing it in the
	SAI1 node via the `pinctrl-0` property.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-04-02 14:31:15 +01:00
Laurentiu Mihalcea
02f18bc5f5 nxp: imx8ulp: enable clock control
Enable clock control for i.MX8ULP. This consists of:
	1) Adding a PCC node in the DTS
	2) Adding a header file containing the definitions
	of the clocks used by the peripherals to be enabled.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-04-02 14:30:27 +01:00
Iuliana Prodan
1f55be8b42 nxp: imx8: change CONFIG_SOC_<name> to match the value
Change, for audio DSP and M7 cores, SOC_<name> to match
the exact soc name.
Update the board files accordingly.

These configs are used in SOF and NXP_HAL, so change
sha for these modules.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2024-04-02 10:41:07 +03:00
Daniel DeGrasse
5f3d584a2f boards: nxp: frdm_mcxn947: use core argument to target CPU0
In future versions of Linkserver, specifying the core argument within
the device string will not be supported. Therefore, move the FRDM
MCXN947 board to specify the core directly instead of using the device
string.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-29 09:23:21 +01:00
Thomas Stranger
ff13cb5adc boards: nxp: frdm_mcxn947: doc fixes
- fix schematic link pointing to different board
- fix link to the board_defconfig file
- remove the "Debug Firmware" link that was not referenced anywhere
- add a link to the board user manual
- minor additions to the debug with J-Link section

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2024-03-28 18:44:09 -04:00
Hou Zhiqiang
795044ec6d boards: nxp: imx8m: remove the UART RDC setup from guide
As the RDC setup has been added in SoC initialization code.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2024-03-28 16:01:30 -05:00
Daniel DeGrasse
d5eb328544 boards: nxp: rd_rw612_bga: enable DMIC
Enable DMIC on RW612 BGA board. The DMIC is enabled for both onboard
MEMS microphones for this board, and the board is enabled with the DMIC
sample and test

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-28 09:44:25 +00:00
Zhaoxiang Jin
e3937e99fc boards: frdm_mcxn947: Add support for dac
Add support for dac

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2024-03-28 09:42:38 +00:00
Laurentiu Mihalcea
9517639390 nxp: imx8ulp: change SOC name to MIMX8UD7
The SOC name `imx8ulp` has been just a placeholder until
support for the SOC's ADSP (since this is the only core
that's supported in Zephyr) could be added to the NXP HAL.
Now that the support has been added, to make use of it, the
SOC name `imx8ulp` has to be changed to `mimx8ud7`. As such,
this commit does the following:
	1) Introduces SOC part number configuration - needed
	by some HAL headers.
	2) Replaces all occurrences of `imx8ulp` (as the SOC
	name) with `mimx8ud7`.
	3) Enables `CONFIG_HAS_MCUX`.
	4) Aligns all `CONFIG_SOC_` configurations with the
	new SOC name.
	5) Updates SOF hash. This is needed to fix build issues
	caused by this name change. This is not done in a separate
	commit to preserve bisectability.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-03-28 09:41:15 +00:00
Henrik Brix Andersen
dd0923d7ad boards: nxp: mr_canhubk3: add ssd1306 display devicetree node
Add devicetree node for the accompanying, ssd1306-based display board
connected to connector P4.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2024-03-26 21:30:29 -04:00
Henrik Brix Andersen
2faec62202 boards: nxp: mr_canhubk3: add devicetree nodes for CAN LEDs
Add devicetree nodes for the six red CAN LEDs present on the NXP
MR-CANHUBK344 board.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-03-26 18:07:17 -05:00
Mahesh Mahadevan
f4bad0a49c boards: frdm_mcxn947: Add support for SPI and DMA
Add support for SPI and DMA

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-26 16:39:18 -04:00
Daniel DeGrasse
35e15b522e boards: nxp: frdm_mcxn947: documentation fixes
Correct a few issues with the documentation that were causing rendering
issues, as well as the following changes:
- added blurb to debug section clarifying that the default debugger
  firmware supports LinkServer
- updated serial terminal output with board name given when building
  with HWMv2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-26 12:00:55 -04:00
Daniel DeGrasse
5ffc76e626 boards: nxp: frdm_mcxn947: fix debug access to secure RAM and peripherals
By default, LinkServer's memory map for the MCXN947 does not define
memory regions for the SRAM or peripheral bus in secure mode. This
results in gdb failing to read from these memory regions unless
explicitly told ignore the debugger memory map via
"set mem inaccessible-by-default off".

To resolve this, define memory regions for SRAM and peripherals in
secure mode via the commandline arguments passed to LinkServer in
board.cmake.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-26 12:00:26 -04:00
Mahesh Mahadevan
517753e475 boards: frdm_mcxn947: Add support for the QSPI flash
Add support for the QSPI flash connected over FlexSPI

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-25 18:40:14 -04:00
Mayank Mahajan
0e94934c4b Add: Support for pyocd runner for mr_canhubk3 board
Modifying board.cmake file of mr_canhubk3 for pyocd support.

Signed-off-by: Mayank Mahajan <mayankmahajan.x@nxp.com>
2024-03-25 09:35:12 +01:00
Declan Snyder
739573ee8e boards: rd_rw612_bga: Enable HWINFO
Enable some reset causes in PMU node and indicate
in the yaml support for hwinfo.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-22 15:58:03 -05:00
Mahesh Mahadevan
ee3db01d1a boards: frdm_mcxn947: Add MCUboot support
Add support for MCUboot running from internal flash.
Remove the MCUboot conditional check.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-22 14:25:31 +00:00
Jamie McCrae
105ef05c52 boards: Remove setting CONFIG_BOARD
Removes instances of setting CONFIG_BOARD that should have been
removed in the hwmv2 porting process

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-22 00:56:51 +01:00
Jamie McCrae
df50197499 boards: Fix invalid paths
Fixes paths that are not valid

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-22 00:56:51 +01:00
Declan Snyder
557e5969f3 boards: rd_rw612_bga: Enable counters
Enable CTimer0 and MRT0 channel 0 by default on the board,
and add more of the device instances in the counter api test overlay.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-21 09:06:48 +01:00
Daniel DeGrasse
414b3b7efd boards: nxp: rd_rw612_bga: enable support for flash
Enable support for the mx25u51245g flash chip present on the
RD RW612 BGA. Support has been verified with the following samples:

- samples/drivers/flash_shell
- tests/drivers/flash/common

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-20 19:08:06 +00:00
Henrik Brix Andersen
02b84fbb0e boards: nxp: mr_canhubk3: CAN requires 120 ohm termination at both ends
CAN requires 120 ohm termination at both ends of the bus, resulting in a
bus impedance of 60 ohm. Fix the board documentation to reflect this.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-03-20 16:52:28 +00:00
Declan Snyder
1680223003 boards: rd_rw612_bga: Enable WWDT
Enable watchdog on RD_RW612_BGA board.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-20 16:19:12 +00:00
Alberto Escolar Piedras
280fd59547 boards lpcxpresso55s36: Provisionally disable in twister
This board fails to build for a multitude of samples & tests
which is blocking CI.
Let's provisionally disable it until the matter is properly
resolved.
The issue was introduced with the NXP HAL update to 2.15:
e4e463af81

See https://github.com/zephyrproject-rtos/zephyr/issues/69961
for more information.

Once this issue is fixed, this change should be reverted.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-20 15:25:42 +01:00
Hake Huang
80e222e834 boards: mimxrt1024_evk: add arduino_header support
add gpio support in board tags
add arduino_header support in dts

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-03-20 08:57:18 +01:00
Hake Huang
7ff94f3207 iboards: mimxrt1010_evk: add gpio support in tags
add gpio support in tags for mimxrt1010_evk

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-03-20 08:57:18 +01:00
Declan Snyder
f69241ae6f boards: rd_rw612_bga: Indicate entropy support
Indicate support for entropy in the board yaml and doc.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-20 08:56:19 +01:00
Declan Snyder
402aa08b86 boards: rd_rw612_bga: Enable I2C
Enable Flexcomm2 as I2C on RD_RW612_BGA

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-19 09:47:35 +01:00
Daniel DeGrasse
d921659d6a boards: nxp: rd_rw612_bga: enable DMA support
Enable support for dma controller on RD RW612 BGA board, and add overlay
to enable board in dma loop transfer test

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-18 18:57:03 +01:00
Henrik Brix Andersen
41960ab366 dts: bindings: can: remove optional sample point properties
Remove all optional, initial CAN sample point properties and rely on the
CAN timing calculations to automatically pick the preferred sample point
location based on the initial bitrate.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-03-17 15:36:19 +01:00
Benjamin Cabé
e6990302cb doc: hwmv2: boards: fix broken NXP links
fix bad links to some NXP board files (and make references actual "links")

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-03-15 18:21:05 -04:00
Declan Snyder
ba1ab8cc5e boards: rd_rw612_bga: Enable FC0 as SPI
Enable flexcomm0 as SPI on rd_rw612_bga

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-15 18:07:45 -04:00
Jiafei Pan
c2447d4230 boards: imx93_evk: add led1 alias
So that it can be used to run basic thread sample application.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-15 17:13:41 -04:00
Mahesh Mahadevan
3c68a20d75 boards: frdm_mcxn947: Move the GPIO button nodes to the common file
Move the GPIO button dts nodes to the common dts file so it
be selected by either cpu core.
Also fix an error in the GPIO setting for one of the switches.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-15 17:12:53 -04:00
Daniel DeGrasse
868f0cdfec boards: update lpcxpresso55s69_cpu0 name in build commands
Update lpcxpresso55s69_cpu0 (and ns target) names in build commands in
the board documentation. Also, correct the documentation for dual core
images on this part, as it was out of date.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-15 17:12:08 -04:00
Alberto Escolar Piedras
ae4e71f790 boards/nxp/frdm_mcxn947: Fix twister yaml
This board's twister yaml file claims to support the
arduino-serial tests, but it does not provide
the necessary DTS node, which is causing
failures in CI.
Let's remove the tag from the twister board definition.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 08:52:26 -05:00
Hake Huang
f1186d29d0 boards: lpcxpresso54114 : fix board.cmake config error
board config missing CONFIG_ which will cause west build
can not create correct debuger inform

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-03-13 22:39:22 +00:00
Mahesh Mahadevan
870806cbc0 doc: frdm_mcxn947: Add documentation for FRDM-MCXN947
Add documentation for FRDM-MCXN947

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-13 22:38:46 +00:00
Mahesh Mahadevan
eaea4ec43e boards: frdm_mcxn947: Add support for frdm_mcxn947 board
Add support for frdm_mcxn947 board

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>`
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-13 22:38:46 +00:00
Daniel DeGrasse
685b3d2d3d boards: nxp: rd_rw612_bga: set CONFIG_TRUSTED_EXECUTION_SECURE
RD RW612 BGA board is built targeting secure mode execution. If
CONFIG_TRUSTED_EXECUTION_SECURE is not set, base address declarations in
CMSIS header files will be incorrect, causing a variety of issues. Fix
this.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-13 18:33:29 -04:00