tests: drivers: i2c: Add MAX32670EVKIT overlay file
Enable I2C test for MAX32670EVKIT. Signed-off-by: Mert Ekren <mert.ekren@analog.com>
This commit is contained in:
parent
e396ff82a1
commit
3d4490caed
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 = <&i2c0_scl_p0_6 &i2c0_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 = <&i2c1_scl_p0_12 &i2c1_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