tests: i2c: i2c_target_api: Add configuration for MAX32680EVKIT
Enable I2C target API tests for MAX32680EVKIT. Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
This commit is contained in:
parent
f3953351c7
commit
387239e667
2 changed files with 35 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
||||||
|
# Copyright (c) 2024 Analog Devices, Inc.
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_I2C_VIRTUAL=n
|
|
@ -0,0 +1,31 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Analog Devices, Inc.
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&i2c0 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&i2c0a_scl_p0_10 &i2c0a_sda_p0_11>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
eeprom0: eeprom@54 {
|
||||||
|
compatible = "zephyr,i2c-target-eeprom";
|
||||||
|
reg = <0x54>;
|
||||||
|
address-width = <16>;
|
||||||
|
size = <1024>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&i2c1 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&i2c1a_scl_p0_16 &i2c1a_sda_p0_17>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
eeprom1: eeprom@56 {
|
||||||
|
compatible = "zephyr,i2c-target-eeprom";
|
||||||
|
reg = <0x56>;
|
||||||
|
address-width = <16>;
|
||||||
|
size = <1024>;
|
||||||
|
};
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue