1/* SPDX-License-Identifier: Apache-2.0 */ 2 3/* I2C bus pins are exposed on the ST morpho header. 4 * 5 * Bus SDA SCL 6 * Pin Hdr Pin Hdr 7 * i2c1 PB9 CN10:5 PB8 CN10:3 8 * i2c2 PA12 CN10:12 PA11 CN10:14 9 * 10 * Short Pin PB9 to PA12, and PB8 to PA11, for the test to pass. 11 */ 12 13&i2c1 { 14 eeprom0: eeprom@54 { 15 compatible = "zephyr,i2c-target-eeprom"; 16 reg = <0x54>; 17 size = <256>; 18 }; 19}; 20 21 22&i2c2 { 23 /* i2c2 is disabled by default because of pin conflict with can1 */ 24 status = "okay"; 25 eeprom1: eeprom@56 { 26 compatible = "zephyr,i2c-target-eeprom"; 27 reg = <0x56>; 28 size = <256>; 29 }; 30}; 31 32&can1 { 33 /* can1 shares the pins with i2c2 and must be disabled */ 34 status = "disabled"; 35}; 36