The MAC address macros are ridiculous in this driver.
Rewrite to be simpler and use eth.h common function.
Also, clarify the mac address generation on the DT overlays.
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
"zephyr,sdmmc-disk" compatible stands for binding with sdmmc subsys which
is not compatible and not used with current STM32 sdmmc driver.
Declaring this compatible is a no op on STM32, so remove it.
Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Change IPC backend between Application and Radio core
to icbmsg which is more future proof than legacy
icmsg_me backend.
Signed-off-by: Kamil Gawor <Kamil.Gawor@nordicsemi.no>
Add the default `zephyr,ipc-icmsg` nodes for communication with
Application and Radiocore.
Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
The PHYTEC phyboard_lyra_am62x board was renamed to phyboard_lyra
to simplify the board name.
The PHYTEC phycore_am62x board was renamed and moved into
phyboard_lyra as phyboard_lyra/am6234/a53.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Both phyBOARD-Lyra AM62x boards were called
phyboard_lyra_am62x/am6234/a53 or phyboard_lyra_am62x/am6234/m4.
Since the AM62x SOC part number is now included in the board name
as am6234, there is no need to have am62x in the board name itself.
Moreover, PHYTEC also has an AM62Ax SOM which comes with the same
carrier-board. Integration of this kit would be easier later.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
phyBOARD-Lyra AM62x is the official name for our kit, which we
use to develop our reference software. This kit includes the
phyCORE-AM62x with TI's AM62x SoC.
Rename the phycore_am62x_am6234_a53 board to phyboard_lyra_am62x_am6234_a53
and move all code into the phyboard_lyra_am62x directory. Thereby, the
A53 and M4 boards are located in the same directory and both named
correctly.
This is also a good chance to update documentation for both cores and
use links to our latest BSPs as well as our official AM62x Yocto machine
name for the AM62x HS-FS SOM.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Enable serial interface on i.MX8ULP.
This also includes a SHA update for hal_nxp which
pulls in the following commits relevant to Zephyr:
* 3366f234ed47 build: hal_nxp: add TPM counter support
* 6544455fcf46 Compile in PXP driver if LVGL is set to use
PXP.
* 31463a848bcd devices: MIMX8UD7: add definition for
LPUART_RX_TX_IRQS
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
bst_delete() is called from an ON_EXIT hook, which can be called
several times if an exit hook itself fails and calls exit on
its own.
This is not what most tests destructors will expect, and they
may do weird things in this case. So let's not call into it again.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Replace direct access to RESET register to control the network CPU with
dedicated API, which allows safely sharing the network CPU with other
users.
Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
Added arduino pin definition for nRF5340 audio DK network core,
so we can use nrf21540-ek easily with SDC.
Signed-off-by: Jui-Chou Chung <jui-chou.chung@nordicsemi.no>
Remove IPSP support from the tree.
It has no maintainers, and is regularly broken. The fact that it's
nontrivial to set-up in linux makes it hard to fix reported issues.
Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
Add support for USBOTG on RW612 BGA board. This support was tested with
the USB console sample, as well as the USB DFU sample.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Board name contains the `adsp` suffix and so should the
defconfig. Otherwise, the build system won't be able to
fetch the board configurations.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
CSS was deprecated from the mcu-sdk. Removing driver from lpc55s36
to clear build error.
This is a temporary patch to remove the build error.
Fixes#69961
Signed-off-by: David Leach <david.leach@nxp.com>
XenVM boards were mark as unsupported for twister testcases related to
userspace. After additional investigation no problems were found for
builds, so there are no reason to exclude it from test runs.
Signed-off-by: Dmytro Firsov <dmytro_firsov@epam.com>
Update the booting information in recently added
Espressif boards to include simple boot method.
Signed-off-by: Marek Matej <marek.matej@espressif.com>
Update documents about adding Arduino UNO R4 WiFi.
Adding a description that a debug adapter is required when
flashing and debugging.
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
The current memory mapped stack code requires actual physical
addresses for stacks, and cannot deal with stacks already using
virtual addresses. So disable mapped stack via defconfig.
Note that this is done before enabling memory mapped stacks on
x86 so test won't fail when the support in the architecture
code is introduced.
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Adjustments of dts and defconfig files to adjust for the MERGE removal.
The revert of MERGE requires specific dts and defconfig files for boards
which relied on the MERGE feature.
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Splits configuration up that was merged as part of hwmv2 due to
the merged configuration feature being reverted
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This adds support for the usb cdc on the k1 board
Tested using samples/subsys/usb/cdc_acm
Co-developed-by: Axel Haslam <ahaslam@baylibre.com>
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Signed-off-by: Philip Molloy <pmolloy@baylibre.com>
This commit enables pinctrl on i.MX8ULP. This includes:
1) Adding `pinctrl_soc.h` header file.
2) Adding DTS node for IOMUXC1, which is one of the
IPs responsible for managing the 8ULP pads.
3) Adding .dtsi with pin definitions. For now, only
the LPUART7 pads are added to this file because this
is going to be the only consummer for now.
4) Modifying the `pinctrl_imx.c` driver to work for 8ULP.
5) Enabling the `CONFIG_HAS_MCUX_IOMUXC`, which is a
dependency of `CONFIG_PINCTRL_IMX`.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
240MHz as APB3 bus clock is too fast to set I2C base bus speed.
Set bus pre-scaler to 2 and reach a safe 120MHz.
This commit is very similar to
456183f982.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Add "RaspberryPi Pico to UNO FlexyPin Adapter".
It is a converter-PCB to Arduino UNO form-factor
from Raspberry Pi Pico that is released in Open Source Hardware.
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
stm32l1_disco board from STMicroelectronics has eeprom and watchdog.
Enable those peripherals.
Tested using:
1. samples/drivers/eeprom
2. samples/drivers/watchdog
Signed-off-by: Maxin John <maxin.john@gmail.com>
LPTIM4 is selected, since it is used only for internal timing
and it doesn't support output/input
Signed-off-by: Adam Berlinger <adam.berlinger@st.com>
This adds DT aliases for LED and button used in recovery mode of the
MCUboot bootloader, on the 'nucleo_wb55rg' board.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
The SparkFun Pro Micro header pins are numbered D1, D0, GND, ... from top
left whereas the SparkFun Pro Micro RP2040 and the Adafruit KB2040 boards
are using gpio 0, 1, GND, ... , so the pro_micro: connector gpio-map of
these boards should reflect that.
Graphical Datasheet for SparkFun Pro Micro RP2040:
https://cdn.sparkfun.com/assets/e/2/7/6/b/ProMicroRP2040_Graphical_Datasheet.pdf
Graphical Datasheet for SparkFun Pro Micro:
https://cdn.sparkfun.com/assets/f/d/8/0/d/ProMicro16MHzv2.pdf
Pinout of the Adafruit KB2040:
https://learn.adafruit.com/assets/106984
Please note that the KB2040 uses CircuitPython pin labels D0, D1 which does
not seemt correspond to the Arduino labels D0 and D1 used by the Pro Micro.
Signed-off-by: Daniel Irekvist <ulmanyar@gmail.com>
Was getting the error "parse error: expected number or parenthesized
expression" when trying to compile with the
-DSHIELD=seeed_xiao_expansion_board flag. It looks like INPUT_KEY_0
was missing the necessary include file so I added it in.
Signed-off-by: Graham Harrison <graham.harrison@axcendcorp.com>
This commit removes the `Kconfig.core` file. It's been largely unused, and
the only symbol it provides (`RISCV_CORE_E31`) overlaps with the SoC-layer
provided `SOC_SERIES_SIFIVE_FREEDOM_FE300`.
As of date, the only SoC that uses the E31 core in Zephyr is the FE310 SoC.
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
Add support for the RD RW612 BGA board for the adafruit_2_8_tft_touch_v2
shield. This board uses a custom LCDIC MIPI DBI controller, which
requires a specific board overlay to enable the shield.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Enable support for LCDIC on rd_rw612_bga. This support also enables
acceleration features such as DMA for LVGL, to improve performance
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Add pinctrl and board enablement for LPUART2, which is broken out to
P4_2 and P4_3 on the FRDM board.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Automatically select CONFIG_GPIO when the GPIO-controlled CAN transceiver
driver is enabled. Update board configurations to benefit from this.
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Add pa variant definition to board.yml
Add bl654_dvk_nrf52840_pa files dts, yaml, defconfig
Update doc with information on variant and regulatory information
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Add SWD debugger support for this board. Although there is not a debug
header, the SWD pins are accessible and the adaptor is not that difficult
to wire up. This will allow for debugging beyond just flashing, that the
UF2 programming setup allows for.
Signed-off-by: David Brown <david.brown@linaro.org>
In preparation for adding AMP support for i.MX RT6xx family we need
to rename existing cm33 support files to more specific names.
e.g mimxrt685_evk.dts -> mimxrt685_evk_mimxrt685s_cm33.dts
This will allow us to later add support for Cadence DSP found on i.MX
RT6xx series.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
imxrt6xx are dual core devices featuring an ARM Cortex-M33
core and an Cadence Xtensa HIFI4 Audio DSP.
Currently only m33 core is supported. In order to support
the Cadence DSP we need first to do some code-reorganization
for m33.
We start by moving all cm33 related code to its own directory
and introduce the cpuclusters property in soc.yml file.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Fixs USDHC by setting PWR and CD gpio's correctly.
Adds missing button from the GPS module.
Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
There was missing storage partition that is required for setting
subsytem. Add missing entries to board files.
Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
There are default configs that are provided by default for
e.g. nRF5340dk to enable HCI IPC communication type for
application domain and enable BT controller for radio domain.
These configs were missing for nRF54h20 DK.
Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
Explain the different versions of the MB1166 shield and
remove note about that version A09 is not supported
Signed-off-by: Erik Andersson <erian747@gmail.com>
Add support for the A09 version of MB1166 which
have a NT35510 panel controller instead of an
OTM8009a as in prior versions
Fixes#60888
Signed-off-by: Erik Andersson <erian747@gmail.com>
This commit enables PMP on the default revision of the SiFive HiFive1
board. PMP was already enabled on the Rev B of this board.
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
Add pinctrl for SAI1 node. This means:
1) Adding definitions for the pads used by SAI1.
2) Creating a pin group and referencing it in
the SAI1 node via the `pinctrl-0` property.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Add pinctrl for SAI1 node. This means:
1) Adding definitions for the pads used by SAI1.
2) Creating a pin group and referencing it in the
SAI1 node via the `pinctrl-0` property.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
On the RT1170-EVKB, the framebuffer displays incorrectly
(shifted by about 1/4 of the screen width). This is because
pixelclk-active was set to 1 (which corresponds to
kELCDIF_DriveDataOnRisingClkEdge).
According to the RM68200 datasheet, the DSI transfert begins at
the uprising pixel clock and stop at the falling pixel clock. So,
pixelclk-active needs to be set to 0 (which corresponds to
kELCDIF_DriveDataOnFallingClkEdge).
Signed-off-by: Trung Hieu Le <trunghieu.le@nxp.com>
On the RT1170-EVKB, the framebuffer displays incorrectly
(shifted by about 1/4 of the screen width). This is because
pixelclk-active was set to 1 (which corresponds to
kELCDIF_DriveDataOnRisingClkEdge).
According to the HX8394 datasheet, the DSI transfert begins at
the uprising pixel clock and stop at the falling pixel clock. So,
pixelclk-active needs to be set to 0 (which corresponds to
kELCDIF_DriveDataOnFallingClkEdge).
Signed-off-by: Trung Hieu Le <trunghieu.le@nxp.com>
Enable clock control for i.MX8ULP. This consists of:
1) Adding a PCC node in the DTS
2) Adding a header file containing the definitions
of the clocks used by the peripherals to be enabled.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Adds the device trees, Kconfig, and documentation files.
The following features have been confirmed working on hardware:
* LED
* Button
* ST7735 TFT-LCD
* External QuadSPI NOR Flash memory
* External SPI NOR Flash memory
* USB CDC ACM
* microSD card
Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
Change, for audio DSP and M7 cores, SOC_<name> to match
the exact soc name.
Update the board files accordingly.
These configs are used in SOF and NXP_HAL, so change
sha for these modules.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Adds a devicetree alias to the ambient temperature sensor on
adi_eval_adin1110ebz to support the thermometer sensor sample
application.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
Source code of board/m5stack/m5stickc_plus and
board/m5stack/m5stack_atoms3_lite were adapted for an inital
support of the M5Stack ATOM Lite board.
Signed-off-by: Nikola Trifunovic <nikola@trifunovic.at>
In future versions of Linkserver, specifying the core argument within
the device string will not be supported. Therefore, move the FRDM
MCXN947 board to specify the core directly instead of using the device
string.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
- fix schematic link pointing to different board
- fix link to the board_defconfig file
- remove the "Debug Firmware" link that was not referenced anywhere
- add a link to the board user manual
- minor additions to the debug with J-Link section
Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
Create regulator on GPIO for microphone supply
Set pdm data and clk pins in pinctrl
Add xiao_ble_sense overlay for dmic sample support
Signed-off-by: Zak Portnoy <zakportnoy@gmail.com>
Enable DMIC on RW612 BGA board. The DMIC is enabled for both onboard
MEMS microphones for this board, and the board is enabled with the DMIC
sample and test
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Set the PLL1_Q divider to 6 give a can core clock of 80MHz to
resolve fdcan_clk reception problem because M_CAN requires that
the host clock "APB1" should be higher or equal to the CAN core
clock "PLL1_Q".
Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
Add necessary overlay and stm32h573i_dk in i2c_target_api test case
to enable the board.
Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
The SOC name for the `imx8ulp_evk` board has been changed
to `mimx8ud7`. As such, update `deprecated.cmake` to reflect
this change.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
The SOC name `imx8ulp` has been just a placeholder until
support for the SOC's ADSP (since this is the only core
that's supported in Zephyr) could be added to the NXP HAL.
Now that the support has been added, to make use of it, the
SOC name `imx8ulp` has to be changed to `mimx8ud7`. As such,
this commit does the following:
1) Introduces SOC part number configuration - needed
by some HAL headers.
2) Replaces all occurrences of `imx8ulp` (as the SOC
name) with `mimx8ud7`.
3) Enables `CONFIG_HAS_MCUX`.
4) Aligns all `CONFIG_SOC_` configurations with the
new SOC name.
5) Updates SOF hash. This is needed to fix build issues
caused by this name change. This is not done in a separate
commit to preserve bisectability.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit should fix configuration conflicts that
came up upon merging both MIPI DBI and display panel
drivers.
1. Board's display/LVGL Kconfigs should be enabled when
needed based on the selected display interface.
2. Overwrite the touch controller's I2C pins to avoid
conflicts with the display panel signals.
Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
To use this functionality one must now use the native_sim//64
(variant) version. The old hwmv1 compatible name for the board
was left provisionally while all tests in tree were ported.
That being now done, this old name can be removed.
After this change one cannot build anymore
targeting native_sim_64, but must instead build
targeting native_sim/[native]/64.
For twister tests the old name is already not valid.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
To use this functionality one must now use the native_posix//64
(variant) version. The old hwmv1 compatible name for the board
was left provisionally while all tests in tree were ported.
That being now done, this old name can be removed.
After this change one cannot build anymore
targeting native_posix_64, but must instead build
targeting native_posix/[native]/64.
For twister tests the old name is already not valid.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Add devicetree node for the accompanying, ssd1306-based display board
connected to connector P4.
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>