Commit graph

6487 commits

Author SHA1 Message Date
Gerard Marull-Paretas aa1988f0ca boards: riscv: hifive: disable spi0 and flash0 by default
When flash connected to spi0 is used as ROM Flash, it can't be
instantiated. spi0 is in fact disabled now with CONFIG_SIFIVE_SPI_0_ROM,
which defaults to y. However, the child flash device is not. This causes
issues with tests relying on `jedec,spi-nor` because they can't find a
parent device.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-07-11 17:56:55 +02:00
Kumar Gala de49b0a926 boards: arm: pinnacle_100_dvk: Add GPIO flags for hl7800 to dts
Update devicetree to have GPIO flags set for various pins on the
hl7800 modem.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-11 07:46:22 -05:00
Julien Massot 189caf368e boards: arm: fvp_baser_aemv8r_aarch32: enable ARM_MPU
Now that we have support for ARMv8-R MPU and static
mpu regions define at SoC level we can enable the ARM MPU.

Signed-off-by: Julien Massot <julien.massot@iot.bzh>
Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
2022-07-11 11:17:02 +02:00
Andrzej Głąbek 89421bf758 boards: thingy53_nrf5340: Reference usbd node from the common dts file
The thingy53_nrf5340 board definition based on the nrf5340dk_nrf5340
and thus added separate references to the usbd node for the secure and
non-secure targets, what unnecessary complicates things. This commit
replaces the references with one done from the common cpuapp dts file.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-07-11 11:03:56 +02:00
Andrzej Głąbek 915419ca2b boards: nrf5340dk_nrf5340: Clean up common cpuapp dts node definitions
In commit 619a498845, the initialization
of the spi2 node has been moved from the nrf5340_cpuapp_common.dts file
to separate dts files for secure/non-secure targets. That was done
to make the node unavailable in the nRF5340 PDK, that was also using
the common file, because it was non-functional on that board.
For the same reason, the initialization of the usbd node could not
be done in the common file and instead it had to be added separately
for the secure and non-secure targets.
Now that the nRF5340 PDK is no longer supported, there is no point in
keeping such complication. The usbd node initialization is moved to the
common file but the spi2 node initialization is removed and instead the
spi4 node is enabled, as it is labeled as arduino_spi and is assigned
with the same pins.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-07-11 11:03:56 +02:00
Yuriy Vynnychek d69e736e0a boards: riscv: tlsr9518adk80d: add Telink B91 ADC driver support
Added ADC driver board support.

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
2022-07-08 11:07:18 +02:00
Yuriy Vynnychek 53c6983442 dts: riscv: add Telink B91 ADC driver support
Added ADC driver DTS support for Telink B91 platform.

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
2022-07-08 11:07:18 +02:00
Daniel DeGrasse 8f6fef93d7 boards: mimxrt11xxx: update partition alignment for MCUBoot
update partition alignment for iMX RT1170 and RT1160 to enable storing
MCUBoot image in boot partition.

Fixes #45486

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-07-07 17:55:28 +00:00
Joep Buruma b876ad9d6f boards: arm: rpi_pico: add pwm bindings to devictree
Add bindings for pwm-leds to the rpi pico board. The default
pwm binding is connected to the onboard LED (P25).

Signed-off-by: Joep Buruma <burumaj50@gmail.com>
2022-07-07 15:17:26 +02:00
Martin Jäger 184d8d813d boards: riscv: esp32c3_devkit_m: enable USB serial
Enable the USB serial / JTAG interface so that it is compiled during
build tests.

Signed-off-by: Martin Jäger <martin@libre.solar>
2022-07-07 13:14:00 +00:00
Freddie Yang 6185bf219c boards: update nrf51_ble400 configurations
nrf51_ble400 core board upgrades chip to nRF51822_QFAC

Signed-off-by: Freddie Yang <freddie.yang325@outlook.com>
2022-07-07 10:16:14 +02:00
Pieter De Gendt e381170282 uart_pipe: Remove obsolete UART_PIPE_ON_DEV_NAME Kconfig
The UART pipe device is selected with devicetree chosen zephyr,uart-pipe

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2022-07-07 09:59:49 +02:00
Anas Nashif e3c9eb2495 intel_adsp: add the board definition for the Meteorlake
Board definition for the meteorlake platform.
Enable intel_adsp_ace15_mtpm in the sof sample.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Co-authored-by: Michal Wasko <michal.wasko@intel.com>
Co-authored-by: Konrad Leszczynski <konrad.leszczynski@intel.com>
2022-07-06 15:11:07 -04:00
Kumar Gala c96f8f9c29 samples: lsm6dso: Convert to use DEVICE_DT_GET_ONE
Move to use DEVICE_DT_GET_ONE instead of device_get_binding as
we work on phasing out use of DTS 'label' property.

Also, Removed 'lsm6dso' from board & sample yaml's and move to just
filtering based on devicetree compat.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-06 12:26:42 -05:00
Alexandre Duchesne 4c9f1ca877 boards: arm: gigadevice: Initial support for gd32f470ik
Add initial support for the GD32F470I evaluation board.

Signed-off-by: Alexandre Duchesne <alexandre.duchesne@rtone.fr>
2022-07-06 13:22:25 +02:00
Marcin Niestroj d32d4af935 boards: arm: add Seeed XIAO BLE board
The Seeed XIAO BLE is a tiny (21 mm x 17.5 mm) Nordic Semiconductor
nRF52840 ARM Cortex-M4F development board with onboard LEDs, USB port,
QSPI flash, battery charger, and range of I/O broken out into 14 pins.

Co-authored-by: Peter Johanson <peter@peterjohanson.com>
Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-07-06 10:58:37 +02:00
Jamie McCrae e8d8ad51e8 boards: rpi_pico: Added Watchdog timer to supported feature list
Adds Watchdog timer (WDT) to the list of supported features for the
Raspberry Pi Pico board.

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2022-07-06 10:52:29 +02:00
Jamie McCrae a20eb66742 drivers: watchdog: Add Raspberry Pi Pico watchdog driver
This adds basic support for the watchdog timer on the RP2040 MCU and
Raspberry Pi Pico development board

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2022-07-06 10:52:29 +02:00
Thomas Stranger 442b06d02a tests: drivers: w1: add basic api test
This commit adds basic api tests for the w1 driver.

These tests mostly make sure that everything compiles without
errors. They expect a w1-bus configuration without any connected slave.
No bidirectional read/write tests are executed.
Send tests simply send without verifying the output,
and receive tests expect an idle bus(receiving only logical ones).

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2022-07-05 23:06:45 +02:00
Jonas Otto b537e90bc8 boards: fix pin documentation for LPUART1 on teensy4
LPUART1 is configured on pins ad_b0_12 and ad_b0_13, which corresponds
to teensy pins 24/25.

Signed-off-by: Jonas Otto <jonas@jonasotto.com>
2022-07-05 12:07:43 -04:00
Olof Johansson 78847e92cb dtc: riscv: esp32c3_devkitm: silence dtc warning
dtc warns about prefix 0's on the first partition (@0000). Remove the
extra digits.

Signed-off-by: Olof Johansson <olof@lixom.net>
2022-07-04 14:39:43 -04:00
Jose Alberto Meza 008593c57b boards: arm: mec172x: Configure KSI with internal pull-up
Even though possible to use external pull-up and open drain buffer,
prefer internal pull-up to reduce power consumption.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2022-07-04 16:23:03 +02:00
Jose Alberto Meza 2fed22c26a boards: arm: mec172xevb: Update SPI HW block properties
Reflect device tree field name.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2022-07-04 16:18:42 +02:00
TOKITA Hiroshi 3b4e6c76f6 samples: fat_fs: Add arduino_mkrzero to supported board list
Update README.rst for adding arduino_mkrzero to
supported board list in README.rst.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2022-07-04 16:00:56 +02:00
TOKITA Hiroshi 085bee1587 boards: arm: Add support Arduino MKR Zero
The Arduino MKR Zero board is SAMD21 development board.
It has microSD card slot and secure element.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2022-07-04 16:00:56 +02:00
Christian Taedcke e71c2d1893 boards: efm32pg_stk3402a: Add minimal pwm support
With this additions samples/basic/blinky_pwm works.
LED0 is used as pwm output.

Signed-off-by: Christian Taedcke <hacking@taedcke.com>
2022-07-04 15:51:11 +02:00
Steven Lemaire 2ce8662b95 board: arm: efr32_radio: use vcom pins as default for the brd4180a board
It is assumed the user will use the VCOM port by default, making the
serial port available to the host PC over USB or Ethernet, instead of
using an external serial adapter.

Signed-off-by: Steven Lemaire <steven.lemaire@zii.aero>
2022-07-04 15:47:35 +02:00
Sahaj Sarup 9320dc7921 board: arm: Add support for Black Pill V1.2 F401CC
Changes:

 - Copied over board files for blackpill_f401ce
 - Changed appropriate soc dtsi from stm32f401Xe.dtsi to stm32f401Xc.dtsi
 - Replaced any instance of F401CE to F401CC
 - Added blackpill_401cc to adc test

In essense the blackpill_f401ce and blackpill_f401cc are the exact
same boards,
the f401cc variant of the stm32 mcu has lesser sram and flash than
the f401ce.

Signed-off-by: Sahaj Sarup <sahaj.sarup@linaro.org>
2022-07-04 15:46:03 +02:00
Erwan Gouriou 6656607d02 boards: nucleo_wb55rg: Fix documentation about BLE binary compatibility
Rather than stating a version information that will get out of date
at each release, refer to the source of information located in hal_stm32
module.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-07-04 12:41:52 +02:00
Kumar Gala 677aa22e23 boards: particle_xenon: Use GPIO_DT_SPEC for gpio handling
Convert gpio handling to use GPIO_DT_SPEC as this removes the use
of DT_LABEL.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-04 09:51:05 +02:00
Kumar Gala 9c3ab19a93 boards: particle_boron: Use GPIO_DT_SPEC for gpio handling
Convert gpio handling to use GPIO_DT_SPEC as this removes the use
of DT_LABEL.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-04 09:51:05 +02:00
HaiLong Yang f54df1640f boards: add adc support for gd32 boards
This add adc support for gd32f350r_eval, gd32f450i_eval and
gd32vf103v_eval boards.

Signed-off-by: HaiLong Yang <hailong.yang@brainco.cn>
2022-07-04 09:48:32 +02:00
Enjia Mai a1e388ea2e soc: xtensa: keep the CAVS old flasher still works
Keep the cavstwist.sh it is still working by specifying an
environment variable when CAVS_OLD_FLASHER is set. Provide
a fallback once the client-server-based tool does not work
well in some conditions.

Signed-off-by: Enjia Mai <enjia.mai@intel.com>
2022-07-02 06:06:19 -04:00
Maureen Helm adc37bad40 boards: Configure I2C/SPI default for boards with magnetometer alias
For all boards that have a magnetometer devicetree alias, configure the
appropriate bus (I2C or SPI) default to be enabled when the sensor
driver class is enabled. This will simplify enabling the magn_polling
sample application for these boards (and using the magnetometer in
general) because it will eliminate the need to add a bunch of
board-specific configuration overlays to the application.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-07-02 06:03:33 -04:00
Maureen Helm 87fc3f0934 boards: Set magnetometer devicetree alias for lsm303dlhc-magn nodes
Sets a magnetometer devicetree alias for all boards that contain the
LSM303DLHC sensor to enable the magn_polling sample application.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-07-02 06:03:33 -04:00
Maureen Helm ee868a5e06 boards: Set magnetometer devicetree alias for lsm303agr-magn nodes
Sets a magnetometer devicetree alias for all boards that contain the
LSM303AGR sensor to enable the magn_polling sample application.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-07-02 06:03:33 -04:00
Maureen Helm 99f7701a72 boards: Set magnetometer devicetree alias for lis2mdl nodes
Sets a magnetometer devicetree alias for all boards that contain the
LIS2MDL sensor to enable the magn_polling sample application.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-07-02 06:03:33 -04:00
Maureen Helm 82dfaf2443 boards: Set magnetometer devicetree alias for bmm150 nodes
Sets a magnetometer devicetree alias for all boards that contain the
BMM150 sensor to enable the magn_polling sample application.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-07-02 06:03:33 -04:00
Maureen Helm 64de633b2e boards: Set magnetometer devicetree alias for fxos8700 nodes
Sets a magnetometer devicetree alias for all boards that contain the
FXOS8700 sensor to enable the magn_polling sample application.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-07-02 06:03:33 -04:00
Maureen Helm b789c11775 drivers: sensor: Change fxos8700 default mode from accel-only to hybrid
The fxos8700 device supports 3 modes: accelerometer-only,
magnetometer-only, or hybrid (accelerometer and magnetometer) modes. The
accelerometer-only mode is register compatible with mma8451q, mma8652fc,
and mma8653fc, which allows the fxos8700 driver to be used with these
devices as well.

Most in-tree boards can use hybrid mode because they have the fxos8700
device, therefore we change the driver default to match the common case.
For the handful of boards that have an mma86xx or mma84xx device, we
override the driver default to accelerometer-only mode. As a result, we
can enable the magn_polling sample application for the fxos8700 driver
without having to add a bunch of board-specific configuration overlays
for hybrid mode.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-07-02 06:03:33 -04:00
Kumar Gala 287acdbb9d i2c: sam0: Set driver Kconfig default based on devicetree
Change Kconfig default to be based on if the devicetree has the
atmel,i2c-sam0 driver enabled.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-01 15:05:55 -05:00
Glauber Maroto Ferreira 5686368eec boards: riscv: esp32c3_devkitm: dts: use pin grouping
Updates device tree pin states definitions and node
descriptions to group pins sharing common properties.

Accordingly, updates in-tree overlays as well.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-07-01 16:22:18 +00:00
Glauber Maroto Ferreira f82d3d444d boards: xtensa: esp32s2_saola: dts: use pin grouping
Updates device tree pin states definitions and node
descriptions to group pins sharing common properties.

Accordingly, updates in-tree overlays as well.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-07-01 16:22:18 +00:00
Glauber Maroto Ferreira bebfaa04aa boards: xtensa: olimex_esp32_evb: dts: use pin grouping
update device tree pin states definitions and node
descriptions to group pins sharing common properties.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-07-01 16:22:18 +00:00
Glauber Maroto Ferreira 46aa698001 boards: xtensa: odroid_go: dts: use pin grouping
update device tree pin states definitions and node
descriptions to group pins sharing common properties.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-07-01 16:22:18 +00:00
Glauber Maroto Ferreira ef76f1ae42 boards: xtensa: heltec_wifi_lora32_v2: dts: use pin grouping
update device tree pin states definitions and node
descriptions to group pins sharing common properties.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-07-01 16:22:18 +00:00
Glauber Maroto Ferreira dfad263fc2 boards: xtensa: esp_wrover_kit: dts: use pin grouping
- update device tree pin states definitions and node
descriptions to group pins sharing common properties.
- update fat_fs sample code overlay.
- remove unused ledc pin states

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-07-01 16:22:18 +00:00
Glauber Maroto Ferreira f79029a074 boards: xtensa: esp32: dts: use pin grouping
- update device tree pin states definitions and node
descriptions to group pins sharing common properties.
- update ESP32's in-tree overlays.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-07-01 16:22:18 +00:00
Francois Ramu a3b42b55dc boards: arm: stm32g071 nucleo defines its vref for ADC
The Vref is defined by the nucleo board hardware.
This property is common to ADC channels
and required in the DTS.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-07-01 11:34:17 +02:00
Kumar Gala 74afc2df06 boards: particle_argon: Use GPIO_DT_SPEC for gpio handling
Convert gpio handling to use GPIO_DT_SPEC as this removes the use
of DT_LABEL.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-06-30 14:12:58 -05:00