diff --git a/boards/adi/max32662evkit/max32662evkit.dts b/boards/adi/max32662evkit/max32662evkit.dts index ed1d597eb0d..e458a8d6904 100644 --- a/boards/adi/max32662evkit/max32662evkit.dts +++ b/boards/adi/max32662evkit/max32662evkit.dts @@ -70,6 +70,12 @@ status = "okay"; }; +&i2c1 { + status = "okay"; + pinctrl-0 = <&i2c1a_scl_p0_6 &i2c1a_sda_p0_9>; + pinctrl-names = "default"; +}; + &trng { status = "okay"; }; diff --git a/tests/drivers/i2c/i2c_target_api/boards/max32662evkit.conf b/tests/drivers/i2c/i2c_target_api/boards/max32662evkit.conf new file mode 100644 index 00000000000..c25d2c5d47f --- /dev/null +++ b/tests/drivers/i2c/i2c_target_api/boards/max32662evkit.conf @@ -0,0 +1,4 @@ +# Copyright (c) 2024 Analog Devices, Inc. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_I2C_VIRTUAL=n diff --git a/tests/drivers/i2c/i2c_target_api/boards/max32662evkit.overlay b/tests/drivers/i2c/i2c_target_api/boards/max32662evkit.overlay new file mode 100644 index 00000000000..1f78e3a1be6 --- /dev/null +++ b/tests/drivers/i2c/i2c_target_api/boards/max32662evkit.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Analog Devices, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&i2c0 { + status = "okay"; + pinctrl-0 = <&i2c0a_scl_p0_12 &i2c0a_sda_p0_13>; + pinctrl-names = "default"; + + eeprom0: eeprom@54 { + compatible = "zephyr,i2c-target-eeprom"; + reg = <0x54>; + size = <256>; + }; +}; + +&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>; + size = <256>; + }; +};