Commit Graph

10171 Commits

Author SHA1 Message Date
TOKITA Hiroshi 275162fd52 drivers: pwm: rpi_pico: Configuring the divide ratio adaptively
If the `divider-int-0` or variations of these for each channel properties
are not specified, or if these is 0,
the driver dynamically configures the division ratio by specified cycles.

The driver will operate at the specified division ratio if a non-zero
value is specified for `divider-int-0`.
This is unchanged from previous behavior.

Please specify ``divider-int-0`` explicitly to make the same behavior as
before.

In addition, the default device tree properties related to the division
ratio have been removed.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-10-10 10:07:47 +02:00
Benjamin Cabé d13e0a1dbf doc: boards: infineon: fix various issues with cy8ckit_062s4
Title of the document was wrong, image info was missing, and a bunch of
other formatting issues.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-10 10:07:24 +02:00
Yves Vandervennet 2165a2c6bc boards: mimxrt1024_evk: enable support for linkserver
- update the EVK's board.cmake, making linkserver the default runner
 - update the board's document file

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-10-10 10:07:12 +02:00
Nikodem Kastelik e0860eb9a6 boards: nordic: nrf54h20dk: make RAM3x DMA region larger for cpurad
Some tests are failing on nrf54h20 cpurad in non-obvious manner
because of this memory region being too small.
Instead of adding overlays to each individual application,
make this region larger at expense of cpuapp equivalent.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2024-10-09 18:37:02 +01:00
Declan Snyder 42c43b9f9c boards: frdm_rw612: Add ethernet to twister yaml
Add netif:eth to twister yaml for frdm_rw612

Exclude from wifi test because of binary blob requirement

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-10-09 18:23:57 +01:00
Declan Snyder 719a21a312 boards: nxp: Add missing RW board feature tables
Add missing items to RW board feature tables.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-10-09 18:23:57 +01:00
Dominik Lau c344cca8e9 boards: stm32f429i_disc1: inverted touch controller axes
This inverts x and y axes as reported by stmpe811 driver for stm32f429i.

Signed-off-by: Dominik Lau <dlau@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-10-09 18:11:21 +01:00
Dominik Lau b38a4ccbdb boards: added touch controller to the `/chosen` node
This adds zephyr,touch property to boards with touch controllers, analogous
to `zephyr,display`.

Signed-off-by: Dominik Lau <dlau@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-10-09 18:11:21 +01:00
Dominik Lau 8941a2100c samples: drivers: added a simple touch controller sample
The sample is supposed to help examine the issues with touchscreen.
It draws a plus in last touched position.

Signed-off-by: Dominik Lau <dlau@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-10-09 18:11:21 +01:00
McAtee Maxwell (CSS ICW SW MTO INT 2) 30f2e5120a Drivers: RTC: Initial implementation of RTC for IFX cyw20829
- Initial driver implementation
	- Overlay for rtc_api test
	- dtsi updates.

Signed-off-by: McAtee Maxwell (CSS ICW SW MTO INT 2) <maxwell.mcatee@infineon.com>
2024-10-09 13:46:56 +02:00
Sylvio Alves 0a56dc8055 boards: esp32-based: unset default libc in appcpu
As in all other esp32-based boards, APPCPU
does not require to have MINIMAL_LIBC as default libc.
In the past, that was required due to memory constraints,
which is not the case anymore.

This fixes build issues in `tests/lib/c_lib/common`.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-10-09 09:48:45 +02:00
Jonathan Nilsen d403d73ad7 boards: nordic: update custom JLink reset scheme for ADACv2
Version 2 of the ADAC interface implemented by secure domain firmware
changes the ADAC RESET command used in the custom reset handling in
the JLink support scripts. The command has been split into two
commands, RESET and START, and has different semantics from
the previous RESET command. The new RESET command resets both the
application and radio domains without starting the CPUs again, and the
START command must then be used to start the CPUs.

Update the JLink support scripts for nrf54h20dk/nrf54h20/cpuapp,
nrf54h20dk/nrf54h20/cpurad, nrf9280pdk/nrf9280/cpuapp and
nrf9280pdk/nrf9280/cpurad so that they read out the ADAC interface
version from the device and use the newer commands if ADAC version 2 is
detected. If the version is lower than 2, the legacy implementation is
used.

Also improve the CTRL-AP MAILBOX transaction implementation
to avoid the need for arbitrary sleeps or unnecessary polling of
the MAILBOX. This should improve stability when using the script.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2024-10-08 18:17:33 +01:00
Abderrahmane Jarmouni 7cd87ea1f7 boards: stm32h750b_dk: update doc & board file
Update board's doc & yaml file with enabled features.

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
2024-10-08 17:01:01 +02:00
Anas Nashif 55489f5787 boards: qemu_x86: add board description
Use the description field for the full name/description of the boards.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-10-08 16:57:34 +02:00
TOKITA Hiroshi d72a69488c dts: renesas_ra: Change to describe the division ratio in a numeric
Move the process of replacing numerical values with macros to
the header, and set the division ratio in a numeric without
using macros in the device tree.

Change `clk-div` defined in `renesas,ra-cgc-pclk.yaml` to `div`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-10-08 06:01:10 -04:00
TOKITA Hiroshi 7c615f95d2 dts: renesas_ra: Referencing clocks change to DeviceTree's standard.
DeviceTree typically references the clock source using the `clocks`
property defined in `base.yaml`, so we'll change it to this.

Also delete the custom clock source definitions in
`renesas,ra-cgc-pclk-block.yaml`, `renesas,ra-cgc-pclk.yaml`, and
`renesas,ra-cgc-pll.yaml`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-10-08 06:01:10 -04:00
Lukasz Stepnicki 022122d659 boards: nordic: ipc node added dcache alignement
dcache-alignement needs to be defined for ipc to have
consistent memory organization on both endpoints, when
shared memory is cacheable. nrf54h20 and nrf9280 are
using cacheable shared memory.
This is applied for ipc with icmsg backend.

Signed-off-by: Lukasz Stepnicki <lukasz.stepnicki@nordicsemi.no>
2024-10-08 06:00:07 -04:00
Ayush Singh c506cf5e83 boards: ti: beagleconnect_freedom: Remove PINCTRL
- PINCTRL is now being selected by
  soc/ti/simplelink/cc13x2x7_cc26x2x7/Kconfig, so no need to add to
  diffconfig.
- See https://github.com/zephyrproject-rtos/zephyr/pull/64718#discussion_r1734288793

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2024-10-08 05:59:41 -04:00
Ayush Singh 89995d0568 boards: ti: cc1352p7_launchpad: Remove PINCTRL
- PINCTRL is now being selected by
  soc/ti/simplelink/cc13x2x7_cc26x2x7/Kconfig, so no need to add to
  diffconfig.
- See https://github.com/zephyrproject-rtos/zephyr/pull/64718#discussion_r1734288793

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2024-10-08 05:59:41 -04:00
Peter Fecher 9f73988be0 boards: phytec: update phyboard_polis docs
Updating PhyBOARD Polis docs after enabling ECSPI
and CAN support on that board.
Add additional information what to do if
using Linux and Zephyr simultaneously.

Signed-off-by: Peter Fecher <p.fecher@phytec.de>
2024-10-07 18:43:35 +02:00
Peter Fecher c2d38a7e17 boards: arm: phyboard_polis: configure spi and can
Configures ECSPI devices in devicetree including connected
mcp2518 (CAN FD).
Configures pinctrl for board.
Enables spi support in board files.

Signed-off-by: Peter Fecher <p.fecher@phytec.de>
2024-10-07 18:43:35 +02:00
Yangbo Lu dc734e19f9 boards: nxp: imx95_evk: enable TPM2 PWM on M7
Enabled TPM2 for PWM on imx95_evk m7.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-07 18:43:12 +02:00
Yangbo Lu 621681fabe boards: nxp: imx95_evk: add TPM2 pinmux support in dtsi
Added TPM2 pinmux support in dtsi.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-07 18:43:12 +02:00
Gerard Marull-Paretas df9a84ea31 boards: nrf54h20dk: add board revision 0.9.0
Add a new revision for nRF54H20 DK: 0.9.0. This new hardware spin contains
the final nRF54H20 SoC. Treat it as the default, including twister.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-10-07 18:42:14 +02:00
Gerard Marull-Paretas 47212de9de boards: nrf54h20dk: introduce revision 0.8.0 (current)
The current DK is labeled as revision 0.8.0. Until now, no revisions were
needed, but a new hardware spin is coming, so we'll need to keep at least
two revisions in the near future until the final one becomes the default.
Prepare the board for that scenario. Note that the "old" nRF54H20 SoC is
now nRF54H20 EngB.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-10-07 18:42:14 +02:00
Andrej Butok 4511662fe5 boards: nxp: Add Serial Recovery button alias
Fixes MCUBoot Serial Recovery compilation error
"Serial recovery/USB DFU button must be declared
in device tree as 'mcuboot_button0'"

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2024-10-07 17:13:28 +01:00
Ioannis Damigos 1fdbd7e16a da1469x_dk_pro: Add user button
Add user button.

Signed-off-by: Ioannis Damigos <ioannis.damigos.uj@renesas.com>
2024-10-07 17:13:14 +01:00
Benjamin Cabé 07d6632201 boards: Fix duplicate image in MAX32666FTHR board doc
Front picture was listed twice, despite the back picture
(max32666fthr_img2.jpg) actually being checked into the repo, so switch
to that one.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-07 17:12:52 +01:00
Guillaume Gautier 111b2bb150 boards: st: add adc clock source if asynchronous clock is used
For all STM32 boards that define an asynchronous clock for ADC, specify
which clock is to be used in the clock node.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-10-07 13:40:06 +02:00
Alberto Escolar Piedras afbba5fb9b boards native_sim docs: Clarify which SDL version is needed
One needs the 32bit version of the SDL development library when
building for 32bit native_sim, and for the 64bit native_sim the
64bit version. Let's clarify this.

Also fix the SDL2 link.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-10-07 13:39:00 +02:00
Ian Morris 627c33292a boards: mikroe: remove CONFIG_PINCTRL from defconfig of RA4M1 clicker
This PR fixes #78619 for the Mikroe RA4M1 Clicker board.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2024-10-05 14:05:48 -04:00
Sylvio Alves 9403b08512 boards: esp32: move board specific kconfig definitions
HEAP_MEM_POOL_ADD_SIZE_BOARD is not a zephyr-defined entry and
should be placed into Kconfig instead of Kconfig.defconfig.

This PR moves that entry for all ESP32-based boards accordingly.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-10-04 22:53:01 +01:00
Daniel DeGrasse 8a30c2318d boards: nxp: rd_rw612_bga: add display support documentation
Add documentation about supported displays on this board, as the list is
getting rather long and each display has its own bespoke connection
requirements.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-10-04 22:50:45 +01:00
Daniel DeGrasse 404041621f boards: nxp: rd_rw612_bga: enable with LCD_PAR_S035 shield
Enable the rd_rw612_bga board with the LCD_PAR_S035 shield. This shield
cannot be connected directly to the board, but the connection can be
made with a set of jumper wires.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-10-04 22:50:45 +01:00
Daniel DeGrasse f8f70c2ac7 boards: shields: lcd_par_s035: enable reset gpio within input module
The LCD_PAR_S035 display module shares the reset pin between the display
module and the touchscreen controller. The touchscreen controller needs
the reset pin to be toggled low during boot in order to select the
expected I2C address. However, the reset sequence must occur before the
display is initialized. To enable this, set a custom INPUT driver init
priority when using this display module, so that INPUT drivers start
after MIPI DBI drivers but before DISPLAY drivers.

Since the reset sequence is now operating as expected, we no longer need
to use the alt-addr probing method. This method was previously only
working correctly because boards using this display were configuring
the display INT pin using the pin control API prior to resetting the
display, so when the display was reset it would select the alt-addr
I2C address.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-10-04 22:50:45 +01:00
Daniel DeGrasse 3604aba75b shields: lcd_par_s035: rename nxp_flexio_lcd to zephyr_mipi_dbi_parallel
Although the parallel mipi dbi mode pinout used for the LCD PAR S035
display is specific to NXP boards, the definition of the display is
generic, and does not require NXP-specific parallel mipi dbi IP.
Therefore, rename the MIPI DBI node for this display from
`nxp_flexio_lcd` to `zephyr_mipi_dbi_parallel`. The gpio-nexus node name
is unchanged, as the pinout it describes is specific to NXP.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-10-04 22:50:45 +01:00
Dominik Chat 70419bdee7 dts: nordic: nrf5340: Change nRF5340 IPC backend to icbmsg
Change the default IPC backend of nRF5340 to icbmsg.

Signed-off-by: Dominik Chat <dominik.chat@nordicsemi.no>
2024-10-04 10:46:18 +01:00
Francois Ramu 8c0026a6a6 boards: st: nucleo_h7 boards correct LD2 on PE1 pin
The stm32h7 nucleo 144 boards (ref MB1364)
have the LD2 on PE1 pin (not PB7). This commit change this
in the doc. Board DTS are correct.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-10-03 17:09:16 +01:00
Sadik Ozer 3f4a9c408a boards: arm: adi: Enable display for MAX32662EVKIT board
MAX32662EVKIT board has CFAF128128B1-0145T display which
is 128x128 graphic display.
This commit enable mpi dbi display support with LVGL graphic library.
Pin connection of display is 3wire mode
SRAM size increased to be fit with lvgl example.

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-03 17:07:25 +01:00
Yong Cong Sin 52a202309b zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY
Change instances of:

DT_NODE_HAS_STATUS(<node_id>, okay)

to

DT_NODE_HAS_STATUS_OKAY(<node_id>)

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-10-03 17:06:52 +01:00
Laurentiu Mihalcea 01754956de boards: nxp: imx95_evk: add rimage support for m7 ddr variant
Add rimage support for the i.MX95 EVK M7-based DDR board
variant. This is only required when running SOF.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-10-02 13:46:06 -05:00
Andrej Butok 1005a73523 boards: nxp: rd_rw612_bga: Delete fw_storage
- Delete unused fw_storage partition.
- Optimize mcuboot partitions.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2024-10-02 10:06:29 +02:00
Alexandre Bailon 02fb8faefb board: ti: cc1352p7_lp: Add complementary instructions about OpenOCD
Currently, OpenOCD doesn't support the cc1352p7.
There are two open PR adding its support to Zephyr's OpenOCD[1]
and upstream OpenOCD[2].
Until this gets merged, we need to use a downstream version of OpenOCD.
This updates the documentation to explain where to find it and how to
use it.

[1] https://github.com/zephyrproject-rtos/openocd/pull/65
[2] https://review.openocd.org/q/owner:abailon%2540baylibre.com

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
2024-10-02 10:04:12 +02:00
Daniel Leung 907a3bf908 boards: add qemu_xtensa/sample_controller32/mpu
This adds the necessary bit to enable testing Xtensa MPU on
QEMU.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-10-02 09:58:36 +02:00
Daniel Leung 84c12ab5b5 boards: rename qemu_xtensa to qemu_xtensa/dc233c
This is in preparation for adding another SoC where qemu_xtensa
is no longer valid choice. So use qemu_xtensa/dc233c as it is
the same as the old qemu_xtensa.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-10-02 09:58:36 +02:00
Alberto Escolar Piedras 3ee9b40a5a eeprom sim: Enhance & refactor native part so it works w emb libCs
For the parts of the simulator which are dedicated for the native
platforms (POSIX arch based):
* Refactor the parts that interacts with the host, so it is possible to
  use it also with embedded libCs
* Enhance it with more options to allow:
  * Keeping the content just in RAM
  * Erasing the EEPROM file at exit
  * Clearing the file at boot
* Also show in the command line help the default file name.

As part of this:

* Update the kconfig dependencies, so we allow building it with other
  C libraries in the native targets
* Update the table in the native_sim docs to indicate all C libraries
  are supproted now

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-10-02 09:48:12 +02:00
Daniel DeGrasse 9c0f92db47 boards: shields: rk055hdmipi4ma0: raise MIPI DSI bit clock for RT1170
The RT1170 MIPI DPHY requires a faster clock frequency setting for
the MIPI DPHY, or the pixel packet counts for the HFP, HBP, and HSA will
be incorrect, and the DSI transfers will stall. Raise the target DPHY
clock frequency to resolve this.

Fixes #78299

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-10-01 10:49:20 +01:00
Krzysztof Sychla 92d4a88c7a boards: renode: Add virtual Cortex-R8 board
This commit adds a virtual target using the `cortex_r8_virtual` SoC.
It can be used for testing purposes and a starting point to add new R8
platforms.

Signed-off-by: Krzysztof Sychla <ksychla@antmicro.com>
Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
2024-10-01 09:58:22 +02:00
Lucas Tamborrino 3f405ea92f boards: espressif: esp32s3 eye: add video feature
Add video as supported feature.

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2024-10-01 09:51:46 +02:00
Ayush Singh 57f0894b8f boards: beagle: beagleconnect_freedom: doc: Update capabilities
- Add PWM, ADC, FLASH and Radio to docs

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2024-09-30 16:58:49 -05:00