Commit graph

4853 commits

Author SHA1 Message Date
Sylvio Alves
a3c35c93ff driver: esp32: add bluetooth support
Add support to BLE and BR/EDR feature.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-04-30 16:51:30 -04:00
Alexandre Bourdiol
59a8081096 boards: sensortile_box: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:50:30 -05:00
Alexandre Bourdiol
a8da0b97a6 boards: stm32l496g_disco: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:50:30 -05:00
Alexandre Bourdiol
de78df9656 boards: stm32l476g_disco: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:50:30 -05:00
Alexandre Bourdiol
6cbeabc8a4 boards: nucleo_l496zg: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:50:30 -05:00
Alexandre Bourdiol
18de8457cf boards: nucleo_l452re: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:50:30 -05:00
Alexandre Bourdiol
2cfae94a86 boards: nucleo_l433rc_p: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:50:30 -05:00
Alexandre Bourdiol
3fc675e9dd boards: nucleo_l432kc: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:50:30 -05:00
Alexandre Bourdiol
4c7585e693 boards: nucleo_l412rb_p: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:50:30 -05:00
Alexandre Bourdiol
19e7e85cef boards: nucleo_l4r5zi: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:50:30 -05:00
Alexandre Bourdiol
3a6af0635e boards: b_l072z_lrwan1: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:42:42 -05:00
Alexandre Bourdiol
26ae8679cc boards: dragino_lsn50: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:42:42 -05:00
Alexandre Bourdiol
11c386fb3e boards: nucleo_l011k4: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:42:42 -05:00
Alexandre Bourdiol
d870374b5c boards: ronoth_lodev: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:42:42 -05:00
Alexandre Bourdiol
976c9a1f78 boards: 96b_wistrio: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:41:30 -05:00
Alexandre Bourdiol
61b6e2cc23 boards: stm32l1_disco: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2021-04-30 12:41:30 -05:00
Kalyan Sriram
7c43ac403b boards: stm32: blackpill_f411ce: configure clocks using dt
Migrate clock configuration for blackpill_f411ce board
from Kconfig to device tree.

Additionally, enable LSE crystal configuration for blackpill_f411ce.

Signed-off-by: Kalyan Sriram <kalyan@coderkalyan.com>
2021-04-30 12:40:24 -05:00
Kalyan Sriram
47961481ee boards: stm32: blackpill_f401ce: configure clocks using dt
Migrate clock configuration for blackpill_f401ce board
from Kconfig to device tree.

Additionally, enable LSE crystal configuration for blackpill_f401ce.

Signed-off-by: Kalyan Sriram <kalyan@coderkalyan.com>
2021-04-30 12:40:24 -05:00
Mahesh Mahadevan
d16ced9ae4 MXRT600: Add I2S support
Use flexcomm1 and flexcomm3 for I2S support

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2021-04-30 12:02:55 -05:00
Jordan Yates
318ee971c5 boards: stm32f0: explicit RAM vector table control
Add a new Kconfig symbol that explicitly controls whether the vector
table should be placed in RAM. This eliminates the side effect of
`IS_BOOTLOADER` controlling vector table location. Making the condition
a positive assertion also allows the config to be used in CMakeLists
conditions (`zephyr_linker_sources_ifdef()`, etc).

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2021-04-30 15:16:02 +02:00
Jordan Yates
bcca26260b boards: nucleo_l0*: remove invalid options
Remove the `IS_BOOTLOADER` and `BOOTLOADER_SRAM_SIZE` symbols from the
`nucleo_l053r8` and `nucleo_l031k6` boards. The stated reason for
inclusion is to disable the RAM vector table, however this doesn't apply
to the STM32L0 series, only STM32F0.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2021-04-30 15:16:02 +02:00
Krishna Mohan Dani
a3e2e3ea7e boards/arm: stm32h747i_disco_m7: Enabling flash support in device tree.
This commit enables flash support for stm32h747i_disco_m7
in device tree. This has been tested with flash sample
application on stm32h747i_disco platform with m7 core.

Flash is shared between two cores (M4 & M7) so the last 1M is
assigned to M4 core. Hence allocating 1M of storage at the
end of first 1M.

