Add pinctrl for flexcan2
Add EXP_SEL gpio hog for board mux selection during boot.
Add TJA1057 CAN PHY driver.
Update supported features in board document
Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
When building with monolithic feature enabled, the firmwares binaries
will be linked during the build with the application. This means we can
remove the application size limit due to the firmware storage in flash
not useful anymore.
Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
- The MK22FN512VLH12 chip, installed on frdm_k22f,
has 512 KB of Program Flash and 128KB SRAM
according to the K22P121M120SF7RM.pdf manual (page 55).
- Fix the flash size to 512KB (was 1MB).
- Add nxp_k22fn512.dtsi with correct flash size value.
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
Re-enable enet on mimxrt1020 board using the new devicetree.
Build and execution of zperf sample on this board is successful.
Signed-off-by: Adam Matus <adam.matus@nxp.com>
The VMURT1170 board configures the FLEXSPI to run at 200MHz serial clock
in DDR mode, via the flash configuration block passed to the ROM API.
Per the datasheet of the MX25UM51345G flash present on the board, 20
dummy cycles are required before reading data in OPI DTR mode. Correct
the dummy cycle value used for read commands to 0x28 (40 DDR dummy
cycles, equivalent to 20 dummy cycles of the clock) to resolve this
issue.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Add a shield for DVP FPC 24-pins mt9m114 camera modules. These camera
modules are supported on i.MX RT10xx series, for example.
Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
The mt9m114 camera module is not always attached to this board. Camera
stuffs should go into a seperate overlay / shield. Also, the CSI should
be enabled only if there is a camera sensor attached to it.
Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
- Optimize slot sizes for MCUBoot swap move algorithm
for mimxrt1010/15/20/24/40/50/60/64 boards.
- Save up to 64 wasted sectors.
- Use DT_SIZE_K/M macros for slot sizes.
- Fix partition size errors.
- Limit mcuboot max size to 128KB (was 256KB).
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
Add DMA channels at SOC level for the LPC55S6x series SOCs, as the dma
requests are SOC specific properties and do not need to be modified at
the board level. Remove any DMA request definitions present at the board
level for the LPC55S69 evaluation board.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
- Set MCUBoot "upgrade only" method,
as the program size is 128B (>32B).
- Set slot sizes to the same value,
required by the MCUBoot "upgrade only" method.
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
- Add pinctrl for flexcomm0 in usart mode
needed for BLE tester application
- Reserve the firmware storage partition
- Mark HCI as a wakeup source
Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
Added initial board support for the
frdm_ke15z board.
Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Signed-off-by: Pavel Krenek <pavel.krenek@nxp.com>
Add support for the goworld 16880 display module. As this display module
only features an FFC cable, it is added as a board overlay for the RW612
BGA. This module uses an ST7796S display controller as well as an FT7401
touch controller (which is managed by the FT5336 input driver)
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Fix the compile error when input driver is enabled.
Error message:
In file included from zephyr/zephyr/include/zephyr/sys/util_macro.h:34,
from zephyr/zephyr/include/zephyr/irq_multilevel.h:15,
from zephyr/zephyr/include/zephyr/devicetree.h:20,
from zephyr/zephyr/include/zephyr/device.h:12,
from zephyr/zephyr/drivers/input/input_gpio_keys.c:9:
zephyr/zephyr/include/zephyr/toolchain/gcc.h:87:36:
error: static assertion failed:
"zephyr-code must be specified to use the input-gpio-keys driver"
Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
Remove all CAN controller "bus-speed" and "bus-speed-data"
properties. These all use the default bitrates set via Kconfig.
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Add support for USDHC0 controller on FRDM_MCXN947 board. This support
was verified using the `tests/subsys/sd/sdmmc` and
`tests/subsys/sd/sdio` testcases. Note that this board does not ship
with the SD header (J12) populated by default, so the user must populate
one.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
The CSI can connect to either a camera sensor (as on i.MX RT10xx) or
a MIPI CSI-2 receiver (as on i.MX RT11xx). To be generic, change the
naming from sensor to source.
Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
Enable PXP on RT1050 EVK, and apply LVGL settings optimized for PXP
support. These settings will enable PXP rotation to function as expected
when using LVGL with the RT1050.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Pin muxing for i2c6 and csi should be separated as i2c is initialized
before csi. Otherwise, i2c6 bus device will not be ready when the
camera sensor on this bus initializes.
Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
Configure to use XMCD as the bootheader by default instead of DCD. As
XMCD gives a better SDRAM memory access speed.
As an example, the Pixel Processing Pipeline is 13 ms faster with XMCD
compared to DCD as the bootheader.
Signed-off-by: Trung Hieu Le <trunghieu.le@nxp.com>
Currently, only DCD bootheader was supported to configure the SDRAM.
On IMX RT1170, XMCD can be used as an alternative boot header to DCD.
XMCD is more advanced than DCD and enhances SDRAM access speed.
This is benefit for SDRAM access application.
Signed-off-by: Trung Hieu Le <trunghieu.le@nxp.com>
This commit is to fix some GPIO test case build issue:
https://github.com/zephyrproject-rtos/zephyr/issues/72619
In fact, the issue is introduce by expander GPIO PR:
https://github.com/zephyrproject-rtos/zephyr/pull/69330
It is used to add GPIO expander support, in this PR, dts node layout is:
lpi2c {
MFD driver {
gpio driver {
}
}
}
The initial idea is to disable all these node by default in order to keep
a minimal default image, but expander GPIO PR only disabled lpi2c and MFD
driver node, but enabled gpio driver node, so gpio driver will report
building error as it depends on expander and i2c which are disabled, so
this fix is to disable gpio node. If we want to use expander gpio, we
need to enable i2c, expander and gpio nodes simultaneously.
Some GPIO test cases have been enabled on i.mx93 EVK board by enabling
onchip GPIO controller in the overlay, for example:
tests/drivers/gpio/gpio_basic_api/boards/imx93_evk_mimx9352_a55.overlay
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Used multiple places in the tree. The idea is to determine if this node
corresponds to a specific node (e.g: flexspi) so that specific
configurations can get done. Without the fix, the macro expansions were
defaulting to false.
Signed-off-by: Luis Ubieda <luisf@croxel.com>
Fix SD card pinctrl setup for the VMU RT1170 board. The following
changes were made:
- use the "cd-gpios" property over detecting the card using the
USDHC card detect register. This should be more reliable.
- bias the clk pin high. This matches setup for the RT1170 EVK SD
pinctrl.
- remove the drive strength setting for SD pins to align with the
pinctrl settings for low speed SD mode (50 MHz) on the RT1170 EVK.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Enable ADP5585 as GPIO expander on i.MX93 EVK.
- Add dts node for ADP5585 under lpi2c2.
- Add gpio-hog for EXP_SEL signal.
- Disable lpi2c2 and adp5585 node by default
Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
Add support for IS66WVQ8M quadspi PSRAM on the RW612 BGA board, and
update board pin control to enable muxing PSRAM pins on the FlexSPI.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Switch the default MCUBoot FW Update mode from Swap & Scratch
to more preferable Swap & Move for the rest of NXP boards.
Delete the scratch partition. Save RAM & ROM.
Slot 0 has one additional sector, for use with
the swap move algorithm.
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>