| /* |
| * Copyright (c) 2024 Nordic Semiconductor ASA |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| /* I2C bus pins are exposed on the ST morpho header. |
| * |
| * Bus SDA SCL |
| * Pin Hdr Pin Hdr |
| * i2c1 PB7 CN13:9 PB6 CN13:10 |
| * i2c2 PB11 CN15:1 PB10 CN15:2 |
| * |
| * Short Pin PB7 to PB11, and PB6 to PB10, 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>; |
| }; |
| }; |