blob: b0d22a505fd16ab3a1c3c69a31a5b915b9f98726 [file] [log] [blame]
/*
* Copyright (c) 2020 Thomas Stranger
* SPDX-License-Identifier: Apache-2.0
*/
/* I2C bus pins are exposed on the ST morpho header.
*
* Bus SDA SCL
* Pin Hdr Pin Hdr
* i2c1 PB9 CN10:5 PB8 CN10:3
* i2c2 PA12 CN10:12 PA11 CN10:14
*
* Short Pin PB9 to PA12, and PB8 to PA11, for the test to pass.
*/
&i2c1 {
eeprom0: eeprom@54 {
compatible = "zephyr,i2c-target-eeprom";
reg = <0x54>;
size = <1024>;
};
};
&i2c2 {
eeprom1: eeprom@56 {
compatible = "zephyr,i2c-target-eeprom";
reg = <0x56>;
size = <1024>;
};
};