Commit graph

8863 commits

Author SHA1 Message Date
Alberto Escolar Piedras 32939fa86f doc: native_sim: Native logger backend is always enabled by default
Since bd9836be8c
the native logger is enabled always (even if a UART is present)
as it was though more conveniant for users.
But the documentation was not updated to reflect this.
Let's fix it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-02-19 12:46:15 -06:00
Daniel Leung 5034a77e9e boards: x86/up_squared: use HPET timer
The UP Squared board comes with different CPUs where Atom ones
run at 1.6GHz while the Pentium and Celeron ones run at 1.1GHz.
Since the APIC TSC Deadline timer driver is tied to the CPU
speed, and we were using 1.6GHz as the hardware clock speed,
real world time would not be correct for Pentium and Celeron
based boards (i.e. 1 second sleep requested in application does
not translate to 1 second in real world). Change it to use HPET
timer instead as HPET has the same clock rate for all board
variants. Applications requiring more precise clock rate can
override this in their configuration.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-02-14 19:08:02 +01:00
Erwan Gouriou 5381e8a670 boards: stm32h573i_dk: Enable debug support with pyocd
Support of stm32h5 targets with pyocd is required to allow debugging.
Provide runner configuration and update board documentation.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-02-14 19:07:43 +01:00
Henrik Brix Andersen 29bc308f79 boards: arm: nrf52840_papyr: add zephyr,code-partition chosen property
Add missing zephyr,code-partition chosen property.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-02-14 10:59:21 +00:00
Henrik Brix Andersen d179be20d8 boards: arm: nrf52840_blip: add zephyr,code-partition chosen property
Add missing zephyr,code-partition chosen property.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-02-14 10:59:21 +00:00
Daniel Leung fe8fe27b4e boards: x86/acrn: add devicetree PCIe controller node
Commit 940c66f82e added a bunch of
ACPI PNP ID to x86 boards but skipped those for ACRN. And commit
34a2fbfba1 changed the behavior of
PCIe controller to looking for PNP ID, it results in compilation
error due to build asserts. So add the PCIe controller node to
the ACRN base DTS file.

Fixes #68956

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-02-14 10:40:11 +01:00
Carles Cufi 30213a275e boards: nrf54*: Add a note about current status
The nRF54* SoCs are in a very early stage of production and the software
supporting them is to be considered experimental. Document this
accordingly in the respective boards.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2024-02-14 08:24:30 +01:00
Erwan Gouriou 881dfd36ae boards: nucleo_f722ze: Add code-partition chosen
If slots partitions are defined, related chosen should be configured.

Fixes build issue in samples/subsys/usb/dfu

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-02-13 19:35:58 +01:00
Alberto Escolar Piedras 66a4fe32ce boards native_posix: Detect attempt to configure not existing int
Prevent overrunning the irq vector table.
This is not happening today in tree, but coverity thinks it
may. Checking for it to prevent it is not a bad idea
anyhow, so let's do it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-02-12 11:08:11 -06:00
Tom Burdick b4e66299cd imxrt1010_evk: Fix i2c pinctrl dts
i2c pads were incorrectly configured and failed to work when testing
against an external fram part. Correct the i2c pinctrl settings for
arduino i2c to match other boards in the mimxrt lineup.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2024-02-11 08:09:02 +01:00
Declan Snyder b6d9b3f923 boards: mimxrt1040_evk: Fix typo in CMakeLists.txt
Fix typo of board dir variable in CMakeLists.txt

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-02-09 17:28:11 -06:00
Daniel DeGrasse c73428062d drivers: mipi_dbi: mipi_dbi_spi: change reset pin polarity
Change reset pin polarity for MIPI DBI SPI controller, so that the board
devicetree is responsible for setting the GPIO to active low, and the
driver always sets the pin to a logic 1 to reset the display.

Fixes #68562

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-02-08 19:42:38 +01:00
Wojciech Sipak 3bf19d9f03 boards: nrf54h20pdk_nrf54h20_cpuppr: use riscv32 instead of riscv
The yaml uses `arch: riscv` while other boards specify either
`arch: riscv32` or `riscv64`.
Unify this by changing the value to `riscv32`.

Signed-off-by: Wojciech Sipak <wsipak@antmicro.com>
2024-02-07 15:26:55 +00:00
Ben Marsh 2419274073 subsys/dfu/boot: Fix image confirm for Direct XIP
Previously the boot_write_img_confirmed() function used the MCUboot
public API function boot_set_confirmed(), but this function is hardcoded
to set the confirmed flag of slot 0. This works for MCUboot swap modes
but not for Direct XIP, where applications can execute out of secondary
slots.

This commit changes boot_write_img_confirmed() to instead use
boot_set_next() which sets the confirmed flag for a given flash area
and works with Direct XIP.

DT_CHOSEN(zephyr_code_partition) is used to get the current partition.
The zephyr,code-partition chosen node must be defined.

This commit also adds the zephyr,code-partition chosen node to the
native_sim devicetree to allow the tests under tests/subsys/dfu to
build for this target.

Signed-off-by: Ben Marsh <ben.marsh@helvar.com>
2024-02-06 21:00:36 +01:00
Hou Zhiqiang b985442829 dts: mimx93_evk_a55: avoid conflict with Ethos-U NPU reserved memory
The DRAM range 0xc0000000~0xcfffffff is reserved for the Ethos-U NPU,
so change the RAM base to 0xd0000000.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2024-02-06 19:36:03 +01:00
Karthikeyan Krishnasamy b7799c1a2f boards: arm: rak5010_nrf52840: update modem dts changes
remove legacy modem properties and add modem node
compatible to modem subsystem, rak5010_nrf52840
has two variant, one with BG95-M3 and other is
BG96 modem, both are pin to pin compatible.

Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
2024-02-06 18:55:19 +01:00
Francois Ramu ba85dac6ff boards: arm: stm32 disco kit has ospi nor flash node
Define the reg and size property for the stm32 disco kits
which have an octospi instance
Refer to the dts/bindings/flash_controller/st,stm32-ospi-nor.yaml.
Also remove the <size> property for the stm362h750 disco kit.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-02-05 12:58:03 -06:00
Abderrahmane Jarmouni 32fd2f57b1 drivers: display: stm32_ltdc: fix for stm32f429i_disc1
Display is not working on STM32F429i-DISC1 board because
display_blanking_off() needs to be sent to ILI9341 device, but it's sent
to LTDC instead which does not implement it.
This patch adds a LTDC DT property that provides the pHandle of the
display's own controller so that display_blanking_off/on are forwarded to
it when they are called by an application.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-02-02 19:54:45 +01:00
Gerard Marull-Paretas 117194ae22 boards: riscv: add nrf54h20pdk_nrf54h20_cpuppr
Add a board that allows to build for the nRF54H20 PPR RISC-V core.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-02-02 16:40:11 +01:00
Gerard Marull-Paretas 1a6b88608e soc: arm: nordic_nrf: move Kconfig.peripherals to common folder
Because RISC-V cores also need to include this file, so it is no longer
ARM specific.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-02-02 16:40:11 +01:00
Gerard Marull-Paretas d7dc942382 soc: common: nordic_nrf: move pinctrl_soc.h to a common dir
Because both, RISC-V and ARM cores share the same pinctrl driver. The
top level common folder will disappear with the introduction of HWMv2,
where multi-arch SoCs will be well supported.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-02-02 16:40:11 +01:00
Andrzej Głąbek 38520a93d3 boards: arm: Add initial support for nRF54H20 PDK
Add targets that allows building for the Application and Radio cores
in the nRF54H20 SoC on the nRF54H20 PDK board.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-02-02 16:40:11 +01:00
Mateusz Holenko ad89bf377d boards: arm: Enable mailbox in selected ARM boards
The mailbox peripheral is actively accessed by stm32_hsem functions,
so mark the device as enabled in DTS.

Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
2024-02-02 09:32:10 -06:00
Francois Ramu 9e13290f8b boards: arm: stm32 boards has qspi nor flash node
Define the reg and size property for the stm32 boards with qspi inside
Refer to the dts/bindings/flash_controller/st,stm32-ospi-nor.yaml.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-02-02 13:48:18 +01:00
Francois Ramu 1567627f9c boards: arm: stm32 disco kit has ospi nor flash node
Define the reg and size property for the stm32u585 and stm32l562
disco kit.
Refer to the dts/bindings/flash_controller/st,stm32-ospi-nor.yaml.
The stm32l562 reads the sfdp table from the flash itself.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-02-02 13:48:18 +01:00
Manuel Argüelles 3dd014ef55 boards: arm: ucans32k1sic: enable RTC counter
Enable the Real Time Clock (RTC) counter on ucans32k1sic.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2024-02-02 12:43:00 +01:00
Chun-Chieh Li bc1a988f9d drivers: usb: device: support Nuvoton NuMaker series USBD controller driver
1. Configure 'core-clock' to 192MHz to generate necessary 48MHz
2. Support workaround to disallowing ISO IN/OUT EPs to be assigned
   the same EP numbers

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2024-02-02 10:07:43 +01:00
Sumit Batra 286a3ce37f drivers: eth: phy: tja1103: Handle link change
drivers: eth: phy: tja1103: Handle link change
These changes enable -
TJA1103 driver to gracefully handle Link connect or disconnect events
between Ethernet PHY and its link partner and notify it to the
upper network layers

Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
2024-02-01 14:29:43 -06:00
Derek Snell de5586d7ec boards: arm: lpcxpresso55s69_cpu0: enable DMA
The DMA is already enabled for this board, but updating the board doc
page to make that clear, and enabling the DMA loop_transfer test.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2024-02-01 10:23:11 -06:00
Martin Åberg f033f31728 soc/gr716a: Enable SPIMCTRL support on LEON GR716A
GR716A has two SPIMCTRL SPI controllers.

