Commit graph

6151 commits

Author SHA1 Message Date
Gerard Marull-Paretas
58b60bbb2d boards: arduino_nano_33_ble: remove redundant "gpio library"
The board had an internal "library" to configure pins in an Arduinoeish
fasion. This is no longer used, so can be removed.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-24 12:47:25 +01:00
Gerard Marull-Paretas
1b479d6a8a boards: arduino_nano_33_ble: refactor init code
- Specify in DT the pin to enable I2C pull-up connection
- Always build board.c, so that the I2C bus is always pulled-up

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-24 12:47:25 +01:00
Gerard Marull-Paretas
f266b286b7 boards: arduino_nano_33_ble: use regulator for sensors
Most sensors are enabled by enabling the VDD_ENV output. Define a
regulator on DT for that and enable the regulators if sensors are
enabled.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-24 12:47:25 +01:00
Gerard Marull-Paretas
4e86985bec boards: arduino_nano_33_ble: define LED in DT
The board has a user LED attached to P1.09. This information was
hardcoded in board C files and enabled by default. This is something
applications need to do if needed (note that an always ON LED can incur
a considerable power consumption).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-24 12:47:25 +01:00
Gerard Marull-Paretas
7b033aa4df boards: arduino_nano_33_ble: remove undocumented debug code
It's not clear why the board configures debug/tracing functionality
using HAL low level code, remove it.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-24 12:47:25 +01:00
Gerard Marull-Paretas
0b59d43d12 boards: arduino_nano_33_ble: remove redundant pwm entries
Enabling PWMs without selecting any channel is pointless, so remove
entries from DT. Also remove custom code in sensor_init, PWM API needs
to be used instead.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-24 12:47:25 +01:00
Gerard Marull-Paretas
7ceabd25ec boards: arduino_nano_33_ble: drop BLE_EN_USB_CONSOLE
Drop the BOARD_ARDUINO_NANO_33_BLE_EN_USB_CONSOLE Kconfig option. If
applications need a USB console, they need to adjust `prj.conf` (or
overlays) enabling relevant settings.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-24 12:47:25 +01:00
Gerard Marull-Paretas
5357f5a83c boards: arduino_nano_33_ble: remove redundant comments from DT
Remove some comments that are redundant and provide no relevant
information.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-24 12:47:25 +01:00
Gerard Marull-Paretas
65034dfbbf boards: arduino_nano_33_ble: remove redundant rtc1 entry
The peripheral is already disabled by default, so the entry was
pointless. Also removed commented code in init_sensors.c related to rtc.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-24 12:47:25 +01:00
Filip Kokosinski
38f38e0be8 boards: FE310-based boards: transition to pinctrl driver
This commit makes the transition from the pinmux driver to the pinctrl
driver. It also modifies UART, SPI and I2C drivers used in FE310-based
boards to use the new pinctrl API.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2022-03-24 10:46:34 +01:00
Filip Kokosinski
a9543e0ff4 boards: qemu_riscv32: add pinctrl configuration for qemu_riscv32_xip
Add pinctrl configuration for future use with the new pinctrl driver.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2022-03-24 10:46:34 +01:00
Filip Kokosinski
99e787de21 boards: hifive1_revb: add pinctrl configuration for hifive1_revb board
Add pinctrl configuration for future use with the new pinctrl driver.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2022-03-24 10:46:34 +01:00
Filip Kokosinski
0d3ec151c8 boards: hifive1: add pinctrl configuration for hifive1 board
Add pinctrl configuration for future use with the new pinctrl driver.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2022-03-24 10:46:34 +01:00
Alexandre Bourdiol
f1ad7ede9c boards: arm: disco_l475_iot1 BLE SPI CS is active low
On board disco_l475_iot1, BLE SPI CS is active low

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2022-03-24 10:44:15 +01:00
Matthias Hauser
e565e67114 boards: Add Proteus-III board file
Add a new board file of the Proteus-III radio module

Signed-off-by: Matthias Hauser <Matthias.Hauser@we-online.de>
2022-03-23 18:50:09 +01:00
Joakim Andersson
fab4aadd0e soc: arm: bl5340_dvk: Fix bl5340 DVK pin assignments
Fix the BL5340 DVK pin assignment using the nrf5340 DK pin.
Regression from: e4260ac03f.

This also aligns the BL5340 DVK to use the GPIO forward module.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2022-03-23 18:28:38 +01:00
Joakim Andersson
88bb3ae498 soc: arm: nordic: Fix missing include path
Fix missing include path for TF-M installed headers.
When TF-M was enabled resulted in the following error:
"fatal error: tfm_ioctl_api.h: No such file or directory"

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2022-03-23 18:28:38 +01:00
Wilfred Mallawa
fcbe753cd0 boards: thingy52_nrf52832: additional led aliases
This PR updates the `thingy52_nrf52832` dts to add two additional
aliases for leds 1 & 2.

Why:
In a university course, alot of students use this board with Zephyr
and have wondered why many boards provide dts aliases for
additional leds (ex [1][2]), yet, this only has an alias
for the single led. The PR adds required led
aliases to make working with the leds on this board a
little bit quicker/easier.

Testing:
	* `./scripts/twister -p thingy52_nrf52832`
	* Hardware verification using the gpio_api to toggle all leds.

Edit: Fixup commit msg line length

[1] boards/arm/particle_boron/dts/mesh_feather.dtsi
[2] boards/arm/arduino_nano_33_ble/arduino_nano_33_ble.dts

Signed-off-by: Wilfred Mallawa <thulith.mallawa@uqconnect.edu.au>
2022-03-23 09:18:01 -05:00
Yannis Damigos
7dcdaf9375 board/odroid_go: Add pullups to buttons and a new button
Add volume button.
Add internal pull ups to buttons which don't have an
external one.

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
2022-03-23 14:09:34 +01:00
Jordan Yates
6ceddab6da boards: nrf5340dk_nrf5340: Bluetooth RNG
Use the ENTROPY_BT_HCI entropy device on the application core, which has
no access to the hardware RNG peripheral (network core only).

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-03-23 13:38:47 +01:00
Yannis Damigos
05c4f44112 boards/odroid_go: Update documentation
Update board's documentation.

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
2022-03-23 12:55:18 +01:00
Bartosz Golaszewski
c203b033ef boards: shields: adafruit: add a board overlay for arduino_nano_33_ble
This adds an overlay defining a dummy arduino_header with three pins
required by the adafruit 2.8 TFT display to work on arduino_nano_33_ble.

While the nano form factor doesn't really have a proper Rev3 header, this
allows to connect the display to the nano pins and make the display work.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com>
2022-03-23 12:53:30 +01:00
Bartosz Golaszewski
4389f75314 boards: arm: arduino_nano_33_ble: add arduino labels for I2C and SPI
Certain overlays reference I2C and SPI by the semi standardized
arduino_i2c/arduino_spi labels. Add them to the DT for arduino_nano_33_ble
for the I2C and SPI interfaces exposed on the headers.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com>
2022-03-23 12:53:30 +01:00
Andrei-Edward Popa
66ec2bac3a dts: arm: rpi_pico: added resets for UART instances
added resets for Raspberry Pi Pico UART instances
enabled reset controller in defconfig

Signed-off-by: Andrei-Edward Popa <andrei.popa105@yahoo.com>
2022-03-23 12:51:39 +01:00
Dylan Hung
9065bee557 boards: arm: Add ast1030_evb board
Skeleton board support for the aspeed ast1030 evaluation board from
Aspeed Technology.

Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
Change-Id: I16af50dd63cb355071e32f89264d8aeae47184ac
2022-03-23 12:50:28 +01:00
Gerard Marull-Paretas
800e31ae76 boards: arm: hexiwear_k64: use regulator driver for 1V8 and 3V3
The LDO line (1V8) used by MAX30101 can be enabled using a regulator
device instead of custom code in the board pinmux.c. The same applies
for the 3V3 line used by multiple sensors.

NOTE: also enabled gpioa, required by LDO_EN. Spotted thanks to
build-time issue (current code did not work...).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-22 23:24:44 -05:00
Gerard Marull-Paretas
4d6d2bf429 boards: arm: hexiwear_k64: use regulator driver for battery sensing
The battery sensing circuit can be enabled using a regulator device
instead of custom code in the board pinmux.c.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-22 23:24:44 -05:00
Tomasz Bursztyka
f78a4ab7cf zefi: Add an EFI boot argument passing ACPI RSDP info
If such table pointer is present with EFI system table, this will speed
up ACPI initialization later on.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2022-03-22 09:56:54 -04:00
Matthias Hauser
e7108fc303 boards: Add Proteus-II board file
Add a new board file of the Proteus-II radio module

Signed-off-by: Matthias Hauser <Matthias.Hauser@we-online.de>
2022-03-22 07:52:05 -05:00
Daniel DeGrasse
7b449d6045 boards: remove pinmux usage for all kinetis boards
Remove pinmux file where possible, and remove all pinmux driver usage
where file cannot be removed. All kinetis boards no longer use pinmux
driver.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
7013a8a43f boards: remove tpm pinmux usage for kinetis boards
tpm driver supports pinctrl. Remove pinmux usage for kinetis boards.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
88fc9fbf1b boards: remove pinmux usage for dac32 driver
dac32 driver supports pinctrl. Remove pinmux usage on kinetis boards
with this IP.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
f1b3f00114 boards: remove pinmux usage for acmp peripheral
Remove pinmux usage for acmp peripheral on kinetis boards, as mcux_acmp
driver supports pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
de18fdf2f1 boards: remove pinmux configuration for kinetis boards using adc12
Remove pinmux configuration for kinetis boards using adc12, as pinctrl
is supported by driver

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
93bbbb1e27 boards: remove pinmux configuration for kinetis boards using pwt
Remove pinmux configuration for kinetis boards using pwt, as this driver
supports pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
9c8ced789e boards: twr_ke18f: Move lpspi to pinctrl
LPSPI peripheral driver supports pinctrl. Move twr_ke18f pinmux to use
pinmux for lpspi, and apply dynamic pinctrl states in order to select
correct chip select pin.

Also add pinmux settings to LPSPI for RT1060, so that LPSPI peripheral
driver will continue to work.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
ec455bc4d7 boards: twr_ke18f: add flexio pinmux and binding
Add dts binding and pinctrl definition for flexio in twr_ke18f. This
allows ke18f pinmux code to apply pinctrl selections for flexio.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
d6d49dbe09 boards: remove lpi2c pinmux usage in kinetis boards
remove pinmux for lpi2c devices on kinetis boards, as these boards
support pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
7d2cc130f4 boards: remove lpuart pinmux setting for kinetis boards
Remove lpuart pinmux setting for all kinetis boards, as lpuart driver
supports pinctrl.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
d0c535924f boards: remove unused adc pinmux from kinetis boards
adc16 driver supports pinctrl, so remove unused pinmux from kinetis
boards

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
7260cb7dc1 boards: remove flexcan pinmux configuration for kinetis boards
Remove flexcan pinmux configuration for kinetis boards, as flexcan
driver uses pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
f5c9fce449 boards: remove enet pinmux for kinetis boards
Remove unnecessary usage of pinmux driver for kinetis boards with
ethernet

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
f400aa41cd boards: remove spi pinmux setting for kinetis boards
Remove spi pinmux setting for kinetis boards with dspi, as dspi driver
supports pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
9fee7d95f1 boards: remove i2c pinmux for kinetis boards
Remove i2c pinmux for kinetis boards, as i2c driver supports pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
3acee9064c boards: remove ftm pinmux configuration
Remove ftm pinmux configuration from kinetis boards, as ftm driver
supports pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
b9a776efde boards: set CONFIG_PINCTRL=y for all kinetis boards
Set CONFIG_PINCTRL=y for all kinetis boards, so they can use the
relevant drivers that enable pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Daniel DeGrasse
dd47037ae0 boards: mimxrt1060: add all pinctrl nodes for RT1060
all pinctrl nodes for RT1060 need to be defined, as some drivers used by
kinetis also are used on RT series boards.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-22 12:36:04 +01:00
Gerard Marull-Paretas
dd1449bff6 boards: arm: 96b_wistrio: refactor board init code
- Move the SX oscillator control pins to a regulator node
- Create a board level compatible for the RF switch
- Use gpio_dt_spec to simplify board pins.c (now rf.c)
- Cleanup include list

For reference:
https://downloads.rakwireless.com/
LoRa/RAK811/Hardware_Specification/RAK811_HF_Schematics.pdf

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-22 12:34:47 +01:00
Erwan Gouriou
2b3f728173 boards: Remove superfluous comments in boards.dts
If more information is required on anything, one should look at
documentation, no point to add a specific comment about it.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-03-22 12:34:22 +01:00
Yonatan Schachter
9fdd905fa6 boards: arm: rpi_pico: Fix I2C compatible in docs
The documentation for rpi_pico used the wrong devicetree
compatible for I2C.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2022-03-22 12:32:38 +01:00