Commit graph

9391 commits

Author SHA1 Message Date
Tim Sørensen
68dfaee894 boards: fixed SPI DTS bug for nrf5340_audio_dk board
This fixes the SPI DTS bug on the nrf5340_audio_dk board
which was introduced by b8978e9:
unit address and first address in 'reg' (0x0) don't match
for /soc/peripheral@50000000/spi@a000/sdhc@1
unit address and first address in 'reg' (0x1) don't match
for /soc/peripheral@50000000/spi@a000/cs47l63@2

Signed-off-by: Tim Sørensen <tims@demant.com>
2024-05-20 14:26:03 +03:00
Tomáš Juřena
d477c66909 boards: st: stm32h745i_disco: Use PLL2Q as FDCAN clock source
With this configuration of the device tree, we use 80 MHz as
a FDCAN bus clock. This configuration allows to pass the tests.

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2024-05-20 14:24:05 +03:00
Evgeniy Paltsev
2df070adb4 ARC: hsdk_2cores: fix broken defconfig
After recent HWv2 model changes there is defconfig file
broken, so we got incorrect platform configuration. Fix that.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2024-05-17 16:22:27 +01:00
Piotr Dymacz
5409c7c130 boards: st: nucleo_wba55cg: add mcuboot-{led0,button0} aliases
This adds DT aliases for LED and button used in recovery mode of the
MCUboot bootloader, on the 'nucleo_wba55cg' board.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2024-05-17 15:07:54 +02:00
Piotr Dymacz
35c08ea636 boards: st: nucleo_wba55cg: define all LEDs and buttons
This board includes three gpio-connected LEDs and push-buttons. Include
all missing defines in board's DTS and while at it, fix existing button
definition (missing pull-up enable) and align node names with other
boards (e.g. 'nucleo_wb55rg').

Provided changes were tested on real board with 'blinky' and 'button'
samples.

Additionally, duplicated LED nodes no longer required were removed from
overlay file for this board, in 'suspend_to_ram' sample.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2024-05-17 15:07:54 +02:00
Johann Fischer
53adf6f490 boards: nrf54h20dk: enable USB device controller
Enable USB device controller.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-05-17 14:05:08 +01:00
Andrzej Kaczmarek
dd395e72f7 boards: renesas: Add configuration for BT
Adds required defconfigs for BT on DA1469x DK.

Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
2024-05-16 18:58:00 -04:00
Frederic Pillon
43039afbdf boards: st: sensortile_box_pro: fix usb console init
Init should return errno value.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2024-05-16 18:55:02 -04:00
Mahesh Mahadevan
161978d398 boards: rd_rw612: Update board documentation
Add information about OS Timer and Power Management support.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-05-16 18:53:51 -04:00
Mahesh Mahadevan
8d214448f1 boards: rd_rw61x: Switch to OS Timer for System clock
This clock is better suited for Power Management support
than Systick.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-05-16 18:53:51 -04:00
Jason Yu
c98c388da6 dts: mcxn947: Fix input key error
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>
2024-05-16 18:52:32 -04:00
Alberto Escolar Piedras
0dda0d1cca board nrf54l15bsim: Let's use the native entropy driver
Let's use the native_posix entropy driver by now,
as the real target relies on the PSA one, and we
currently do not have plans to include that.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-05-16 15:19:08 +01:00
Alberto Escolar Piedras
ced0676911 board: nrf54bsim: Add cmake check to prevent targetting the flipper core
This is not yet possible.
So let's add a check that provides an easy to understanding
error message instead of a bunch of kconfig and build warnings.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-05-16 15:19:08 +01:00
Alberto Escolar Piedras
13a5536838 boards nrf54l15bsim_nrf54l15_cpuapp: Enable counter tests
These tests run fine in this board, let's provide an
overlay and enable them.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-05-16 15:19:08 +01:00
Alberto Escolar Piedras
0b173b100c boards nrf_bsim: Add a new nrf54l15bsim target
Add a new simulated nrf54l15 cpuapp target

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-05-16 15:19:08 +01:00
Armin Brauns
0023986bb2 boards/stm32f769i_disco: add accessible memory region for QSPI flash
By default, the QSPI region is marked as EXTMEM and inaccessible
(see #57467), mark the first 64MB as IO on stm32f769i_disco.

Signed-off-by: Armin Brauns <armin.brauns@embedded-solutions.at>
2024-05-16 15:52:01 +02:00
Armin Brauns
83a1c9b28e boards/stm32f769i_disco: use openocd "reset init" instead of "reset halt"
The init script is required for QSPI flash setup.

Signed-off-by: Armin Brauns <armin.brauns@embedded-solutions.at>
2024-05-16 15:52:01 +02:00
Armin Brauns
344dbe12b4 boards/stm32f769i_disco: fix NOR flash max frequency
According to the datasheet, fRSCLK (Clock Frequency for READ instructions)
is 66MHz; it doesn't mention 72MHz anywhere.

Signed-off-by: Armin Brauns <armin.brauns@embedded-solutions.at>
2024-05-16 15:52:01 +02:00
Grzegorz Swiderski
d651be5d70 boards: nrf54h20dk: Drop shared_ram20_region's compatible
Access to this region should no longer be requested via UICR, because it
will be statically reserved by secure domain firmware.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-05-16 14:02:47 +01:00
Chris Friedt
cf8a756e67 dts: bindings: gpio: remove unused reg property from emul driver
The gpio-emul driver does not actually require any reg property,
since it is not in the physical memory map of any device. So
let's remove that property from the bindings.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-05-16 13:31:39 +02:00
Frederic Pillon
83cd4d36ab boards: st: add steval_stwinbx1 support
Add board support for steval_stwinbx1

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2024-05-16 11:43:18 +02:00
Henrik Brix Andersen
aed0fbf774 drivers: can: remove initial bus-speed/bus-speed-data properties
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>
2024-05-16 09:23:59 +02:00
Mahesh Mahadevan
a6b3b4bb96 boards: frdm_mcxn947: Add USBHS support
Add support for the USBHS controller

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-05-16 09:17:18 +02:00
Zhaoxiang Jin
85087e2d5d boards: nxp/frdm_mcxn947: Support lpadc for NXP frdm_mcxn947
Support lpadc for NXP frdm_mcxn947

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2024-05-15 17:28:38 +02:00
Zhaoxiang Jin
979d90bb95 boards: nxp/frdm_mcxn947: Support vref for NXP frdm_mcxn947
Support vref for NXP frdm_mcxn947

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2024-05-15 17:28:38 +02:00
Daniel DeGrasse
6d2df0dbf7 boards: st: remove "- sdhc" tag from supported list
SDHC twister tag indicates that the board supports an SD host controller
driver. Since the ST SDMMC support is provided directly via a disk
driver, SDHC tests are not supported on ST boards. Drop this tag in
order to avoid twister failures running the SDHC tests on these
platforms.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-05-15 17:28:21 +02:00
Karol Lasończyk
394e0974a4 boards: nordic: Add ADC to supported in nRF54L15 PDK
Expand supported list.

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
2024-05-15 15:33:41 +01:00
Karol Lasończyk
1dd537bbe4 boards: Enable ADC in nRF54L15 PDK configuration
Simple enabling adc node.

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
2024-05-15 15:33:41 +01:00
Daniel Schultz
481bd6db8b boards: phytec: Remove Messtechnik GmbH
PHYTEC has multiple offices in different locations like
the US, France, India and China. The headquarter is located in
Germany. Since now 50% of the PHYTEC boards are from the US
office, we should drop 'Messtechnik GmbH', which is the offical
title of the German office, and keep the name more general.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2024-05-15 16:09:55 +02:00
Ioannis Karachalios
6771e79729 drivers: entropy: smartbond: Add support for PM
This commit should add all the functionality needed for the entropy
driver to work when PM is enabled.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-05-15 16:09:32 +02:00
Hao Luo
a64b069785 drivers: gpio: Add support for Apollo3 SoCs GPIO
This commit adds support for the GPIO which
can be found in Apollo3 SoCs

Signed-off-by: Hao Luo <hluo@ambiq.com>
2024-05-15 16:08:29 +02:00
Sebastian Głąb
faf6fd169c boards: nordic: nrf54h20dk: Add counter to the supported peripherals
Enable Twister tests for the counter driver for:
- nrf54h20/cpuapp;
- nrf54h20/cpurad.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2024-05-15 16:08:14 +02:00
Sebastian Głąb
d2e08319bd boards: nordic: nrf54h20dk: Disable watchdog tests on Radio core
It is enough to test watchdog driver on the application core.
Otherwise, at least three samples/tests fail due to missing
overlay file for nrf54h20dk/nrf54h20/cpurad.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2024-05-15 14:57:48 +02:00
Sebastian Głąb
c41438c496 boards: nordic: nrf54h20dk: Define alias watchdog0
Define alias watchdog0 for nrf54h20 Application core.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2024-05-15 14:57:48 +02:00
Henrik Brix Andersen
ed53fdd431 boards: st: stm32h745i_disco: fix CAN phy devicetree representation
On this board, the CAN transceivers are not GPIO controlled, but passive,
and should not be represented by the "can-transceiver-gpio" compatible (as
this leads to driver compilation warnings due to missing GPIO properties).

Fixes: c8faa1e380

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-05-15 11:17:43 +02:00
Francois Ramu
5dff83a8be boards: st: stm32h573 disco boards with xspi instance peripheral
Use the xspi.h header file to configure the xspi node
of the stm32 disco kit

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-05-15 10:56:04 +02:00
Rafal Dyla
13aa26eac2 manifest: Adding nRF Services library
Adding nRF Services library to the hal-nordic repo

Signed-off-by: Rafal Dyla <rafal.dyla@nordicsemi.no>
2024-05-15 09:25:30 +01:00
Filip Kokosinski
00b2ef8744 dts: set the riscv,isa property for virt-based targets
This commit makes the devicetrees of the targets that are based on the QEMU
`virt` machine more consistent with the rest of the RISC-V targets in
Zephyr by:
* adding the `riscv,isa` property
* adding a compatible string which uniquely identifies the `virt` core

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-05-15 09:30:23 +02:00
Daniel DeGrasse
f0af6aa8b2 boards: nxp: frdm_mcxn947: add support for USDHC0
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>
2024-05-14 20:23:28 -04:00
Phi Bang Nguyen
ba1565b46d drivers: video: csi: Rename sensor to source
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>
2024-05-14 20:23:15 -04:00
Declan Snyder
595ee908ba samples: dac: Enable RW612 DAC
Enable RW612 RD board for the DAC sample

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-05-14 18:23:22 -04:00
Declan Snyder
14ef7d2d21 tests: adc: Test RW612 ADC
Enable RW612 RD board to test ADC

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-05-14 18:23:22 -04:00
Declan Snyder
00a205ffba boards: nxp: rd_rw612_bga: Enable GAU DAC/ADC
Enable the GAU analog converters on the RD_RW612_BGA board.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-05-14 18:23:22 -04:00
Ioannis Karachalios
75a3c5b848 drivers: display: smartbond: Add support for PM
This commit should add all the functionality needed for the DISPLAY
driver to work when PM is enabled.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-05-14 18:22:54 -04:00
Daniel DeGrasse
9b2ae5d02b boards: nxp: mimxrt1050: enable PXP and apply optimized LVGL settings
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>
2024-05-14 18:22:28 -04:00
Johan Hedberg
18c23daee3 Bluetooth: Kconfig: Merge BT_HCI_VS_EXT into BT_HCI_VS
The naming of these two options was problematic, since it's both of them
are about vendor extensions, even though one has _EXT in the name and
the other doesn't. Just merge one option into the other. This has a
slight overhead on the controller side of enabling some more vendor
features if BT_HCI_VS is enabled, but that should hopefully be
acceptable.

Signed-off-by: Johan Hedberg <johan.hedberg@gmail.com>
2024-05-14 18:21:11 -04:00
Phi Bang Nguyen
97b0ad699e boards: nxp: mixmxrt1170_evk: Separate i2c6 from csi pin muxing
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>
2024-05-14 18:19:32 -04:00
Sylvio Alves
ea3e87dd12 boards: waveshare: esp32s3_touch: update appcpu supported peripherals
esp32s3 contains 2 cpus: procpu and appcpu.
appcpu has very limited peripherals support for now.

This updated esp32s3_touch board to list only support peripherals.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-05-14 14:01:49 -05:00
Armin Brauns
08cd15d5b0 boards: stm32f769i_disco: enable USB
This board uses a ULPI PHY to provide HS (USB 2.0) connectivitiy instead of
the internal PHY, which only supports FW (USB 1.x).

Signed-off-by: Armin Brauns <armin.brauns@embedded-solutions.at>
2024-05-14 17:04:49 +02:00
Tomáš Juřena
c8faa1e380 boards: st: Add support for STM32H745I-Disco
Supported features:
- GPIO
- RTC
- PWM
- Ethernet
- UART
- FMC
- QSPI NOR Flash

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2024-05-14 17:03:17 +02:00