This adds the SPIMCTRL description to the DTS and makes the SPI
option available in the kernel configuration.

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
2024-02-01 14:06:38 +01:00
Angelo Dureghello 4fe3a8827f boards: add support for eval-adin2111ebz
Add support for ADI EVAL-ADIN2111EBZ.

Tested samples:
      * hello_world
      * blinky
      * dhcpv4_client

Co-developed-by: Philip Molloy <pmolloy@baylibre.com>
Signed-off-by: Philip Molloy <pmolloy@baylibre.com>
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
2024-02-01 10:55:06 +01:00
Angelo Dureghello 6d387b3fd5 boards: add support for eval-adin1110ebz
Add support for ADI EVAL-ADIN1110EBZ.

Tested samples:
      * hello_world
      * blinky
      * dhcpv4_client
      * adt7420

Tested proper SPI detection of the ADIN1110 chip.

Co-developed-by: Philip Molloy <pmolloy@baylibre.com>
Signed-off-by: Philip Molloy <pmolloy@baylibre.com>
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
2024-02-01 10:55:06 +01:00
Harshit Agarwal 15b4975386 boards: riscv: mpfs_icicle: enable system-controller spi flash
Microchip's PolarFire SoC interface with on-board spi
nor flash via system controller. This on-board spi nor flash can be
used to store FPGA design bitstream's.

Signed-off-by: Harshit Agarwal <harshit.agarwal@microchip.com>
2024-02-01 04:33:16 -05:00
Daniel Leung a053c55c40 boards: x86: more stack space for qemu_x86_tiny@768
qemu_x86_tiny@768 has coverage enabled by default. Because of
this, it requires more stack space for running tests.
The increases needed are verified via twister.

Fixes #68272

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-02-01 00:32:57 -06:00
Daniel DeGrasse 3dbbb73319 drivers: display: ili9xxx: convert to MIPI DBI API
Convert ili9xxx display drivers to use MIPI DBI API. Due to the fact
this change requires a new devicetree structure for the display driver
to build, required devicetree changes are also included in this commit
for all boards and shields defining an instance of an ili9xxx display.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-01-31 16:01:45 +00:00
Najumon B.A 940c66f82e boards: x86: add pci controller node with acpi pnp id
add acpi pnp/hw id for pcie node to enable support for retreive
interrupt routing information for pci legacy interrupt via acpi

Signed-off-by: Najumon B.A <najumon.ba@intel.com>
2024-01-31 15:03:06 +01:00
Mykola Kvach a08604c631 boards: arm64: enable ARMV8_A_NS by default for R-Car boards
We need to enable this configuration for all R-Car ARM64 boards.
First and foremost, we definitely should run Zephyr on the boards
in the NS-EL1 state. The EL3 is used for TF-A, EL2 is used for
U-Boot, and Xen in the case when we run Zephyr as Dom-0. The S-EL1
is used for OP-Tee, and S-EL0 is used for OP-Tee apps.

Signed-off-by: Mykola Kvach <mykola_kvach@epam.com>
2024-01-31 12:06:17 +00:00
Naga Sureshkumar Relli 8db7178870 boards: riscv: Add spi flash to Polarfire SOC icicle board
On the Polarfire SOC Icicle Kit the SPI pins are routed to MikroBus.
Enable SPI by default.

Signed-off-by: Naga Sureshkumar Relli <nagasuresh.relli@microchip.com>
2024-01-31 06:36:21 -05:00
Sven Ginka 69d7c2a684 device-tree: sam_70_xplained: added config for qdec
the device tree offers a default config (qdec0) for 1x qdec at TC0,
however does not offer a default config for qdec1 - qdec3.
this will be added with this commit. Fixes #65610

Signed-off-by: Sven Ginka <sven.ginka@gmail.com>
2024-01-31 10:41:42 +01:00
Witold Lukasik 4a095bfb35 boards: arm: add Nordic nrf54l15dk_nrf54l15
Add board files for nRF54L15 DK.

Signed-off-by: Witold Lukasik <witold.lukasik@nordicsemi.no>
2024-01-30 21:00:44 +00:00
Andriy Gelman 254a2b10dd boards: xmc47_relax_kit: Add CAN node to devicetree
Adds CAN node to xmc47_relax_kit.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2024-01-30 19:06:06 +01:00
Joel Guittet 479c40c830 boards: arm: wio terminal: separate buttons and joystick definition
The purpose of this separation is to avoid conflict initializing
gpio-keys because button 0 and joystick up have a shared interrupt
source. Joystick is now configured using polling mode option.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2024-01-30 10:35:32 -06:00
Wilfried Chauveau de7621596d boards: arm: mps2_an521: add pyocd runner
This allows to run tests & examples on the physical board with:
```
west twister -p mps2_an521 --device-testing --device-serial /dev/ttyUSB0
```

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2024-01-30 13:42:02 +01:00
Lars Knudsen a3c4d22e79 boards: bbc_microbit_v2: Add buzzer
Tie pwm1 to buzzer pin and adjust sample.

Signed-off-by: Lars Knudsen <larsgk@gmail.com>
2024-01-30 13:08:03 +01:00
Evgeniy Paltsev 4e4a2e8d61 board: nsim: cleanup ARCv3 haps setup
Cleanup ARCv3 haps setup with new cluster accessors

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2024-01-30 12:36:24 +01:00
Aymeric Aillet 4b8c0559d6 dts: arm: renesas: Move rz dtsi to range folder
Create a folder for RZ Renesas range device tree to follow how it's
done for other renesas ranges.
It will also help to better delimit areas to maintain.

Signed-off-by: Aymeric Aillet <aymeric.aillet@iot.bzh>
2024-01-30 09:59:54 +01:00
Sharad Patil 82af470b60 boards: efr32_radio: Add Support for Silabs MG12 BRD4161A board
Added support in board directory for EFR32 MG12 BRD4161A board

Signed-off-by: Sharad Patil <p.sharad@capgemini.com>
2024-01-30 08:46:25 +01:00
Ayush Singh ecd3b9cee6 boards: arm: beagle_bcf: Remove cc2538-bsl.py
- Remove hadcoded cc2538-bsl.py path
- Use cc1352-flasher program instead
- Add docs about how to install the program

Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
2024-01-30 00:34:48 +00:00
Zhu Zhongjie 2545c747b8 boards: arm: change display driver to ltdc on stm32f429i_disc1
Change display driver to ltdc on stm32f429i_disc1 board.

Signed-off-by: Zhu Zhongjie <zhongjiezhu1@gmail.com>
2024-01-29 14:57:26 +00:00
Javad Rahimipetroudi 38da03a5d6 doc: stm32wb5mm_dk: Fix reported typos
This patch fix the reported typos and glitches
that was reported in PR 67819.

Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
2024-01-29 12:30:20 +01:00