tests: drivers: i2c: Add MAX32672EVKIT overlay file
Enable I2C test for MAX32672EVKIT. Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
This commit is contained in:
parent
3d4490caed
commit
f3953351c7
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_6 &i2c0a_sda_p0_7>;
|
||||
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_12 &i2c1a_sda_p0_13>;
|
||||
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