Signed-off-by: Krishna Mohan Dani <krishnamohan.d@hcl.com>
2021-04-29 16:51:45 -05:00
Armando Visconti
08c750a397 boards: stm32: nucleo_f4*1re: Configure clocks using dt
Configure clock for the f401re/f411re nucleo boards using device tree.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2021-04-29 15:46:21 -04:00
Erwan Gouriou
b095d6ce76 boards: nucleo_f746zg: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-04-29 16:41:26 +02:00
Erwan Gouriou
7b55d07a2d boards: nucleo_l053r8: Move clock config to DT
Use DT to configure board clocks

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-04-29 16:41:26 +02:00
Erwan Gouriou
367c06252d boards: nucleo_l552ze_q: Use dts for clocks configuration
Convert board to use of device tree for clocks configuration.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-04-29 16:41:26 +02:00
Erwan Gouriou
67dff334e9 boards: nucleo: Convert 4 boards to dts based clocks configuration
Convert following boards to dts based clocks configuration:
- nucleo_f070rb
- nucleo_f334r8
- nucleo_g071rb
- nucleo_g431rb

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-04-29 16:41:26 +02:00
Erwan Gouriou
2578f3afc9 boards: nucleo_f103rb: Convert to dt based clocks configuration
Configure clocks for nucleo_f103rb using device tree.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-04-29 16:41:26 +02:00
Bob Recny
81f839b157 boards: arm: Add u-blox EVK-NINA-B4
Add support for u-blox EVK-NINA-B4, which uses the nRF52833

This board is similar to the nrf52833dk_nrf52833, though it
uses a u-blox NINA-B40x openCPU module with DC-DC support
included.
Simplified pwm LED aliases
Corrected LED assignments for red, green, and blue
Addressed review comments (spi & gpio 0 0)

Tested with blinky, button, and Bluetooth peripheral_hr

Signed-off-by: Bob Recny <bob.recny@u-blox.com>
2021-04-29 09:52:19 -04:00
Guðni Már Gilbert
947bd45260 boards: arm: add board revision to board description
add board revision number to board description (MB1319C)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2021-04-29 09:51:39 -04:00
Guðni Már Gilbert
2d81d2d91e boards: arm: Add adc1 node to board nucleo_l412rb_p
The board has 16 input channels on ADC1.

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2021-04-29 09:51:39 -04:00
Guðni Már Gilbert
be1f9403de boards: arm: fix i2c pin and add SPI to docs
When I added this board recently I mistakenly placed
the Arduino SCL pin (Default Zephyr pin) as PB6
when it should be PB8.

The SPI node is now properly set to SPI2 peripheral
instead of SPI1. SPI2 is the most suitable to follow
the silkscreen on the printed circuit board.

Added arduino_gpio to yaml.

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2021-04-29 09:51:39 -04:00
Krzysztof Chruscinski
fb6a69ec81 boards: arm: qemu_cortex_m0: use LFXTAL
Update configuration of qemu_cortex_m0 to use LF XTAL as low
frequency clock source. Previously used RC requires more
modules to be fetched into the build, including TEMP sensor
used for clock calibration.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-04-29 14:50:35 +02:00
Sam Hurst
0f19812ce0 boards: arm: add support for STM32G071B Discovery board
Support the ST STM32G071B Discovery board with STM32G071RBTX SoC

Tested with:
    - `samples/basic/blinky`
    - `samples/basic/button`

Flashed samples via On-Board ST-LINK with:
    - west flash

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2021-04-28 20:31:27 -04:00
Watson Zeng
9f86020d37 boards: hsdk: add arduino_header and arduino_spi
add arduino_header and arduino_spi for hsdk baord.

Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
2021-04-28 10:53:52 -04:00
Watson Zeng
6cc84e6f1d boards: hsdk: add cy8c95xx I/O expander, LEDs support
hsdk has an on board cy8c95xx I/O expander, and 4 on
board LEDs use the expander GPIO. Add the I/O expander
and LEDs in hsdk dts, then add documents for them.

Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
2021-04-28 10:53:52 -04:00
Watson Zeng
a79a1e1718 boards: hsdk: dts: remove ili9340 from hsdk dts
remove ili9340 from hsdk dts, as it's not a part of hsdk board,
it's a shield device.

Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
2021-04-28 10:53:52 -04:00
Bob Recny
3a4f08cd90 boards: arm: Add u-blox EVK-NINA-B1
Add support for u-blox EVK-NINA-B1 which uses the nRF52832.

This board is similar to the nRF52dk_nrf52832 with
different pin assignments on the header pins and not having
the debug-in and shield SWD headers.

Tested with blinky, button, and Bluetooth peripheral_hr
Corrected duplicate pin assignment for i2c1 in dts file
Corrected copyright date in Kconfig.defconfig
Rebase to update test_adc.c
Corrected sda-pin, scl-pin assignments and LED aliases

Signed-off-by: Bob Recny <bob.recny@u-blox.com>
2021-04-27 13:33:20 -04:00
Qi Feng
2e104eabfc boards: fvp_baser_aemv8r: doc: debug with Arm DS
Add document about debugging with Arm Development Studio and some
description. Standardize the names.

Signed-off-by: Qi Feng <qi.feng@arm.com>
2021-04-27 13:31:42 -04:00
Qi Feng
83530473d0 boards: arm64: doc: only list index files
So that rst files located in a certain board are not listed in board
level table of contents.

Signed-off-by: Qi Feng <qi.feng@arm.com>
2021-04-27 13:31:42 -04:00
Carlo Caione
5b3d499755 board: fvp_baser_aemv8r: Fix board yaml file
To make it consistent with the yaml of the other FVP board.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-04-27 13:30:07 -04:00
Carlo Caione
0427d93f4a board: arm64: Add FVP Base RevC 2xAEMv8A board
Add support for the FVP Base RevC 2xAEMv8A board to be emulated using
the same FVP. For now the virtual platform is only exposing one core and
the basic set of peripherals (GICv3, ARM arch timer, PL011, etc...).

INFO    - Total complete:  256/ 256  100%  skipped:  933, failed:    0

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-04-27 13:30:07 -04:00
Gerson Fernando Budke
260c679af5 boards: arm: cy8ckit_062_ble: Add board rev
Introduce revision for cy8ckit_062_ble board.  Revision 0.0.0 represent
the original board schematic which connects Arduino header signals to
PSoC-6 KitProg.  The revision 1.0.0 should be used after board rework
to access other serial ports and full Arduino headers.

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
2021-04-27 09:27:45 -05:00
Gerson Fernando Budke
2efa4db9e8 boards: arm: cy8ckit_062_wifi_bt: Add serial pinctrl and int
Add pinctrl and interrupt information for both cores.  The uart-6 is
the default serial communication on the kit connected to m0 core.  It
uses SCB[6] and the NVIC line 21 as interrupt source on Cortex-M0+ cpu.
The line 21 is an arbitrary value and users can select any value.  The
SCB[6] shares pins with Arduino headers D8/D9.  It may be necessary an
USB serial converter to sample signals and enable Zephyr console on PC.
The uart-5 is the default serial communication port for m4.  It is
connected to Arduino serial line.  A HW rework may need to allow
Arduino header to be useful.

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
2021-04-27 09:27:45 -05:00
Gerson Fernando Budke
a24350a1a4 boards: arm: cy8ckit_062_ble: Add serial pinctrl and int
Add pinctrl and interrupt information for both m0/4 cores.  The uart-5
is the default serial communication on the kit and it is connected to
Cortex-M0+ cpu.  It uses SCB[5] and the NVIC line 21 as interrupt
source on Cortex-M0+ cpu.  The line 21 is an arbitrary value and users
can select any value.  The SCB[5] shares pins with Arduino headers
D0/D1 and it is wired with the on-board USB Serial converter.  This
means, if use wants use an external shield it must rework the board.
The uart-6 is the default serial communication for Cortex-M4 cpu, which
uses SCB[6].

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
2021-04-27 09:27:45 -05:00
Gerson Fernando Budke
e6cba8d9c8 drivers: serial: psoc6: Rework to support pinctrl
The current serial driver uses hard code configuration.  Rework driver
to use pinctrl and enable full configuration from device tree.

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
2021-04-27 09:27:45 -05:00
Henrik Brix Andersen
d6318075b7 boards: arm: twr_ke18f: Add pinctrl dts properties
Add pinctrl-0 properties for configuration of UART, I2C, SPI, FTM,
DAC, ADC, ACMP, and PWT peripherals. These settings are based on what
is defined in the board/pinmux.c file.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2021-04-27 08:43:23 -05:00
Ioannis Glaropoulos
e04a57de04 boards: mps2_an521: remove dependencies for BUILD_WITH_TFM
We do not need to have dependencies any more on !OPENAMP
for BUILD_WITH_TFM in the mps2 an521 target, because we
now have different targets for the non-secure version of
the board and the remote core.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2021-04-27 13:40:42 +02:00
Ioannis Glaropoulos
de8af66057 boards: mps2_an521: add an mps2_an521_remote target
Add a new target for MPS2 AN521, called mps2_an521_remote.
This target is used in dual image MPS2 AN521 builds, for
the 'remote' target. It is indentical to mps2_an521_nonsecure,
except for the fact that it does not enable TrustZone-M and
it does not set the security domain to Non-Secure.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2021-04-27 13:40:42 +02:00
Erwan Gouriou
2f42f51bd8 boards: stm32: nucleo_f429zi: Configure clocks using dt
Configure clock for these two boards using device tree.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-04-27 11:53:37 +02:00