tests: drivers: i2c: add i2c test support for frdm_mcxa156 board
add i2c test support for frdm_mcxa156 board Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
This commit is contained in:
parent
2f278dba07
commit
988287c363
2 changed files with 27 additions and 0 deletions
26
tests/drivers/i2c/i2c_target_api/boards/frdm_mcxa156.overlay
Normal file
26
tests/drivers/i2c/i2c_target_api/boards/frdm_mcxa156.overlay
Normal file
|
@ -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>;
|
||||
};
|
||||
};
|
|
@ -45,6 +45,7 @@ tests:
|
|||
- mimxrt1060_evk
|
||||
- frdm_ke17z512
|
||||
- frdm_mcxn236
|
||||
- frdm_mcxa156
|
||||
- max32655evkit/max32655/m4
|
||||
- max32662evkit
|
||||
- max32666evkit/max32666/cpu0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue