Commit graph

8899 commits

Author SHA1 Message Date
Anisetti Avinash Krishna 0e87de0a10 dts: x86: intel: alder_lake: Added UARTs DMA instances
Added UARTs DMA instances to enable Async operations on
ADL platform

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2024-01-11 15:41:42 -06:00
Henrik Brix Andersen 1b0ea02ffb boards: shields: mikroe_adc_click: use board with mikroBUS as example
Use a board with a mikroBUS as example in the shield documentation and
update the example application since the board_shell sample was removed in
commit 7c85f4b2f5.

Fixes: #67134

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-11 17:32:28 +01:00
Henrik Brix Andersen 1798a7b5a2 boards: shields: mikroe_adc_click: include zephyr/dt-bindings/adc/adc.h
Include zephyr/dt-bindings/adc/adc.h in the shield DTS overlays to simplify
using this shield in application overlays.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-11 17:32:28 +01:00
Henrik Brix Andersen d2c6fcfd32 boards: shields: mikroe_adc_click: fix lpcxpresso55s16 overlay
Remove the correct nodelabel in the overlay for the lpcxpresso55s16 board.

Fixes: 07b642d94f

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-11 17:32:28 +01:00
Henrik Brix Andersen 735c9e23ec boards: arm: nucleo_g474re: list FDCAN1 as supported in the docs
List FDCAN1 as supported in the board documentation.

Fixes: #67087

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-11 12:52:00 +01:00
Henrik Brix Andersen fcef0607ca boards: arm: nucleo_g0b1re: list FDCAN1 as supported in the docs
List FDCAN1 as supported in the board documentation.

Fixes: #67087

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-11 12:52:00 +01:00
Ettore Chimenti 3557bfeb60 boards: stm32f3_seco_d23: update name and refs
Due to board name change (JUNO -> SBC-3.5-PX30), it is necessary to
update board names, links and references in files and documentation.

Signed-off-by: Ettore Chimenti <ek5.chimenti@gmail.com>
2024-01-11 11:17:18 +00:00
Henrik Brix Andersen d7873e25fd boards: arm: stm32h735g_disco: enable CAN suppport
Enable support for FDCAN1, FDCAN2, and FDCAN3 on the stm32h735g_disco
board.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-10 20:59:55 -05:00
Henrik Brix Andersen bc69500b0e drivers: can: stm32h7: fdcan: add support for domain clock and divider
Add support for specifying the domain/kernel clock along with a common
clock divider for the STM32H7 CAN controller driver via devicetree.

Previously, the driver only supported using the PLL1_Q clock for
domain/kernel clock, but now the driver defaults to the HSE clock, which is
the chip default. Update existing boards to continue to use the PLL1_Q
clock.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-10 20:59:55 -05:00
Gerard Marull-Paretas 0f73e8fd3e dts: arm/riscv: gigadevice: s/gigadevice/gd
To stay consistent with other vendors, use vendor prefix (gd).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-10 20:59:21 -05:00
Mateusz Holenko e3deb44bc4 boards: arduino_portenta_h7: enable mailbox
The mailbox peripheral is actively accesses by stm32_hsem functions,
so it should be marked as enabled in DTS.

Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
2024-01-10 20:57:24 -05:00
Dawid Niedzwiecki 10e66dc9fc boards: google_dragonclaw: limit frequency of an unused clock
I2S is unused on the dragonclow board. Increase the R division factor
(used for I2S), to reduce the clock frequency, which saves some power.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2024-01-10 18:24:05 +00:00
Ali Hozhabri af76d061f8 boards: arm: Update dts files for ST BlueNRG-based boards
Update dts files to use ST vendor specific HCI SPI Bluetooth driver.

Remove unnecessary GPIO bias for output pins.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2024-01-10 15:07:36 +01:00
Gerard Marull-Paretas 5b3dd2288e boards: gd32f403z_eval: remove redundant Kconfig
Board does not have any init code, so BOARD_INIT_PRIORITY is redundant.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-10 15:05:54 +01:00
Gerard Marull-Paretas d4838ed57e boards: gd32f450i_eval: remove unused Kconfig
Board no longer has init code.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-10 15:05:54 +01:00
Gerard Marull-Paretas 81dbe94a16 boards: gd32*: reduce board image file size
Some GD32 board pictures exceed the maximum allowed limit (100K), so
reduce them.

Automated using `cwebp path/to/board.jpg -o path/to/board.webp`

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-10 15:05:54 +01:00
TOKITA Hiroshi 4266a7e17a boards: arm: adafruit_kb2040: add led-strip configuration
Adafruit KB2040 has one NeoPixel(WS2812) LED that
attaches to GPIO17 pin.
Add configuration for it.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-01-10 12:10:36 +01:00
Maximilian Huber 47e4728604 doc: add note that some versions of displays are not supported
This adds a hint that for stm32h747i_disco just some display shields are
supported.

Signed-off-by: Maximilian Huber <gh@maxhbr.de>
Co-authored-by: Benjamin Cabé <kartben@gmail.com>
2024-01-10 11:07:41 +01:00
Alberto Escolar Piedras 2f25cd5851 boards nrf52_bsim docs: UART is now supported
Add the UART to the list of supported peripherals

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-10 10:01:37 +01:00
Alberto Escolar Piedras 0aa0bc9af0 boards nrf*bsim: Move common kconfig selection to common place
Reduce a bit the amount of boilerplate by placing common
Kconfig selections in common options.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-10 10:01:37 +01:00
Alberto Escolar Piedras 6fee105b1d boards nrf52_bsim: Provide default UART configuration
Provide a good enough UART configuration, but do not
select it as backend by default, let apps do that.

The UART and its driver are very heavy compared to
other backends it may replace, so let's avoid
enabling it by default.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-10 10:01:37 +01:00
Alberto Escolar Piedras 0bdf943900 boards nrf*_bsim: Do not use the UART for logging by default
Even if the UART is enabled, let's not use it by default,
in this platform, as this UART is not meant for user
interaction, but to connect other devices
(for ex. BT controller).

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-10 10:01:37 +01:00
Alberto Escolar Piedras f84ef2d6ee boards nrf5*_bsim: Allow using the UART
Now the HW models include the UART(E) models.
So let's allow selecting it, but let's
not default to it, or enable it by default,
as it is only in very rare cases uses will want it,
and some may already be using the native ptty
instead.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-10 10:01:37 +01:00
Alberto Escolar Piedras 572ba26b1f boards nrf5*_bsim: Provide more common headers
Provide some more common headers some nRF drivers
expect.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-10 10:01:37 +01:00
Alberto Escolar Piedras efca307d35 drivers uart_nrfx: Correct pinctrl reg address for simulation
For simulation, we cannot get the UART regiter address
for the pinctrl config structure from DT, as that
cannot match the one allocated at build time.
So let's override it at runtime with the correct address
which is stored in the UART config structure.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-10 10:01:37 +01:00
Henrik Brix Andersen df83fffc7c boards: shields: lmp90100_evb: include relevant dt-bindings headers
Include zephyr/dt-bindings/adc/adc.h and zephyr/dt-bindings/gpio/gpio.h in
the shield DTS overlays to simplify using this shield in application
overlays.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-09 10:04:18 +01:00
Henrik Brix Andersen 1ebaa293a1 dts: bindings: adc: ti: lmp90xxx: use common io-channel-cells naming
Use the common io-channel-cells name "input" instead of "positive" and
"negative" to make this binding work with the various ADC DT macros.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-09 10:04:18 +01:00
Philip Molloy b007bbb54f boards: arm: doc: fix small typo
Replace the accidently typed letter "d" with "r"

Signed-off-by: Philip Molloy <philip@philipmolloy.com>
2024-01-09 10:04:11 +01:00
Alberto Escolar Piedras 1be87446b1 docs boards native_sim: Mention the SocketCAN driver
Add a small paragraph about the native SocketCAN Linux driver.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-09 10:04:03 +01:00
Alberto Escolar Piedras 893b59b4aa docs boards native_sim: Mention the input SDL touch driver
Add a small paragraph about the input SDL touch driver,
clarifying the evdev driver is not the only input one.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-09 10:04:03 +01:00
Alberto Escolar Piedras b89399ff40 docs boards native_sim: Add mention about the EEPROM simu
Add a small paragraph about the EEPROM simulator,
and improve slightly the flash simulator section

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-09 10:04:03 +01:00
Alberto Escolar Piedras a2ad1b64a7 docs boards native_sim: Capitalize consistently peripherals table
Capitalize all acronyms and the begining of each entry consistently

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-09 10:04:03 +01:00
Andriy Gelman 4c080d4de5 boards: xmc47_relax_kit: Add ethernet/mdio to the devicetree
Add ethernet/mdio to the devicetree.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2024-01-09 10:00:47 +01:00
Andriy Gelman 2391ff7767 boards: xmc45_relax_kit: Add ethernet/mdio to the devicetree
Adds ethernet/mdio into to the devicetree.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2024-01-09 10:00:47 +01:00
Andriy Gelman 201167bdb1 dts: xmc4700_F144x2048: Merge dsram regions and use it as RAM
This is in preparation for xmc4xxx mdio/ethernet patch set. In the
ethernet drivers, the DMA memory (including descriptor and buffers)
must live in dsram1 or dsram2.

Currently, in xmc47_relax_kit the RAM is the psram1 region meaning
that DMA transfers will not work. Switch to using dsram regions instead.
Also, merge dsram1 and dsram2 into a single region since they are
contiguous.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2024-01-09 10:00:47 +01:00
Gerard Marull-Paretas 724a967c1a soc: riscv: renove_virt: reorganize SoC folder
Move out from riscv-privileged, and convert to a standalone SoC.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Gerard Marull-Paretas b5fb00bdc8 soc: riscv: opentitan: reorganize SoC folder
Remove from riscv-privileged, and create a standalone SoC.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Gerard Marull-Paretas 38a44e683e soc: riscv: sifive-freedom: reorganize SoC folder
Reorganized as follows:

- Created a new SiFive Freedom family
- Created 3 new series: E300/E500/E700
- Created Socs within each series (e.g. E340)

Also moved out of riscv-privileged folder.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Gerard Marull-Paretas b2b86556a7 soc: riscv: miv/mpfs: reorganize SoC folder
Merge both series into a new family: microchip_miv [1], moving them out
of riscv-privileged. Updated naming to stay closer to what vendor
announces on their website.

[1]: https://www.microchip.com/en-us/products/fpgas-and-plds/
     fpga-and-soc-design-tools/mi-v

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Gerard Marull-Paretas 4c4beabecc soc: riscv: efinix-sapphire: reorganize SoC folder
Move things out from riscv-privileged, and convert to single SoC.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Gerard Marull-Paretas 7da6342dff soc: riscv: virt: reorganize SoC folder
Move out of riscv-privileged, and convert to single SoC (no
family/series).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Gerard Marull-Paretas b7b19b8b05 soc: riscv: neorv32: reorganize SoC folder
Move out of riscv-privileged and convert to a standalone SoC. Note
that the family/series structure has been dropped in favor of a single
SoC (what NEORV32 seems to be).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Gerard Marull-Paretas 4a0d880350 soc: riscv: ite: reorganize SoC folder
Follow the vendor structure [1]:

- Family: ITE Embedded Controller SoCs
- Series: IT8XXX2
- SoCs: IT81202BX, IT81202CX, etc.

[1]: https://www.ite.com.tw/en/product/category?cid=1

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Gerard Marull-Paretas 8027689392 soc: riscv: andes_v5: reorganize SoC folder
Split out from riscv-privileged folder, and create a new family.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Gerard Marull-Paretas 72e52a06aa soc: riscv: telink_b91: reorganize SoC folder
Reorganize following the hierarchy found in the vendor website [1]:

- SoC Family: Telink TLSR
- SoC series: TLSR951X
- SoC: TLSR9518

Also split out from riscv-privileged folder. Note that B91 was the name
of a starter kit [2].

[1]: http://wiki.telink-semi.cn/wiki/chip-series/TLSR951x-Series/
[2]: https://wiki.telink-semi.cn/wiki/Hardware/
     B91_Generic_Starter_Kit_Hardware_Guide/

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-01-09 09:40:07 +01:00
Chun-Chieh Li fe75bb950f shields: esp_8266: support Nuvoton numaker_pfm_m467 board
1. Support H/W reset pin
2. Support UART flow control (CTS/RTS)

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2024-01-08 16:18:38 +00:00
Yong Cong Sin fa5cb1afa8 boards: hifive_unmatched: add renode simulation
Changes to this file were missed out from the original
PR #65564 that added Renode support for this board, add them
here so that it gets ran in CI.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-01-08 16:17:43 +00:00
Manuel Argüelles c68564bc93 boards: arm: ucans32k1sic: enable FlexCAN
Enable FlexCAN peripheral driver for ucans32k1sic board. The GPIO-based
CAN transceiver driver is used to control the on-board CAN transceivers.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2024-01-08 08:30:49 -06:00
Karol Gugala 133d8c7817 boards: efm32pg_stk3401a: uart: switch to new pinctrl API
The board uses pinctrl API. This commit updates pin USART pin definition
to be compliant with new API.

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2024-01-08 15:10:03 +01:00
Karol Gugala 57238057f0 boards: efm32gg_sltb009a: uart: switch to new pinctrl API
The board uses pinctrl API. This commit updates pin USART pin definition
to be compliant with new API.

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2024-01-08 15:10:03 +01:00
Marcin Niestroj 8caaea2f00 boards: arm: lora_e5_mini: new board support
This board is similar to 'lora_e5_dev_board', but with smaller form-factor,
which makes it better suited as low volume prototype device.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2024-01-08 15:09:10 +01:00
Bartosz Bilas fcb9f41259 boards: xtensa: add Kincony KC868-A32 module suppport
Add support for the KC868-A32 ESP32 home automation relay module.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
2024-01-08 14:21:30 +01:00
Tomasz Gorochowik b64915e616 docs: Fix rzt2m starterkit docs formatting
Add additional new lines before bullet points. Otherwise they are not
rendered as bullets.

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
2024-01-08 14:18:58 +01:00
Yong Cong Sin 7fac758bdb boards: riscv: add RISCV32 Virtual board made with Renode
The RISCV32 Virtual board is a virtual platform made with
Renode as an alternative to QEMU. Contrary to QEMU, the
peripherals of this platform can be easily configured by
editing the `riscv32_virtual.repl` script and the devicetree
files accordingly, this allows certain hardware configurations
that only exist in proprietary boards/SoCs to be tested in
upstream CI.

Added another entry for this board to the excluded platform in
`kernel.timer.timer` test.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-01-08 12:35:10 +01:00
Steffen Jahnke 37520006f3 boards: arm: add PAN1783A-PA evaluation board
The PAN1783A-PA evaluation board is a development tool for the
nRF5340 from Nordic Semiconductor and the third evaluation
board variant for the PAN1783 Module. The power amplifier (PA)
version includes FEM support.

Signed-off-by: Steffen Jahnke <steffen.jahnke@eu.panasonic.com>
2024-01-08 12:35:03 +01:00
TOKITA Hiroshi 4b889e9e01 boards: riscv: stamp_c3: Update sys_timer configuration
The esp32c3 systimer has been fixed in PR #53453, but stamp_c3 was
not included, so we will update it to catch up with this fix

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-01-08 12:34:23 +01:00
Alexander Kozhinov 2307228442 boards: arm: nucleo_h745zi_q: nucleo_h745zi_q_m7.dts
Change div-q to fulfill FDCAN clock requirements

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2024-01-08 12:33:24 +01:00
Abderrahmane Jarmouni 54539b2590 board: arm: nucleo-l4r5zi: flashing
Add the possibility to flash nucleo-l4r5zi board using west
STM32CubeProgrammer runner.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-01-08 12:33:09 +01:00
Francois Ramu 974bb50044 boards: arm: stm32h573i_dk is connected to a 512Mbit octoflash
Corrects the size of the external octoFlash connected to the
mcu of the stm32h573i disco kit from STMicroelectonics

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-01-08 11:49:54 +01:00
Jakub Zymelka c546c8b96b boards: arm: set gpiote status to okay as default
After adding new GPIOTE instances, there is a need
to enable the instance for individual boards.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2024-01-08 11:19:37 +01:00
Jakub Zymelka 7441ff0e7e boards: arm: nrf5340_audio_dk_cpunet_reset: switch to HAL
Change the GPIOTE driver to HAL to prevent instantiation
issues with a multi-instance GPIOTE driver.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2024-01-08 11:19:37 +01:00
Yves Vandervennet 929d551b02 boards: mimxrt685_evk: enable linkserver support
- board.cmake is augmented for LinkServer (now the default runner
  for this board)
- the board's doc file is updated as well

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-01-08 10:08:38 +01:00
Yves Vandervennet 71b846fab6 boards: frdm_k64f: enable linkserver support
- board.cmake is augmented for LinkServer (now the default runner
   for this board)
 - the board's doc file is updated as well

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-01-08 10:08:29 +01:00
Jamie McCrae 6f226eb153 various: Remove BOOTLOADER_SRAM_SIZE overrides
Removes settings this Kconfig to 0, because the default already
is 0

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-01-08 10:06:24 +01:00
Mike Szczys 7382dbd13a boards: xtensa: m5stack_core2: swap-xy touch input
Swap the lvgl X/Y touch input coordinates to match the orientation of the
screen.

Signed-off-by: Mike Szczys <szczys@hotmail.com>
2024-01-07 20:09:37 -05:00
Jacob Siverskog 9784bd06b6 boards: lpcxpresso55s69: fix crystal frequency
this corresponds to soc/arm/nxp_lpc/lpc55xxx/soc.c:129. also, 16MHz is
used on the lpc55s69-evk.

Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
2024-01-05 11:38:08 -06:00
Hake Huang 9853bf7c98 boards: doc: align board ram usage with dts settings
the ram size is used in twister for case filter, so need align them with
real setting.

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-01-05 11:32:10 -06:00
Ali Hozhabri d211284c20 boards: arm: sensortile_box_pro: Add BLE support to SensorTile_box_pro
Add BLE feature to SensorTile.box PRO board.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2024-01-05 16:03:19 +00:00
Yves Vandervennet 8aaf40ab7f linkserver: nxp: enable linkserver to be the default runner
This commit sets linkserver as the runner, if none was set in the
board's board.cmake file. This change will enable NXP to make linkserver
the default runner for the NXP boards.

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-01-05 14:29:18 +01:00
Marc Desvaux f6235e03cf boards: arm: enable CONFIG_USB_DC_HAS_HS_SUPPORT
enable CONFIG_USB_DC_HAS_HS_SUPPORT when we use only OTG_HS
and not OTG_FS.
in that case TEST_BULK_EP_MPS	(Endpoint max packet size)
equal 512 and not 64
it is the case for nucleo_h723zg and for nucleo_h7a3zi_q


Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
2024-01-05 09:03:06 +01:00
Manuel Argüelles a38eb9b210 boards: arm: ucans32k1sic: enable FlexTimer/PWM support
Enable FlexTimer (FTM) as a PWM controller for this board. Use the RGB
LED controlled by FTM0 as PWM-LEDs for the samples and tests.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2024-01-05 09:03:00 +01:00
Andrej Butok 747aacbf1c boards: lpcxpresso55s: Set CONFIG_MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY
Set CONFIG_MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY=y
for lpcxpresso55sxx boards.
Synchronize with their default MCUBoot configuration.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2024-01-05 09:02:51 +01:00
Andrej Butok b2626faced boards: mimxrt1040_evk: add LinkServer and Pyocd
Add LinkServer and Pyocd runners for the MIMXRT1040-EVK board.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2024-01-05 09:02:10 +01:00
Chekhov Ma 8cc0777237 boards: mimx93_evk_a55: enable lpspi
- Enable LPSPI 3 in i.MX93 EVK board dts.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
2024-01-05 09:01:55 +01:00
Chekhov Ma 13ba5316de boards: mimx93_evk_a55: enable lpi2c
- Enable LPI2C 1,2,4 in i.MX93 EVK board dts.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
2024-01-05 09:01:55 +01:00
Jamie McCrae 5f8dabf44c boards: deprecated: Remove boards deprecated pre-Zephyr 2.7
Removes deprecated boards that were added in/before September
2021, which would be prior to the release of Zephyr 2.7.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-01-03 10:19:06 +01:00
TOKITA Hiroshi b1172d812d drivers: serial: ra: adding support interrupt driven mode
Add support interrupt driven mode for Renesas RA UART driver.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2024-01-02 19:12:46 +00:00
Keith Packard 04437376aa boards/posix: Handle SDL2 compile vars with multiple values
When transforming SDL2_LIBRARIES and SDL2_INCLUDE_DIRS into compile
options, each member needs to be preceeded by -l or -I. Use the cmake
list(TRANFORM) operation to prepend the flag to each list element instead
of just prepending the flag to the entire list.

Signed-off-by: Keith Packard <keithp@keithp.com>
2024-01-02 11:02:00 +00:00
Erwan Gouriou 47d3d9f448 boards: Add support for stm32h750b_dk
Basic support added:
- gpio
- uart

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-01-02 10:10:06 +01:00
Andrei Emeltchenko c771a66c6c boards: intel_rpl: Update documentation for Raptor Lake
Update documentation to include Raptor Lake P and update link to
the correct online datasheet.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2023-12-27 16:06:19 +00:00
Andrei Emeltchenko 465c34ef58 boards: Add Raptor Lake P board configuration
Add board configuration for Intel Raptor Lake P board.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2023-12-27 16:06:19 +00:00
Andrei Emeltchenko 0bbd834e14 raptor_lake: Rename raptor_lake.dts to raptor_lake_s
Rename old rpl_crb to rpl_s_crb, which is needed for adding other
Raptor Lake boards. Main changes should be in the board device tree
configuration raptor_lake_p vs raptor_lake_s.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2023-12-27 16:06:19 +00:00
Ian Wakely c2266dd3a0 board: Adding support for W5500 Eval Board.
The W5500_EVB_PICO is an evaluation board for the Wiznet W5500
ethernet mac/phy based on the Raspberry Pi Pico.

