diff --git a/tests/drivers/i2c/i2c_target_api/boards/frdm_mcxa156.overlay b/tests/drivers/i2c/i2c_target_api/boards/frdm_mcxa156.overlay new file mode 100644 index 000000000000000..d82f84ab3de3e9a --- /dev/null +++ b/tests/drivers/i2c/i2c_target_api/boards/frdm_mcxa156.overlay @@ -0,0 +1,26 @@ +/* + * Copyright 2024 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* To test this sample, connect + * LPI2C0 SCL(J2-20) --> LPI2C3 SCL(J5-5) + * LPI2C0 SDA(J2-18) --> LPI2C3 SDA(J5-6) + */ + +&lpi2c0 { + eeprom0: eeprom@54 { + compatible = "zephyr,i2c-target-eeprom"; + reg = <0x54>; + size = <256>; + }; +}; + +&lpi2c3 { + eeprom1: eeprom@56 { + compatible = "zephyr,i2c-target-eeprom"; + reg = <0x56>; + size = <256>; + }; +}; diff --git a/tests/drivers/i2c/i2c_target_api/testcase.yaml b/tests/drivers/i2c/i2c_target_api/testcase.yaml index bf931f8a08d1d20..d57b121582acbbb 100644 --- a/tests/drivers/i2c/i2c_target_api/testcase.yaml +++ b/tests/drivers/i2c/i2c_target_api/testcase.yaml @@ -45,6 +45,7 @@ tests: - mimxrt1060_evk - frdm_ke17z512 - frdm_mcxn236 + - frdm_mcxa156 - max32655evkit/max32655/m4 - max32662evkit - max32666evkit/max32666/cpu0