Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion boards/adi/max32662evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ Below interfaces are supported by Zephyr on MAX32662EVKIT.
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+

| DMA | on-chip | dma controller |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+

Connections and IOs
===================
Expand Down
11 changes: 11 additions & 0 deletions boards/adi/max32662evkit/max32662evkit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <adi/max32/max32662-pinctrl.dtsi>
#include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/dma/max32662_dma.h>

/ {
model = "Analog Devices MAX32662EVKIT";
Expand Down Expand Up @@ -61,10 +62,20 @@
status = "okay";
};

&dma0 {
status = "okay";
};

&gpio0 {
status = "okay";
};

&i2c1 {
status = "okay";
pinctrl-0 = <&i2c1a_scl_p0_6 &i2c1a_sda_p0_9>;
pinctrl-names = "default";
};

&trng {
status = "okay";
};
Expand Down
2 changes: 2 additions & 0 deletions boards/adi/max32662evkit/max32662evkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ toolchain:
- gnuarmemb
- xtools
supported:
- dma
- gpio
- i2c
- serial
- trng
- watchdog
Expand Down
4 changes: 4 additions & 0 deletions boards/adi/max32666evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ Below interfaces are supported by Zephyr on MAX32666EVKIT.
+-----------+------------+-------------------------------------+
| Watchdog | on-chip | watchdog |
+-----------+------------+-------------------------------------+
| DMA | on-chip | dma controller |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+


Connections and IOs
Expand Down
17 changes: 17 additions & 0 deletions boards/adi/max32666evkit/max32666evkit_max32666_cpu0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <adi/max32/max32666-pinctrl.dtsi>
#include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/dma/max32666_dma.h>

/ {
model = "Analog Devices MAX32666EVKIT";
Expand Down Expand Up @@ -73,6 +74,10 @@
status = "okay";
};

&dma0 {
status = "okay";
};

&gpio0 {
status = "okay";
};
Expand All @@ -81,6 +86,18 @@
status = "okay";
};

&i2c1 {
status = "okay";
pinctrl-0 = <&i2c1_scl_p0_14 &i2c1_sda_p0_15>;
pinctrl-names = "default";
};

&i2c2 {
status = "okay";
pinctrl-0 = <&i2c2_scl_p1_14 &i2c2_sda_p1_15>;
pinctrl-names = "default";
};

&trng {
status = "okay";
};
Expand Down
2 changes: 2 additions & 0 deletions boards/adi/max32666evkit/max32666evkit_max32666_cpu0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ toolchain:
- gnuarmemb
- xtools
supported:
- dma
- i2c
- gpio
- serial
- trng
Expand Down
4 changes: 4 additions & 0 deletions boards/adi/max32666fthr/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ Below interfaces are supported by Zephyr on MAX32666FTHR.
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+
| DMA | on-chip | dma controller |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+

Connections and IOs
===================
Expand Down
5 changes: 5 additions & 0 deletions boards/adi/max32666fthr/max32666fthr_max32666_cpu0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <adi/max32/max32666-pinctrl.dtsi>
#include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/dma/max32666_dma.h>

/ {
model = "Analog Devices MAX32666FTHR";
Expand Down Expand Up @@ -99,6 +100,10 @@
status = "okay";
};

&dma0 {
status = "okay";
};

&gpio0 {
status = "okay";
};
Expand Down
2 changes: 2 additions & 0 deletions boards/adi/max32666fthr/max32666fthr_max32666_cpu0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ toolchain:
- gnuarmemb
- xtools
supported:
- dma
- i2c
- gpio
- serial
- trng
Expand Down
4 changes: 4 additions & 0 deletions boards/adi/max32675evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ Below interfaces are supported by Zephyr on MAX32675EVKIT.
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+
| DMA | on-chip | dma controller |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+

Connections and IOs
===================
Expand Down
11 changes: 11 additions & 0 deletions boards/adi/max32675evkit/max32675evkit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <adi/max32/max32675-pinctrl.dtsi>
#include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/dma/max32675_dma.h>

/ {
model = "Analog Devices MAX32675EVKIT";
Expand Down Expand Up @@ -72,6 +73,10 @@
status = "okay";
};

&dma0 {
status = "okay";
};

&gpio0 {
status = "okay";
};
Expand All @@ -80,6 +85,12 @@
status = "okay";
};

&i2c2 {
status = "okay";
pinctrl-0 = <&i2c2a_scl_p0_18 &i2c2a_sda_p0_19>;
pinctrl-names = "default";
};

&trng {
status = "okay";
};
Expand Down
2 changes: 2 additions & 0 deletions boards/adi/max32675evkit/max32675evkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ toolchain:
- gnuarmemb
- xtools
supported:
- dma
- gpio
- i2c
- serial
- trng
- spi
Expand Down
7 changes: 7 additions & 0 deletions drivers/i2c/Kconfig.max32
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@ config I2C_MAX32_INTERRUPT
Enable interrupt support for MAX32 I2C controller mode
transfers.

config I2C_MAX32_DMA
bool "DMA support for MAX32 MCU I2C driver"
depends on I2C_MAX32_INTERRUPT
select DMA
help
Use DMA for MAX32 MCU I2C controller mode transfers.

endif # I2C_MAX32
Loading