Signed-off-by: Ian Wakely <raveious.irw@gmail.com>
2023-12-27 16:04:26 +00:00
Jerzy Kasenberg 4e7950e4bd drivers: hwinfo: implemented hardware info support for Smartbond
Only reset cause is supported as there is no common unique id
present on those chips.
Unique ID can be put in OTP but there is no single specification for this.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
2023-12-27 15:56:44 +00:00
James Anderson 6bf63b252a boards: arm: add usb_otg_hs instance to stm32f429i_disc1
This adds the pins for the board's USB Micro-B connector to the device
tree as zephyr_udc0, allowing USB examples to run natively on the board

Signed-off-by: James Anderson <jrsa@jrsa.co>
2023-12-22 14:40:47 +00:00
Erwan Gouriou 0a3b601ace boards: nucleo_wba55cg: Provide sleep configuration to usart1
Useful to achieve minimum consumption in stop mode.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2023-12-22 09:53:33 +01:00
Kelly Helmut Lord eb12e5454f board: Add support for Adafruit QT PY RP2040
Adding support for the Adafruit QT PY RP2040.

Signed-off-by: Kelly Helmut Lord <helmut@helmutlord.com>
Signed-off-by: Ian Wakely <raveious.irw@gmail.com>
2023-12-22 09:53:21 +01:00
Aaron Ye 5f83c3fe4d dts: arm: ambiq: Use DT_FREQ macro for frequency configuration.
This commit updates the Ambiq Apollo4x series soc clock frequency
of defined instances to align with context of these dts files.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2023-12-21 17:17:11 +00:00
Aaron Ye 6c4751220a boards: arm: apollo4p_evb: Update the support feature.
This commit updates the support features in document and yaml files
of Ambiq apollo4p_evb and apollo4p_blue_kxr_evb.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2023-12-21 17:17:11 +00:00
Erwan Gouriou c81e2ff68a boards: nucleo_wba52cg: Add a user flash partition
This partition could be used by application.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2023-12-21 09:19:24 +01:00
Erwan Gouriou b17b496ec7 boards: nucleo_wba52cg: Enable HSI16 clock
By default rng source is using HSI16 clock.
It has to be enabled on as part of board support.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2023-12-20 11:12:39 +00:00
TOKITA Hiroshi bd44338dd3 boards: arm: sparkfun_pro_micro_rp2040: Added counter support in docs
Added counter in supported hardware features.
It forgot in the commit when introducing the counter driver.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-12-20 11:14:24 +01:00
TOKITA Hiroshi 3b28890d7c boards: arm: adafruit_kb2040: Added counter support in docs
Added counter in supported hardware features.
It forgot in the commit when introducing the counter driver.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-12-20 11:14:24 +01:00
TOKITA Hiroshi 7d5f3d0b9a boards: arm: rpi_pico_w: Added counter support in docs
Added counter in supported hardware features.
It forgot in the commit when introducing the counter driver.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-12-20 11:14:24 +01:00
TOKITA Hiroshi aad251ecb5 boards: arm: sparkfun_pro_micro_rp2040: Added clock support in docs
Added clock in supported hardware features

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-12-20 11:14:24 +01:00
TOKITA Hiroshi 2c3943355d boards: arm: adafruit_kb2040: Added clock support in docs
Added clock in supported hardware features

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-12-20 11:14:24 +01:00
TOKITA Hiroshi cca5e3c0a4 boards: arm: rpi_pico: Added clock support in documentation
Added clock in supported hardware features

Signed-off-by: Andrei-Edward Popa <andrei.popa105@yahoo.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-12-20 11:14:24 +01:00
TOKITA Hiroshi 99a9b995d3 drivers: clock_control: rpi_pico: Configure GPOUT/GPIN pins
Configure GPOUT/GPIN pin for external clock in/out via GPIO.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-12-20 11:14:24 +01:00
Andrei-Edward Popa ea1cafbee7 drivers: clock_control: Added clock driver for Raspberry Pi Pico
Added clock driver for Raspberry Pi Pico platform

Signed-off-by: Andrei-Edward Popa <andrei.popa105@yahoo.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-12-20 11:14:24 +01:00
Johan Hedberg c6c1d462a0 boards: xtensa: Use HEAP_MEM_POOL_ADD_SIZE KConfig options
Kconfig options with a HEAP_MEM_POOL_ADD_SIZE_ prefix should be used to
set the minimum required system heap size. This helps prevent
applications from creating a non-working image by trying to set a too
small value.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-12-20 11:01:42 +01:00
Johan Hedberg 1afc0a16c5 boards: riscv: Use HEAP_MEM_POOL_ADD_SIZE KConfig options
Kconfig options with a HEAP_MEM_POOL_ADD_SIZE_ prefix should be used to
set the minimum required system heap size. This helps prevent
applications from creating a non-working image by trying to set a too
small value.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-12-20 11:01:42 +01:00
Johan Hedberg 1fb4cbbb48 boards: posix: Use HEAP_MEM_POOL_ADD_SIZE KConfig options
Kconfig options with a HEAP_MEM_POOL_ADD_SIZE_ prefix should be used to
set the minimum required system heap size. This helps prevent
applications from creating a non-working image by trying to set a too
small value.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-12-20 11:01:42 +01:00
Johan Hedberg 2b83dd72d8 boards: arm64: Use HEAP_MEM_POOL_ADD_SIZE KConfig options
Kconfig options with a HEAP_MEM_POOL_ADD_SIZE_ prefix should be used to
set the minimum required system heap size. This helps prevent
applications from creating a non-working image by trying to set a too
small value.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-12-20 11:01:42 +01:00
Johan Hedberg 9bc1a2fca2 boards: arm: Use HEAP_MEM_POOL_ADD_SIZE KConfig options
Kconfig options with a HEAP_MEM_POOL_ADD_SIZE_ prefix should be used to
set the minimum required system heap size. This helps prevent
applications from creating a non-working image by trying to set a too
small value.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-12-20 11:01:42 +01:00
Johan Hedberg 0594d29f4e lib: acpi: Introduce HEAP_MEM_POOL_ADD_SIZE_ACPI option
All x86 boards have so far set a custom heap memory pool size because of
their dependency on ACPI. It makes more sense to introduce a new
ACPI-specific option, utilizing the recently added
HEAP_MEM_POOL_ADD_SIZE_ Kconfig option prefix, and adjust the default
value as necessary for each board.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-12-20 11:01:42 +01:00
Manuel Loew 2876dcabbf boards: Corrects RAM size of CY8CPROTO-062-4343W PSoC6 eval board.
This PR corrects the RAM size specification of
the Infineon CY8CPROTO-062-4343W PSoC6 eval board.

Fixes #60876

Signed-off-by: Manuel Loew <manuel.loew.infineon@gmail.com>
2023-12-19 08:49:28 +01:00
Erwan Gouriou aa8c9322df boards: nucleo_wba55cg: Update clock configuration to be BLE compatible
To be compatible with BLE operation and BLE Controler configuration,
update board clock configuration to work using a fixed core clock at
16MHz.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2023-12-18 17:31:08 +00:00
Murlidhar Roy bc8e09d4ec boards: arm64: intel: intel_socfpga_agilex5_socdk: Enable sdmmc
Enable SDMMC and add MMC child node

Signed-off-by: Murlidhar Roy <murlidhar.roy@intel.com>
2023-12-18 15:00:38 +01:00
Aaron Ye a95cbfb0dd boards: arm: apollo4p_blue_kxr_evb: Enable BT HCI.
The BT HCI uses internal IOM4 (SPI4) for communication bus.
Set the default configuration for BT based on the controller supported
capability and HCI driver dependency.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2023-12-18 14:54:53 +01:00
Fabio Baltieri f9313b1745 input: add a linux-evdev device
Add a device driver to read events from a Linux evdev device node and
inject them back as Zephyr input events.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-12-18 12:23:59 +01:00
Alberto Escolar Piedras ad4544fd0f native_sim docs: Miscellaneous fixes
* Add a subsection linking to the emulators section.
* Added more internal links
* Fixed EPROM simulator/emulator mix, and added link
  to simulator
* For the RTC peripheral, mention there is no driver for
  it yet.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-12-18 09:28:57 +01:00
Abderrahmane Jarmouni e70a1a0c48 board: arm: stm32f429i_disc1: flashing
Add the possibility to flash stm32f429i_disc1 board using
STM32CubeProgrammer & patch the OpenOCD cfg.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2023-12-15 14:41:52 +01:00
Marc Herbert 039e5ef1b8 intel_adsp: remove rimage sign() from west flash
`west sign` has been invoked by `west build` (through CMake) since
commit fad2da39aa, almost one year ago. During that time, this new
workflow has been refined and successfully used by at least two vendors,
multiple CIs across both SOF and Zephyr and many developers.

At the time, the ability to sign from `west flash` was preserved for
backwards compatibility. This means rimage parameters can come from many
different places at once and that rimage can be invoked twice during a
single `west flash` invocation!

Now that Zephyr 3.5 has been released, we need to reduce the number of
rimage use cases and the corresponding validation complexity and
maintenance workload to simplify and accelerate new features like
splitting rimage configuration files (#65411)

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2023-12-15 14:41:36 +01:00
Conor Paxton f0495d4d47 boards: riscv: introduce support for Beagleboard BeagleV-Fire
The BeagleV-Fire is a SBC powered by Microchip's PolarFire SoC MPFS025T.

Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
2023-12-15 14:39:19 +01:00
Richard Wheatley a40a8a5f49 boards: arm: apollo4p_evb add connector to apollo4p_evb
Generic Connector for the apollo4p_evb
Ran tests/drivers/gpio/gpio_basic_api
Ambiq does not support DUAL Edged Interrupts.
Added Connector Usages as defined by the Ambiq BSP.

Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
2023-12-15 14:35:32 +01:00
Anas Nashif 044e2d6bff arch: make CONFIG_EXCEPTION_DEBUG cross arch config
Define CONFIG_EXCEPTION_DEBUG globally and remove architecture specific
definition of config.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-12-14 09:32:27 +01:00
Andrej Butok 263846dd67 boards: mimxrt1040_evk: add boot and slot partitions
Add boot and slot partitions for mimxrt1040_evk.
Enable MCUBoot support for it.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2023-12-14 09:29:35 +01:00
Armando Visconti 23110dcfae boards: arm: sensortile_box_pro: extend with lis2du12
Extend sensortile_box_pro with lis2du12 accelerometer.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-12-14 09:28:52 +01:00
Adam Wojasinski 2457a942ed boards: arm: nrf5340dk_nrf5340: Add SPI to supported peripherals
The target has board configuration for spi_flash sample but bacause
of the lack of SPI mentioned in supported peripherals Twister
is filtering out the target for sample.drivers.spi.flash test.

Signed-off-by: Adam Wojasinski <adam.wojasinski@nordicsemi.no>
2023-12-13 20:13:16 +01:00
Evan Perry Grove f93ea05895 boards: arm: Add support for ST NUCLEO F722ZE
Introduce support for ST Nucleo F722ZE, an evaluation board based on
the STM32F722ZET6U microcontroller.

Signed-off-by: Evan Perry Grove <evan@4grove.com>
2023-12-13 13:57:55 +01:00
Jason Kridner 547a75d4d0 Revert "boards: arm: Fix sensor shell sample for beagleconnect_freedom board"
This reverts commit 3769938e78.

Now that gpio_i2c_switch is upstream, this hack should be removed. This
had the unintended effect of disabling the on-board sensors. The issue
was that the board was merged before this driver was upstream, resulting
in the issue this commit "fixed".

This revert also does not move the bus driver under the controller used
by the driver as the sensor bus I2C driver is not an I2C peripheral.

See:
* https://github.com/zephyrproject-rtos/zephyr/pull/64881
* https://github.com/zephyrproject-rtos/zephyr/pull/64693
* https://github.com/zephyrproject-rtos/zephyr/pull/65031

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
2023-12-13 09:42:36 +01:00
Daniel Leung d17524b86c xtensa: remove CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC from arch
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC should be defined at the SoC
or the board level since Xtensa cores are high configurable.
The default is just for ISS (Instruction Set Simulator). So
remove it from the arch level.

The xt-sim board is the only one in tree that is targeting
the ISS, so add it there.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-12-13 09:41:24 +01:00
Francois Ramu 82613c2e30 boards: arm: Add RTC clock source for az3166_iotdevkit
The `az3166_iotdevkit` board doesn't have its RTC node enabled,
and is failing the following test:
`tests/benchmarks/footprints/benchmark.kernel.footprints.pm`
Enabled RTC node for that platform.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-12-12 18:47:24 +00:00
Francois Ramu acf0fe82d4 boards: arm: Add RTC clock source for 96b_aerocore2
The `96b_aerocore2` board doesn't have its RTC node enabled,
and is failing the following test:
`tests/benchmarks/footprints/benchmark.kernel.footprints.pm`
Enabled RTC node and lsi clock source for that platform.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-12-12 18:47:24 +00:00
Tomasz Bursztyka 9be3b8490b boards/x86: Adding clflush CPU capability to qemu_x86
Without this, cache manipulation cannot work in x86.
clflush was introduced with SSE2 extension, but may be implemented
without this extension and it seems that qemu made this choice a
adding sse2 CPU capability does not include clflush. It enabled by
default in 64 bits, so let's take care of this capability only for
the 32bits version of the board.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2023-12-12 19:11:13 +01:00
Joakim Andersson 2687376eff tfm: Enforce initial attestation with required key provisioned
Enforce that the initial attestation partition has the required
initial attestation key provisioned.

If the initial attestation key (IAK) is not present during boot of
TF-M the system will panic during initialization.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2023-12-12 19:08:46 +01:00
Joakim Andersson 25787e2df6 tfm: Harded build against TF-M built with unsecure keys
Introduce Kconfig option in zephyr build system that reflects the TF-M
cmake config variable with the same default value for dummy provisioning
and have it satisfy the IAK present requirement.
This configuration is not suitable for production, and by having this
in zephyr configuration we can have this as part of the hardened
configuration check.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2023-12-12 19:08:46 +01:00
Steffen Jahnke a451db4981 boards: arm: Fix UART tx/rx pinctrl pan1780_evb/pan1770_evb
Changed the tx/rx pins in pinctrl *.dtsi files to match the
evaluation board circuit diagram for UART1.

Signed-off-by: Steffen Jahnke <steffen.jahnke@eu.panasonic.com>
2023-12-12 10:46:54 -06:00
Henrik Brix Andersen fe74ffe2d5 drivers: can: drop POSIX from the native Linux SocketCAN driver name
Rename the native Linux SocketCAN driver to reflect that it can can now be
used in both native_posix and native_sim (with or without an embedded
C-library).

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-12-12 14:28:26 +00:00
Francois Ramu 759c9b42e3 boards: arm: stm32 boards with lptimer set node stm32_lp_tick_source
Change the name of the node for the lptim used as lowpower
tick source to stm32_lp_tick_source.
Once enabled, this node is known as stm32_lp_tick_source
That will avoid naming the node lptim1 or lptim2 or lptim, etc.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-12-12 09:52:30 +00:00
Ali Hozhabri e3ec41e15c drivers: bluetooth: hci: Remove config BT_SPI_BLUENRG
Remove BT_SPI_BLUENRG Kconfig parameter as it is redundant according to
the new changes introduced by ST SPI protocol V1 and V2.

Remove "config BT_SPI_BLUENRG" from the boards that were using it.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2023-12-11 23:57:49 +00:00
Ali Hozhabri 8a32a70689 boards: arm: sensortile_box: Add BLE support for SensorTile.box board
Add BLE support for SensorTile.box board.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2023-12-11 23:57:49 +00:00
Ali Hozhabri d9c4ce7255 boards: arm: DTS update for ST boards that include BlueNRG-MS
Update DTS files of the STMicroelectronics boards which have BlueNRG-MS
as a BLE module.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2023-12-11 23:57:49 +00:00
Anas Nashif 9f3ed1b2b3 arch: _PrepC -> z_prep_c
Rename to use common naming for z_prep_c applied to all architectures.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-12-11 18:23:52 -05:00
Marcio Ribeiro a9eb01ea4f boards: xtensa: esp32 board files update
touch_sensors default parameter added to .dts files and
input driver added to .yaml supported features array of:
- esp32_devkitc_wroom
- esp32_devkitc_wrover
- esp32s2_saola
- esp32s3_devkitm


Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2023-12-11 18:31:38 +01:00
Steffen Jahnke 37aedd953f boards: arm: Add PAN1783A evaluation board
The PAN1783A evaluation board is a development tool for the nRF5340
from Nordic Semiconductor.

Signed-off-by: Steffen Jahnke <steffen.jahnke@eu.panasonic.com>
2023-12-11 12:50:13 +01:00
Maximilian Deubel c055561a6b boards: arm: add nrf9151dk_nrf9151
This patch adds the nRF9151-DK board.

Signed-off-by: Maximilian Deubel <maximilian.deubel@nordicsemi.no>
2023-12-11 10:24:50 +01:00
Marc Herbert 22f751658d boards: xtensa: docs: rimage is no more a separate git repository
Fix intel_adsp_generic.rst following the merge of the rimage git
repository back into the sof git repository:
- https://github.com/thesofproject/sof/issues/7270

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2023-12-11 10:10:50 +01:00
Yong Cong Sin 54573e7c4c boards: arm: Add RTC clock source for mikroe_mini_m4_for_stm32
The `mikroe_mini_m4_for_stm32` board doesn't have its RTC node
enabled, and is failing the following test:

`tests/benchmarks/footprints/benchmark.kernel.footprints.pm`

This board seems to have been missed out from 44b8370, let's
enable the rtc & clk_lsi here.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2023-12-11 09:10:20 +00:00
Andrej Butok 923ac2bb1b doc: mimxrt1040_evk: fix documentation links
Fix mimxrt1040_evk documentation links.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2023-12-11 09:54:47 +01:00
Declan Snyder 3d6c1fd6f7 boards: nxp: Support NXP ENET FRDM_K64F & RT11xx
Support NXP ENET on FRDM_K64F and rt11xx boards.
Document the experimental driver in all boards.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2023-12-11 09:50:58 +01:00
Henrik Brix Andersen c86f5c0f61 drivers: can: native_posix_linux: add embedded libc support
Add support for compiling the native POSIX Linux (SocketCAN) driver with an
embedded C-library.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-12-10 09:24:30 +01:00
Adam Wojasinski 23964234ac boards: Add alias to boards with spi-flash node
This is continuation of the 64fbbd9a44
where spi-flash0 alias was defined for some of boards' devicetrees.
It's needed to turn on building samples/drivers/spi_flash for boards
with "nordic,qspi-nor" compatible.

Signed-off-by: Adam Wojasinski <adam.wojasinski@nordicsemi.no>
2023-12-08 20:21:07 +00:00
Manuel Argüelles e4e3386f9c boards: ucans32k1sic: enable LPSPI support
Enable LPSPI support on ucans32k1sic board.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-12-06 20:57:42 -06:00
Manuel Argüelles 4f9e2c4a7a boards: ucans32k1sic: enable LPI2C support
Enable LPI2C support on ucans32k1sic board.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-12-06 20:57:42 -06:00
Sumit Batra e0dc6f4fe4 drivers: sensor: qdec_s32: Add QDEC support for S32
Add code to configure and program Lcu, Trgmux and Emios_Icu IPs to
get the the rotations by the motor in radians.

Co-authored-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
Co-authored-by: Mayank Mahajan <mayankmahajan.x@nxp.com>
Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
2023-12-06 20:06:37 -06:00
Luca Burelli 3bdd91a575 boards: arduino_giga_r1: add OpenOCD support
Add support for OpenOCD runner to the Arduino Giga R1 board. This shares
the same CPU as the STM32H747i Discovery, so that implementation can be
reused.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2023-12-06 17:55:36 +00:00
Conor Paxton 3c7f10f8e1 dts: riscv: rename PolarFire SoC using device family name
Microchip's PolarFire SoC (device family name: MPFS) is not specific to
the Icicle Kit. Rename the devicetree sources to be more generic and to
align with Linux and allow for other development boards to adopt.

Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
2023-12-06 17:54:29 +00:00
Conor Paxton 0ff8a7c03d boards: mpfs_icicle: remove unused CMakeLists
THe CmakeLists file is not neing used to do anything out of the norm.
remove it and add it back in at a later date, if required

Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
2023-12-06 17:54:29 +00:00
Conor Paxton 98bc5450f8 boards: mpfs_icicle: remove unused overlay
In an effort to clean up, remove the unused overlay

Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
2023-12-06 17:54:29 +00:00
Aaron Ye d3cce8805c boards: arm: apollo4p_blue_kxr_evb: Enable buttons.
This commit adds buttons instances and aliases for them on
apollo4p_blue_kxr_evb.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2023-12-06 12:11:30 +00:00
Aaron Ye 39ec2d2ce0 boards: arm: apollo4p_blue_kxr_evb: Enable LEDs.
This commit adds leds instances and aliases for them
on apollo4p_blue_kxr_evb.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2023-12-06 12:11:30 +00:00
Aaron Ye 1b3d29c53e dts: arm: ambiq: Add GPIO instances to Apollo4 Blue Plus SoC
This commit instantiates the GPIO peripherals.
Also enables GPIO instances for apollo4p_blue_kxr_evb.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2023-12-06 12:11:30 +00:00
Richard Wheatley 8e57cf1384 boards: arm: apollo4p_evb: Add internal pullups to buttons and LEDs
The LEDs and buttons on the evb need internal pullups.

Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
2023-12-06 12:11:04 +00:00
Alberto Escolar Piedras 210bd28a24 native_simulator: Allow to pass extra options for localizing symbols
Some libraries (like Openthread's spinel code) define their
API as externally linkable. This will make those symbols
remain as externally linkable by default after the
Zephyr build has produced the native simulator library
(MCU code).
When building an AMP native_simulator executable with
several MCUs each including these, the linker will see
those symbols as still linkable and duplicated, and
throw an error.

So let's give the option for users/developers of those
libraries to define extra symbols they want
to localize before assembling the final executable.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-12-06 09:25:41 +00:00
Attie Grande a60054eb15 boards: arm: atsamr34: Setup USB for SAMR34 Xplained board
Set up pinctrl for USB D+/- on pins PA24 and PA25.

Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>
2023-12-05 16:27:00 -06:00
Attie Grande 6a5297c4a9 boards: arm: atsaml21: Setup USB for SAML21 Xplained board
Set up pinctrl for USB D+/- on pins PA24 and PA25.

Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>
2023-12-05 16:27:00 -06:00
Erwan Gouriou be0208a639 boards: stm32: Add support for nucleo_wba55cg
nucleo_wba55cg is a SMPS version of nucleo_wba52cg

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2023-12-05 14:53:39 +00:00
Andrej Butok 7b1008c64c boards: mimxrt101x_evk: add chosen dtcm
Add the chosen dtcm memory region
for mimxrt1010_evk and mimxrt1015_evk.
To be consistent with other rt10xx platforms.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2023-12-05 10:11:33 +00:00
Zhang Peng 8bcc4f2c12 boards: xtensa: adsp: add support for imx8ulp board
Add support for i.MX8ULP board by defining defconfig,
board configuration and device tree.

Signed-off-by: Zhang Peng <peng.zhang_8@nxp.com>
2023-12-04 16:41:00 +00:00
Wojciech Sipak e13c2cd693 boards: arm: rzt2m_starterkit: fix documentation rendering
As reported in #66094, the documentation used section headers wrongly.

Fixes #66094.

Signed-off-by: Wojciech Sipak <wsipak@antmicro.com>
2023-12-04 16:40:00 +00:00
Lukas Jung 535ca1c762 boards: arm: add the Adafruit Grand Central M4 Express
The Adafruit Grand Central M4 Express is an ARM development board
with the form factor of an Arduino Mega.
It features 70 GPIO pins, a microSDHC slot and 8MiB of QSPI Flash.

Signed-off-by: Lukas Jung <lukas.jung@mailbox.org>
2023-12-04 14:41:11 +01:00
Martin Kiepfer 0a962b8893 m5stack_core2: doc: SD-card status documented
Added support column for all features of m5stack_core2 board.
Link to m5stack_core2_ext added.

Signed-off-by: Martin Kiepfer <mrmarteng@teleschirm.org>
2023-12-04 14:39:43 +01:00
Martin Kiepfer 04c165ad4d m5stack_core2: SDHC: SD card support added
* SD card support via sdhc-spi driver added. SPI speed is
configured to 20MHz for stability reasons. Some cards
seem to not working properly with 25HMz or even higher speeds.
* Pinmux ctrl for SPI3 pins reworked. Native cs removed
as gpio chip-selects are required.

Signed-off-by: Martin Kiepfer <mrmarteng@teleschirm.org>
2023-12-04 14:39:43 +01:00
Joakim Andersson 83ada28178 boards: arm: bl5340_dvk: Remove disabling of QSPI for BL5340 DVS NS
Remove disable of QSPI for BL5340 DVK cpuapp NS build.
The QSPI is not configured as a secure peripheral in the generic
nrf5340 platform support.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2023-12-04 14:33:45 +01:00
Joakim Andersson e3162c80d4 tfm: Add pin-control configuration for UART1 pin assignments
Add pin-control configurations for UART1 pin assignments.
The GPIO pins matches the ones used in Laird Connectivity TF-M boards
RTE_Device.h file.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2023-12-04 14:33:45 +01:00
Derek Snell 6a4edeeeab boards: arm: mimxrt1040_evk: document USER_LED and jumper J80
Document need to remove J80 when using USER_LED D8.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2023-12-04 14:21:31 +01:00
Alberto Escolar Piedras 47b7eaece9 boards nrf5340bsim_cpuapp: Select approprite 802154 radio in DT
Set the chosen 802154 radio in DT for the
nrf5340bsim_nrf5340_cpuapp so we can build with the
radio driver built into the net core.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-12-04 14:20:42 +01:00
Christopher Friedt 09ff569c9e boards: posix: add dma support to native_posix boards
Like other driver APIs, we can add an `emul` variant to
`native_posix` and `native_posix_64` that should allow us to
simplify applilcation and library development and to also
increase test coverage in CI.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-12-03 19:22:31 -05:00
Mateusz Sierszulski bfecd1220d boards: arm: apollo4p_evb: Enable buttons
This commit adds buttons instances and aliases for them
on apollo4p_evb boards.

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-12-01 16:25:47 +01:00
Mateusz Sierszulski c8a9b61909 boards: arm: apollo4p_evb: Enable LEDs
This commit adds leds instances and aliases for them
on apollo4p_evb board.

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-12-01 16:25:47 +01:00
Mateusz Sierszulski e0eadd5f6b dts: arm: ambiq: Add GPIO instances to SoC
This commit instantiates the GPIO peripherals.

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-12-01 16:25:47 +01:00
Mateusz Karlic 85d76f970f dts: boards: mercury_xu: Select shell-uart
Select shell-uart for mercury_xu, to use shell_module sample.

Signed-off-by: Mateusz Karlic <mkarlic@antmicro.com>
2023-12-01 11:02:25 +00:00
Hake Huang 7ee86fcfa2 tfm: lpcxpersso55s69_ns: add tfm runner support
enable TFM the final image used is tfm_merged.hex
not zephyr.hex

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2023-12-01 11:01:38 +00:00
Mia Koen 0bcad09392 bluetooth: mesh: Doc fix Bluetooth mesh to Mesh
SIG has changed Bluetooth mesh to Bluetooth Mesh
Updating zephyr docs accordingly
Leaving out old release notes

Signed-off-by: Mia Koen <mia.koen@nordicsemi.no>
2023-12-01 10:56:18 +00:00
Alberto Escolar Piedras 25599df05e boards nrf5340bsim_cpuapp: Define chosen entropy source
Override the chosen entropy source irrespectively of what the
SOC may chose.
This is to avoid problems as the SOC may select the
cryptocell, but we do not support it in the simulated
target.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-12-01 10:55:45 +00:00
Alberto Escolar Piedras 44b8971e48 native_sim: Improve instructions for i386 packages
To the instructions that install "foreign architecture" (i386)
packages on a x86-64 system, add the commands to ensure
the architecture is added if it wasn't already.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-12-01 10:52:07 +00:00
Alberto Escolar Piedras df100d4598 boards native: Add not supported features
Add a section with the most significant not supported features.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-12-01 10:52:07 +00:00
HaiLong Yang f5e871d5e0 test: flash: add gd32 boards
This add gd32vf103v_eval, gd32a503v_eval and gd32f470i_eval boards to
flash common test.

    Boards       | Flash Type
-------------------------------
 gd32vf103v_eval | gd32 fmc v1
 gd32a503v_eval  | gd32 fmc v2
 gd32f470i_eval  | gd32 fmc v3

Signed-off-by: HaiLong Yang <hailong.yang@brainco.cn>
2023-12-01 10:51:52 +00:00
Wilfried Chauveau 5b3d4598a7 dts: arm: Blanket remove all usages of arm,num-mpu-regions
This removes all occurrences of arm,num-mpu-regions relying on the value
reported by the register instead.
A user may still define this property if they need to have a compile time
definition for it.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2023-12-01 10:48:00 +00:00
Wilfried Chauveau 784355aeb3 boards: arm: mps2_an521: remove the arm,num-mpu-regions property
The SSE-200 implementation on AN521 only has 8 regions.
Although the AN521 FPGA image implements the documented value,
qemu-system-arm currently shows in MPU_TYPE the incorrect value of 16.

Removing the property definition allows the code to rely on the register
read value and work on both qemu-system-arm & the physical board.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2023-12-01 10:48:00 +00:00
Daniel Leung 34c6b17680 doc: fixed already renamed _Cstart to z_cstart
The function _Cstart has already been renamed to z_cstart,
so change the remaining references of it in various docs.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-11-30 21:01:47 -05:00
Manuel Argüelles 23053cfea5 boards: arm: introduce support for NXP UCANS32K1SIC
Introduce minimal support for NXP UCANS32K1SIC board based on
S32K146 MCUs. This includes support to run from internal Flash or SRAM,
multiple west runners for TRACE32 and J-Link, and the minimal set of
drivers.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-11-30 11:21:59 -05:00
Andrej Butok 3e1855e503 boards: lpcxpresso55s28: add boot and slot1 partitions
Add boot_partition and slot1_partition to lpcxpresso55s28.dts.
Make MCUBoot compiled.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2023-11-30 11:19:59 -05:00
Alberto Escolar Piedras 0f6a3d0334 boards native: Switch default testing platform native_posix->native_sim
Set native_sim as the default testing platform instead of native_posix.
This continues the agreed strategy described in #58305

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-30 09:42:25 -05:00
Andrej Butok 2aa7ef1d65 boards: mimxrt101x_evk: add boot and slot partitions
Add boot_partition and slot1_partition for
mimxrt1010_evk and mimxrt1015_evk.
Enable MCUBoot & Flash support for them.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2023-11-30 10:02:44 +01:00
Declan Snyder df2ff3a850 boards: rt10xx: Rename ENET overlay & document
Rename the experimental driver overlay to be the same
for all the platforms, and document about it in the boards'
index.rst.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2023-11-29 16:46:53 -06:00
Franciszek Pindel a9cebb5033 boards: efr32_radio: Add USART configuration for brd4180a and brd4187c
This commits provides USART PINCTRL configuration for efr32_radio_brd4180a
and efr32_radio_brd4187c boards.

Signed-off-by: Franciszek Pindel <fpindel@internships.antmicro.com>
Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
2023-11-29 10:09:13 +01:00
Dawid Niedzwiecki 04854b2b5e google_dragonclaw: add gpio-hog for unused pins
Configure the unused pin as GPIO_DISCONNECTED for saving the power
consumption with the gpio-hog feature. The STM32 GPIO driver will
configure the pins as analog.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2023-11-28 16:53:52 -05:00
Dawid Niedzwiecki 340d42f31d google_dragonclaw: update exposed GPIO ports
Enable gpioc and gpioh devices by default as these ports are
exposed in the UFQFPN48 package.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2023-11-28 16:53:52 -05:00
Declan Snyder 789addb02f boards: mimxrt10xx_evk: Add new enet overlay
Add overlay to show how to use new experimental nxp enet driver

Also make any eth_mcux related kconfigs dependent on eth_mcux in the
boards' defconfigs.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2023-11-28 14:34:02 -06:00
Benjamin Perseghetti a157898098 mr_canhubk3: change SPI and WD_FS26 init priority
Changes the FS26 watchdog init priority to avoid boot-looping.
Requires SPI priority to be changed as well.

Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
2023-11-28 11:54:50 -06:00
Olexander Grin b85f1cc246 dts: boards: nucleo_f446re: add support pwm led to nucleo_f446re board
add support fade_led, blinky_pwm sample to nucleo_f446re board

Signed-off-by: Olexander Grin <alexander.grin.dev@gmail.com>
2023-11-28 15:34:21 +01:00
Diego Elio Pettenò c0cb995bce ev11l78a: minimize memory usage in the default config.
The ATSAMD20E16 used in this board only has 8KiB SRAM, so the defaults
are not really suitable for anything close to useful, particularly the
sink sample that most closely resembles the original demo for the board.

This should also allow more tests not to be skipped for this board as
otherwise they overflow RAM usage.

Signed-off-by: Diego Elio Pettenò <flameeyes@meta.com>
2023-11-28 14:09:06 +00:00
Benjamin Perseghetti 0fa204b9fd drivers: net: phy: add tja1103
Adds the tja1103 enet phy for setting phy options on the mr_canhubk3.

Co-authored-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
2023-11-28 08:07:44 -06:00
Andy Sinclair 39564cdf20 boards: shields: npm1300_ek: Settings moved to board overlay
The existing npm1300_ek shield overlay has several example
voltage and gpio settings.  For many use cases these are
invalid and need to be overridden, or removed with
delete-property.

These example configurations have been moved to a board
specific overlay.

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
2023-11-27 19:57:57 +01:00
Alberto Escolar Piedras 7332eb2ea7 board native_sim/posix: Provide NEVER/NSI_NEVER definitions
Some native_posix specific apps/tests use the macro NEVER
provided it also for native_sim until all have switched
to the new NSI_NEVER.

And ensure NSI_NEVER is also avaiable when building
for native_posix to ease the transition.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-27 16:06:42 +00:00
Felipe Neves a97e30a829 boards: arm: arduino_opta_m4: adds initial support
to the arduino_opta PLC on the M4 core.

Signed-off-by: Felipe Neves <felipe.neves@linaro.org>
2023-11-27 14:10:22 +00:00
Alberto Escolar Piedras cd5f88e8d3 boards native_posix/sim: Define native_posix DTS from native_sim's
Get the native_posix DTS from native_sim instead of
the oposite. As native_sim is now the default test platform.

Note this commit is practically just swapping files.
There is no changes to the DTS content, beyond
changing the board name.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-27 12:17:57 +00:00
Joseph Yates 5ae648d417 boards: shields: Adding support for the waveshare pico ups-b shield
Adding support for the Waveshare pico ups-b shield with documentation

Signed-off-by: Joseph Yates <joeyatessecond@gmail.com>
2023-11-27 12:14:05 +00:00