/* * Copyright (c) 2024 STMicroelectronics * 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 CN5:9 PB8 CN5:10 * i2c2 PA6 CN5:5 PA7 CN5:4 * * Short Pin PB9 to PA6, and PB8 to PA7, for the test to pass. */ &i2c1 { eeprom0: eeprom@54 { compatible = "zephyr,i2c-target-eeprom"; reg = <0x54>; size = <256>; }; }; &i2c2 { pinctrl-0 = <&i2c2_scl_pa7 &i2c2_sda_pa6>; pinctrl-names = "default"; status = "okay"; clock-frequency = ; eeprom1: eeprom@56 { compatible = "zephyr,i2c-target-eeprom"; reg = <0x56>; size = <256>; }; };