Commit Graph

7399 Commits

Author SHA1 Message Date
Fabio Baltieri
bc612b8ebd boards: arm: add Arduino GIGA
Add support for the Arduino GIGA board, an STM32H747XI based development
board in Arduino form factor, featuring external flash, SDRAM, Bluetooth
and WiFi.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-03-06 12:33:57 +01:00
Fabio Baltieri
29cc07efbd board: teensy: drop spi-nor from the flash nodes
These are RT1060 based boards that use the flash for XIP, the bus
(nxp,imx-flexspi) lives under memc or flash. Declaring the flash as
"jedec,spi-nor" causes the SPI NOR driver to create an instance for it,
but then there's no bus and the build fails.

Dropping the spi-nor compatible seems to fix the problem.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-03-06 09:44:10 +01:00
Daniel DeGrasse
6a92551755 boards: arm: mimxrt595_evk: add configuration for RM68200 display
Add configuration for RM68200 MIPI display. This display
controller drives a 1280x720 LCD display.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-03-04 09:19:26 +01:00
Andriy Gelman
33d1792e3d drivers: spi: Add xmc4xxx driver
Adds spi driver for xmc4xxx SoCs.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2023-03-03 17:20:17 +01:00
Ben Lauret
70c6befa88 drivers: watchdog: implement Smartbond watchdog driver
This patch adds watchdog driver for Renesas Smartbond SOCs.

Co-authored-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>

Signed-off-by: Ben Lauret <ben.lauret.wm@renesas.com>
2023-03-03 11:02:37 +01:00
Ben Lauret
36ac1ee2a2 drivers: entropy: add Renesas SmartBond entropy generator driver
This adds driver for SmartBond TRNG peripheral that with separate
ISR an thread data pools.

Co-authored-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>

Signed-off-by: Ben Lauret <ben.lauret.wm@renesas.com>
2023-03-03 11:01:36 +01:00
Erwan Gouriou
c9b57cdfde boards: stm32f7/stm32h7: Configure external SDRAM region with RAM attribute
On M7 based STM32 boards, external SDRAM may be present and mapped in the
area 0xC0000000-0xDFFFFFFF.
According to ARMv7-M Architecture Reference Manual chapter B3.1
(table B3-1), this area is specified as Device Memory Type, with the
consequence that all accesses should be naturally aligned, otherwise
a hard fault will be triggered whatever UNALIGN_TRP status in the CCR reg.

To avoid this issue, when available, configure external SDRAM memory
regions as a MPU with RAM attribute.

Fixes #54670

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2023-03-03 10:46:40 +01:00
TOKITA Hiroshi
746dddd698 boards: arm: sparkfun_pro_micro_rp2040: add regulator definition on dts
Add a regulator node to keep it always on.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2023-03-02 21:14:34 +01:00
TOKITA Hiroshi
652808da0d boards: arm: adafruit_kb20240: add regulator definition on dts
Add a regulator node to keep it always on.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2023-03-02 21:14:34 +01:00
TOKITA Hiroshi
36d35ef3d0 boards: arm: rpi_pico: add regulator definition on dts
Add a regulator node to keep it always on.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2023-03-02 21:14:34 +01:00
Jay Vasanth
e56721b8f0 dts: gpio: Add Microchip XEC GPIO macros for use in device tree
Microchip XEC devices specify GPIO pin using octal numbering and
organize pins in banks of 32. Chip documentation does not use
bank naming rather naming each pin by its octal number. This has
led to the developer having to calculate the bit position of a pin
in its 32-bit bank when a specifying the pin for GPIO usage. We
created a set of defines for all possible GPIO pins that specify
the DT GPIO bank name used in the chip level DTSI files and the
bit position in that bank.

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2023-03-02 13:52:03 +01:00
Grant Ramsay
37ca1034dd boards: arm64: Configure phyCORE-AM62x A53 UART0 using pinctrl
This demonstates how to use the TI K3 pincrtl driver.
Previously UART0 only worked becuase U-Boot leaves it configured

Signed-off-by: Grant Ramsay <gramsay@enphaseenergy.com>
2023-03-02 13:50:06 +01:00
Ben Marsh
adc59be23f boards: arm: stm32h735g_disco: Enable DT mac node
This board's documentation states the current configuration supports
Ethernet. However, the mac node was not enabled in devicetree.

This commit enables the mac node in devicetree.

Signed-off-by: Ben Marsh <ben.marsh@helvar.com>
2023-03-02 09:03:23 +01:00
Jay Vasanth
f8d9465332 pm: adc: MEC172x adc device PM support
update MEC172x adc driver to support device PM.
Implement pm resume and suspend actions to put adc
pins in proper state for suspend and resume.
Notify kernel of busy when adc sampling is in progress.

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2023-03-01 08:41:16 -06:00
Nazar Palamar
41eec536fb boards: arm: Introduce Infineon CY8CPROTO-062-4343W board
Add initial version of CY8CPROTO-062-4343W board.

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2023-03-01 11:44:57 +01:00
Jamie McCrae
7897a3f347 boards: arm: bl5340_dvk: Add MCP7940N
Adds the Microchip MCP7940N RTC/BBRAM device to the board file.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-01 08:55:39 +01:00
Jamie McCrae
f97106e113 boards: arm: bl654_dvk: Add MCP7940N
Adds the Microchip MCP7940N RTC/BBRAM device to the board file.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-01 08:55:39 +01:00
Jamie McCrae
0286549d20 boards: arm: bl653_dvk: Add MCP7940N
Adds the Microchip MCP7940N RTC/BBRAM device to the board file.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-01 08:55:39 +01:00
Jamie McCrae
2f953142b0 boards: arm: bl652_dvk: Add MCP7940N
Adds the Microchip MCP7940N RTC/BBRAM device to the board file.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-01 08:55:39 +01:00
Gerard Marull-Paretas
9f82440521 boards: pinnacle_100_dvk: remove oudated pin selection docs
Pins are now configured using pinctrl, remove outdated documentation.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-02-28 08:42:05 -08:00
Lucas Tamborrino
ca0c46604f dts: esp32s3: add i2c support
Add i2c support for esp32s3

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2023-02-28 14:44:47 +01:00
Stanley Huang
5cac2aa377 boards: arm: add raytac_mdbt50q_db_40_nrf52840
Adds new raytac_mdbt50q_db_40_nrf52840 board.

Signed-off-by: Stanley Huang <stanley@raytac.com>
2023-02-28 13:56:24 +01:00
Stanley Huang
ca552eaf20 boards: arm: add raytac_mdbt50q_db_33_nrf52833
Adds new raytac_mdbt50q_db_33_nrf52833 board.

Signed-off-by: Stanley Huang <stanley@raytac.com>
2023-02-28 13:56:24 +01:00
Dawid Niedzwiecki
2d0a784c41 subsys/mgmt/ec_host_cmd: rework Host Command support
Rework the Host Command support. It includes:
-change API to backend
-change a way of defining rx and tx buffers
-fix synchronization between the handler and backend layer
-simplify the HC handler

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2023-02-28 10:42:23 +01:00
Dawid Niedzwiecki
b2674a4b34 subsys/mgmt/ec_host_cmd: rename peripheral to backend
Follow naming pattern in the subsystems(logging or shell) and name
the layer between generic handler and peripheral driver "backend".

The name doesn't suit that well to the SHI backend, because there isn't
SHI API itself and the SHI interface is used only for the host
communication. So the backend code includes the peripheral driver itself.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2023-02-28 10:42:23 +01:00
Jonas Otto
3d6608ccb3 boards: longan_nano: add dfu-util runner
This adds the runner arguments for dfu-util to the longan_nano board,
to allow flashing via DFU in addition to openocd.

Signed-off-by: Jonas Otto <jonas@jonasotto.com>
2023-02-28 10:29:03 +01:00
Ben Marsh
30e0fa82f8 boards: arm: stm32h735g_disco: Enable ADC support
Enable ADC support for the stm32h735g_disco board in devicetree

Signed-off-by: Ben Marsh <ben.marsh@helvar.com>
2023-02-28 10:26:26 +01:00
Sylvio Alves
bc9b59a19c boards: esp32s3_devkitm: initial soc board support
Adds support to ESP32-S3 devkitm as initial SoC board.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-02-27 19:41:33 +01:00
Seppo Takalo
869aee9c57 boards: arm: nrf9160dk_nrf52840: flow control pins crossed
Devicetree pinout was written according to datasheet,
but RX and TX were crossed because labels in the datasheet
are written from debug interface point of view.
However, it seems that flow control pins were not crossed.

Fixes #54768

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2023-02-27 15:41:00 +01:00
Pieter De Gendt
a6ff01cc3d drivers: flash: spi: Move to using select in Kconfig for SPI bus
Move to using 'select SPI' instead of 'depends on SPI'
(see commit df81fef for more details)

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2023-02-27 14:35:15 +01:00
Francois Ramu
f29c5a4129 boards: arm: stm32u585 disco kit with BackUp SRAM
Add the BackUp RAM to the b_u585i_iot02 board.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-02-27 11:35:07 +01:00
Francois Ramu
40c2aaa5f2 boards: arm: stm32u575 nucleo board with BackUp SRAM
Add the BackUp RAM to the nucleo_u575zi_q platform.
Change the filename for the .rst to index.rst like other platforms

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-02-27 11:35:07 +01:00
Yuval Peress
ebfd9aaba5 sensor: Implement driver and tests for akm09918c
Add the implementation for the akm09918c magnetometer driver.
Additionally, add the appropriate node to the TDK robokit1 device
tree. In order to prevent regressions, add the sensor to the sensor
build_all tests and specific tests using an emulator.

Signed-off-by: Yuval Peress <peress@google.com>
2023-02-24 17:00:14 -05:00
Yuval Peress
3c8c96151b boards: Fix defconfig for tdk_robotkit1
The TDK robokit1 was using the wrong SOC part number by default
which was causing a warning at boot time.

See https://invensense.wpenginepowered.com/wp-content/uploads/2022/09/C21362-TDK-RoboKit1-DK-PLOT.pdf

Signed-off-by: Yuval Peress <peress@google.com>
2023-02-24 16:48:49 -05:00
Grant Ramsay
f92dd6d357 drivers: serial: Name the NS16550 variant Kconfig choice
Naming this choice allows setting a default value in defconfig.

Signed-off-by: Grant Ramsay <gramsay@enphaseenergy.com>
2023-02-24 18:11:56 +01:00
Grant Ramsay
6ca406d282 boards: arm64: Add PHYTEC phyCORE-AM62x A53 board support
PHYTEC phyCORE-AM62x is board is based on TI Sitara applications
processor, composed of a quad Cortex®-A53 cluster and a single
Cortex®-M4 core.

Zephyr OS is ported to run on the Cortex®-A53 core.

Signed-off-by: Grant Ramsay <gramsay@enphaseenergy.com>
2023-02-24 18:11:56 +01:00
Andrey Borisovich
cdae0bb759 boards: intel_adsp_ace15_mtpm uses xcc-clang toolchain for twister
Upgrading Xtensa toolchain for intel ACE1X boards.
Newer Xtensa toolchains support only xt-clang driver so we are
forced to switch.

Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
2023-02-23 08:26:37 -05:00
Daniel DeGrasse
a50791daf2 tests: drivers: regulator: add support for RT685 to voltage test
Add support for testing the onboard PCA9420 regulator on the RT685 EVK
to the regulator voltage test. Since the ADC can only record voltages up
to 1.8V, and some regulators cannot have all voltage ranges tested
without crashing the system, only LDO1 and LDO2 are tested in this
testsuite

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-02-23 10:50:11 +01:00
Daniel DeGrasse
86ae9512f1 boards: arm: mimimxrt685_evk_cm33: workaround to support sys_reboot
On the RT685, the sys_reboot API does not function correctly. This is
due to the fact that the external flash must be reset at power on. In
order to configure the ROM to reset the flash, a OTP shadow register
can be programmed with the GPIO port and pin of the flash reset pin.

Program these bits at boot when the CONFIG_REBOOT symbol is set,
so that sys_reboot works as expected.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-02-23 10:45:02 +01:00
Daniel DeGrasse
91539d5b2d boards: arm: mimxrt685_evk: Update write alignment and partition sizes
Now that MCUBoot supports 16 byte alignment, the 1 byte write mode
is no longer neccesary for the RT685. Partition sizes have been
reduced, as MCUBoot swap times are otherwise abnormally long.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-02-23 10:45:02 +01:00
Daniel DeGrasse
02de96f7d7 boards: arm: mimxrt595_evk_cm33: update write alignment and partition size
Update write alignment requirements and partition sizes for RT595 EVK.
Now that MCUBoot supports 16 byte alignment, the 1 byte write mode
is no longer neccesary for the RT595. Partition sizes have been
reduced, as MCUBoot swap times are otherwise abnormally long.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-02-23 10:45:02 +01:00
Joel Guittet
7758ad65b0 board: rak5010_nrf52840: fix lis3dh irq gpio
The INT pin of the LIS3DH sensor is connected to P0.16 on this board.
Fixes #54844.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2023-02-23 08:57:11 +01:00
Ben Marsh
545d450bd4 boards: arm: stm32h735g_disco: fix support for RNG
This board's documentation states the current configuration supports RNG
However, the RNG peripheral, and the HSI48 clock that the RNG depends
on, were not enabled

This commit enables the RNG and the HSI48 clock.

Verified with entropy test.

Signed-off-by: Ben Marsh <ben.marsh@helvar.com>
2023-02-22 08:51:10 +01:00
Kumar Gala
3911583728 boards: arm: microchip mec: Update docs to say Microchip
Add Microchip vendor name so this shows up in the full supported
board list.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-02-21 19:32:50 -05:00
Henrik Brix Andersen
b84dd9e5fe boards: remove unused canfd tag
Remove the now unused "canfd" from lists of supported board features.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-02-21 18:02:37 -05:00
Andriy Gelman
3dac715569 drivers: uart_xmc4xxx: Split up tx/rx into separate service requests
In preparation for async support. In async uart, service requests are
forwarded to separate dma lines. This patch splits up tx/rx into
separate service requests to enable this.

Also put service request enable code into a separate function. Before,
the same code was generated for different uart devices.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2023-02-21 21:15:53 +01:00
Fabio Baltieri
9b30667c77 build: drop LEGACY_INCLUDE_PATH support
LEGACY_INCLUDE_PATH has been defaulting to "n" and marked as deprecated
in both v3.2 and v3.3. Drop the option entirely for v3.4.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-02-21 15:06:48 +01:00
Mia Koen
a119961380 doc: add note for missing tf-m/ns target support
All nRF91 and nRF5340 boards (except the DKs)
should document a note stating that TF-M/_ns
is currently not supported.

Signed-off-by: Mia Koen <mia.koen@nordicsemi.no>
2023-02-20 16:29:12 +01:00
Maciej Perkowski
091ca7bcf6 nsim: Description of nsim_em11d was missing simulation_exec
Yaml description for simulators should contain simulation_exec
telling which tool to use. nsim_em11d was missing this entry
causing twister to only build but not execute tests on this
platform. Value from other nsims was used.

Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
2023-02-20 09:37:47 -05:00
Khor Swee Aun
1a6c6eb552 boards: riscv: Add INTEL NIOSV Processor board
Add board support for INTEL NIOSV Microcontroller Core Processor.

Signed-off-by: Khor Swee Aun <swee.aun.khor@intel.com>
2023-02-20 09:29:13 -05:00