Commit graph

6588 commits

Author SHA1 Message Date
Kumar Gala 6298b27725 watchdog: remove Kconfig.defconfig setting of watchdog drivers
Now that watchdog drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
watchdog and not respect the devicetree state of the watchdog.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-03 18:30:17 -05:00
Gerard Marull-Paretas a24007c35e boards: tlsr9518adk80d: remove list of supported samples
Sample compatibility should be determined by the sample.yaml in each
sample directory. Keeping a list in board documentation isn't a good
idea: easy to get outdated, it doesn't cover all compatible samples,
etc.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-03 18:46:01 +02:00
Kumar Gala b5b2b627b5 dac: remove Kconfig.defconfig setting of DAC drivers
Now that DAC drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the DAC.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-03 18:45:23 +02:00
Kumar Gala cab0f5e4f3 dac: remove setting DAC_INIT_PRIORITY in board Kconfig.defconfig
The specific drivers for DAC_MCP4725 and DAC_DACX0508 have their
own driver specific Kconfig symbol for the INIT_PRIORITY.  So
remove setting the generic one as it doesnt make sense to set it
and the default value matches what the board specific values for
INIT_PRIORITY are set to.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-03 18:45:23 +02:00
Gerard Marull-Paretas 683f2de6d2 boards: arc: remove unused <soc.h>
Header was not used, so remove it. Add other necessary includes as part
of the removal.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-03 07:46:14 -04:00
Gerard Marull-Paretas b2a1eeb6ac soc: arc: define ICI in DT
ICI (Inter-Core Interrupt Unit) interrupts and priorities were hardcoded
in C files. This patch moves this information to Devicetree and updates
code to make use of it.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-03 07:46:14 -04:00
Gerard Marull-Paretas 5f40a9f40f soc: arc: synopsys: move secure timer0 definition to DT
Use Devicetree to describe secure timer0 instead of hardcoding values in
<soc.h>.

DT files have been structured to match the following requirements: In
case of sectimer0 - it's should be only enabled for:

- emsdp_em7d_esp.dts
- em_starterkit_em7d.dts
- nsim_sem_mpu_stack_guard.dts
- nsim_sem.dts

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-03 07:46:14 -04:00
Gerard Marull-Paretas 44250fe3d3 soc: arch: synopsys: move timer0/1 IRQ information to DT
timer0/1 IRQ information was hardcoded in soc.h, however, Devicetree is
nowadays a better place to describe hardware. Note that I have followed
existing upstream Linux code to do these changes.

Ref.
- https://elixir.bootlin.com/linux/latest/source/arch/arc/boot/dts/
  hsdk.dts
- https://elixir.bootlin.com/linux/latest/source/Documentation/
  devicetree/bindings/timer/snps,arc-timer.txt

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-03 07:46:14 -04:00
Gerard Marull-Paretas 247d5acdf9 dts: arc: synopsys: move intc out of cpus node
interrupt controller is not a CPU, move it to the root node.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-03 07:46:14 -04:00
Jan Kuliga a830ba149d boards: arm: nucleo_f303re: Add lacking board-level spi dt description.
The nucleo_f303re board has a SoC equipped with spi. Add lacking
devicetree, doc and yaml description.

Signed-off-by: Jan Kuliga <jtkuliga@gmail.com>
2022-08-03 12:06:20 +02:00
Jan Kuliga 133d2351e7 boards: arm: nucleo_f303re: doc: Fix board type typo.
The current board's documentation includes a board type typo.
Change the board type to the proper one.

Signed-off-by: Jan Kuliga <jtkuliga@gmail.com>
2022-08-03 12:06:20 +02:00
Jan Kuliga db204d2770 boards: arm: nucleo_f303re: Add lacking board-level i2c dt description.
The nucleo_f303re board has a SoC equipped with i2c. Add lacking
devicetree and yaml description.

Signed-off-by: Jan Kuliga <jtkuliga@gmail.com>
2022-08-03 12:06:20 +02:00
Kumar Gala 7e8a312c6b adc: remove Kconfig.defconfig setting of ADC drivers
Now that ADC drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the ADC.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-02 15:51:43 -05:00
Henrik Brix Andersen 66e4a4d9e7 boards: xtensa: olimex_esp32_evb: list TWAI as supported
List the Two-Wire Automotive Interface (TWAI) as supported in the Olimex
ESP32-EVB board documentation.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2022-08-02 15:43:27 -04:00
Kumar Gala 3c35faae36 drivers: ethernet: sam_gmac: Convert to using dts for I2C EEPROM
Introduce a simple binding for atmel,24mac402 EEPROM that the SAM
GMAC ethernet driver can utilize to get MAC address out of.  We
introduce a 'mac-eeprom' phandle into GMAC ethernet devicetree
node that will provide a pointer to the MAC eeprom to utilize.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-02 13:02:42 +02:00
Kumar Gala f80b2519fc boards: shields: Remove label property from devicetrees
Label properties are not required.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-02 09:12:21 +02:00
Tom Burdick da041942c2 boards: Add TDK RoboKit1 for testing Sensors
Has a lot of great sensors on it including a very fast 6 axis IMU,
atmospheric, and time of flight sensors.

This is a fantastic board to test sensors and algorithms on.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2022-08-01 15:45:23 -05:00
Krzysztof Chruscinski 6812441099 boards: arm: nrf: Enable uart workaround for nrf9160dk and nrf5340dk
Enable a workaround for boards on which an issue has been reported.
Issue occurs only when serial works with virtual environment.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-08-01 18:06:46 +02:00
Kumar Gala ba0dc008ff manifest: Update lvgl
Update lvgl for devicetree updates.

Remove Kconfig symbols that don't exist anymore since these values are
coming from devicetree.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-01 18:03:01 +02:00
Kumar Gala 4d49ba67b5 i2c: remove defconfig/proj setting of I2C drivers
Now that I2C drivers are enabled based on devicetree we can remove
any cases of them getting enabled by *defconfig and proj.conf files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-01 18:01:44 +02:00
Kumar Gala 5c57a36f9d i2c: remove Kconfig.defconfig setting of I2C drivers
Now that I2C drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the I2C.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-01 18:01:44 +02:00
Pavel Vasilyev 042ee844db boards: arm: nrf9160dk_nrf52840: Set code partition to slot0
Set missing code-partition to slot0 for nrf9160dk_nrf52840.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2022-08-01 18:00:10 +02:00
Martin Jäger efcf640965 boards: arm: olimex_lora_stm32wl_devkit: add image link
Add missing link to already uploaded image to the documentation.

Signed-off-by: Martin Jäger <martin@libre.solar>
2022-08-01 11:40:29 +01:00
Caspar Friedrich cb46338448 boards: arm: nrf52840dk_nrf52840: Add missing support tag arduino_serial
`arduino_serial` is defined and work but is not listed under supported
tags. Therefore tests depending on this tag are filtered out on this board.

Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>
2022-08-01 10:33:10 +02:00
Conor Paxton 005cb7d4d4 boards: riscv: Add GPIO Bank2 to PolarFire SoC icicle board
Microchip's PolarFire SoC Icicle kit has 3 banks of GPIO's.
Bank 2 is enabled and by default. Use bank 2 by Default.

Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
2022-08-01 10:29:21 +02:00
Jay Vasanth 3e0f738cb2 mec15xx: pinctrl for both mec15xx and mec17xx
Changes to compile pinctrl driver for both mec15xx
and mec17xx. Also add mec15xx pinctrl dtsi

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-08-01 10:28:23 +02:00
Henrik Brix Andersen 23bed3c93a boards: xtensa: olimex_esp32_evb: enable TWAI CAN controller
Enable the ESP32 TWAI CAN controller on the Olimex ESP32-EVB board.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2022-07-30 17:32:04 +01:00
Hake Huang cf5cadd46c boards: nxp: add dma description on supported boards
update board yaml for dma in NXP platform

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2022-07-29 09:31:34 -05:00
Kumar Gala 2014c59d20 clock_control: remove defconfig/proj setting of clock control drivers
Now that clock control drivers are enabled based on devicetree we
can remove any cases of them getting enabled by *defconfig and
proj.conf files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-29 14:12:12 +02:00
Jun Lin e0975945be board: arm: npcx7/9 EVB: add PECI alias
This commit adds the PECI alias and set the PECI node's status to okay.
With this change, we can build the PECI sample with npcx7m6fb_evb and
npcx9m6f_evb to test the PECI driver.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2022-07-29 14:09:17 +02:00
Kumar Gala 722b529f64 boards: arm: ubx_evkninab{3,4}: Update docs to use DEVICE_DT_GET
Update docs for boards ubx_evkninab3_nrf52840 and ubx_evkninab4_nrf52833
to use DEVICE_DT_GET as we phase out "label" usage and thus the
device_get_binding() reference wouldn't work.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-28 08:54:24 -05:00
TOKITA Hiroshi 4450f0a0e0 boards: arm: nucleo_u575zi_q: Add watchdog0 alias to dts file
Add watchdog0 alias to dts file for correctly compiling
samples/drivers/watchdog sample.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2022-07-28 04:53:22 -05:00
Dylan Hung 3462a2a591 boards: arm: ast1030_evb: enable clock driver
enable clock driver for ast1030_evb.

Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
2022-07-28 08:30:27 +02:00
Kumar Gala d88f647f9c boards: arm: silabs: Convert to use DEVICE_DT_GET
Convert board to use DEVICE_DT_GET so we don't need "label" prop
in devicetree.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-27 23:23:11 +02:00
Francois Ramu 5f951806dc boards: arm: stm32h7b3i disco kit board has octo SPI instance
This commit enables the octo SPI peripheral to the flash-nor
on the target board stm32h7b3i_dk from STMicroelectronics.
The octospi1 is connected to the NOR- octo-flash through
the OSPI IO Manager.
Note that JESD16 requires 9 dwords for the sdfp table.
The NOR octoflash is MX25LM51245 or compatible.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-07-27 18:46:25 +02:00
Francois Ramu 2f0338ca42 boards: arm: stm32h735g disco target board has octo SPI instance
This commit enables the octo SPI peripheral to the flash-nor
on the target board stm32h735g_disco from STMicroelectronics.
The octospi1 is connected to the NOR- octo-flash through
the OSPI IO Manager.
Note that JESD16 requires 9 dwords for the sdfp table.
The NOR octoflash is MX25LM51245 or compatible.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-07-27 18:46:25 +02:00
Andreas Sandberg f6bbbc3c7d drivers: uc81xx: Use device-specific compatibles
The UC8176 and UC8179 chips that exist in tree have subtly different
register layouts. Use separate compatible strings for these chips and
a quirks structure that describe device-specific behavior.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
2022-07-27 18:45:02 +02:00
Andreas Sandberg 8f0093aaf8 drivers: Rename GD7965 to UC81xx
The GD7965 driver is really just a vendor name for the UltraChip
UC8179. Rename the driver to UC81xx since there are other chips in the
family (e.g., the UC8176) with an almost identical register interface.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
2022-07-27 18:45:02 +02:00
Kumar Gala 65e1c6fb1e pwm: remove Kconfig.defconfig setting of PWM drivers
Now that PWM drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the PWM.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-27 18:43:54 +02:00
Kumar Gala 0a2ff1ffbf pwm: remove defconfig/proj setting of PWM drivers
Now that PWM drivers are enabled based on devicetree we can remove
any cases of them getting enabled by *defconfig and proj.conf files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-27 18:43:54 +02:00
Kumar Gala 960f2f1a37 spi: remove Kconfig.defconfig setting of SPI drivers
Now that SPI drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the SPI.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-27 09:49:00 +02:00
Kumar Gala fb9c241530 spi: remove defconfig/proj setting of SPI drivers
Now that SPI drivers are enabled based on devicetree we can remove
any cases of them getting enabled by *defconfig and proj.conf files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-27 09:49:00 +02:00
Martin Jäger fab85afc91 boards: arm: add olimex_lora_stm32wl_devkit
Add board definitions for Olimex LoRa STM32WL DevKit.

Signed-off-by: Martin Jäger <martin@libre.solar>
2022-07-26 17:57:49 +00:00
Kumar Gala 35d93ef7bc drivers: i2c: esp32: Rework SDA/SDL pins as gpios in devicetree
For the !SOC_I2C_SUPPORT_HW_CLR_BUS in which we implement bus
reset via GPIOs, change the devicetree properties to be actual
gpio properties and update the code to reflect this.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 12:10:58 -05:00
Kumar Gala 9a501e0922 serial: remove Kconfig.defconfig setting of serial drivers
Now that serial drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the serial.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 09:29:24 -05:00
Kumar Gala 10329165be serial: remove defconfig/proj setting of serial drivers
Now that serial drivers are enabled based on devicetree we can remove
any cases of them getting enabled by *defconfig and proj.conf files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 09:29:24 -05:00
Kumar Gala 1c1c57b31b gpio: remove defconfig/proj setting of GPIO drivers
Now that gpio drivers are enabled based on devicetree we can remove
any cases of them getting enabled by *defconfig and proj.conf files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 08:49:38 +02:00
Kumar Gala 600d749cf3 gpio: remove Kconfig.defconfig setting of GPIO drivers
Now that gpio drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the GPIO.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 08:49:38 +02:00
Christopher Friedt 5a9c4e110f boards: riscv: add ICE-V Wireless board
The ICE-V Wireless includes an ESP32-C3, an iCE40UP5k-SG48 FPGA,
and an 8MB PSRAM connected directly to the FPGA.

This change adds initial support for the ESP32-C3 RISC-V
application processor.

For more information, please see
https://github.com/ICE-V-Wireless/ICE-V-Wireless

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2022-07-26 08:49:03 +02:00
Anas Nashif 43371d0414 intel_adsp: move cavs to be a series
Intel ADSP CAVS is now a proper series with all CAVS SoCs running under
it. This will give us to Intel ADSP series:
- CAVS
- ACE v1.x

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-07-25 16:50:24 -04:00