tests: i2c: i2c_target_api: Assign DMA channels to MAX32 I2C nodes
Add DMA channels to test overlay files as DMA support is now available for MAX32 I2C driver. Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
This commit is contained in:
parent
04e8570266
commit
aa394e0004
5 changed files with 15 additions and 0 deletions
|
@ -18,6 +18,9 @@
|
|||
pinctrl-0 = <&i2c1_scl_p0_16 &i2c1_sda_p0_17>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
dmas = <&dma0 1 MAX32_DMA_SLOT_I2C1_TX>, <&dma0 2 MAX32_DMA_SLOT_I2C1_RX>;
|
||||
dma-names = "tx", "rx";
|
||||
|
||||
eeprom1: eeprom@56 {
|
||||
compatible = "zephyr,i2c-target-eeprom";
|
||||
reg = <0x56>;
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
pinctrl-0 = <&i2c1_scl_p0_12 &i2c1_sda_p0_13>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
dmas = <&dma0 1 MAX32_DMA_SLOT_I2C1_TX>, <&dma0 2 MAX32_DMA_SLOT_I2C1_RX>;
|
||||
dma-names = "tx", "rx";
|
||||
|
||||
eeprom1: eeprom@56 {
|
||||
compatible = "zephyr,i2c-target-eeprom";
|
||||
reg = <0x56>;
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
pinctrl-0 = <&i2c1a_scl_p0_12 &i2c1a_sda_p0_13>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
dmas = <&dma0 1 MAX32_DMA_SLOT_I2C1_TX>, <&dma0 2 MAX32_DMA_SLOT_I2C1_RX>;
|
||||
dma-names = "tx", "rx";
|
||||
|
||||
eeprom1: eeprom@56 {
|
||||
compatible = "zephyr,i2c-target-eeprom";
|
||||
reg = <0x56>;
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
};
|
||||
|
||||
&i2c1 {
|
||||
dmas = <&dma0 1 MAX32_DMA_SLOT_I2C1_TX>, <&dma0 2 MAX32_DMA_SLOT_I2C1_RX>;
|
||||
dma-names = "tx", "rx";
|
||||
|
||||
eeprom1: eeprom@56 {
|
||||
compatible = "zephyr,i2c-target-eeprom";
|
||||
reg = <0x56>;
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
pinctrl-0 = <&i2c2c_scl_p1_8 &i2c2c_sda_p1_7>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
dmas = <&dma0 1 MAX32_DMA_SLOT_I2C2_TX>, <&dma0 2 MAX32_DMA_SLOT_I2C2_RX>;
|
||||
dma-names = "tx", "rx";
|
||||
|
||||
eeprom1: eeprom@56 {
|
||||
compatible = "zephyr,i2c-target-eeprom";
|
||||
reg = <0x56>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue