1/*
2 * Copyright (c) 2024 STMicroelectronics
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6/* I2C bus pins are exposed on the ST morpho header.
7 *
8 *  Bus        SDA               SCL
9 *          Pin   Hdr         Pin   Hdr
10 *  i2c1    PB9   CN5:9      PB8   CN5:10
11 *  i2c2    PA6   CN5:5      PA7   CN5:4
12 *
13 * Short Pin PB9 to PA6, and PB8 to PA7, for the test to pass.
14 */
15
16&i2c1 {
17	eeprom0: eeprom@54 {
18		compatible = "zephyr,i2c-target-eeprom";
19		reg = <0x54>;
20		size = <256>;
21	};
22};
23
24&i2c2 {
25	pinctrl-0 = <&i2c2_scl_pa7 &i2c2_sda_pa6>;
26	pinctrl-names = "default";
27	status = "okay";
28	clock-frequency = <I2C_BITRATE_FAST>;
29	eeprom1: eeprom@56 {
30		compatible = "zephyr,i2c-target-eeprom";
31		reg = <0x56>;
32		size = <256>;
33	};
34};
35