Commit graph

82 commits

Author SHA1 Message Date
Tamas Jozsi
31e48a8b3a boards: arduino: Add support for the Arduino Nano Matter
Add device tree and support files for the Nano Matter board
based on the Silicon Labs MGM240SD22VNA chip.

Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
2025-06-21 15:31:36 +02:00
Fabio Baltieri
c1b36d7ea7 boards/shields: arduino: add few zephyr_i2c labels
Some of these are allegedly ESLOV connectors and have an extra
identification pin, but there's adapters on the market to use them with
qwiic modules, let's label them so they can be used with other
zephyr_i2c shields.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-09 14:25:20 -07:00
Loic Domaigne
0cc0034eba boards: arduino: uno_r4: enable all ioports needed by the arduino header
The arduino Uno R4 has only ioport1 enabled in the dts. The arduino
header however uses ioport0,1,3 [minima variant] and ioport 0,1,3,4
[wifi variant]. This causes a build failure for some of the pins.

This change makes sure than an application can use any arduino pins.

Signed-off-by: Loic Domaigne <tech@domaigne.com>
2025-06-09 08:56:11 +02:00
Martino Facchin
b927659711 portenta_c33: add initial documentation
Will complete the supported peripheral list and description later

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
2025-06-04 16:59:15 +02:00
Martino Facchin
e7fe269b81 boards: add support for Arduino Portenta C33
Tested:
* GPIO
* UART
* USB (using USB_DEVICE_NEXT)
* BLE

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-06-04 16:59:15 +02:00
Mark O'Donovan
b1f9351930 boards: opta: enable qspi
Features enabled by this commit:
* QSPI

Signed-off-by: Mark O'Donovan <shiftee@posteo.net>
2025-05-23 11:04:47 +02:00
Alain Volmat
99e12cbf4a dts: st: h7: move dma property of dcmi in stm32h7.dtsi
Usage of dma is mandatory for the dcmi and this property is
tightly coupled with the soc itself since the configuration of
the dma depends on the source/destination, and the request line
is also fixed for an ip.
Instead of having to always have the dma property part of the
board or shield dts/overlay, add the dma property into the
dcmi node of the stm32h7.dtsi.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-05-13 22:22:09 -04:00
Alain Volmat
0c18dc3154 boards: arduino_nicla_vision: use endpoint based properties
Update overlay following usage of video-interfaces based
endpoint properties by the dcmi driver.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-05-13 22:22:09 -04:00
TOKITA Hiroshi
95db3a66fd include: zephyr: dt-bindings: gpio: Add arduino-mkr-header defines
To make the pin names of the Arduino MKR header easier to understand,
we will introduce a macro definition for the pin names.

And also update the definition of `arduino_mkrzero` with the definitions.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-04-28 09:24:02 +01:00
TOKITA Hiroshi
e43a396674 include: zephyr: dt-bindings: gpio: Add arduino-nano-header defines
To make the pin names of the Arduino Nano header easier to understand,
we will introduce a macro definition for the pin names.

And also update the definition of `nano_33_ble`, `nano_33_iot`,
`nucleo_g031k8`, and `nucleo_l031k6` with the definitions.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-04-28 09:22:57 +01:00
TOKITA Hiroshi
05a3c55b44 dts: bindings: gpio: arduino-nano-header-r3: Remove r3 suffix
R3 is a revision of the Arduino UNO(classic), not for the Nano.
Correcting the name.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-04-28 09:22:57 +01:00
Eve Redero
cb8b1cdc74 dts: atmel: add adc node to due
Add ADC0 node and associated pincontrols
in sam3x and Arduino Due device trees.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2025-04-17 00:56:30 +02:00
Benjamin Cabé
de13103f0b boards: doc: adopt zephyr:board-supported-runners directive
Add .. zephyr:board-supported-runners:: to the Programming and Debugging
section of the documentation for each board that has one such section,
as this is the most natural place to put it.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-04-03 21:05:39 +02:00
TOKITA Hiroshi
bc70d7e101 boards: arduino: uno_r4: Add PWM mapping
Add an `arduino-header-pwm` node to map the PWM channels.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-04-02 12:56:06 +02:00
TOKITA Hiroshi
1ebffbdabb include: zephyr: dt-bindings: gpio: Add arduino-header-r3 defines
To make the pin names of the Arduino header easier to understand,
we will introduce a macro definition for the pin names.

We will use this to update the definition of `arduino_uno_r4`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-04-02 12:56:06 +02:00
Benjamin Cabé
52d8903123 boards: arduino: add twister file for Portenta rev 4.10
Add ability to target rev 4.10 of the M7 core in Twister

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-04-02 12:54:36 +02:00
Fin Maaß
d74d0f7ac7 boards: dts: stm32: add mdio and phy node
add mdio and phy node to every stm32board that
supports ethernet.
Also set the phy-handle for every ethernet mac.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-04-02 10:31:34 +02:00
TOKITA Hiroshi
84eadd2ddd boards: arduino: uno_r4: Add ADC mapping
Add `arduino,uno-adc` node for adding ADC mapping.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-03-31 08:07:01 +02:00
Johann Fischer
6348ba472c boards: portenta_h7: board must not enable USB device stack
Reintroduced by commit 8c9af42a63
("portenta_h7: enable onboard regulator") and becomes annoying to
remove again and again. There is also no test feature usb_cdc.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-03-29 07:44:01 -04:00
Ibrahim Abdalkader
0969dee311 boards: arduino: giga_r1: Add aliases for the display shield.
Aliases used by the Giga display shield.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2025-03-28 21:50:58 +01:00
TOKITA Hiroshi
230280e0e9 boards: arduino: uno_r4: Add ADC, PWM, I2C, SPI, and TRNG
Add support for basic peripherals.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-03-21 09:51:47 +01:00
Benjamin Cabé
3281b5add6 boards: arduino: Update binding description for gpio-power-switches compat
Make binding description more concise

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-18 16:40:59 +01:00
Benjamin Cabé
f7ad282504 boards: arduino: doc: Adopt Sphinx custom board directives
Adds zephyr:board and zephyr:board-supported-hw directives to the
Arduino docs in order to generate more of the boards' documentation
automatically.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-18 16:40:59 +01:00
Benjamin Cabé
e2370dd4d6 boards: arduino: add Uno R4 image
Adds a picture of the R4 Minima

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-18 16:40:59 +01:00
Benjamin Cabé
9279bddc2d boards: arduino: use revisions for Arduino Uno R4 Minima and WiFi
Use revisions instead of making these two different boards.
Deprecate old board names

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-17 21:01:57 -04:00
TOKITA Hiroshi
1ef5dfce63 boards: Migrate Renesas RA4M1 to the new configuration
Migrate to the new GPIO and Interrupt drivers based on FSP.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-03-17 16:24:42 +01:00
Eve Redero
97ee3e8894 dts: atmel: add spi node for arduino due
Add SPI0 node and associated pincontrols in Arduino Due device tree.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2025-03-11 08:59:47 +01:00
IBEN EL HADJ MESSAOUD Marwa
4283a3f79e boards: Specify PHY connection type
This commit updates the device tree source files
for all STM32 boards to specify the PHY connection
type for the Ethernet configuration.
Added the `phy-connection-type` property
with the value "rmii" to the Ethernet node.

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
2025-03-07 19:57:59 +01:00
Eve Redero
3daac6aee3 board: due: change pinctrl header to match soc
Arduino Due uses Atmel SAM3X8E, not SAM3X8H, so pinctrl should
call the appropriate header.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2025-02-27 13:27:34 +00:00
Luca Burelli
b801fe61c2 arduino_due: add Arduino connector description
This patch adds the standard Arduino UNO R3 connector description to the
Arduino Due board.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-02-26 22:05:13 +00:00
Martino Facchin
d720fd7279 portenta_h7: fix dangerous misconfiguration
Selecting the wrong power scheme could potentially destroy the board.
Luckily, the bit can only be set once and the default build still
uses the Arduino bootloader (which has the correct setting).

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
2025-02-14 03:03:10 +01:00
Martino Facchin
8f8fb147db portenta_h7: enable ethernet driver
On older Portenta H7, 1V2 power rail must be enabled
to get a functional ethernet phy.

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
2025-02-14 03:03:10 +01:00
Martino Facchin
8c9af42a63 portenta_h7: enable onboard regulator
Enable PF1550 PMIC for Arduino Portenta H7

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
2025-02-14 03:03:10 +01:00
Kurt Eckhardt
94c759d84e boards: arduino: nano_33_ble: Fix board pin map
Fix compliance check script.

Arduino nano BLE - connector.dtsi pin corrections

There were several pin mappings from Arduino pin to GPIO pin
which were not correct.

This includes Arduino pins: 7, 8, 18, 19, 21

Arduino NANO 33 BLE - init turn PWR LED on

default Power LED light on.

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
2025-02-06 21:33:30 +01:00
Luca Burelli
a59581f42d boards: arduino: fix ADC assignments for SAMD21-based boards
The ADC pin assignments for the Arduino Zero, MKR Zero and Nano 33 IoT
boards were missing in the device tree files, even though the boards
advertise ADC functionality. This was highlighted recently by commit
162f728 which made it a build error.

This patch fixes the issue by adding the detailed pinout assignments
for the analog pins on these boards.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-02-05 21:02:52 +01:00
Stephanos Ioannidis
fe87abe0b9 boards: Remove 'xtools' toolchain variant references
This commit removes all references to the `xtools` toolchain variant in the
board YAML files.

Note that the `xtools` toolchain variant has been deprecated since Zephyr
v3.3.0 and now removed.

The removal process was automated using the following command line:

  git grep -l xtools -- boards/*.{yml,yaml} | \
  xargs -n 1 -P $(nproc) \
  yq -i 'del(.toolchain[] | select(. == "xtools"))'

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2025-01-17 10:50:07 +01:00
Daniel D
b1212a9353 Bluetooth: Enable BLE support for Arduino Portenta H7
enable support by replicating giga config

Signed-off-by: Daniel D <drimyy@gmail.com>
2025-01-07 11:51:28 +01:00
Guillaume Gautier
8e4518a012 dts: arm: st: change sequencer and clock source properties into string
In all STM32 dtsi and board dts, update the st,adc-sequencer and the
st,adc-clock-source properties so they are strings.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>

fu dts: arm: st: use string instead of enum
2024-12-18 15:32:35 +01:00
Johann Fischer
272290bfee boards: use board common CDC ACM UART configuration
Remove all USB and CDC ACM configuration in favor of common
configuraiton.

Do not adapt board-specific configurations such as unknown PID/VID or
string descriptors. There is no justification for using them on specific
boards, and we do not have formal approval to use them in the project
tree. Also, we need more uniform configuration, since the main reason
for enabling CDC ACM here is to allow users to run examples like
hello_world right out of the box. Of course, anyone is free to customize
these settings in their fork or downstream project.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-12-16 20:54:30 +01:00
Johan Hedberg
8b02141ca7 Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR
Deprecate BT_CTLR, and add a new HAS_BT_CTLR as a virtual option which
specific users (like BT_LL_SW_SPLIT) select. This also means that we can
remove all places that were forcefully enabling the BT_CTLR option, and
instead we now depend on devicetree to get some local LL HCI driver
enabled which in turn also enables the HAS_BT_CTLR option.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2024-12-03 10:16:44 +01:00
Martino Facchin
4fe6d47683 boards: arduino_nicla_vision: fix hardware information
The board shares many features with other Arduinos based on STM32H747
(like the HSE in bypass mode).
Once https://github.com/zephyrproject-rtos/zephyr/pull/76542 is merged,
PF1550 support should be added too to allow switching IO voltage
from 3v3 to 1v8

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
2024-11-22 08:26:15 -05:00
Filip Kokosinski
585fb2a61b boards/arduino/portenta_h7: enable USART1 on M4
Right now, USART1 is enabled on the M7 target variant by default, leaving
M4 without a UART to use; this is the way this port was originally
contributed.

Since then, USB was enabled on M7, changing the console backend from USART1
to USB CDC ACM; the M4 target was left unchanged.

This commit enabled USART1 on the M4 variant and disabled it on the M7
variant, so that the M4 variant can use it as its console backend.

Note that, for the M4 variant, USART1 has been assigned to `zephyr,console`
and `zephyr,shell-uart` since this port was contributed, even though USART1
was always disabled on M4.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-11-22 08:25:54 -05:00
Federico Di Gregorio
1f5a1b50fa boards: opta: ADC support
A valid device tree configuration is provided for the ADCs of the 8 input
channels and the sample adc_dt works out of the box. Obviously this is
not the only possible configuration but it provides a good template for
further customization without the need to lookup the ADC GPIOs and
connections in the schematics.

Signed-off-by: Federico Di Gregorio <fog@dndg.it>
2024-11-20 15:59:53 -05:00
Federico Di Gregorio
f8ab959d7e boards: opta: RS485 support
This set of changes enables the RS485 hardware connected to usart3 and
provides some overlays that allow for easily running the modbus
rtu_client and rtu_server samples on Opta.

Signed-off-by: Federico Di Gregorio <fog@dndg.it>
2024-11-20 15:59:53 -05:00
Federico Di Gregorio
32309f8124 boards: opta: device tree cleanup
Some changes to cleanup and clarify some device tree nodes:

* removed wrong sdram2 definition
* added all internal flash slots accessible from M4
* added all internal flash slots accessible from M7
* removed CONFIG_UART_LINE_CTRL because not needed by USB CDC ACM

Signed-off-by: Federico Di Gregorio <fog@dndg.it>
2024-11-20 15:59:53 -05:00
Federico Di Gregorio
cf45ab85d2 boards: opta: ethernet reorganization
This set of changes reorganize the ethernet configuration by removing the
use a regulator to enable the PHY: the correct GPIO pin is set in code
only if the network has been configured via CONFIG_NET_L2_ETHERNET.

Signed-off-by: Federico Di Gregorio <fog@dndg.it>
2024-11-20 15:59:53 -05:00
TOKITA Hiroshi
8fe5544948 boards: arduino: uno_r4: remove CONFIG_PINCTRL from defconfig of uno_r4
This PR fixes #78619 for the Arduino UNO R4 Minima/Wifi board.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-11-20 10:14:41 +00:00
TOKITA Hiroshi
ffe6099fed boards: arduino: uno_r4: Migrate to FSP
Update configuration for migrate to FSP

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-11-20 10:14:41 +00:00
Jamie McCrae
0c7433dcaa boards: Remove PINCTRL from some boards
Removes lines from defconfig files having PINCTRL in them

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-11-16 15:27:31 -05:00
Daniel DeGrasse
a1dc0b8b3e drivers: disk: sdmmc_subsys: remove CONFIG_SDMMC_VOLUME_NAME
Remove CONFIG_SDMMC_VOLUME_NAME, and set the disk name based on the
``disk-name`` property. This aligns with other disk drivers, and allows
for multiple instances of the sdmmc_subsys disk driver to be registered.

Add disk-name properties for all in tree definitions for the
sdmmc-subsys disk driver, and change all in tree usage of the disk name

Fixes #75004

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-05 15:25:10 -06:00