-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: drivers: i2c: add i2c test support for frdm_mcxa156 board
add i2c test support for frdm_mcxa156 board Signed-off-by: Neil Chen <[email protected]>
- Loading branch information
1 parent
ed38264
commit 494d85f
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
tests/drivers/i2c/i2c_target_api/boards/frdm_mcxa156.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters