Commit graph

7239 commits

Author SHA1 Message Date
Henrik Brix Andersen
efc3125fa4 boards: x86: qemu: fix CAN devicetree node address
Fix the CAN devicetree node address to match the PCIe BDF.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2022-11-02 16:14:39 +02:00
Pieter De Gendt
a24ac54e7c boards: arm: sam4s_xplained: Enable PWM
Update SAM4S Xplained to support PWM. Add PWM entry to device tree and
pin control.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2022-11-02 10:33:01 +01:00
Pieter De Gendt
8254be215b drivers: pwm: pwm_sam: Add inverted polarity support
Set CPOL bit in Channel Mode Register if the PWM polarity is inverted.

Fixes #51544

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2022-11-02 10:33:01 +01:00
Declan Snyder
9a9fc2b8a5 boards: arm: nxp: Correct node name
Node name of sdmmc disk on NXP boards should be sdmmc,
not mmc.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2022-11-02 15:43:49 +09:00
Declan Snyder
8be724d0c8 boards: Remove redundant Kconfig code
The SDMMC disk driver kconfig no longer needs to be set
at the board level, it is defaulted at the driver level
based on device tree. Remove unecessary code from NXP boards.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2022-11-02 15:43:49 +09:00
Miguel Dardenne
64260b8e41 doc: Fix several ARM boards Hello World documentation
Update documentation following e36c7f5b2b

Signed-off-by: Miguel Dardenne <miguel.dardenne@gmail.com>
2022-11-02 15:40:32 +09:00
Henrik Brix Andersen
22e5037015 boards: x86: qemu: add Kvaser PCIcan devicetree node
Add a devicetree node for emulating the Kvaser PCIcan CAN controller card.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2022-11-01 15:22:31 -04:00
Peeyush Kumar
6ad1d7d814 boards: arm: nrf52840_papyr: Update documentation link
Updates an old broken link with a replacement for the
nrf52840_papyr board.

Signed-off-by: Peeyush Kumar <peeyush.ei@gmail.com>
2022-11-01 12:00:40 +01:00
Peter Johanson
4baf2eb751 boards: arm: Correct LED flags for XIAO board.
LEDs on the XIAO are active low, so set the flags appropriately.

Signed-off-by: Peter Johanson <peter@peterjohanson.com>
2022-11-01 08:56:15 +00:00
Kumar Gala
117039ca2b IPM: remove defconfig/proj setting of IPM drivers
Now that IPM drivers are enabled based on devicetree we can
remove any cases of them getting enabled by Kconfig, *defconfig*,
and *.conf files.

We need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-31 16:45:56 -05:00
Flavio Ceolin
13bedbe1c9 intel: ace15: Enabling sha driver by default
Enable intel-adsp-sha driver y default when it is enabled in DT.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2022-10-31 12:45:33 -07:00
Nikolay Agishev
2fb1384da6 boards: qemu_arc_hs: Add separate xip & non-xip configs
Two separate configs for qemu_arc_hs and qemu_arc_hs_xip
were added.

Signed-off-by: Nikolay Agishev <agishev@synopsys.com>
2022-10-31 17:03:44 +01:00
Gaël PORTAY
cd9d2db892 boards: heltec_wifi_lora32_v2: enable lora
This enables the support for the Semtech SX1276 chip on board (see the
pinout[1] and schematic[2] documents).

The chip is connected to SPI as follow:

| PIN  | GPIO   |
| ---- | -------|
| CS#  | GPIO18 |
| CLK  | GPIO5  |
| MOSI | GPIO27 |
| MISO | GPIO19 |
| RST# | GPIO14 |

Additionally, the LoRa DIO PINs are connected as follow:

| PIN  | GPIO   |
| ---- | -------|
| DIO0 | GPIO26 |
| DIO1 | GPIO35 |
| DIO2 | GPIO34 |

_Note_: The first three DIO PINs are connected to the ESP32 MCU only.

[1]: https://resource.heltec.cn/download/WiFi_LoRa_32/WIFI_LoRa_32_V2.1.pdf
[2]: https://resource.heltec.cn/download/WiFi_LoRa_32/V2/WIFI_LoRa_32_V2(868-915).PDF

Signed-off-by: Gaël PORTAY <gael.portay@gmail.com>
2022-10-31 11:23:20 +01:00
Keith Packard
217528f2de boards/qemu_x86_tiny: Shrink reserved pages for picolibc heap
Just like newlib.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-10-31 17:17:42 +09:00
Andrei Emeltchenko
a2aa462f7d qemu_x86: Use Qemu Q35 machine feature (ICH9)
Using very old machine does not make sense anymore. Switch to the new
Q35 (https://wiki.qemu.org/Features/Q35). Among other things it allows
to test SMBus and watchdog.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2022-10-29 11:30:01 +03:00
Jay Vasanth
b138f26cf4 boards: mec172xevb: Fix cmake no sources warning
Microchip MEC172x EVB no longer has any C files in board
folder. Remove the cmake library rule as it it causing
a build warning due to no source files.

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-10-28 14:29:46 -05:00
Alberto Escolar Piedras
3a8749e430 doc: posix boards: Add much more content
Added much more content describing the posix boards
specially the nrf52_bsim.

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2022-10-28 15:05:01 +02:00
Alberto Escolar Piedras
a3b0df6666 doc: posix arch: Refactor arch docs into own page
Refactor the POSIX arch documentation out of the
native_posix page into its own page.
Originally native_posix was the only POSIX arch based
board, but this has not been the case anymore for several
years.
The architecture part of the documentation being in the
native_posix doc has created uneeded confusion over time.
Both due to this, and as preparation for much more
documentation for the bsim boards, refactor it out.

This is mostly a refactoring exercise, with only very
minor changes in the text to keep it consistant with
the move.

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2022-10-28 15:05:01 +02:00
Johann Fischer
b26fca430c drivers: flashdisk: remove all DISK_FLASH* Kconfig options
Remove all obsolete DISK_FLASH* Kconfig options.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2022-10-28 12:45:58 +02:00
Mahesh Mahadevan
47877f7e8a boards: nxp: Enable RTC on RT595 EVK
Enable RTC on RT595 EVK

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2022-10-27 10:17:07 -05:00
Thomas Stranger
95778c3227 boards: shields: mcp2515: doc: update sample path
The path of the sample has changed in the meantime, update this in
the docs of the board.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2022-10-27 11:02:57 +02:00
Johan Hedberg
99f9512fec boards: x86: rpl_crb: Remove redundant HPET enabling
The HPET timer already defaults to 'y', so it's unnecessary to enable it
in the board configuration.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2022-10-25 14:10:50 +03:00
Yinfang Wang
ba99952147 boards: x86: Add rpl_crb board definition
Add initial definition for the Raptor Lake CRB board.

Signed-off-by: Yinfang Wang <yinfang.wang@intel.com>
2022-10-25 09:51:37 +03:00
TOKITA Hiroshi
88cf0ad506 boards: arduino_nano_33_ble: add support for blackmagicprobe
Add support to debugging and flashing with the blackmagicprobe.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2022-10-24 18:37:35 -05:00
Sam Hurst
e2f5fcd91a samples: usb-c: sink: Add USB-C Subsystem Sink Sample
Implementing USB-C Sink functionality can be difficult.
This sample application serves as an example of how
to create an application with Power Delivery Sink
functionality.

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-10-22 18:38:35 -04:00
Sam Hurst
a2eae3a107 boards: arm: stm32g081b_eval: Remove USB-C VBUS2 Discharge configuration
Remove USB-C VBUS2 Discharge configuration node from device tree.
USBC VBUS discharge is controlled by the vbus driver.
See dts/bindings/usb-c/vbus-adc.yaml

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-10-22 18:38:35 -04:00
Sam Hurst
99e07709ff boards: arm: Update STM32 UCPD nodes with pin control
Assign the pins for the STM32G071b and STM32G081b STM32
UCPD peripherals so the UCPD driver can properly
configure the device.

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-10-22 18:38:35 -04:00
Nikolay Agishev
0422a04bfe boards: qemu_arc: fix of MPU regions setup for !XIP config
Add some changes to ARC linker script. They make correct alignment
for ROMable region. Now regions borders are aligned with respect
to MPU settings.

Signed-off-by: Nikolay Agishev <agishev@synopsys.com>
2022-10-21 20:31:31 +02:00
Thomas Antonini
018c5fe0b8 doc: fix ST B_U585I typo
This commit fixes the ST B_U585I_IOT02A Discovery kit "Supported
Features" table that is not well formatted.

Signed-off-by: Thomas Antonini <antonini.thomas@gmail.com>
2022-10-21 20:31:06 +02:00
Michal Sieron
20a8dd5491 boards: arm: Add Qomu board
Add Qomu board device tree and configuration files.
Qomu source files: https://github.com/QuickLogic-Corp/qomu-dev-board/

Signed-off-by: Michal Sieron <msieron@antmicro.com>
2022-10-20 15:41:09 +02:00
Kumar Gala
6393a7ce5c smp: Kconfig: Move to using MP_MAX_NUM_CPUS
Continue to phase out MP_NUM_CPUS, change Kconfig to be
MP_MAX_NUM_CPUS and make MP_MAX_NUM_CPUS the main Kconfig symbol.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-20 22:04:10 +09:00
Francois Ramu
5906bad7c3 boards: arm: stm32f3 disco has stm32cubeprogrammer as runner
Adds the stm32cubeprogrammer as runner of the stm32f3_disco

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-10-19 16:42:58 +02:00
Kumar Gala
81d904554a boards: Change defconfigs to use CONFIG_MP_MAX_NUM_CPUS
Move to using CONFIG_MP_MAX_NUM_CPUS in defconfig as we phase
out CONFIG_MP_NUM_CPUS.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-19 16:01:20 +02:00
Kumar Gala
2f031efea8 cmake: sim: Update simulator related cmake to use CONFIG_MP_MAX_NUM_CPUS
Update cmake related files that are used by simulators to use
CONFIG_MP_MAX_NUM_CPUS instead of CONFIG_MP_NUM_CPUS as we work to
phase out CONFIG_MP_NUM_CPUS.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-19 16:01:10 +02:00
Daniel DeGrasse
842ee0acf3 drivers: regulator: support regulator-boot-on for PMIC driver
Add support for regulator-boot-on to PMIC driver. Many PMIC devices will
be enabled at boot, so this property allows the regulator framework
to correctly track their state.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-10-18 14:12:52 +02:00
Stephanos Ioannidis
cf8f42c5e6 boards: mps3_an547: Add flash and RAM size attributes
This commit adds the flash and RAM size attributes to the board YAML
file so that the board can be properly filtered by memory sizes.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-10-18 17:52:48 +09:00
Daniel DeGrasse
5ab62a4377 boards: mimxrt1160_evk_cm4: enable standalone debugging
Enable standalone debugging of secondary CM4 core on MIMXRT1160 EVK.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-10-17 13:46:37 -05:00
Gerard Marull-Paretas
178bdc4afc include: add missing zephyr/irq.h include
Change automated searching for files using "IRQ_CONNECT()" API not
including <zephyr/irq.h>.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-10-17 22:57:39 +09:00
Katarzyna Giądła
2ead05f4ed boards: Add support of network interfaces for NRF boards.
This changes add to files with boards specification
information about support of the network interface.

Signed-off-by: Katarzyna Giądła <katarzyna.giadla@nordicsemi.no>
2022-10-17 10:14:54 +02:00
Francois Ramu
634086502b boards: arm: nucleo_l073rz platform has an eeprom
Add the eeprom peripheral to the nucleo_l073rz board
from STMicroelectronics.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-10-17 14:41:01 +09:00
Jay Vasanth
ae9de20222 drivers: spi: Added MEC172x full duplex qmspi driver
Add MEC172x full duplex qmspi driver version to support full
duplex transfers as expected by the Zephyr spi driver model.
On every spi clock we transmit one bit and receive one bit.
This driver will work with Zephyr SPI NOR driver.

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-10-14 14:09:51 -05:00
Jay Vasanth
3f1da206f8 dts: microchip: spi: move common properties to a separate include
updated dts variables naming (hyphen instead of underscore).
moved all properties in microchip ldma yaml to a separate include file,
these properties will be common with the (to be added)
full duplex spi driver.

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-10-14 14:09:51 -05:00
Andriy Gelman
7f00371948 drivers: uart_xmc4xxx: Add fifo support
Adds fifo support for tx/rx.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2022-10-14 15:06:19 +02:00
Andriy Gelman
5313598f6a drivers: uart_xmc4xxx: Add interrupt driven support
Add interrupt driven support.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2022-10-14 15:06:19 +02:00
Martin Jäger
cfc31830b3 boards: riscv: esp32c3_devkitm: enable TWAI peripheral
The board does not have a CAN transceiver on board, but the driver
can be tested in loopback mode with the CAN RX and TX pins shorted.

Signed-off-by: Martin Jäger <martin@libre.solar>
2022-10-14 09:55:09 +02:00
Manuel Arguelles
390f5bad8f boards: s32z270dc2_r52: add docs
Document supported features and basic how-to for s32z270dc2_r52 boards.

Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
2022-10-14 09:51:14 +02:00
Manuel Arguelles
c74d032433 boards: arm: s32z270dc2_r52: enable GPIO driver
Enable GPIO driver on s32z270dc2_r52 boards. S32Z27 pads are grouped
into GPIO ports A to N.

Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
2022-10-14 09:51:14 +02:00
Manuel Arguelles
88685d32fa boards: arm: s32z270dc2_r52: enable serial driver
Enable serial driver and Zephyr console on this board.

Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
2022-10-14 09:51:14 +02:00
Manuel Arguelles
396054961d boards: arm: s32z270dc2_r52: enable pinctrl driver
Enable pinctrl driver, configuration for pinctrl node to be added in
future patches.

Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
2022-10-14 09:51:14 +02:00
Manuel Arguelles
6bee9e1157 boards: arm: introduce s32z270dc2_r52 support
This patch introduces the support for NXP X-S32Z27X-DC(2) board.
Each S32Z27 Real-Time Unit (RTU) is defined as a separate board to
allow the user to run Zephyr on a specific RTU.

Currently is only possible to use Lauterbach TRACE32 west runner to load
and execute a Zephyr application from internal SRAM.

Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
2022-10-14 09:51:14 +02:00